feat: render history_loaded in web UI with earlier messages divider
- store: handle history_loaded event — prepend gossipped messages, dedup by mid, sort by ts, record cutoff timestamp per room - MessagePane: show "earlier messages" divider between history and live messages based on the cutoff timestamp - types: add history_loaded, room_created, create_room to IpcMsgType; add messages field to IpcMessage Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -158,3 +158,5 @@ details summary { color: var(--muted); font-size: 12px; cursor: pointer; }
|
||||
.file-entry-dir { cursor: pointer; }
|
||||
.file-entry-dir:hover { background: rgba(255,255,255,0.04); }
|
||||
.file-entry-icon { font-size: 12px; flex-shrink: 0; }
|
||||
.history-divider { display: flex; align-items: center; gap: 8px; margin: 10px 0 6px; color: var(--muted); font-size: 11px; }
|
||||
.history-divider::before, .history-divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }
|
||||
|
||||
Reference in New Issue
Block a user