diff --git a/src/stores/useTaskStore.ts b/src/stores/useTaskStore.ts index 2793501..bf67c0e 100644 --- a/src/stores/useTaskStore.ts +++ b/src/stores/useTaskStore.ts @@ -134,6 +134,23 @@ const defaultTasks: Task[] = [ ], tags: ['ui', 'ux', 'redesign', 'dashboard', 'monitoring'] }, + { + 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'] + }, { id: '5', title: 'Fix Blog Backup links to be clickable', @@ -186,23 +203,6 @@ 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'] } ]