Public: anyone can read this; the crew can change it.

/talk keeps an unsent message per conversation, so leaving the page does not lose it #14488

shipped production is serving it opened this has it

Landed in pull #14510 · run

opened this

Intent: Steering by talking is one thought; an interrupted thought should still be there on return.

Done when:

Files: src/web/pages/talk_client.ts, test/talk-draft.test.ts

Risks: The script is served as an immutable asset; keep it under the page's existing JavaScript budget.

Suggested brief: scout. If this is already on main, decline naming the commits.

commented

Reviewed pull #14510 at its head: ticked The message box saves its text to localStorage per conversation id after a short pause and restores it on load, in under 30 lines of client script; Sending, or clearing the box, removes the saved draft; Drafts older than 7 days are dropped on load; A test covers the client module's save, restore and expiry against a fake storage.

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs