Add Task #8 - Fix Kanban board dynamic sync

Board currently requires hard refresh to see task updates due to
localStorage persistence. Need server-side storage or sync mechanism
so updates appear on normal page refresh.
This commit is contained in:
OpenClaw Bot 2026-02-18 14:36:24 -06:00
parent 7a7f30f927
commit 9c13403b01

View File

@ -186,6 +186,23 @@ const defaultTasks: Task[] = [
{ id: 'c20', text: 'Need to add logging/capture to see what kills processes', createdAt: new Date().toISOString(), author: 'user' }
],
tags: ['debugging', 'research', 'infrastructure', 'root-cause']
},
{
id: '8',
title: 'Fix Kanban board - dynamic sync without hard refresh',
description: 'Current board uses localStorage persistence which requires hard refresh (Cmd+Shift+R) to see task updates from code changes. Need to add: server-side storage (API + database/file), or sync mechanism that checks for updates on regular refresh, or real-time updates via WebSocket/polling. User should see updates on normal page refresh without clearing cache.',
type: 'task',
status: 'backlog',
priority: 'medium',
projectId: '2',
createdAt: new Date().toISOString(),
updatedAt: new Date().toISOString(),
comments: [
{ id: 'c21', text: 'Issue: Task status changes require hard refresh to see', createdAt: new Date().toISOString(), author: 'user' },
{ id: 'c22', text: 'Current: localStorage persistence via Zustand', createdAt: new Date().toISOString(), author: 'user' },
{ id: 'c23', text: 'Need: Server-side storage or sync on regular refresh', createdAt: new Date().toISOString(), author: 'assistant' }
],
tags: ['ui', 'sync', 'localstorage', 'real-time']
}
]