Repository navigation
Coderhelm's app shows one sign-in button; keys only under my own app or Use a key instead - #334
Merged
Merged
Conversation
…or Use a key instead
On a self-hosted install with hybrid, the Knowledge add flow for Notion and
Confluence follows the app choice: Coderhelm's app shows one Sign in button and
no token steps or fields, a key stays behind Use a key instead, and switching
the choice updates the dialog. Integration sign-in buttons read Sign in with
<app>.
A key for a server whose vendor's hosted MCP server takes one connects to that
server ("Connect with this key"); a server no key works for says why, with no
form.
nambok
force-pushed
the
sign-in-choice-one-button
branch
from
November 8, 2026 03:14
4283b8c to
b10d648
Compare
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
On a self-hosted install with hybrid, "Use Coderhelm's app" in the Knowledge add flow now shows one "Sign in with Notion" (or Confluence) button and the choice's one line. It shows no token steps and no form fields. A key stays behind "Use a key instead". The token steps show under "Use my own app" when the install has no app of its own. Switching the choice updates the dialog at once.
Integration sign-in buttons now read "Sign in with ", with one short line, and the key stays behind "Use a key instead". This pairs with the platform change that makes those sign-ins work on self-hosted installs.
A catalog key for a vendor whose hosted MCP server takes one now connects to that server ("Connect with this key"). A server no key works for shows the reason and no form.
Changes
components/hybrid-app-choice.tsx:useHybridChoice(id)gives the current choice, and anonChangedcallback fires after it's saved.components/knowledge/add-flow.tsx: the connect step follows the choice.components/mcp-server-panel.tsx: "Sign in with ", with one line.components/mcp-server-panel.tsx:RemoteKeyFormforremote_keyservers, and thekey_unavailablereason in place of a key form.lib/api.ts: theremote_key,key_unavailableandkeyfields.knowledge-app-choice.spec.tscovers Notion and Confluence with each choice, switching between them, the not-ready case, and 375px width with no sideways scroll;Verification
npm run typecheckandnpm run lintpass.mcp-serverstests for a key connecting to the vendor's server and a server with no key path:knowledge-app-choice,knowledge-connect,knowledge,knowledge-signin,mcp-servers,integrations-page,hybrid.test-results/shots/knowledge-app-choice-*.png.