Skip to content

Fix: open a search result in one tab - #332

Merged
SandObserver merged 1 commit into
mainfrom
fix/search-result-double-tab
Sep 24, 2026
Merged

SandObserver merged 1 commit into
mainfrom
fix/search-result-double-tab

Conversation

@SandObserver

Copy link
Copy Markdown
Owner

Summary

  • Leave opening an external search result to the result's own target="_blank" link on click and Enter; window.open now runs only on the touch path, whose touchend cancels the link default.
  • Refresh the spotlight.js cache-busting stamps.

Testing
All green. Added a test that pins the click path to the link and the touch path to window.open.

Changelog

Fixed

  • Opening an app from search opens one tab, not two.

Checklist

  • Stays within the project constraints: one container, no runtime dependencies, no build step (see CONTRIBUTING.md).
  • Tests added or updated for new logic, and the full suite, lint, and typechecks pass.
  • Docs updated if behavior or configuration changed.

@SandObserver SandObserver added the bug Something isn't working label Sep 24, 2026
@SandObserver
SandObserver merged commit 7e0b00c into main Sep 24, 2026
6 checks passed
@SandObserver
SandObserver deleted the fix/search-result-double-tab branch September 24, 2026 21:49
stackyard-release Bot pushed a commit that referenced this pull request Sep 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant