mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #1563] [MERGED] Restore Tauri opener link wiring #5124
Labels
No labels
android
bug
bugfix
ci
client
code freeze pause
container
dependencies
docs
documentation
duplicate
enhancement
feature
feature
feature
feature-creep
fixed-in-refactor
fixed-in-staging
good first issue
help wanted
in-pr
in-pr
needs-codeowner-decision
normal-scope
old-codebase
old-codebase
pull-request
qol
question
refactor
regression
revisit later
roadmap
scope-risk
scope-risk
server
server
shared
soup
upstream
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Engine#5124
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/1563
Author: @Xelvanis
Created: 5/29/2026
Status: ✅ Merged
Merged: 5/29/2026
Merged by: @Xelvanis
Base:
refactor← Head:restore/knip-practical-wiring📝 Commits (4)
71e75e8Restore Tauri opener link wiring56c005ePreserve update handoff on link failure89f3ebfDetect blocked browser external linksf125308Preserve noreferrer on browser link popups📊 Changes
5 files changed (+183 additions, -4 deletions)
View changed files
📝
src/features/shell/settings/components/SettingsPanel.tsx(+9 -2)📝
src/features/shell/spotify/components/SpotifyMiniPlayer.tsx(+6 -1)➕
src/shared/api/external-link-api.test.ts(+98 -0)➕
src/shared/api/external-link-api.ts(+68 -0)📝
src/shared/api/integration-utility-api.ts(+2 -1)📄 Description
Linked issue
Follow-up to #1496.
Why this change
@tauri-apps/plugin-openeras unused even though the Rust plugin is installed and permissioned.What changed
src/shared/api/external-link-api.tswrapper for external URL opening.http:,https:,mailto:, andtel:URLs, uses@tauri-apps/plugin-openerin embedded Tauri, and preserves browserwindow.openbehavior outside Tauri.Refactor impact
Primary owner:
Shared API runtime adapter, with shell Settings and Spotify callers.
Impact areas reviewed:
@tauri-apps/plugin-openerBoundary notes:
src-tauri/capabilities/default.jsonviaopener:default.Pressure points touched:
ModeSurface,GameSurface, command registration, or import modules were touched.Validation
pnpm checkpasses locallypnpm typecheckpasses locallypnpm buildpasses locallypnpm check:architecturepasses locallypnpm check:docspasses locallycargo check --manifest-path src-tauri/Cargo.toml --workspacepasses locallyManual verification notes
Automated checks run locally:
pnpm test -- src/shared/api/external-link-api.test.tspassed.pnpm typecheckpassed.pnpm lint:eslintpassed.pnpm check:unusedpassed.pnpm buildpassed with the existing large chunk warning.git diff origin/refactor...HEAD --checkpassed.pnpm exec knip --reporter compact --no-exit-code --no-config-hintsno longer reports@tauri-apps/plugin-openeras unused.Manual/native gap:
Docs and release impact
README.mdCONTRIBUTING.mddocs/developer/AGENTS.mdNo docs were changed; this restores an existing dependency wiring path without changing documented setup or architecture guidance.
UI evidence
No screenshots included; this changes external-link handling, not visible layout.
Summary by CodeRabbit
Bug Fixes
Tests
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.