Skip to content

Commit 3298438

Browse files
committed
fix(console): About version row — changeset, help-menu doc, issue templates name the version
Claude-Session: https://claude.ai/code/session_01FEkQ5oK4fFfnLADcipbEeT Co-authored-by: Claude <noreply@anthropic.com>
1 parent 447fc31 commit 3298438

4 files changed

Lines changed: 19 additions & 5 deletions

File tree

‎.changeset/35280-about-version.md‎

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
---
2+
'@object-ui/app-shell': patch
3+
'@object-ui/i18n': patch
4+
---
5+
6+
fix(console): the About dialog names the ObjectStack version first, then the console build
7+
8+
Clause-②: no
9+
Metadata-protocol: none
10+
11+
Help → About showed one row, the console build (a git short sha), and nowhere the ObjectStack version. The dialog now opens on an **ObjectStack version** row filled with exactly the `version` the server's discovery document answers (an operator's `OS_RUNTIME_VERSION` stamp where one is set), read through the shell's adapter from the discovery document the console already holds, so opening it sends no new request. **Console build** stays as the second row, so a deployment can still be traced to a commit. While the read is in flight the version row says it is loading; when discovery cannot be read or names no version, it says so in words ("Unknown version (the server did not report one)"), never an empty field.
12+
13+
New locale keys `help.aboutVersion` and `help.aboutVersionUnknown` in all eleven packs, and `help.aboutDescription` now names both rows. No props or exports change.

‎.github/ISSUE_TEMPLATE/bug-report.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ body:
1717
id: version
1818
attributes:
1919
label: Version
20-
description: The output of `os --version`, or the build shown under About in the Console's help menu.
20+
description: The output of `os --version`, or the ObjectStack version shown under About in the Console's help menu.
2121
- type: textarea
2222
id: what-happened
2323
attributes:

‎.github/ISSUE_TEMPLATE/feature-request.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ body:
1717
id: version
1818
attributes:
1919
label: Version
20-
description: The output of `os --version`, or the build shown under About in the Console's help menu.
20+
description: The output of `os --version`, or the ObjectStack version shown under About in the Console's help menu.
2121
- type: textarea
2222
id: what-happened
2323
attributes:

‎ui/packages/app-shell/src/layout/HelpMenu.tsx‎

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@
1414
* 3. 「Keyboard shortcuts」 — inside an app, the dialog the `?` key opens
1515
* (C2/C3: the `?shortcuts=1` URL param);
1616
* 4. 「Online documentation」 — the public docs site;
17-
* 5. 「About」 — the console's own build (objectui#12970).
17+
* 5. 「About」 — the ObjectStack version and the console's own build
18+
* (objectui#12970, objectstack#35280).
1819
*/
1920

2021
import { useCallback, useState } from 'react';
@@ -149,8 +150,8 @@ export function HelpMenu({ inApp, appPackageId, triggerClassName, triggerTestId
149150
{t('help.onlineDocs', { defaultValue: 'Online documentation' })}
150151
</a>
151152
</DropdownMenuItem>
152-
{/* About — names the console's own build, on every variant
153-
(objectui#12970). */}
153+
{/* About — names the ObjectStack version and the console's own
154+
build, on every variant (objectui#12970). */}
154155
<DropdownMenuItem
155156
className="cursor-pointer"
156157
data-testid="action:about:open"

0 commit comments

Comments
 (0)