Skip to content

feat: add number shortcut for custom responses - #41

Open
aspiers wants to merge 1 commit into
edlsh:mainfrom
aspiers:fix/number-custom-response
Open

feat: add number shortcut for custom responses#41
aspiers wants to merge 1 commit into
edlsh:mainfrom
aspiers:fix/number-custom-response

Conversation

@aspiers

@aspiers aspiers commented Aug 13, 2026

Copy link
Copy Markdown

Summary

Make the custom/freeform response behave like a numbered option. Users can now press its displayed number to open the freeform editor directly in both single- and multi-select prompts, while canned-answer number keys retain their existing behavior.

Changes

  • Display the custom-response row with the next available option number.
  • Open the freeform editor when that number is pressed in single- or multi-select mode.
  • Preserve highlight-only number shortcuts for canned single-select answers.
  • Document the shortcut and add regression coverage for rendering and input behavior.

Testing

  • bun test — 86 passed, 0 failed
  • npm run check
  • LSP diagnostics — clean

Notes

The shortcut is limited to 19, matching the existing numbered-option behavior.

@aspiers
aspiers marked this pull request as ready for review August 13, 2026 14:38
@aspiers
aspiers force-pushed the fix/number-custom-response branch from 4712e7b to 1e8b50e Compare August 13, 2026 15:19
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.

1 participant