Repository navigation
Desktop: OpenBot Cloud first and picked on the first screen, and on in release builds - #1989
Merged
Merged
Conversation
davidmckayv
requested review from
MikeRyanDev,
dustywusty,
guidovizoso,
mxmzb,
samjulien and
tylerslaton
as code owners
November 21, 2026 20:11
davidmckayv
force-pushed
the
desktop/cloud-default
branch
from
November 21, 2026 20:26
eefebda to
6c55a3d
Compare
…n release builds With OpenBot Cloud on, "Set up OpenBot" now leads with it. OpenBot Cloud is the first row and is picked when the window opens, with Sign in to OpenBot Cloud under the rows. OpenBot for Business follows, with its booker, and the link to connect to a company's own OpenBot. OpenBot (Self-Contained) moves to a smaller row under them that says what this computer needs and how long setup takes. Picked, it shows the full needs and Install as before. The order on screen is the order for the keyboard and a screen reader. Somebody who already chose this computer is not sent to Cloud: a relaunch that finds OpenBot installed, Back from Install, a setup failure and the choice asked for from Settings all open on Self-Contained. Release and candidate installers build with Cloud on. scripts/release-build.ts is the release build config, applied by vite.config.ts when desktop-version.ts has written a release build-version.json, as it does before every release installer, signed or not. Internal and pull request builds leave it off, and VITE_OPENBOT_CLOUD_ENABLED=false still turns it off in a release build. With the switch off the first screen is unchanged.
OpenBot Cloud on Desktop is this app, connected to OpenBot Cloud where the person's Bots run, not a sign-in link with nothing installed. Its row now says "Use OpenBot here. Your Bots run in our cloud.", its detail says the app connects to OpenBot Cloud with the same account, Bots and conversations as my.open.bot, and the hand-off line says the browser opens to sign in or create an account and comes straight back. OpenBot for Business's calendar sits below its lists, past the bottom of the window, so nothing showed how to book until the card was scrolled. A Book a demo button under its first line now takes the card to the calendar and moves the focus to its heading. The layout test waits for the window's font before measuring lines, which a fallback face could wrap, and checks the booker: in view, reached by Book a demo, and whole inside the card scrolled to its end.
… says Book a demo throughout
…lier address field With OpenBot Cloud on, the first screen steers to OpenBot Cloud and OpenBot for Business. OpenBot (Self-Contained) is no longer a row between them: it is one line at the foot of the card, below the sign-in, the booker or the address, "Want everything to run on this computer? Use OpenBot (Self-Contained)." Opened, it shows what this computer needs and Install there, with neither row picked. It is never picked to begin with, a relaunch on a computer that runs OpenBot included; only a failed setup on this computer opens on it, since the failure is its to show. The address field reads "Your company's OpenBot address", says "Ask your IT team or whoever set up OpenBot at your company for this address." under it, and its way out is Back, to the choices as the screen opened, not "Use OpenBot on this computer instead": every choice is this app on this computer.
davidmckayv
force-pushed
the
desktop/cloud-default
branch
from
November 21, 2026 22:26
19c3160 to
84da6f7
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.
What
In a build with OpenBot Cloud on, "Set up OpenBot" now leads with Cloud:
Keyboard and screen-reader order follows the screen: Cloud, Business, Connect to it, Self-Contained, then Cloud's sign-in.
Somebody who already chose this computer is not moved to Cloud. A relaunch that finds OpenBot installed, Back from Install, a setup failure, and the choice asked for from Settings all open on Self-Contained.
Release builds have Cloud on
desktop/scripts/release-build.tsis the release build config.vite.config.tsapplies it whendesktop-version.ts releasehas writtenbuild-version.json, which every release and candidate installer does first, unsigned (desktop-build.yml,releasechannel) or signed (the macOS and Windows signing workflows on a tag). Internal and pull request builds leave Cloud off. A value in the build's environment wins, soVITE_OPENBOT_CLOUD_ENABLED=falsestill turns it off in a release build. Checked with realvite buildruns: a release build compilescloudEnabled()to"true", an internal build to unset, a release with=falseto"false".With the switch off, the first screen keeps its layout. Two lines change everywhere: OpenBot for Business says "Book a demo", the word its booker and calendar already use, where it said "Book a call", and connecting to a company's OpenBot says "This app connects to that OpenBot. You'll sign in to it in your browser, then come straight back here." where it said nothing is installed on this computer. This app is OpenBot on the person's computer either way.
CHANGELOG.mdgets the line under Unreleased, OpenBot Desktop.Tests
desktop/src/App.test.tsx, Cloud on: the screen opens on Cloud with its sign-in; the order of rows, link and controls; Self-Contained's smaller row and its needs; Business books a call; Connect to it opens the address. Self-Contained picked shows the needs and Install, and Install sets it up with nothing asked of Cloud. A relaunch that finds OpenBot on this computer opens on Self-Contained. The Cloud sign-in test now starts from Cloud already picked. Cloud off: the existing first-screen tests pass unchanged.desktop/scripts/release-build.test.ts: release turns Cloud on, internal and development add nothing, the environment wins, and the channel is read asdesktop-version.tswrites it.desktop/src/setupLayout.browser.test.ts(real Chromium, 1000x760, light and dark): with Cloud on, two rows plus the smaller Self-Contained row with its needs inside it, and no card scrollbar with Cloud, Self-Contained or the address showing. With Business picked: Book a demo is in view, takes the card to the calendar's heading, and scrolled to its end the calendar is whole inside the card, with the page never scrolling. It waits for the window's font before measuring lines.bun testindesktop/: 705 pass. Browser suite: 69 of 70 pass locally; the one failure is the Windows-scrollbar test on the AI step, which needs drawn scrollbars that headless Chromium on macOS doesn't draw, and is untouched here.bun run typecheckindesktop/, biome format and lint: clean.