Skip to content

Conversation

@fraxken
Copy link
Member

@fraxken fraxken commented Aug 12, 2025

No description provided.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR refactors keyboard event handling by moving keydown event listeners from the documentation-ui module to the wiki component. The refactor improves separation of concerns by consolidating keyboard handling within the component that manages the UI state.

  • Moved keydown event handling from documentation-ui to wiki component
  • Split keyboard handling into two focused methods: hotkeys and arrow navigation
  • Added JSDoc type annotations for better type safety

Reviewed Changes

Copilot reviewed 2 out of 3 changed files in this pull request and generated 1 comment.

File Description
workspaces/documentation-ui/index.js Removed keydown event listener and added type annotations
public/components/wiki/wiki.js Added consolidated keydown handling with hotkeys and arrow navigation methods

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@fraxken fraxken changed the title refactor(event): move keydown events to wiki component refactor(wiki): move keydown events to wiki component Aug 12, 2025
@fraxken fraxken merged commit 790e0e8 into master Aug 13, 2025
9 checks passed
@fraxken fraxken deleted the refactor-wiki-events branch August 13, 2025 07:55
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.

4 participants