Repository navigation
Screens: connect an app offered as a sign-in with its key instead - #2121
Merged
Merged
Conversation
Some apps the directory offers as a sign-in through the vendor can also be connected with their key, which often gives far more actions. The sign-in stays the row's action. Under it, Browse apps now offers a quiet "Connect with a key instead", which adds the key version and opens its key form in one press. Admin's directory offers "Add with a key instead", which only adds. A member, who asks for apps, is offered nothing. Once the key version is added, the row links to it by its own title. The sign-in version's own page makes the same offer to somebody who may add apps, read from the directory entry the app was added as.
…r the key on a vendor server's page A key version is titled "PostHog (key)" so it reads apart from the sign-in, and the sentences about the person's account at the vendor now say "your PostHog account" and "Get a key from PostHog". The offer on an app's page now shows for the vendor's own sign-in server too, lines up with the note above it, and arriving at the key version's page from another app's page opens its key form.
The connection page keeps its component when the router moves from one app's page to another's, so the connect-on-arrival read on first mount stayed with the first app and the second app's key form never opened. This pins the client-side move from a sign-in app's page to a key app's page with connect set, which is what Connect with a key instead does.
davidmckayv
requested review from
MikeRyanDev,
dustywusty,
guidovizoso,
mxmzb,
samjulien and
tylerslaton
as code owners
November 24, 2026 05:32
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.
What
Some apps that connect with a key are offered as a sign-in instead (PostHog). The sign-in stays the row's action. This adds a quiet second way to connect the same app with its key, which often offers far more actions. Uses the API from PR 2120.
?connectagain, so the key form opens.The secondary action is the existing small underlined inline link style (as in the sign-in note), not a new component. The primary Add / Connect button and the row layout are unchanged. The chat card is unchanged.
Screenshots
Browse apps before (sign-in only) and after (the quiet key line), the key form, Connections with both added, and Admin's directory, checked in Chrome and headless WebKit against a live server on 127.0.0.1.
Tests
app/tests/key-version.test.tsx: a routed entry keeps its sign-in and offers the key, which sendsconnectsWith: "key"and lands on the key form; no offer without a key version; the added link; Admin's add-only wording; nothing for a member; the app page's offer.app/tests/vendor-name.test.ts: the vendor's name in key sentences for "PostHog (key)".app/tests/connection-page-arrival.test.tsx: arriving at another app's page with?connectopens that app's key form (fails without the fix, passes with it).