diff --git a/loop/plan.md b/loop/plan.md index 31c10c38..2e8aa146 100644 --- a/loop/plan.md +++ b/loop/plan.md @@ -526,7 +526,7 @@ - [x] **DWN-SYNC-02** — Test DWN sync across all 4 nodes. Register the same protocol on all 4 nodes. Write unique messages on each node (node A writes 5, B writes 3, C writes 2, D writes 4 = 14 total). Trigger sync from each node. After sync completes, query all messages on each node — every node should have all 14 messages. If sync is missing messages: check the bidirectional replication logic in `dwn_sync.rs`, ensure Tor SOCKS proxy is used correctly, check for deduplication issues. **Acceptance**: All 4 nodes have all 14 messages after sync. Message content and metadata intact. -- [ ] **DWN-SYNC-03** — Add DWN sync status to Federation dashboard. In `neode-ui/src/views/Federation.vue`, in the node detail modal, add a "DWN Sync" section showing: last sync time, messages synced count, sync status (idle/syncing/error), and a "Sync Now" button. Wire to `dwn.sync` RPC. In the node list, add a small DWN icon/badge showing sync state (green dot = synced recently, amber = stale, red = error). Fetch DWN status alongside federation state. **Acceptance**: Federation dashboard shows DWN sync state per node. Manual sync trigger works from the modal. Deploy and verify. +- [x] **DWN-SYNC-03** — Add DWN sync status to Federation dashboard. In `neode-ui/src/views/Federation.vue`, in the node detail modal, add a "DWN Sync" section showing: last sync time, messages synced count, sync status (idle/syncing/error), and a "Sync Now" button. Wire to `dwn.sync` RPC. In the node list, add a small DWN icon/badge showing sync state (green dot = synced recently, amber = stale, red = error). Fetch DWN status alongside federation state. **Acceptance**: Federation dashboard shows DWN sync state per node. Manual sync trigger works from the modal. Deploy and verify. ### Sprint 46: Node Visualization Map (July 2026 Week 1-2) diff --git a/neode-ui/src/views/Federation.vue b/neode-ui/src/views/Federation.vue index 9ac083d9..622d64c6 100644 --- a/neode-ui/src/views/Federation.vue +++ b/neode-ui/src/views/Federation.vue @@ -151,9 +151,9 @@ CPU: {{ node.last_state?.cpu_usage_percent != null ? node.last_state.cpu_usage_percent.toFixed(1) + '%' : '--' }} -
- Tor: - {{ node.last_state?.tor_active ? 'Active' : '--' }} +
+ DWN: +
Seen: @@ -244,6 +244,28 @@

{{ deployResult }}

+ +
+
+

DWN Sync

+
+ + {{ dwnSyncLabel }} +
+
+
+
Messages: {{ dwnStatus?.message_count ?? '--' }}
+
Last sync: {{ dwnStatus?.last_sync ? timeAgo(dwnStatus.last_sync) : 'never' }}
+
+ +
+