Skip to content

Add sortable columns to all data tables#4

Merged
antarr merged 6 commits into
mainfrom
table-tabs
Apr 10, 2026
Merged

Add sortable columns to all data tables#4
antarr merged 6 commits into
mainfrom
table-tabs

Conversation

@antarr

@antarr antarr commented Apr 10, 2026

Copy link
Copy Markdown
Owner

Summary

  • Click any column header to sort ascending/descending
  • Sort indicators (arrows) show current sort direction
  • Works on all 5 data tables: Slow Queries, Query Stats, Tables, Duplicate Indexes, Unused Indexes
  • Numeric columns sort numerically, text columns sort alphabetically
  • Generic makeSortable() function — no per-table configuration needed

Test plan

  • Click column headers on each table to verify sorting
  • Verify numeric columns (rows, times, sizes) sort numerically not lexically
  • Verify sort arrows appear and toggle direction
  • Verify dark theme sort header hover state

@antarr antarr self-assigned this Apr 10, 2026
@antarr antarr merged commit 79a17f7 into main Apr 10, 2026
32 checks passed
@antarr antarr deleted the table-tabs branch April 10, 2026 20:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant