feat: Add column sorting to all TUI DataTable screens (Fixes #74) - #198
feat: Add column sorting to all TUI DataTable screens (Fixes #74)#198Bhagyashri77777 wants to merge 1 commit into
Conversation
|
Hi @0-Shimanshu My end-semester exams are finally over, and I've successfully completed the feature as promised! I created a central Could you please review this PR when you have some time? Let me know if any changes are needed. Happy to be contributing to ADIUVARE for GSSoC 2026! |
|
Thanks for the contribution. Before review, please get the branch back to a clean state: Remove the accidentally committed adiuvare.yaml. |
What does this PR do?
This PR adds column sorting functionality to all the Textual
DataTablescreens in the TUI, solving Issue #74 under GSSoC 2026!Implementation Details
Instead of hardcoding the sorting logic into every single screen file, I created a reusable custom component to keep the codebase clean and modular:
SortableDataTableclass inadiuvare/tui/sortable_table.py.DataTablewith our newSortableDataTablein:adiuvare/tui/screens/audit.pyadiuvare/tui/screens/changes.pyadiuvare/tui/screens/events.pyAcceptance Criteria Met