feat(dm): call UI + peer names + compact panel (v0.2.5)#11
Merged
Conversation
…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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Four UI fixes/features for private DMs.
Outgoingphase asoutgoing_callin the session snapshot.from_device; active/outgoing overlays use the newpeer_display_name. Previously they showed the local user's own name. The peer name is learned from inboundfrom_deviceand restored after restart.Local: tsc ✓ · vitest 47/47 ✓ · fmt ✓ · clippy
-D warnings✓ · nextest 63 passed.