fix(rooms): "Rename for me" names in Ctrl+K, forward/share pickers and notifications (#336) #359

Merged
jared merged 1 commits from fix/local-room-names-everywhere into lotus 2026-10-12 16:44:09 -04:00
Owner

Refs #336 (most of it; see "Not covered").

The personal room name (io.lotus.room_names, "Rename for me") was only used in the sidebar, header, intro and call bar. Ctrl+K couldn't find a room by it ("No match found") and showed the server name. So did the forward and share pickers, toasts, OS notifications and reminders.

Change: useRoomMeta gains useLocalRoomNames() / getLocalRoomName(). Then:

  • the quick switcher matches both names and shows the personal one;
  • the Forward and Share pickers show it and filter by it;
  • message and reminder notifications use it for the room title.

Verified (headless, general renamed to "Zebra Lounge"):

  • Ctrl+K "Zebra" and Ctrl+K "general" both list Zebra Lounge;
  • the Forward picker filtered by "zebra" lists Zebra Lounge.

Not covered (follow-up): message-search result headers, the Inbox → Notifications page and the threads list still show the server name. #336 stays open for those.

tsc clean · unit tests pass · ESLint/Prettier clean.

🤖 Generated with Claude Code

https://claude.ai/code/session_017PCb59uY3UKqDqt7B6hzd5

Refs #336 (most of it; see "Not covered"). The personal room name (`io.lotus.room_names`, "Rename for me") was only used in the sidebar, header, intro and call bar. Ctrl+K couldn't find a room by it ("No match found") and showed the server name. So did the forward and share pickers, toasts, OS notifications and reminders. **Change:** `useRoomMeta` gains `useLocalRoomNames()` / `getLocalRoomName()`. Then: - the **quick switcher** matches both names and shows the personal one; - the **Forward** and **Share** pickers show it and filter by it; - **message and reminder notifications** use it for the room title. **Verified** (headless, `general` renamed to "Zebra Lounge"): - Ctrl+K "Zebra" and Ctrl+K "general" both list **Zebra Lounge**; - the Forward picker filtered by "zebra" lists **Zebra Lounge**. **Not covered (follow-up):** message-search result headers, the Inbox → Notifications page and the threads list still show the server name. #336 stays open for those. `tsc` clean · unit tests pass · ESLint/Prettier clean. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_017PCb59uY3UKqDqt7B6hzd5
jared added 1 commit 2026-10-12 15:40:58 -04:00
fix(rooms): "Rename for me" names in Ctrl+K, forward/share pickers and notifications (#336)
CI / Build & Quality Checks (pull_request) Successful in 3m4s
CI / Trigger Desktop Build (pull_request) Skipped
CI / Docker image build & smoke test (pull_request) Skipped
CI / Secret scan (gitleaks) (pull_request) Successful in 8s
CI / Playwright smoke (e2e) (pull_request) Successful in 13m29s
a4a163df3d
The personal room name (io.lotus.room_names) was only used by the
sidebar, header, intro and call bar; the quick switcher couldn't find a
room by it ("No match found") and showed the server name, as did the
forward/share pickers, toasts, OS notifications and reminders.

useRoomMeta gains useLocalRoomNames() / getLocalRoomName(); the quick
switcher matches both names and shows the personal one, the forward and
share pickers show and filter by it, and message/reminder notifications
use it for the room title.

Verified headless with general renamed to "Zebra Lounge": Ctrl+K "Zebra"
and "general" both list "Zebra Lounge"; the forward picker filtered by
"zebra" lists "Zebra Lounge".

Not covered here (follow-up): message-search result headers, the inbox
notifications page and the threads list still use the server name.

Refs #336

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017PCb59uY3UKqDqt7B6hzd5
jared force-pushed fix/local-room-names-everywhere from d7a2996309 to a4a163df3d 2026-10-12 15:40:58 -04:00 Compare
jared merged commit 508a123150 into lotus 2026-10-12 16:44:09 -04:00
Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: LotusGuild/cinny#359