fix(desktop): add Windows Help > About shortcut by zonemeen · Pull Request #54872 · anomalyco/opencode · GitHub
Skip to content

fix(desktop): add Windows Help > About shortcut - #54872

Open
zonemeen wants to merge 1 commit into
anomalyco:devfrom
zonemeen:windows-about-v2
Open

zonemeen wants to merge 1 commit into
anomalyco:devfrom
zonemeen:windows-about-v2

Conversation

@zonemeen

@zonemeen zonemeen commented Oct 12, 2026 •

Copy link
Copy Markdown

Issue for this PR

Closes #51085
Ports #51433 to V2.

Type of change

  • Bug fix
  • New feature
  • Refactor / code improvement
  • Documentation

What does this PR do?

Adds Help > About to the Windows menu and opens the existing Settings > About page, which already displays the desktop version. Settings commands stay registered in the titlebar so the entry also works when Settings is already open.

Only the English source string is added, following the app's localization guidelines. Other locales use the existing English fallback.

How did you verify your code works?

  • bun run check: passed, 34 tasks successful.
  • Existing desktop-native and Windows menu unit tests: 26 passed.
  • Windows menu browser regressions: 2 passed, covering About from Home and Settings plus the existing Paste action. The new regression fails on unchanged upstream code because About is missing, then passes with this fix.
  • Native Windows CI passed on Windows Server 2025 with Electron 44.4.5: launched the desktop app and its real source CLI, clicked Help > About, verified version 2.0.27, switched to Preferences, and opened About again.
    Windows verification run
  • Prettier and git diff --check: passed.
  • typecheck:e2e still reports four errors in terminal/timeline test files; identical errors reproduced on unchanged upstream code.

The browser regressions ran in Chrome on macOS using the Windows platform fixture. The additional Windows CI run used the actual Electron desktop application and server from commit 59ae6145a81749c6e56733cbd1fdcf4b0597e878.

Screenshots / recordings

Full desktop screenshots captured on a GitHub-hosted Windows Server 2025 runner, running the actual Electron application from this PR (version 2.0.27).

Windows Help menu

About page opened from Help on Windows

Checklist

  • I have tested my changes locally
  • I have not included unrelated changes in this PR

Added by the opencode bot (AI-generated).

Related: #54264

@github-actions

Copy link
Copy Markdown
Contributor

@zonemeen zonemeen mentioned this pull request Oct 12, 2026
3 of 6 tasks

@opencode-agent opencode-agent Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks sound to me. I read through the code and ran the closest unit tests (src/shell/commands, src/runtime/i18n: 35 passed) and typecheck in packages/app (passed). I didn't run the desktop app or the Playwright regression myself, so I'm relying on your Windows run and screenshots for the end-to-end behaviour.

The extra useSettingsCommand() call in the titlebar is fine. Registrations use the key "settings" and only the newest one with a key is active, so mod+comma and the palette entry aren't duplicated. It also makes settings.open/settings.about available when Settings is already open, which the new e2e case covers.

The public API is unchanged: this only adds an internal hidden command (settings.about), a menu entry and an English string.

No blocking concerns.

Related: #54264

This branch has not been deployed

No deployments
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.

In windows desktop: add "Help > About ... " > version info

1 participant