Display different URLs for right and left cmd keys
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 2.2k
- Forks
- 356
- PR merge metrics
- No merged PRs in 30d
Description
https://keycodes.vercel.app/ displays different pages for the right cmd key and the left cmd key, however, the URL stays the same: https://keycodes.vercel.app/for/meta.
The same happens for the option keys: https://keycodes.vercel.app/for/alt
The app could show different URLs (https://keycodes.vercel.app/for/alt-left and https://keycodes.vercel.app/for/alt-right) for the two keys since they correspond to different codes.
If this is something that you'd like to have @wesbos, I'd be happy to raise a PR over the weekend!
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 by locating the routing and key-handling code responsible for the /for/meta and /for/alt pages. Trace how the left and right Command and Option keys are distinguished, then verify that each key produces its corresponding distinct URL, including /for/alt-left and /for/alt-right.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend, web-dev
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100