Skip to content

(Add) Trigger navigation on Enter key for quick search#5384

Open
aulterego wants to merge 1 commit intoHDInnovations:developmentfrom
aulterego:add/quick-search-enter-key
Open

(Add) Trigger navigation on Enter key for quick search#5384
aulterego wants to merge 1 commit intoHDInnovations:developmentfrom
aulterego:add/quick-search-enter-key

Conversation

@aulterego
Copy link
Copy Markdown

Press Enter in the quick search input to navigate directly to the first search result.

@what-the-diff
Copy link
Copy Markdown

what-the-diff bot commented Apr 9, 2026

PR Summary

  • Enhanced Keyboard Navigation
    Added feature to navigate to the first search result using "enter" key
  • New Function Addition
    Incorporated a new method navigateToFirstResult, improving user flow by redirecting to the first search result's URL when available

@aulterego aulterego changed the title (Add) Enter key navigation for quick search (Add) Trigger navigation on Enter key for quick search Apr 9, 2026
Copy link
Copy Markdown
Collaborator

@Roardom Roardom left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually, on second thought. Can you add an "else" that redirects you to /torrents?name=${encodeURIComponent(this.searchText)}?

Press Enter in the quick search input to navigate directly to the
first search result, or fall back to the torrents search page.
@aulterego aulterego force-pushed the add/quick-search-enter-key branch from bb6bcdb to 6bbe74f Compare April 9, 2026 10:51
@aulterego
Copy link
Copy Markdown
Author

Actually, on second thought. Can you add an "else" that redirects you to /torrents?name=${encodeURIComponent(this.searchText)}?

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.

2 participants