Skip to content

feat(filter): list the filter column picker alphabetically on request - #4479

Merged
datlechin merged 2 commits into
mainfrom
feat/filter-column-order
Nov 25, 2026
Merged

datlechin merged 2 commits into
mainfrom
feat/filter-column-order

Conversation

@datlechin

@datlechin datlechin commented Nov 25, 2026 •

Copy link
Copy Markdown
Member

Summary

  • Settings > Data > Filters gets Column order: Table Order (default) or Alphabetical. The filter bar's ⋯ menu has List Columns Alphabetically, bound to the same value.
  • Alphabetical uses Finder order (col2 before col10) and also sorts nested path groups and their paths. Raw SQL stays first. A new row's default column and the value completions keep table order.
  • FilterSettingsStorage publishes its settings, so an open filter bar and the Settings page follow a change made in either.
  • Reset All Settings now resets the Filters page too.
  • Data files: display names are positional (Column 2, name (2)), so inserting, deleting, splitting or merging a column, or toggling the header row, moved filters, hidden columns and Display As onto another column. They now follow the column by id. A filter on a removed column is dropped, reruns the query when it was applied, and comes back on undo.
  • Undoing a data-file edit no longer resets the hidden columns and Display As chosen after it.
  • Test changed on purpose: DataFileControllerTests.headerToggleDropsUnresolvableFilters is now headerToggleCarriesFilters, since a header toggle keeps the filter on its column.

Screenshots

Before After
Before After
Before, dark After, dark

Test plan

Data-file filters, hidden columns and Display As now follow a column by id when an edit renames its neighbours, and Reset All Settings resets the Filters page.
@datlechin
datlechin merged commit e2b0999 into main Nov 25, 2026
12 checks passed
@datlechin
datlechin deleted the feat/filter-column-order branch November 25, 2026 06:20
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