feat(ui): bubble unread presence up to workspace, project, and machine rows

Wire the derived UnreadPresence into dot indicators (no counts) across the
navigation panel: workspace, project, and machine rows (machine-switcher and
machine-list) now show a static accent dot whenever a session beneath them is
unread, including offline machines with stale-but-present state. Presence
flows PiWebApp -> AppNavigationPanel -> leaf id sets, mirroring the
unreadSessionIds chain, and is covered by happy-dom component tests per list
plus panel- and app-level wiring tests. Adds changesets for the mark-as-read
actions and the bubble-up indicators.
This commit is contained in:
Federico Jaramillo Martinez
2026-07-27 15:08:31 +02:00
parent 9267174736
commit 8af637b00e
15 changed files with 382 additions and 14 deletions
@@ -0,0 +1,5 @@
---
"@jmfederico/pi-web": patch
---
Show a small unread dot on workspace, project, and machine rows in the navigation panel whenever a session beneath them has unread activity, so unread sessions stay visible without expanding each section. Machine dots reflect any unread session in that machine's catalog; existing per-session unread counts are unchanged.