Skip to content

Lite: add column-level filtering to all data grids (#18)#26

Merged
erikdarlingdata merged 1 commit intodevfrom
feature/18-lite-column-filtering
Feb 13, 2026
Merged

Lite: add column-level filtering to all data grids (#18)#26
erikdarlingdata merged 1 commit intodevfrom
feature/18-lite-column-filtering

Conversation

@erikdarlingdata
Copy link
Owner

Summary

  • Ports the Dashboard's column filter popup system to Lite
  • Filter icon on every DataGrid column header (11 grids, ~130 columns)
  • Operator-based filtering: contains, equals, greater than, starts with, is empty, etc.
  • Active filters persist across auto-refresh cycles
  • Gold icon indicates active filter, dim icon indicates no filter
  • New DataGridFilterManager<T> generic helper eliminates per-grid boilerplate

Files

  • New: FilterOperator.cs, ColumnFilterState.cs, DataGridFilterService.cs, DataGridFilterManager.cs, ColumnFilterPopup.xaml/.cs
  • Modified: ServerTab.xaml (filter buttons in all column headers), ServerTab.xaml.cs (filter managers + shared click handler), DarkTheme.xaml (filter button styles)

Conflict notes

ServerTab.xaml.cs and ServerTab.xaml are also touched by feature/21-wait-stats-tooltips. The .cs changes are in separate regions (filter infra vs tooltip hover) but will need a merge. The .xaml changes overlap heavily since both modify column headers — this will require manual conflict resolution.

Test plan

  • Build clean (0 warnings, 0 errors)
  • Launch Lite, connect to server
  • Click filter icon on column header — popup opens
  • Enter filter value and apply — grid filters, icon turns gold
  • Clear filter — grid restores, icon returns to dim
  • Auto-refresh preserves active filters
  • Test across multiple grids simultaneously

🤖 Generated with Claude Code

Port the Dashboard's column filter system to Lite. Users can now click
a filter icon on any column header to open a popup with operator
selection (contains, equals, greater than, etc.) and filter value input.
Filters persist across auto-refresh cycles. Active filters show a gold
icon; inactive filters show dim.

New generic DataGridFilterManager<T> eliminates per-grid boilerplate
by encapsulating filter state, unfiltered data capture, LINQ filtering,
and button style updates for each of the 11 DataGrids.

Tested: filters apply/clear correctly, icons toggle color, data refreshes
preserve active filters.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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