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

feat(grid): in-place editing in Table Browser by ZhuchkaTriplesix · Pull Request #760 · QueryaHub/Querya-Desktop · GitHub

feat(grid): in-place editing in Table Browser - #760

Merged
ZhuchkaTriplesix merged 1 commit into
devfrom
issue/759-table-browser-staging
Sep 20, 2026
Merged

ZhuchkaTriplesix merged 1 commit into
devfrom
issue/759-table-browser-staging

Conversation

Copy link
Copy Markdown
Member

Summary

  • Table Browser (Postgres, MySQL, SQLite) now uses the same DataGridStagingBuffer + ResultsTab path as SQL Workspace, so double-click edits cells when a PRIMARY KEY exists.
  • Views / materialized views / custom SQL / tables without a PK stay read-only with a status-line explanation. Save runs a DML preview then a transaction.
  • Toolbar shows a pending-change badge with Save / Revert; Prev/Next are blocked while dirty; Refresh and Server/Overview confirm before discarding edits.

Closes #759

Test plan

  • Open a Postgres table with a PK from the tree — double-click a cell, stage an edit, Save (preview SQL, commit, toast).
  • Confirm views and a table without a PK show the read-only reason and do not open the editor.
  • Stage edits, then Prev/Next stay disabled; Refresh and Server prompt to discard.
  • Repeat a save on MySQL and SQLite tables with a PK.
  • flutter test test/features/workspace/table_view_staging_test.dart test/features/postgresql/postgres_table_toolbar_layout_test.dart

Wire DataGridStagingBuffer into Postgres, MySQL, and SQLite table views so browsing a table matches SQL Workspace cell editing.
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

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant


Back | FazBrowse Home | New Git URL