Repository navigation
Move to OpenBot Cloud: Connect your AI first, then a reconnect list that each app returns to - #2034
Merged
Merged
Conversation
…er Connect your AI The signed-in gate sent anyone who had to finish onboarding or connect their own AI to /onboarding and dropped their destination, so an app's Reconnect after the move to OpenBot Cloud ended on home. The gate now passes it as ?next=, every step keeps it, and the last button follows it. Only a page of the app is followed.
…Connect your AI After the move, Desktop asks OpenBot Cloud whether the person still has to connect their AI (getPersonalAiConnection: required and uses none) and returns it as connectAi. When it is true, the result leads with Connect your AI as its one button, which opens /reconnect so OpenBot Cloud runs Connect your AI and then lands on the list of apps to reconnect. The apps are named as the step after it, with no Reconnect to skip it. Otherwise each Reconnect opens /reconnect/<appId>, and Open OpenBot opens /reconnect when there are apps to reconnect. An app id the shell's relay can't carry opens the list, never home.
…ismissed After a move to OpenBot Cloud, the apps the move listed to connect again were said only on OpenBot Desktop's last screen, and nothing on Cloud said it afterwards. - /reconnect lists them (from listImports, every finished move), each marked Reconnected once the person's own connections have it, with a Reconnect button and a dismiss. Go to OpenBot leaves; the last one connected takes them home. A reload or another device shows the same. - /reconnect/<appId> (a plain path, which Desktop opens too) remembers the list, resolves the app as the move named it to the app here (the one added from directory:<appId>, else that id) and opens its page, with a way back. An app the organization hasn't added is added first for an admin; anybody else, or a refused add, goes back to the list, whose row says why. - The app page and Connections take the person back to the list once the app is connected. A failed sign-in connects nothing and stays where the failure is said. - Connections shows one row with the count and a way to the list, and every frame shows the same as a slim bar beside the plan and update bars. - Dismissing saves moved-app-<slug> to the person's dismissed notices.
…and back, then home
davidmckayv
force-pushed
the
fix/move-reconnect-through-ai-gate
branch
from
November 22, 2026 19:37
7cd6225 to
b8c9692
Compare
davidmckayv
marked this pull request as ready for review
November 22, 2026 19:37
davidmckayv
requested review from
MikeRyanDev,
dustywusty,
guidovizoso,
mxmzb,
samjulien and
tylerslaton
as code owners
November 22, 2026 19:37
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 was wrong
After moving an OpenBot (Self-Contained) install to OpenBot Cloud, the move's last screen in OpenBot Desktop listed the apps to reconnect, each with a Reconnect button. Every Reconnect opened OpenBot Cloud at Connections. When Cloud still needed the person's own AI, the signed-in gate sent them to Connect your AI and dropped where they were going, so its button left them on home. The list of apps was gone with the move screen, and nothing in OpenBot Cloud said they still needed reconnecting.
What changes
?next=. Every step keeps it, and a reload keeps it. The last button goes there. Only a page of the app is followed./reconnect). It is built from OpenBot Cloud's own record of the move (listImports). Each app shows as reconnected once the person has connected it. Each app's Reconnect (/reconnect/<app>) opens that app's page, and connecting it returns the person to the list with that app marked reconnected. They leave when they choose to, or once every app is done. An app can be dismissed, which is saved to their preferences on every device. Connections keeps a pointer to the list while any app is left./reconnectand/reconnect/<app>, because Desktop's relay accepts no query strings.Tests
app/tests/connect-your-ai.test.tsx, in a real browser through the app's own gate:Desktop:
MoveToCloud.test.tsxcovers the AI-first result and the per-app paths.setupLayout.browser.test.tslays out the new result screen in Chromium and WebKit. A Rust test covers the AI answer.app/tests/moved-apps-reconnect.test.tsxruns the whole app on its real route tree in Chromium and WebKit. It covers:On the gate as it was, Reconnect ends on home.
The sidebar puts the reconnect list under Connections.
End to end on a local OpenBot Cloud stack, in Chromium and WebKit, the journey passes. It uses a real import through the API with two apps, the Desktop result screen, terms, Connect your AI with a real key, the list, and each app's real connect page and consent. Each app returns to the list, a reload keeps it, and the person lands on home after the last app.