Skip to content

Reconnect sign-in apps in one press, from every screen - #2235

Merged
davidmckayv merged 1 commit into
mainfrom
reconnect-sign-in-apps-one-press
Nov 26, 2026
Merged

davidmckayv merged 1 commit into
mainfrom
reconnect-sign-in-apps-one-press

Conversation

@davidmckayv

Copy link
Copy Markdown
Contributor

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

  • A Bot's Apps row and a card in a conversation opened a directory sign-in app's page (Composio's or Arcade's) as it was on Reconnect. On Arcade a second Reconnect there began the sign-in; on Composio the page offered Disconnect and Connect another account.
  • An app OpenBot signs in to itself (a catalogue app such as Notion, 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 only a Disconnect that isn't built behind it. Nothing there reconnected it.
  • The reconnect list's Reconnect (/connections/<app>?connect=true) started the sign-in only when there was no connection at all, so for a withdrawn grant it started nothing.
  • Connections drew a withdrawn sign-in, and a key the app didn't take, as Connected.
  • A card's Connect or Reconnect the shared account opened Admin's page for the app, where a second Connect began it.

What changed

  • A Bot's Apps row and a card start the sign-in from the press for every app that signs in, and stay where they are with Opening sign-in… and then Waiting for <app>… and "Finish in the tab that opened.", as Connect does. Only a key app goes to its page, with the key form open.
  • An app's own page and Admin's page say "Your <app> connection needs reconnecting." over a withdrawn grant and offer Reconnect, which is Connect's press (Connecting… while it asks).
  • Arriving with ?connect=true starts a withdrawn sign-in too, on the app's page and on Admin's page (which now reads ?connect=true as well).
  • Connections reads a withdrawn sign-in, or a key the app didn't take, as Reconnect. One press opens the app's page with its connect started, and the tile says Connecting… until that page can draw.
  • A card's Connect or Reconnect the shared account opens Admin's page with the shared account's sign-in started.

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.

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
davidmckayv merged commit 03ca1bd into main Nov 26, 2026
35 checks passed
@davidmckayv
davidmckayv deleted the reconnect-sign-in-apps-one-press branch November 26, 2026 01:40
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