Reply bar: Esc to cancel, focus on reply, @ ping toggle #307

Closed
opened 2026-10-07 20:43:16 -04:00 by Salastil · 1 comment
Owner
  • Escape doesn't cancel a reply - only the X does (Composer.tsx:740); Escape only closes autocomplete (837, 855).
  • store.startReply (state/store.ts:4591) doesn't focus the composer.
  • The reply chip is plain muted text with no background or avatar (Composer.tsx:733-742, app.css:1716-1725), and there's no way to choose whether the author is pinged.

Fix: a reply bar with its own background and the author's avatar; Esc cancels; starting a reply focuses the box; a Discord "@ ON/OFF" toggle. Daemon: send allowed_mentions.replied_user on Discord replies.

Part of the v1.0 UI pass.

- Escape doesn't cancel a reply - only the X does (Composer.tsx:740); Escape only closes autocomplete (837, 855). - `store.startReply` (state/store.ts:4591) doesn't focus the composer. - The reply chip is plain muted text with no background or avatar (Composer.tsx:733-742, app.css:1716-1725), and there's no way to choose whether the author is pinged. **Fix:** a reply bar with its own background and the author's avatar; Esc cancels; starting a reply focuses the box; a Discord "@ ON/OFF" toggle. **Daemon:** send `allowed_mentions.replied_user` on Discord replies. _Part of the v1.0 UI pass._
Salastil added this to the v1.0 milestone 2026-10-07 20:43:16 -04:00
Salastil added the feature label 2026-10-07 20:43:16 -04:00
Author
Owner

Finished: f48185e.

The reply bar now sits on its own surface with an accent edge, shows the author's face (when the service has one), and says who is being answered in bold.

  • Esc puts the reply down (after any open autocomplete list has had its turn).
  • Starting a reply focuses the box, so the answer can be typed straight away.
  • On Discord there is an @ ON / @ OFF switch: with it off the author is not pinged. The daemon sends allowed_mentions.replied_user accordingly (nobilis 918fcfa).

Before (top) and after (bottom):

reply bar

Finished: [f48185e](https://git.salastil.com/Salastil/moho/commit/f48185e67a8c2f12c479fc5b3fc0fd37d745acef). The reply bar now sits on its own surface with an accent edge, shows the author's face (when the service has one), and says who is being answered in bold. - **Esc** puts the reply down (after any open autocomplete list has had its turn). - Starting a reply **focuses the box**, so the answer can be typed straight away. - On Discord there is an **@ ON / @ OFF** switch: with it off the author is not pinged. The daemon sends `allowed_mentions.replied_user` accordingly (nobilis 918fcfa). Before (top) and after (bottom): ![reply bar](https://git.salastil.com/attachments/6d5d564b-b000-4e07-992e-f49d5628916b)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Salastil/moho#307