Skip to content

Desktop shows its own version, and About names both - #2906

Merged
davidmckayv merged 2 commits into
mainfrom
fix/version-labels
Dec 4, 2026
Merged

davidmckayv merged 2 commits into
mainfrom
fix/version-labels

Conversation

@davidmckayv

@davidmckayv davidmckayv commented Dec 3, 2026 •

Copy link
Copy Markdown
Contributor

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.

  • Desktop always shows its own version. Inside OpenBot Desktop the page shows the app's version, never the server's, whether OpenBot runs on this computer or the app is connected to Cloud or any other OpenBot. That covers the strip's foot, Help in the account menu ("OpenBot Desktop v1.2.8"), and the OpenDots skin. The version comes from the app's own update offer (update_offer's current), which every Desktop that shows the banner already answers. A Desktop from before that command shows no version rather than the server's.
  • The banner names the app: "OpenBot Desktop 1.2.9 is available." (and "is downloading in the background", "is ready to install" in the same words).
  • About OpenBot names both when the app is connected:
    OpenBot Cloud v1.2.10
    Signed in as sam@example.com
    
    OpenBot Desktop v1.2.8
    Built … from …
    
    The server's release is read from the same getPerson answer 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.
  • The web app is unchanged: OpenBot Cloud in a browser still shows the release the server runs, and Help still says "OpenBot v1.2.10".

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 as desktop_page.rs does, in real Chromium and WebKit, light and dark.
    • Desktop 1.2.8 connected to Cloud on 1.2.10, with 1.2.9 offered: the strip shows v1.2.8 on 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".
    • Self-Contained Desktop: the strip and Help show the app's v1.2.8.
    • Cloud in a browser: the strip shows v1.2.10, no banner, Help says "OpenBot v1.2.10".
  • desktop_about and main.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" where v1.2.8 was expected, and Self-Contained Desktop got Received: 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.10 at 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.8 in 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.

  • Changed: Desktop shows its own version. Connected to OpenBot Cloud or another OpenBot, or with OpenBot on this computer, the sidebar and Help show OpenBot Desktop's own version, and the update banner says "OpenBot Desktop 1.2.9 is available." About OpenBot shows the version of the OpenBot you're connected to beside the app's. Browsers are unchanged.

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
davidmckayv marked this pull request as ready for review December 3, 2026 23:41
@davidmckayv
davidmckayv added this pull request to the merge queue Dec 3, 2026
Merged via the queue into main with commit db8fa2f Dec 4, 2026
97 of 101 checks passed
@davidmckayv
davidmckayv deleted the fix/version-labels branch December 4, 2026 00:18
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