Skip to content

Say OpenBot runs on this computer in the account menu, and offer Connect to an OpenBot - #2820

Merged
davidmckayv merged 1 commit into
mainfrom
fix/self-contained-account-menu
Dec 3, 2026
Merged

davidmckayv merged 1 commit into
mainfrom
fix/self-contained-account-menu

Conversation

@davidmckayv

Copy link
Copy Markdown
Contributor

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.local is 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.

  • Account row, local evaluation: says "OpenBot runs on this computer" under the name in place of the email. It never names the person by the stand-in, before a name is given included ("You").
  • Connect to an OpenBot: inside a desktop app that can connect elsewhere, it sits where Sign out would be and opens Settings › Computer at Connection (#connection). That page already has Move to OpenBot Cloud and Connect to an OpenBot, and each says what it does before anything happens.
  • Unchanged: the web app, and Desktop connected to an OpenBot elsewhere, keep the email and Sign out, with no new item. OpenBot on this computer in a plain browser gets the new line and no item, since there are no connection choices there.

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#connection with 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.

…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
davidmckayv added this pull request to the merge queue Dec 3, 2026
Merged via the queue into main with commit d839bd0 Dec 3, 2026
39 checks passed
@davidmckayv
davidmckayv deleted the fix/self-contained-account-menu branch December 3, 2026 03:01
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