Repository navigation
Conversation
…tabase from the editor bar
…kHouse, Cassandra and MongoDB
…y opening its session there
…linux-workspace-follows-tab-database
…e it in the window
…t database's session
…where a connection reaches several
…or-database-switch # Conflicts: # linux/crates/app/src/ui/editor/tab_scope.rs # linux/data/resources/ui/sql-editor.ui
…lete only where the catalog reaches
…or-database-switch-more # Conflicts: # linux/crates/app/src/ui/editor/editor_session_slot.rs # linux/crates/core/src/dialect/sql_dialect.rs # linux/crates/drivers/mongodb/src/dialect.rs
… tabs with each driver's own means
…-editor-database-switch-reconnect # Conflicts: # linux/crates/app/src/ui/editor/editor_session_slot.rs # linux/crates/core/src/dialect/sql_dialect.rs # linux/crates/drivers/mongodb/src/dialect.rs # linux/crates/drivers/postgres/src/dialect.rs
…rough the slot's one move
…ion's disconnect, and purge one only after its drafts land
…joins, and leave the sidebar's selection to the tab in front
…wn database, and offer one when none is open
…or-database-switch-more
…-editor-database-switch-reconnect
…linux-workspace-follows-tab-database
…nux-editor-follows-database-session # Conflicts: # linux/crates/app/src/ui/editor/tab_scope.rs
…-editor-database-switch-reconnect
…linux-workspace-follows-tab-database
…nux-editor-follows-database-session
…or-database-switch-more
…-editor-database-switch-reconnect
…linux-workspace-follows-tab-database
…nux-editor-follows-database-session
…abase-switch-more
…abase-switch-reconnect
…follows-tab-database
…nux-editor-follows-database-session
…-editor-database-switch-reconnect
…linux-workspace-follows-tab-database
…nux-editor-follows-database-session
…hat holds its database, and follow only where a catalog holds one database
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.
Follows #3902. Rebuilt on main on top of the connection's owner of its other databases.
Summary
USE, asks the window for that database's session. Where a connection's catalog holds only its own database (PostgreSQL, SQL Server), the window opens it beside the connection throughOtherDatabases, once for all the tabs asking.Test plan
session_window::tests::other_databases::tabs_moved_to_another_database_read_its_session,a_tab_moved_where_the_catalog_lists_every_database_opens_nothing.editor::tests::completion_reads_only_the_session_of_the_tabs_database.