fix(desktop): open external links in system browser - #39820
Merged
Conversation
dannypaz
pushed a commit
to dannypaz/opencode
that referenced
this pull request
Jul 31, 2026
layout-new.tsx was resolved to keep the fork's old useNavigate/setNavigate wiring from packages/app/src/utils/notification-click.ts, but upstream deleted that module (and all its other call sites) in an unrelated refactor (anomalyco#39820). Fork never touched this file, so there was nothing fork-specific to preserve here - this brings layout-new.tsx in line with how the same pattern was already handled correctly elsewhere in the merge (e.g. titlebar.tsx's electronWindows, general.tsx's controller refactor). Caught by Codex review on PR #11.
This was referenced Jul 31, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Testing
bun test src/main/external-url.test.tsinpackages/desktop(4 passed)bun test src --only-failuresinpackages/session-ui(76 passed)bun run test:unitinpackages/app(689 passed; pre-existing Arabic translation parity test fails on five missing keys)bun typecheckinpackages/desktop,packages/session-ui, andpackages/appbun run buildinpackages/desktop