Repository navigation
Say OpenBot runs on this computer in the account menu, and offer Connect to an OpenBot - #2820
Merged
Merged
Conversation
…ect to an OpenBot On OpenBot Desktop with OpenBot on this computer, the account menu showed "dev@openbot.local" under the person's name. That is the server's stand-in for the one person, not an account anybody signed in with, but it read as one: a person added to an organization on OpenBot Cloud looked for Sign out to sign in with another email, found none, and nothing said OpenBot ran on her computer. With local evaluation the account row now says "OpenBot runs on this computer" in place of the email, and never names the person by the stand-in. Inside a desktop app that can connect elsewhere, Connect to an OpenBot sits where Sign out would be and opens Settings > Computer at Connection, where Move to OpenBot Cloud and Connect to an OpenBot each say what they do. The web app and Desktop connected to an OpenBot elsewhere are unchanged. Tests: app-navigation.test.tsx holds the menu in each mode, and self-contained-account-menu.test.tsx runs the whole app in Chromium and WebKit, light and dark, from the menu to the connection choices.
davidmckayv
requested review from
MikeRyanDev,
dustywusty,
guidovizoso,
mxmzb,
samjulien and
tylerslaton
as code owners
December 2, 2026 23:20
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
Reported by an internal user on OpenBot Desktop with OpenBot on this computer (no account). She had been added to an organization on OpenBot Cloud and wanted to "sign out and sign in with a different email". Her account menu said:
dev@openbot.localis the server's stand-in for the one person on a single-person install, not an account anybody signed in with. It read as one, there was no Sign out (correctly: nothing to sign out of), and nothing told her OpenBot ran on her computer or how to reach her organization's OpenBot.What changes
Flow and copy only, with the menu's existing rows and items.
#connection). That page already has Move to OpenBot Cloud and Connect to an OpenBot, and each says what it does before anything happens.The words are the ones Settings › Computer already uses ("OpenBot runs on this computer", "Connect to an OpenBot").
Tests
app/tests/app-navigation.test.tsx: four cases for the menu in each mode. Three fail on main. The failure shows the reported menu:Received: "SSofíadev@openbot.local".app/tests/self-contained-account-menu.test.tsx(new, added to the real-browser WebKit job, which runs Chromium and WebKit): the whole app on the real route tree, against a stand-in local server and desktop app, in Chromium and WebKit, light and dark, at 1440px. It opens the menu, checks the row and the item (the same height as the other rows, inside the menu, last), then follows the item to/settings/computer#connectionwith the Connection section in view. All 4 fail on main ("S\nSofía\ndev@openbot.local\nAdmin\nOpenBot for Business™\nSettings\nHelp") and pass with the change.I compared screenshots before and after in both engines and both themes. The new item matches the rows above it.
Changelog
OpenBot Desktop says when OpenBot runs on your computer
The account menu says OpenBot runs on this computer instead of a placeholder email, and Connect to an OpenBot takes you to your OpenBot Cloud or company OpenBot.