Skip to content

Conversation

@alexyaroshuk
Copy link
Contributor

@alexyaroshuk alexyaroshuk commented Jan 28, 2026

closes #11031

What does this PR do?

Fixes the "Open WebUI" button in the TUI (Ctrl+P menu). It was disabled in commit 578361de642c9787bdc0654bc6e82e3b4ccf2527

Previously, clicking it tried to open http://opencode.internal which doesn't work in browser.

How did you verify your code works?

  1. Ran in executable
  2. ran test suite to ensure no regressions

@github-actions
Copy link
Contributor

Thanks for your contribution!

This PR doesn't have a linked issue. All PRs must reference an existing issue.

Please:

  1. Open an issue describing the bug/feature (if one doesn't exist)
  2. Add Fixes #<number> or Closes #<number> to this PR description

See CONTRIBUTING.md for details.

@github-actions
Copy link
Contributor

The following comment was made by an LLM, it may be inaccurate:

Based on my search, I found two potentially related PRs that are addressing WebUI functionality in the TUI:

  1. PR fix(tui): start server on-demand when opening WebUI from command palette #8409 - "fix(tui): start server on-demand when opening WebUI from command palette"

  2. PR fix(tui): show warning when opening WebUI without server mode #8849 - "fix(tui): show warning when opening WebUI without server mode"

However, these appear to be older PRs addressing similar but distinct issues (server initialization and warnings). PR #11050 specifically fixes the restoration of the "Open WebUI" button that was disabled, which seems to be a targeted fix for a regression.

@bobthearsonist
Copy link

Tested on Windows 11 - Works perfectly!

  • Built from branch and ran the executable
  • Ctrl+P shows 'Open Web UI' command
  • Clicking it successfully opens the browser to the web interface

Thanks for the quick fix! 🎉

@alexyaroshuk alexyaroshuk marked this pull request as ready for review January 28, 2026 23:53
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.

Restore 'Open WebApp' command to ctrl+p System menu

2 participants