Skip to content

Feature Request: Show connection groups and their connections in the sidebar with in-tab switching #1311

Description

@andostronaut

Problem

Currently, when working with multiple database connections organized into groups, the sidebar does not surface the groups and the connections they contain in a navigable way. To switch from one connection to another, I have to open a new tab — which clutters my workspace and forces me to manage many tabs just to move between related databases (e.g. local, staging, prod of the same project).

This is especially painful when I work in a single context (one project, multiple environments) and only want to look at one connection at a time.

Proposed solution

  1. Show groups and their connections in the sidebar. Render the connection groups as collapsible/expandable sections in the sidebar, with their child connections listed underneath, similar to how a file tree shows folders and files.
  2. Click-to-switch within the same tab. Clicking a connection in the sidebar should switch the active connection in the current tab, replacing what's shown — instead of opening a new tab. The currently active connection should be visually highlighted in the sidebar.
  3. Optional: keep a modifier (e.g. ⌘/Ctrl+click) to open in a new tab for users who still want the old behavior occasionally.

This would let users browse and jump between related connections quickly without piling up tabs.

Alternatives considered

  • Manually closing the previous tab after opening a new one — works but is extra clicks every single time.
  • Using the existing connection picker — still opens in a new tab and doesn't show the group → connection hierarchy at a glance.
  • Pinning frequently used connections (related to Feature Request: Star/Favorite database connections #1302) — helps with discovery but doesn't solve the same-tab switching problem.

Related database type

N/A / General

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions