Skip to content

Show the OpenBot version on screen on OpenBot Cloud - #2197

Merged
davidmckayv merged 1 commit into
mainfrom
cloud-version-on-screen
Nov 25, 2026
Merged

davidmckayv merged 1 commit into
mainfrom
cloud-version-on-screen

Conversation

@davidmckayv

Copy link
Copy Markdown
Contributor

What

On OpenBot Cloud the OpenBot version is now on screen on every page, under the account avatar at the foot of the strip, so a screenshot sent with a bug report says which release it was taken on. Since the strip sidebar it showed only inside the account menu. The account menu keeps it too.

  • Cloud only, decided the way the app already decides it: the deployment's hostedSignIn. OpenBot Desktop signed in to Cloud reads the same answer, so it shows there too. Self-hosted and the personal edition are unchanged.
  • Same type as the account menu's version: text-[10px] leading-3 text-muted-foreground, now one shared class string.
  • A build's long version (main-20261113-9, internal-<commit>) wraps inside the strip and reads whole on up to three lines; a release's v1.2.0 fits on one.
  • The version never sets the strip's width. In a phone's sheet the strip is as wide as what it holds, and a one-line version had pushed it from 48px to 84px; now the strip and the panel beside it stay where they were. The strip's footer takes the strip's width, as its section list already does, so the version can wrap to it.

Tests

  • app/tests/section-strip.test.tsx: on Cloud the strip shows the version with no menu open (and the menu still shows it); a release reads with its v; self-hosted and personal show none on the strip; no version from the server shows none. The two Cloud tests fail on main (Expected: "main-20261113-9", Received: null) and pass here.
  • app/tests/strip-version-layout.test.tsx (real Chromium and WebKit, light and dark, 1440, 800 and 390 wide, on the real signed-in gate and app frame): the version reads whole, centred, inside the strip, under the avatar, at 10px, a release on one line; the strip's width and the avatar's place are the same as with no version; nothing is cut off. Not on Cloud there is no version. On main all 24 Cloud cases fail and the 12 not-Cloud cases pass; here all 48 pass.

Looked at

Screenshots of the Routines page and the strip's foot, before and after, in both engines, light and dark, at 1440, 800 and 390 (the phone sheet opened). The not-Cloud strip foot is pixel-identical before and after.

Screenshots sent with bug reports never said which release they were taken on: since the strip sidebar, the version showed only inside the account menu. On Cloud (hostedSignIn, which OpenBot Desktop signed in to Cloud reads too) it now sits under the account avatar at the strip's foot, on every page, in the same tiny muted type as the menu's. The account menu keeps it too.

A build's long version wraps inside the strip and reads whole; a release's fits on one line. The version never sets the strip's width, so in a phone's sheet the strip and the panel beside it stay where they were. Self-hosted and personal editions are unchanged.
@davidmckayv
davidmckayv merged commit 9889a1a into main Nov 25, 2026
23 checks passed
@davidmckayv
davidmckayv deleted the cloud-version-on-screen branch November 25, 2026 16:46
davidmckayv added a commit that referenced this pull request Nov 25, 2026
Unreleased gains, from the code of each change since rc.5 (OpenBot main
a9ba3fe to 25d50a1, and the server since rc.5's): a Bot's work folded with a
shimmer on the running step (#2201), long tasks that keep going instead of
stopping as too long (#2184), a push to your phone when a Bot finishes while
you're away and a conversation marked read only while it's seen (#2192), an
invited address with no account signing up (#2187), the version on screen on
OpenBot Cloud (#2197), Setup's model row as the reader's AI (#2185), Admin's
managed-updates and favicon requests (#2186), the screen guide's Open apps and
Every Bot, the pre-upgrade backup of every database with a restore command,
and the API's invitationSignUp and setup checklist wording.

release-policy.json: fromVersions adds v1.2.0-rc.5 and database.from adds its
last migration, 0181_organization_ai_sign_in_credentials.
davidmckayv added a commit that referenced this pull request Nov 25, 2026
Unreleased gains, from the code of each change since rc.5 (OpenBot main
a9ba3fe to 25d50a1, and the server since rc.5's): a Bot's work folded with a
shimmer on the running step (#2201), long tasks that keep going instead of
stopping as too long (#2184), a push to your phone when a Bot finishes while
you're away and a conversation marked read only while it's seen (#2192), an
invited address with no account signing up (#2187), the version on screen on
OpenBot Cloud (#2197), Setup's model row as the reader's AI (#2185), Admin's
managed-updates and favicon requests (#2186), the screen guide's Open apps and
Every Bot, the pre-upgrade backup of every database with a restore command,
and the API's invitationSignUp and setup checklist wording.

release-policy.json: fromVersions adds v1.2.0-rc.5 and database.from adds its
last migration, 0181_organization_ai_sign_in_credentials.
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