Skip to content

refactor(connection-form): polish the connection form, chooser and credential sheet - #4398

Merged
datlechin merged 3 commits into
mainfrom
refactor/connection-form-polish
Nov 21, 2026
Merged

datlechin merged 3 commits into
mainfrom
refactor/connection-form-polish

Conversation

@datlechin

Copy link
Copy Markdown
Member

Summary

Follow-up polish to the rebuilt macOS connection form (#4391), as one PR instead of several small ones.

  • Reveal the Advanced section automatically when a field hidden inside it fails validation, so the error is reachable instead of silently blocking Connect.
  • Draw the engine on the shared rounded tinted tile (ConnectionTile) in the General tab's Type row and in the database-type chooser rows, matching the sidebar rail.
  • Let the database-type chooser sheet grow (pinned width); give the credential profile editor sheet a minimum height so a tall Vault profile does not grow it unevenly.
  • Unify the notice, multi-line editor and remove-button styles across the SSH, SSL and proxy sub-editors (NoticeLabel, one code editor, minus.circle borderless remove).

Grounded in the connection-design research (HIG progressive disclosure, one identity object across form/chooser/rail, native-only chrome).

Test plan

  • lint passes on all touched files.
  • CI runs the signed build and the suites (local codesign is blocked by a locked keychain this session).
  • Screenshots below: form Type row tile, chooser tiles.

database-chooser.png

…edential sheet

Fold the four follow-up PRs into one:
- Reveal the Advanced section when a hidden field fails validation, so the error is reachable.
- Draw the engine on the shared tinted tile in the Type row and the database chooser rows.
- Let the database chooser sheet grow; give the credential profile sheet a minimum height.
- Unify the notice, multi-line and remove-button styles across the sub-editors.
@datlechin
datlechin merged commit 945931b into main Nov 21, 2026
11 checks passed
@datlechin
datlechin deleted the refactor/connection-form-polish branch November 22, 2026 00:38
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