feat(sendbox): persist per-conversation drafts across app restarts #3703
baanish
started this conversation in
Feature Proposals
Replies: 1 comment
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
What problem does it solve?
AionUi already preserves each conversation's composer draft while the app is running, but the current
useSendBoxDraftstore is memory-only. Restarting, updating, or crashing the app discards long unsent prompts, which is especially painful for multi-step coding instructions.Proposed solution
Persist the existing per-conversation draft model behind
useSendBoxDraftusing a small, versioned renderer-side persistence adapter.The storage mechanism can use the existing client-settings path if that is the preferred project convention; otherwise a renderer-local versioned store keeps this change self-contained.
Scope
Renderer send-box draft handling and the successful-send/conversation-cleanup paths. No model-provider or AionCore behavior changes are required.
Willing to implement it yourself?
Yes. If accepted and converted to a
bonusissue, I will implement it, add tests, and provide before/after verification.All reactions