Skip to content

fix(chat): preserve per-session message drafts - #191

Open
chliny wants to merge 1 commit into
dzianisv:mainfrom
chliny:fix/session-chat-drafts
Open

fix(chat): preserve per-session message drafts#191
chliny wants to merge 1 commit into
dzianisv:mainfrom
chliny:fix/session-chat-drafts

Conversation

@chliny

@chliny chliny commented Aug 19, 2026

Copy link
Copy Markdown

Summary

  • Store unsent composer text by session ID.
  • Restore the correct draft when navigating between sessions.
  • Clear a draft after sending and remove it when its session is deleted.

Drafts remain in memory only and are isolated from the ZeroTier/session-list work.

Verification

  • npm test: 333 passed, 0 failed.
  • npm run typecheck: passed.
  • Confirmed the isolated branch contains no session-list cache or loadSeq changes.
  • Android release build: assembleRelease -PreactNativeArchitectures=arm64-v8a passed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant