Skip to content

Conversation

@Suresh-Chelani
Copy link
Collaborator

Description

This PR adds a keyboard shortcut feature implemented using Astro.js, CSS, and vanilla JavaScript, similar to platforms like GitHub.

Features:

  • press ? to open the keyboard shortcut help menu
  • Press ESC to close the help popup
  • Homepage using /, h, or H
  • About page using g + h

Fixes #103

Type of change

Please delete options that are not relevant.

  • New feature (non-breaking change which adds functionality)

How Has This Been Tested?

  • Verified all shortcuts work correctly on desktop browsers.
  • Confirmed navigation behavior with all defined key combinations.

Checklist

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have been merged and published in downstream modules
  • I have checked my code and corrected any misspellings

@Suresh-Chelani
Copy link
Collaborator Author

Screenshot:

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants