mirror of
https://github.com/benbusby/whoogle-search.git
synced 2026-04-25 12:15:50 +03:00
[PR #202] [MERGED] add basic keyboard support #809
Labels
No labels
Fixed (Pending PR Merge)
Stale
bug
enhancement
enhancement
good first issue
help wanted
keep-open
needs more info
pull-request
question
theme
unfortunate
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/whoogle-search#809
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/benbusby/whoogle-search/pull/202
Author: @tborychowski
Created: 2/14/2021
Status: ✅ Merged
Merged: 2/20/2021
Merged by: @benbusby
Base:
develop← Head:develop📝 Commits (3)
0471809add basic keyboard support3958e60Merge branch 'develop' into develop4bbfc8cfix 'j' and 'k' inside search input📊 Changes
3 files changed (+53 additions, -2 deletions)
View changed files
📝
app/static/css/header.css(+6 -0)➕
app/static/js/keyboard.js(+44 -0)📝
app/templates/display.html(+3 -2)📄 Description
This adds basic keyboard support on the search results page:
ArrowUpork- focus previous resultArrowDownorj- focus next result/focus search boxBecause this just focuses links in the search result items hitting
Enter(or ctrl/cmd + Enter) when an item is focused - will open the search result (because the link is already focused and this is browser's default behaviour).🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.