Skip to content

bug(copilot): numeric prompt input triggers global tab navigation #426

Done

Description

@utkarsh232005

Description

The Copilot shell registers tab navigation in the outer application container for keys 1 through 4. The composer also receives those keystrokes, so entering a prompt containing a digit switches the visible tab while the user is typing.

Steps to reproduce

  1. Start kdm copilot.
  2. In the composer, type a question containing a digit, such as Why did pod api-2 restart?.
  3. The corresponding tab opens instead of treating the digit solely as prompt text.

Expected behavior

Typing in the composer must preserve all printable characters. Tab navigation should use an explicit modified shortcut or be disabled while the composer is focused.

Acceptance criteria

  • Prevent global numeric navigation from handling ordinary composer input.
  • Keep documented shortcut labels consistent with the implemented key combination.
  • Add a component test that types digits into the composer and verifies the active tab does not change.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugneeds triage

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions