Repository navigation
Reconnect sign-in apps in one press, from every screen - #2235
Merged
Merged
Conversation
Reconnect on a key app opens its key form over the account that stands. Reconnect on an app that signs in still opened its page as it was, where a second press began the sign-in, or nothing did. - A Bot's Apps row and a card in a conversation start the sign-in from the press for every app that signs in, the directory's (Composio, Arcade) as well as OpenBot's own, and stay where they were with Opening sign-in... and then Waiting for <app>... until the sign-in opens. - An app OpenBot signs in to itself (the catalogue's, an MCP server added by its address, an app's own sign-in server) whose grant the vendor withdrew read Connected on its page and on Admin's page, with nothing to press. Both now say the connection needs reconnecting and offer Reconnect, which is Connect's press. - Arriving to reconnect (the reconnect list's Reconnect, `?connect=true`) starts a withdrawn sign-in too; it used to start only when there was no connection at all. - Connections reads a withdrawn sign-in, and a key the app didn't take, as Reconnect instead of Connected. One press opens the app's page with its connect started, and the tile says Connecting... until the page can draw. - A card's Connect or Reconnect the shared account opens Admin's page for the app with its sign-in started, instead of a page where a second Connect began it. No new components, states or words: the pending states and sentences are the ones Connect and key-app Reconnect already use.
davidmckayv
requested review from
MikeRyanDev,
dustywusty,
guidovizoso,
mxmzb,
samjulien and
tylerslaton
as code owners
November 26, 2026 01:28
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.
Reconnect on a key app opens its key form over the account that stands, in one press. Reconnect on an app that signs in still opened its page as it was, where a second press began the sign-in, or nothing did. Connect, give and reconnect are one press for every kind of app from every screen, so this closes the sign-in half.
What was wrong
/connections/<app>?connect=true) started the sign-in only when there was no connection at all, so for a withdrawn grant it started nothing.What changed
?connect=truestarts a withdrawn sign-in too, on the app's page and on Admin's page (which now reads?connect=trueas well).No new components, states or words. This PR doesn't change the API, and the server already takes a fresh sign-in over a connection that stands.
Tests
Every new or changed test below failed on main and passes here (run against main's source with this branch's tests):
app-access-action.test.tsx: Reconnect on a sign-in app through Composio's directory and Arcade's starts its sign-in in one press, saying Opening sign-in… until it opens, with the screen kept (red on main); OpenBot's own sign-in, an app's own sign-in server and an MCP server that signs people in are pinned the same way (already one press on main). The shared account links carry?connect=true(red on main).app-access-card.test.tsx: a card over an account the vendor lost starts its sign-in from Reconnect, and stays (red on main).sign-in-reconnect-one-press.test.tsx(the real Connections and app page routes, and Admin's app page): Reconnect over a withdrawn grant on the app's own page, for a catalogue app and an MCP server that signs people in; arriving to reconnect starts it; the Connections tile says Reconnect and one press reaches the sign-in; Admin's page offers Reconnect; arriving at Admin's page to connect a shared account starts its sign-in. 7 red on main; the control (a working connection still reads Connected and starts nothing) passes on both.sign-in-reconnect-layout.test.tsx(real browser, Chromium and WebKit, light and dark, desktop and phone width): the card's Reconnect, the Connections tile and the app's page, with screenshots of each step. 24 of 24 fail on main, 24 pass here. Added to CI's two-engine browser job.The screens were checked in screenshots in both engines, both themes and both widths, before and after.