Skip to content

fix(welcome): replace stale ? shortcut with /hotkeys in tips panel#3315

Open
oldschoola wants to merge 1 commit into
can1357:mainfrom
oldschoola:fix/welcome-stale-question-mark-shortcut-1614
Open

fix(welcome): replace stale ? shortcut with /hotkeys in tips panel#3315
oldschoola wants to merge 1 commit into
can1357:mainfrom
oldschoola:fix/welcome-stale-question-mark-shortcut-1614

Conversation

@oldschoola

Copy link
Copy Markdown
Contributor

Problem

The welcome panel advertised ? for keyboard shortcuts even though the ? shortcut was deliberately removed in commit dcf482c4c ("fix(editor): removed ? shortcut that opened hotkeys when input was empty"). Users typing ? on an empty prompt got a literal question mark submitted to the model instead of the help panel they expected.

Fixes #1614

Changes

  • Replaced ? for keyboard shortcuts with /hotkeys for keyboard shortcuts in the welcome panel tips section (welcome.ts:333).

This is the narrowest fix (option 1 from the issue discussion): honor the maintainer's 2026-05-31 decision to remove ? and stop advertising it. Users who want the shortcut reference use /hotkeys explicitly.

Tests

  • bun check passes
  • Welcome component tests pass (8/8)

@github-actions github-actions Bot added the vouched Passed the vouch gate label Jun 23, 2026
@roboomp roboomp added fix review:p0 triaged tui Terminal UI rendering and display ux User experience improvements labels Jun 23, 2026

@roboomp roboomp left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

lgtm — narrowest possible fix for #1614. Verified:

  • dcf482c4c4 does remove the ? → hotkeys binding from CustomEditor/InputController, so welcome.ts:333 was the last advertiser.
  • /hotkeys is a real slash command (packages/coding-agent/src/slash-commands/builtin-registry.ts:1070, handler at command-controller.ts:491), so the replacement matches actual behavior.
  • No other src/test references to the stale ? for keyboard shortcuts string remain.
  • CHANGELOG entry sits under [Unreleased] / Fixed per AGENTS.md and links #1614.

Thanks @oldschoola.

The welcome panel advertised '? for keyboard shortcuts' even though
the ? shortcut was deliberately removed in commit dcf482c
('fix(editor): removed ? shortcut that opened hotkeys when input was
empty'). Users typing ? on an empty prompt got a literal question
mark submitted to the model instead of the help panel they expected.

Replace the stale claim with '/hotkeys for keyboard shortcuts',
matching the actual command that opens the shortcut reference.

Fixes can1357#1614
@oldschoola oldschoola force-pushed the fix/welcome-stale-question-mark-shortcut-1614 branch from a0d9fb3 to eb56da7 Compare June 23, 2026 23:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

fix review:p0 triaged tui Terminal UI rendering and display ux User experience improvements vouched Passed the vouch gate

Projects

None yet

Development

Successfully merging this pull request may close these issues.

? keyboard shortcuts can not show the useage info

2 participants