Repository navigation
refactor(connection-form): rebuild the macOS editor as one scrolling form - #4391
Merged
Merged
Conversation
…form Drop the four-pane sidebar for a single grouped Form with an Advanced disclosure, extract a pure ConnectionPresentation engine the pane view models share, add an Environment label and a Store-in-Keychain/Ask password menu, and fix the defects found on the way (password hiding, connect timeout, test-secret leak, missing-record form, duplicate SSH-host issue, cloudflared login).
This was referenced Nov 21, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Formin place of the four-pane sidebar split. A connection is a single object, so it reads top to bottom (Identity, Connection, Authentication, Transport, Encryption, Appearance) with the rarely-set options behind one Advanced disclosure. DropsConnectionFormSplitViewController,ConnectionFormSidebarandConnectionFormDetailView; the window now hostsConnectionFormContentViewin anNSHostingController.ConnectionPresentation, a pure engine for field visibility, built-in password hiding and required/range validation, fed one merged value dictionary. The three pane view models read it instead of each re-deriving the same answers.additionalFields["environment"]key so it rides the existing synced field set.Fixes found while in here:
cloudflared access logingave no feedback and left the process unreaped.Not in scope, with reasons
additionalFieldsinstead.Test plan
ConnectionPresentationTests(7 cases: section/visibility, cross-sectionvisibleWhen, password hiding, required/range, hidden-required, defaults, visibility cycle).ConnectionFormEditsTests.environmentRoundTripsand anappManagedAdditionalFieldIDsassertion.ConnectionTimeoutSettingsTestsexercises the connect-timeout clamp and the kafka legacy-key short-circuit.ListClickFocusUITests(it drove the deleted sidebar) withConnectionFormDisclosureUITests, which opens the new form and checks the Advanced disclosure reveals the options.Screenshots