Skip to content

Make production unmistakable on the connection tab and in the toolbar #835

Closed

Description

@EVWorth

Severity: P2 (data safety: environment signalling)

What happens

  1. On ?mock, open +. The rows show a name and a 6px colour dot, with no host, user, environment or read-only marker.
  2. Connect "Production (read-only)". The connection tab shows a database icon, a 6px red dot and a lock. The name truncates to "Production (re…" and hovering shows no tooltip.
  3. The PROD/STG/DEV badge appears only as a 9px chip in the status bar.

At 1024×680, with three connections open, nothing near the editor says "production". DataGrip and TablePlus tint the toolbar or window for production connections.

Cause

  • src/components/layout/ConnectionTabs.tsx:254-274: no environment badge and no title on the tab.
  • src/components/layout/ConnectionTabs.tsx:376-391: popover rows.
  • src/components/layout/StatusBar.tsx:198-202: the only badge.

Fix

Show the environment badge (PROD/STG/DEV) on connection tabs and popover rows, and add title="Name — user@host:port" to tabs. Give the editor toolbar (or a top border) a production tint when the selected connection's environment is production.

Part of #783.

Activity

  1. added
    enhancement
    on Oct 21, 2026
  2. added a commit that references this issue on Oct 24, 2026
    e337bb5
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

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions