[PR #10752] fix(app) internal/external link handling #13553

Closed
opened 2026-02-16 18:18:24 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/anomalyco/opencode/pull/10752

State: closed
Merged: No


Fixes #10613, #8361

What does this PR do?

fixes the external link handling issue that was reverted in #10697

The previous implementation broke internal app navigation (sessions, settings,
etc.) because it opened ALL links externally, regardless of whether they were
internal or external to the app.

Now properly distinguishes between internal and external links by comparing
origins.

Changes

  1. Desktop app: Fixed link interception to use origin comparison
  2. Web app: Added external link interception (opens in new tab)
  3. Tests: Added e2e test file

How did you verify your code works?

Tested in a dev desktop build, dev web build, and in a release desktop build

**Original Pull Request:** https://github.com/anomalyco/opencode/pull/10752 **State:** closed **Merged:** No --- Fixes #10613, #8361 ### What does this PR do? fixes the external link handling issue that was reverted in #10697 The previous implementation broke internal app navigation (sessions, settings, etc.) because it opened ALL links externally, regardless of whether they were internal or external to the app. Now properly distinguishes between internal and external links by comparing origins. ## Changes 1. **Desktop app**: Fixed link interception to use origin comparison 2. **Web app**: Added external link interception (opens in new tab) 3. **Tests**: Added e2e test file ### How did you verify your code works? Tested in a dev desktop build, dev web build, and in a release desktop build
yindo added the pull-request label 2026-02-16 18:18:24 -05:00
yindo closed this issue 2026-02-16 18:18:24 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#13553