datahub-project / datahub-project/analytics-agent
Cmd+comma keyboard shortcut to open Settings
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 51
- Forks
- 23
- Avg merge
- 14d 12h
- Merged PRs (30d)
- 2
Description
Cmd+, (Ctrl+, on Windows/Linux) is the standard shortcut to open settings in most developer tools. It would be a nice touch to support it here.
The Settings modal is controlled by a boolean in App.tsx, so it's a single useEffect listening for the keydown event. Should be a small, self-contained change.
Worth making sure it doesn't fire when the user is typing in the chat input.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start in App.tsx, where the Settings modal is controlled by a boolean. Trace the existing useEffect and keydown handling, then verify that Cmd+, on macOS and Ctrl+, on Windows/Linux opens Settings without firing while typing in the chat input. Done means the shortcut works and normal chat input remains unaffected.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Quiet
- Clarity
- Clearly specified
- Newbie friendliness
- 78/100