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

feat(editor): multi-tab query sessions in SQL workspace (close #679) by ZhuchkaTriplesix · Pull Request #684 · QueryaHub/Querya-Desktop · GitHub

feat(editor): multi-tab query sessions in SQL workspace (close #679) - #684

Merged
ZhuchkaTriplesix merged 1 commit into
devfrom
issue/679-multi-tab-sql-workspace
Sep 6, 2026
Merged

ZhuchkaTriplesix merged 1 commit into
devfrom
issue/679-multi-tab-sql-workspace

Conversation

Copy link
Copy Markdown
Member

Closes #679

Summary of Changes

  • Multi-Tab Sessions Architecture:
    • Added SqlQueryTabSession encapsulating query text (TextEditingController), top/bottom split fraction (ValueNotifier<double>), columns, rows, execution status, and in-memory DataGridStagingBuffer.
    • Added SqlQueryTabBar powered by QueryaTabStrip with dynamic close buttons on individual tabs and a + add tab button.
    • Implemented showUnsavedTabChangesDialog to guard against losing uncommitted staging changes when closing dirty query tabs.
    • Preserved tab state across switching via material.IndexedStack.
  • Workspaces Converted:
    • PostgresSqlWorkspace
    • MysqlSqlWorkspace
    • SqliteSqlWorkspace
    • ExtensionSqlWorkspace
  • Keyboard Shortcuts & Bridge:
    • Added intents and shortcuts for Ctrl+T / Cmd+T (new tab), Ctrl+W / Cmd+W (close tab), Ctrl+Tab (next tab), and Ctrl+Shift+Tab (previous tab), including Russian keyboard layout support.
    • Integrated with SqlEditorCommandBridge.
  • Automated Verification:
    • Added unit and widget tests in test/features/workspace/multi_tab_sql_workspace_test.dart (100% passing).
    • Clean dart analyze with 0 issues.

github-actions Bot added enhancement New feature or request editor Code/SQL editor frontend Theme parser epic label: frontend labels Sep 6, 2026
ZhuchkaTriplesix merged commit 7f2f64b into dev Sep 6, 2026
4 checks passed
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

editor Code/SQL editor enhancement New feature or request frontend Theme parser epic label: frontend

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant


Back | FazBrowse Home | New Git URL