Repository navigation
Desktop shows its own version, and About names both - #2906
Merged
Merged
Conversation
OpenBot Desktop connected to OpenBot Cloud showed Cloud's v1.2.10 at the strip's foot, while its update banner said "OpenBot 1.2.9 is available". Read together, that asked the person to update from 1.2.10 down to 1.2.9. Inside OpenBot Desktop the page now always shows the app's own version (the strip's foot, Help in the account menu, the OpenDots skin), whether OpenBot runs on this computer or elsewhere. It comes from the app's update offer, never from the server. The banner names the app: "OpenBot Desktop 1.2.9 is available." About OpenBot, when connected, names the release the OpenBot it is connected to runs (read from the same people/me answer that names the account) and the app's own version. In a browser nothing changes: OpenBot Cloud's strip shows the server's release.
davidmckayv
marked this pull request as ready for review
December 3, 2026 23:41
davidmckayv
requested review from
MikeRyanDev,
dustywusty,
guidovizoso,
mxmzb,
samjulien and
tylerslaton
as code owners
December 3, 2026 23:41
12 of 14 tasks
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
Reported from OpenBot Desktop connected to OpenBot Cloud: the strip's foot said v1.2.10 (Cloud's release) while the banner over the page said "OpenBot 1.2.9 is available. Update and restart" (the app's own update, from an older Desktop). Read together, that asked the person to update from 1.2.10 down to 1.2.9.
update_offer'scurrent), which every Desktop that shows the banner already answers. A Desktop from before that command shows no version rather than the server's.getPersonanswer that already names the account (openbotVersion), so there is no new request. Another OpenBot reads "Connected to OpenBot v1.2.10 at openbot.example.com". Self-Contained About is unchanged.No API or database change.
Tests
app/tests/desktop-versions.test.tsx(new, in CI's browser list): the whole app on its real route tree, against a stand-in server and a stand-in desktop app that answers asdesktop_page.rsdoes, in real Chromium and WebKit, light and dark.v1.2.8on one line inside the strip, the banner says "OpenBot Desktop 1.2.9 is available.", nothing on the page says 1.2.10, and Help says "OpenBot Desktop v1.2.8".v1.2.8.v1.2.10, no banner, Help says "OpenBot v1.2.10".desktop_aboutandmain.rs: About when connected names Cloud's v1.2.10 and the app's own v1.2.8. Another OpenBot and staging are covered, a server with no version says none, and Self-Contained is unchanged.move_to_cloud/tests.rs: the account answer, served over HTTP, gives the server's release, and nothing when it is null or blank.shared/desktop-updates.test.ts,app/tests/update-banner.test.tsx: the banner's sentences name OpenBot Desktop.Red/green. Against main, the new browser test fails 8 of 12: connected Desktop got
Received: "v1.2.10"wherev1.2.8was expected, and Self-Contained Desktop gotReceived: null. The 4 web cases pass on main, so the browser is unchanged. The new shared test fails on main (Received: "OpenBot 1.2.9 is available."). The Rust About tests don't build on main because the server's version isn't read there. All of them pass on this branch.Looked at
Before and after screenshots in Chromium and WebKit, light and dark, of the home page and the open Help menu, for the connected, Self-Contained and web cases. Before:
v1.2.10at the strip's foot under the avatar, with "OpenBot 1.2.9 is available." in the banner, which is the reported screen. After:v1.2.8in the same place, same type, centred under the avatar, and "OpenBot Desktop 1.2.9 is available." on one line with Update and restart. The web screens are the same before and after. Existing layout tests still pass: the update banner fits at the default and narrowest windows, the strip version layout, and the Self-Contained account menu.Changelog
OpenBot Desktop.