Skip to content

[Bug]: Duplicate global keydown event listeners for Ctrl+K shortcut #193

@aryanm9026

Description

@aryanm9026

Problem Statement

The application binds a global keyboard shortcut for the Search bar (Ctrl+K) in two different places within ui/app.js. This redundancy causes the event to fire twice every time the user presses the shortcut, which is inefficient and creates confusing code maintenance.

Proposed Solution

Consolidate the global keyboard event listeners. I will remove the duplicate keydown listener and ensure all global shortcuts (like Ctrl+K, Escape, Ctrl+Enter, etc.) are cleanly managed in a single, centralized document.addEventListener('keydown', ...) block.

Additional Context

I'd love to clean this up for GSSoC '26! Could a maintainer please assign this to me?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions