Skip to content

feat(dm): call UI + peer names + compact panel (v0.2.5)#11

Merged
ForeverInLaw merged 5 commits into
mainfrom
feat/call-ui
Jun 3, 2026
Merged

feat(dm): call UI + peer names + compact panel (v0.2.5)#11
ForeverInLaw merged 5 commits into
mainfrom
feat/call-ui

Conversation

@ForeverInLaw

Copy link
Copy Markdown
Contributor

Four UI fixes/features for private DMs.

  1. Outgoing call UI — placing a call now shows a "Calling…" overlay (peer name + dial tone + cancel) while waiting for an answer. Backend surfaces the caller-side Outgoing phase as outgoing_call in the session snapshot.
  2. Correct names on call screens — incoming modal uses the caller's from_device; active/outgoing overlays use the new peer_display_name. Previously they showed the local user's own name. The peer name is learned from inbound from_device and restored after restart.
  3. Peer-status panel — bound the desktop grid row so the aside scrolls internally (no more window overflow) + compact type/spacing.
  4. Dial tone — outgoing overlay reuses the ringtone synth.

Local: tsc ✓ · vitest 47/47 ✓ · fmt ✓ · clippy -D warnings ✓ · nextest 63 passed.

…anel

- Outgoing call: surface the caller-side Outgoing phase as `outgoing_call` in
  the session snapshot and render an OutgoingCallModal ("Calling…", dial tone,
  cancel) while waiting for the peer to answer.
- Peer names: track the remote peer's display name on the session (learned from
  inbound message/control `from_device`, restored from history on rehydrate) and
  expose it as `peer_display_name`. The incoming-call modal now uses the
  caller's `from_device`, and the active/outgoing overlays use
  `peer_display_name`, instead of the local user's own name.
- Peer-status panel: bound the desktop grid row so the diagnostics aside scrolls
  internally instead of overflowing the window, and tighten its type/spacing.
The aside relied on the desktop grid row for its height, which did not reliably
bound it. Pin the panel header and scroll the diagnostic groups in a dedicated
content container, and cap the Moss event log with its own explicit max-height
scroll (it grows fastest). The Session / Moss network / event groups now scroll
inside the panel instead of overflowing the window.
@ForeverInLaw ForeverInLaw merged commit def2615 into main Jun 3, 2026
2 checks passed
@ForeverInLaw ForeverInLaw deleted the feat/call-ui branch June 3, 2026 07:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant