Room header: minimal badge for call limit / audio-only policy #134

Closed
opened 2026-09-17 16:10:05 -04:00 by jared · 1 comment
Owner

Members should see a room's call rules before hitting the server-side guard, not as an error after.

Scope

  • In RoomViewHeader next to the existing call/member controls: a single small chip, only when a rule exists — "8/10" (participants / io.lotus.voice_limit) and/or a mic-only glyph when useRoomCallPolicy says audio-only. No label text; tooltip carries the words ("Audio-only room", "Voice limit 10").
  • Match existing folds chip sizing/colours (Chip size 400 / Surface); mobile: hides when the header is tight (same rule as other secondary header items).
Members should see a room's call rules before hitting the server-side guard, not as an error after. ### Scope - In `RoomViewHeader` next to the existing call/member controls: a single small chip, only when a rule exists — **"8/10"** (participants / `io.lotus.voice_limit`) and/or a mic-only glyph when `useRoomCallPolicy` says audio-only. No label text; tooltip carries the words ("Audio-only room", "Voice limit 10"). - Match existing folds chip sizing/colours (`Chip` size 400 / Surface); mobile: hides when the header is tight (same rule as other secondary header items).
jared added this to the Features 2026-Q4 milestone 2026-09-17 16:10:05 -04:00
jared added the enhancementpriority: lowarea: calls labels 2026-09-17 16:10:05 -04:00
jared self-assigned this 2026-09-17 16:10:05 -04:00
Author
Owner

Done in 7f17940d: one Surface chip next to the header controls, only when a rule exists — 0/10 (participants / io.lotus.voice_limit) and/or a muted-camera glyph when io.lotus.room_quality forbids both camera and screenshare; tooltip + aria-label carry the words ("Voice limit 10 (0 in call) · Audio-only room"). Desktop only (mobile header is tight). Verified headless: shows with the rules set, gone when cleared.
chip

Done in `7f17940d`: one Surface chip next to the header controls, only when a rule exists — `0/10` (participants / `io.lotus.voice_limit`) and/or a muted-camera glyph when `io.lotus.room_quality` forbids both camera and screenshare; tooltip + aria-label carry the words ("Voice limit 10 (0 in call) · Audio-only room"). Desktop only (mobile header is tight). Verified headless: shows with the rules set, gone when cleared. ![chip](https://code.lotusguild.org/attachments/f7998e5f-c22f-4c4e-87a4-e566aaa24f0c)
jared closed this issue 2026-09-19 17:43:30 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: LotusGuild/cinny#134