Problem:
Currently, Glean Chat does not automatically save drafts of messages being composed. If a user starts typing a prompt and then switches to a different chat, for instance to copy a piece of information, their unsent message in the original prompt is lost. This leads to a frustrating user experience, potential loss of valuable work, and wasted time having to rewrite prompts from scratch.
Use Case Example:
A user is composing a detailed message in a Glean chat, summarizing key findings from a report for analysis. They realize they need to include a specific metric from another chat. The user navigates to the other chat to copy the metric. Upon returning to the original chat, they discover that their lengthy, partially-written message has disappeared. They now have to recall and re-type the entire prompt, leading to inefficiency and frustration.
Proposed Solution:
Implement an automatic draft saving mechanism within Glean Chat. When a user types a message in the chat input box and then navigates away from that conversation without sending it, the content should be automatically saved as a draft. When the user returns to the new chat, the previously typed, unsent prompt should be present in the input box, ready for them to continue editing and send.