feat: which-key labels, :paste without prompt, :room read #11

Merged
jmz merged 4 commits from feat/leader-menu-paste-read into release/mirus 2026-11-27 22:48:45 +00:00
Owner

Three changes:

  • Which-key labels. A new [settings.which_key.labels] table gives each leaf chord a description; chords without one keep showing the command. :help shows label (command). Older builds ignore the table.
  • :paste. Pastes the clipboard without a prompt. An image is uploaded right away, with the message bar as caption when it isn't blank and any pending reply attached. Text is appended to the message bar. "+p keeps its confirmation prompt.
  • :room read (short for :room unread unset). Marks the whole room read with an unthreaded receipt on the room's newest event as the server reports it. That covers thread replies and events this client can't show. Opening a room still reads only the main timeline, on purpose, so thread replies stay unread until the room is cleared explicitly.

219 tests pass, clippy is clean; completions and man pages are updated.

🤖 Generated with Claude Code

https://claude.ai/code/session_01XMf4ELq1Q12cmKnPuwJz2x

Three changes: - **Which-key labels.** A new `[settings.which_key.labels]` table gives each leaf chord a description; chords without one keep showing the command. `:help` shows `label (command)`. Older builds ignore the table. - **`:paste`.** Pastes the clipboard without a prompt. An image is uploaded right away, with the message bar as caption when it isn't blank and any pending reply attached. Text is appended to the message bar. `"+p` keeps its confirmation prompt. - **`:room read`** (short for `:room unread unset`). Marks the whole room read with an unthreaded receipt on the room's newest event as the server reports it. That covers thread replies and events this client can't show. Opening a room still reads only the main timeline, on purpose, so thread replies stay unread until the room is cleared explicitly. 219 tests pass, clippy is clean; completions and man pages are updated. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01XMf4ELq1Q12cmKnPuwJz2x
A leaf in the which-key popup showed its raw command (`room tag set fav`).
A new [settings.which_key.labels] table maps a complete chord to a
description shown instead ("favorite"); chords without one keep the
command. The :help leader map shows both, "label  (command)", so the menu
also teaches the commands. Unknown to older builds: they ignore the table.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01XMf4ELq1Q12cmKnPuwJz2x
feat: :paste without a prompt, explicit room-wide read with :room read
Some checks failed
nix / eval (pull_request) Failing after 1m21s
check / check (pull_request) Successful in 4m48s
d2dedb02f2
:paste reads the system clipboard (arboard, already pulled in by
modalkit's clipboard feature; behind `desktop`): an image is uploaded
right away, with the message bar as caption when it is not blank and any
pending reply attached; text is appended to the message bar. `"+p` keeps
its confirmation prompt.

:room read (short for `:room unread unset`) marks the whole room read: an
unthreaded receipt on the room's newest event as the homeserver reports
it. That clears thread replies and events this client cannot show (e.g.
undecryptable ones), which otherwise keep a room unread forever. Opening
a room still only reads the main timeline, on purpose: a reply in a thread
you have not opened stays unread until you clear the room explicitly.

Tests: :paste and :room read parsing; visiting a room sends only the main
receipt, never an unthreaded one. Completions and man page updated.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01XMf4ELq1Q12cmKnPuwJz2x
jmz force-pushed feat/leader-menu-paste-read from d2dedb02f2
Some checks failed
nix / eval (pull_request) Failing after 1m21s
check / check (pull_request) Successful in 4m48s
to 6247b8f7ac
Some checks failed
nix / eval (pull_request) Failing after 53s
check / check (pull_request) Successful in 4m43s
2026-11-26 21:20:05 +00:00
Compare
jmz force-pushed feat/leader-menu-paste-read from 6247b8f7ac
Some checks failed
nix / eval (pull_request) Failing after 53s
check / check (pull_request) Successful in 4m43s
to d2b91f07b2
All checks were successful
nix / eval (pull_request) Successful in 1m41s
check / check (pull_request) Successful in 5m18s
2026-11-27 22:43:11 +00:00
Compare
jmz merged commit d2b91f07b2 into release/mirus 2026-11-27 22:48:45 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
public/iamb!11
No description provided.