Skip to content

Composer draft text is lost on session switch or reload #8

Description

@aasis21

Problem

The composer's text lives in local component state (const [text, setText] = useState('') in Composer.tsx) and is reset whenever the component unmounts — i.e. when you switch sessions via the drawer or reload the app. A half-typed prompt vanishes.

Suggested fix

Persist per-session draft text (keyed by channelId) in the session store / localStorage and restore it when the session is reopened.


Filed from a UI research sweep of the Helm mobile app (landing + live demo session) using Playwright + full source review, cross-referenced against Claude, ChatGPT, GitHub Copilot Chat, and Codex/Claude Code UIs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingcomposerMessage composeruiUser interface

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions