Skip to content

feat(linux-sidebar): choose which schemas the sidebar lists - #4150

Merged
datlechin merged 28 commits into
TableProApp:mainfrom
sedax90:feat/linux-sidebar-schema-filter
Nov 11, 2026
Merged

datlechin merged 28 commits into
TableProApp:mainfrom
sedax90:feat/linux-sidebar-schema-filter

Conversation

@sedax90

@sedax90 sedax90 commented Nov 8, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • A Schemas button at the end of the sidebar's bottom bar opens a popover with a search field, a check for each schema and Show All. It reads Databases where the engine's schemas are its databases.
  • The filter keeps the chosen schemas, as macOS does: a schema made later stays out until it is checked, the last listed schema cannot be unchecked, and checking every schema clears the filter.
  • The choice is kept per connection and database in filter_settings.json, now version 2, and goes when the connection is deleted.
  • A banner, "Showing 1 of 2 schemas", with Show All, says the list is filtered. The search leaves out the hidden schemas too.
  • Stacked on feat(linux-sidebar): add a bottom bar with an Add menu #4146.

Test plan

  • schema_filter unit tests: kept set, new schemas, the last schema, dropped schemas, objects with no schema.
  • filter_settings_store tests: kept per database, removed with the connection, a version 1 file reads.
  • the_schemas_button_chooses_what_the_sidebar_lists_and_keeps_it: the popover's checks, the banner, the stored choice, Show All.

Screenshots

Light Dark
Before
After (sales hidden)

…oter

# Conflicts:
#	linux/crates/app/src/ui/workspace/tests/shell.rs
…ma-filter

# Conflicts:
#	linux/crates/app/src/ui/workspace/workspace_shell.rs
…ux-sidebar-schema-filter

# Conflicts:
#	linux/crates/app/src/ui/workspace/mod.rs
…oter

# Conflicts:
#	linux/crates/app/src/ui/workspace/workspace_shell.rs
@datlechin
datlechin enabled auto-merge (squash) November 11, 2026 00:13
…hema-filter

# Conflicts:
#	linux/crates/app/src/ui/workspace/imp.rs
#	linux/crates/app/src/ui/workspace/mod.rs
#	linux/crates/app/src/ui/workspace/tests/shell.rs
#	linux/crates/app/src/ui/workspace/workspace_shell.rs
#	linux/data/resources/ui/workspace-shell.ui
…hema-filter

# Conflicts:
#	linux/crates/app/src/persistence/filter_settings_store.rs
#	linux/docs/storage.md
@datlechin
datlechin merged commit 7876364 into TableProApp:main Nov 11, 2026
29 checks passed
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