fix: use <leader>= for thumbs-up keybind and wrap story providers

- Replace <leader>+ with <leader>= in messages_feedback_up: the TUI
  parser normalizes <leader> to 'leader+' and splits on '+', producing
  an empty key name for '<leader>+' so the binding never fires. The
  = key sits on the same physical key as + on most layouts, pairs
  visually with <leader>-, and parses to a real key name.
- Wrap StoryProviders with FeedbackProvider so stories that render
  VscodeSessionTurn (e.g. Diff Summary Collapsed) don't throw
  'useFeedback must be used within a FeedbackProvider' under
  Storybook visual regression.
- Sync changeset and docs page to mention the new keybind.
This commit is contained in:
Josh Lambert
2026-05-06 23:28:50 -04:00
parent dcaccf3865
commit 0eab152b25
4 changed files with 46 additions and 43 deletions
+1 -1
View File
@@ -52,7 +52,7 @@ const KeybindsSchema = Schema.Struct({
messages_undo: keybind("<leader>u", "Undo message"),
messages_redo: keybind("<leader>r", "Redo message"),
// kilocode_change start - message feedback
messages_feedback_up: keybind("<leader>+", "Rate last assistant message helpful"),
messages_feedback_up: keybind("<leader>=", "Rate last assistant message helpful"),
messages_feedback_down: keybind("<leader>-", "Rate last assistant message not helpful"),
// kilocode_change end
messages_toggle_conceal: keybind("<leader>h", "Toggle code block concealment in messages"),