feat(mesh): show sender identity on received channel messages
Received messages snapshot peer_name at receive time, so a Meshtastic text that arrived before its sender's NodeInfo was stuck showing the synthetic "Meshtastic !xxxx" id forever, and channel/group bubbles showed no sender at all. Add a per-bubble sender label for received messages in multi-sender views (mesh + Archipelago channels), resolved LIVE from the peer table so it always shows the current archy identity (e.g. "Arch Optiplex") the moment NodeInfo is learned. Falls back to "Unknown sender" rather than echoing a Channel/synthetic placeholder. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.8
parent
a57ae388ec
commit
f392670e2a
@@ -144,6 +144,7 @@
|
||||
.mesh-chat-bubble { max-width: 75%; padding: 10px 14px; border-radius: 16px; word-break: break-word; }
|
||||
.mesh-chat-bubble.sent { background: rgba(251, 146, 60, 0.15); border: 1px solid rgba(251, 146, 60, 0.2); border-bottom-right-radius: 4px; }
|
||||
.mesh-chat-bubble.received { background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.08); border-bottom-left-radius: 4px; }
|
||||
.mesh-chat-bubble-sender { font-size: 0.7rem; font-weight: 600; color: rgba(251, 146, 60, 0.85); margin-bottom: 3px; }
|
||||
.mesh-chat-bubble-text { color: rgba(255, 255, 255, 0.9); font-size: 0.9rem; line-height: 1.4; }
|
||||
.mesh-chat-bubble-meta { display: flex; align-items: center; gap: 6px; margin-top: 4px; justify-content: flex-end; }
|
||||
.mesh-chat-bubble-time { font-size: 0.65rem; color: rgba(255, 255, 255, 0.3); }
|
||||
|
||||
Reference in New Issue
Block a user