story-kit: create 187_story_preserve_queued_messages_in_chat_input_on_cancel
This commit is contained in:
@@ -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
|
||||||
Reference in New Issue
Block a user