Skip to content

Snapshot the tree when the filter opens instead of refreshing#220

Merged
Maxteabag merged 1 commit into
mainfrom
worktree-issue-141-multidb-filter
May 22, 2026
Merged

Snapshot the tree when the filter opens instead of refreshing#220
Maxteabag merged 1 commit into
mainfrom
worktree-issue-141-multidb-filter

Conversation

@Maxteabag
Copy link
Copy Markdown
Owner

Fix #141.

The filter called refresh_tree on each keystroke, which dropped
lazy-loaded children (tables under a database in multi-DB browse
mode) because the re-expand triggers an async reload that doesn't
complete before the next filter pass. Capture the loaded tree state
at open-time and restore from that snapshot instead.

Refs #141.
@Maxteabag Maxteabag merged commit 3b75bc0 into main May 22, 2026
21 checks passed
@Maxteabag Maxteabag deleted the worktree-issue-141-multidb-filter branch May 22, 2026 16:41
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.

Filter only works for single-database connections

1 participant