Skip to content

ui: Datagrid disabled sorting and filtering unnecessarily#4793

Open
aMayzner wants to merge 1 commit intomainfrom
dev/mayzner/sorting-from-datagrid
Open

ui: Datagrid disabled sorting and filtering unnecessarily#4793
aMayzner wants to merge 1 commit intomainfrom
dev/mayzner/sorting-from-datagrid

Conversation

@aMayzner
Copy link
Member

Fix disabled filter and sort controls in the explore page datagrid.

The datagrid's filter menu items are gated by filtersAreMutable, which only
checked for onFiltersChanged. The explore page uses onFilterAdd instead
(to create filter nodes in the query graph), so the filter UI was hidden.

Sorting was unnecessarily gated by columnsAreMutable, which is false when
columns are provided in controlled mode without onColumnsChanged. Sorting
is a read-only view operation and shouldn't be tied to column mutability.

Changes

  • Include onFilterAdd in the filtersAreMutable check
  • Decouple sort menu items and header sort controls from columnsAreMutable

@aMayzner aMayzner requested a review from a team as a code owner February 13, 2026 15:09
@github-actions
Copy link

github-actions bot commented Feb 13, 2026

@stevegolton stevegolton self-requested a review February 13, 2026 15:57
@aMayzner aMayzner enabled auto-merge (squash) February 17, 2026 14:22
@aMayzner aMayzner force-pushed the dev/mayzner/sorting-from-datagrid branch from ac2c59d to ff3af6e Compare February 17, 2026 14:30
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.

2 participants