Skip to content

feat(frontend): add keyboard shortcuts - #1615

Merged
imDarshanGK merged 2 commits into
imDarshanGK:mainfrom
Harshitbro-ctrlv:feat/issue-1603-keyboard-shortcuts
Jul 21, 2026
Merged

feat(frontend): add keyboard shortcuts#1615
imDarshanGK merged 2 commits into
imDarshanGK:mainfrom
Harshitbro-ctrlv:feat/issue-1603-keyboard-shortcuts

Conversation

@Harshitbro-ctrlv

@Harshitbro-ctrlv Harshitbro-ctrlv commented Jul 3, 2026

Copy link
Copy Markdown
Contributor

Description

Adds reusable and accessible keyboard shortcuts to the frontend:

  • / focuses the code editor
  • Ctrl/Cmd + Enter runs analysis
  • Escape removes focus from the editor

Also adds visible shortcut hints, translations, ARIA metadata, documentation, and focused tests. Shortcuts do not interfere with unrelated input fields.

Related Issue

Fixes #1603

Type of change

  • Bug fix
  • New feature / enhancement
  • Documentation update
  • Test addition
  • Refactor

Checklist

  • I have read CONTRIBUTING.md
  • My branch is up to date with main
  • I have run pytest -v and all tests pass
  • I have not introduced duplicate issues or features
  • My PR title follows the format: feat/fix/docs/test: short description
  • I have added tests for new features (Level 2 and 3 issues)
  • No hardcoded secrets or API keys in my code
  • This PR is linked to a GSSoC 2026 issue

Screenshots (if frontend change)

Screenshot From 2026-07-03 11-47-08

Test evidence

cd frontend/tests
npm test
# 2 test suites passed

cd ..
npm run test:static
# Passed

@github-actions

Copy link
Copy Markdown

👋 This PR has had no activity for 7 days.

Please push updates or comment if you still need more time.

Inactive PRs may be closed automatically after 7 more days.

@github-actions github-actions Bot added the stale label Jul 11, 2026
@Harshitbro-ctrlv

Copy link
Copy Markdown
Contributor Author

Hi maintainers, this PR is still active and ready for review. The required workflows are awaiting maintainer approval. Please let me know if any changes are needed.

@github-actions github-actions Bot removed the stale label Jul 13, 2026
@github-actions

Copy link
Copy Markdown

👋 This PR has had no activity for 7 days.

Please push updates or comment if you still need more time.

Inactive PRs may be closed automatically after 7 more days.

@github-actions github-actions Bot added the stale label Jul 20, 2026
@imDarshanGK imDarshanGK added good first issue Beginner friendly tasks type:frontend Frontend related tasks gssoc2026 Official GSSoC 2026 issue level:beginner Beginner friendly gssoc:approved accessibility and removed stale labels Jul 21, 2026
@imDarshanGK
imDarshanGK merged commit b323c9f into imDarshanGK:main Jul 21, 2026
9 checks passed
@Harshitbro-ctrlv
Harshitbro-ctrlv deleted the feat/issue-1603-keyboard-shortcuts branch July 21, 2026 14:08
@Harshitbro-ctrlv Harshitbro-ctrlv removed their assignment Jul 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

accessibility good first issue Beginner friendly tasks gssoc:approved gssoc2026 Official GSSoC 2026 issue level:beginner Beginner friendly type:frontend Frontend related tasks

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add keyboard shortcuts to security utils

2 participants