Can the shortcut keys be modified through configuration?
- Dominant language
- TypeScript
- Stars
- 4.4k
- Forks
- 439
- Avg merge
- 14h 32m
- Merged PRs (30d)
- 19
Description
## Describe the problem
My website uses Algolia search and it works well. I also use an AI assistant on the website, and I found that when users input '/', it opens the Algolia search box. It seems to be a shortcut key conflict. Is there any way to disable the '/' shortcut key or can I assign it to another shortcut key?
## Describe the solution
Provide a configuration that can modify shortcut keys, such as `openShortcutKey: '/'`.
## Alternatives you've considered
Or, it can control the validity of shortcut keys through coding, and in some cases, it can temporarily disable shortcut keys.
Contributor guide
Research direction
No files or tests are named. Start by locating the search UI's '/' shortcut handling and the existing configuration entry points, then review the issue discussion for the intended API. Done means users can disable or remap the shortcut, with the behavior covered by appropriate tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend, search
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100