Repository navigation
feat(windows): production cue, database switchers, find and replace, sql files, redis key tab, cassandra paging and display settings - #4285
Merged
Conversation
…sql files, redis key tab, cassandra paging and display settings
…e-daily-use # Conflicts: # windows/src/TablePro.App.Model/SessionState.cs # windows/src/TablePro.App/Views/QueryTabView.xaml # windows/src/TablePro.App/Views/QueryTabView.xaml.cs # windows/src/TablePro.App/Views/WorkspaceView.xaml.cs
… keep unsaved file text in the session
…lose, scope regex timeouts to one text
…or a save in flight
…ng over a file recreated since, open a tab window's sql file there
…text typed during a reload
… a restored file once read, report a history that cannot clear
datlechin
enabled auto-merge (squash)
November 14, 2026 19:22
…e-daily-use # Conflicts: # windows/src/TablePro.App/Views/QueryTabView.xaml.cs # windows/src/TablePro.Interop/Generated/tablepro_ffi.cs # windows/tests/TablePro.App.Model.Tests/TabFakes.cs
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
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
USE), or on an engine that binds the database at connect the next run opens an editor there. Blocked while a run or a transaction is open; a sort after a switch orders the rows held. A typedUSEmoves the button.$1groups). The bar now draws in the app's theme, not the system's..sql,.psqland.pgsqlinto a query tab of the window's connection (waiting for one to connect when none is), read off the UI thread; Ctrl+S saves the file, Ctrl+Shift+S saves as; encodings kept (BOM, UTF-8, UTF-16, UTF-32, Latin-1) and the file's access list kept; a dot marks unsaved text, closing asks, and Save is offered on a read-only connection too; a file changed or deleted on disk shows a bar, and saving over a change asks; File > Open recent; files dropped on the editor open. File tabs come back after a relaunch with their baseline, and unsaved text after a forced end.DatabaseSession::databases,database_layout,database,open_editor(database),open_key(KeyReader),read_table_page(.., resume)withTablePageRead::next_page,QueryEditor::database,Core::connect_saved(.., database, ..),QueryHistoryStore::prune; storageQueryHistory::prune_keeping. Bindings regenerated.windows/AGENTS.mdupdated.QueryTabDatabaseTests(the editor now opens in its database:ATabOpenedForADatabaseOpensItsEditorThere,AnOpenTheEngineRefusesSendsNothingAndSaysWhy,ATabWithNoDatabaseRunsWhereTheConnectionIs) andShellModelTests.AnEngineThatCannotSeekStepsAPageAtATimeUntilTheServerSaysNothingFollows(wasAnEngineThatCannotSeekHasOnlyItsFirstPage).Test plan
cargo test -p tablepro-ffi --features engines: new unit tests for the key reader, the database list and editors opened in a database; a history prune test.dotnet test --solution windows/TablePro.slnx: new App.Model tests (key tab, server paging, SQL files, recent files, query tab databases, settings), Editor.Model find and replace tests, Interop tests for database switching, key reading and prune..sqlfile tab and Open recent, and a PostgreSQL tab and connection switching database.Screenshots
Before (main) and after: the workspace with a red connection tagged production.
Settings, before and after.
Find and Replace with a regular expression, dark.
A
.sqlfile tab with unsaved text, and File > Open recent.A PostgreSQL query tab switched to
postgres, andpostgresopened beside the connection.