FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

feat(tree): support active selection highlighting in SduiTreeBuilder for extension drivers (#639) by ZhuchkaTriplesix · Pull Request #642 · QueryaHub/Querya-Desktop · GitHub

feat(tree): support active selection highlighting in SduiTreeBuilder for extension drivers (#639) - #642

Merged
ZhuchkaTriplesix merged 1 commit into
devfrom
issue/639-sdui-tree-selection-highlight
Aug 30, 2026
Merged

ZhuchkaTriplesix merged 1 commit into
devfrom
issue/639-sdui-tree-selection-highlight

Conversation

Copy link
Copy Markdown
Member

Summary

Closes #639

Brings active selection highlighting to SDUI schema trees used by extension database drivers (ClickHouse, DuckDB, etc.), matching native tree selection visual styling (_PgTreeRow).

Changes

  1. SduiTreeBuilder (lib/core/sdui/sdui_tree_builder.dart):
    • Added selectedNodeId and isNodeSelected predicate parameters.
    • Wrapped node rows in material.AnimatedContainer with 120ms QueryaMotion.fast duration.
    • Applied active selection design tokens: subtle primary background tint (alpha: 0.12), primary border outline (alpha: 0.35), and semibold typography (w600).
  2. _ExtensionConnectionTile (lib/features/connections/connections_panel_extension.dart):
    • Extracted selectedExtensionObject and selectedConnectionId from _ConnectionsTreeSelectionScope.
    • Forwarded isNodeSelected predicate matching active database and table/view names.
  3. Tests (test/core/sdui/sdui_builders_test.dart):
    • Added widget tests validating active selection styling for selectedNodeId and isNodeSelected.

github-actions Bot added enhancement New feature or request frontend Theme parser epic label: frontend ui User interface components and widgets labels Aug 30, 2026
ZhuchkaTriplesix merged commit 3f07b5b into dev Aug 30, 2026
4 checks passed
This was referenced Aug 30, 2026
ZhuchkaTriplesix deleted the issue/639-sdui-tree-selection-highlight branch August 30, 2026 19:00
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request frontend Theme parser epic label: frontend ui User interface components and widgets

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant


Back | FazBrowse Home | New Git URL