story-kit: start 187_story_preserve_queued_messages_in_chat_input_on_cancel

This commit is contained in:
Dave
2026-02-25 15:36:44 +00:00
parent d5d94572c8
commit 0877614a60

View File

@@ -0,0 +1,21 @@
---
name: "Preserve queued messages in chat input on cancel"
---
# Story 187: Preserve queued messages in chat input on cancel
## User Story
As a user, I want my queued messages to be moved into the chat input when I cancel, so that I don't lose what I typed while waiting for the agent.
## Acceptance Criteria
- [ ] When the user cancels an in-progress generation, any queued messages are concatenated and placed into the chat input field instead of being discarded
- [ ] The queued message queue is cleared after moving content to the input field
- [ ] If there is only one queued message, it appears in the input as-is
- [ ] If there are multiple queued messages, they are joined with newlines in the input field
- [ ] If the chat input already has text when cancel is pressed, queued messages are appended after the existing text
## Out of Scope
- TBD