Skip to content

feat(desktop): show colored environment badge in JOIN connection picker - #54

Merged
cccadet merged 1 commit into
mainfrom
feat/join-picker-environment-badge
Nov 26, 2026
Merged

cccadet merged 1 commit into
mainfrom
feat/join-picker-environment-badge

Conversation

@cccadet

@cccadet cccadet commented Nov 25, 2026

Copy link
Copy Markdown
Owner

Summary

  • The "Add a table from another database to the JOIN" connection dropdown now shows each connection with the same colored environment badge used elsewhere (connection switcher, MCP edit review), instead of a plain [environment] text prefix.
  • The selected value in the dropdown button also shows the colored badge.
  • The option text (typeahead / screen readers) is Label (Dialect) · Environment, so the environment name stays searchable.

Test plan

  • pnpm --filter desktop typecheck, eslint on App.tsx
  • pre-push hook (typecheck, lint, test:fast)
  • Checked manually in pnpm dev:tauri: badge colors show in the list and on the selected connection
  • No automated test covers this dialog.

🤖 Generated with Claude Code

Render each connection in the "Add a table from another database to the
JOIN" dropdown, and the selected value, with the same colored environment
badge used elsewhere instead of a plain "[environment]" text prefix. The
option text keeps the environment name for typeahead and screen readers.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@cccadet
cccadet merged commit eab7343 into main Nov 26, 2026
4 checks passed
@cccadet
cccadet deleted the feat/join-picker-environment-badge branch November 26, 2026 00:15
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