mirror of
https://github.com/Kilo-Org/kilocode.git
synced 2026-10-29 18:52:45 +08:00
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:
@@ -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"),
|
||||
|
||||
Reference in New Issue
Block a user