Skip to content

Add custom connection colours and show the current one as selected #834

Closed

Description

@EVWorth

Severity: P2 (FR-1.2.5 says "eight presets and a custom colour" are built; the custom colour is not)

What happens

  1. Open ?mock=connected, right-click "Local dev" → Edit Connection.
  2. The Color row shows the eight presets with none selected, but a "Clear" link is shown. The profile's colour is #22c55e, which is not a preset, so the user cannot see or re-pick it.
  3. Staging's colour #f59e0b will not show as selected either, although it is the amber preset #F59E0B: the comparison is case-sensitive.
  4. There is no way to enter a colour outside the presets.

Cause

src/components/connection/tabs/GeneralTab.tsx:83-106: presets only, form.color === c (case-sensitive), and swatches named only by a hex title.

Fix

Add a "Custom" swatch backed by <input type="color"> that shows the current non-preset value as selected. Compare colours case-insensitively, give the swatches aria-pressed and human names, and make the selected ring visible.

Part of #783.

Activity

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