mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-11-30 17:34:23 +03:00
fix #15708 #### PR Dependency Tree * **PR #15796** 👈 This tree was auto-generated by [Charcoal](https://github.com/danerwilliams/charcoal) <!-- This is an auto-generated comment: release notes by coderabbit.ai --> <!-- coderabbit-ai-generated:v1 --> ## Summary by CodeRabbit * **Bug Fixes** * Draft text and attachments are preserved when a message cannot be sent, including when preparation fails or another send is in progress. * After a send is accepted, submitted text and context are cleared while edits and attachments made during preparation are retained. * Draft updates are saved in order, and later edits continue to be saved even if an earlier save is delayed or fails. * Sending now waits for the chat to be ready, helping prevent input from being lost when a send cannot proceed. <!-- end of auto-generated comment: release notes by coderabbit.ai -->