Fix: Don't persist task data to localStorage, always load from server
This commit is contained in:
parent
1420a1ed43
commit
50164ac95a
@ -449,40 +449,14 @@
|
||||
},
|
||||
{
|
||||
"id": "15",
|
||||
"priority": "urgent",
|
||||
"title": "Add Sprint functionality to Gantt Board",
|
||||
"description": "Implement sprint-based project management similar to JIRA. Add sprint planning, sprint boards with To Do/In Progress/Done columns, backlog grooming with sprint assignments, and sprint workflows. Reference comps in /comps/ directory showing: 01-statuses.png (sprint workflow), 02-workflow.png (issue flow), 03-gannt-board.png (sprint board with swimlanes), 04-backlog-screen.png (sprint planning). This will allow organizing tasks into 2-week sprints with clear status tracking.",
|
||||
"type": "task",
|
||||
"status": "in-progress",
|
||||
"priority": "high",
|
||||
"projectId": "2",
|
||||
"sprintId": "sprint-1",
|
||||
"createdAt": "2026-02-19T13:45:00.000Z",
|
||||
"updatedAt": "2026-02-19T13:45:00.000Z",
|
||||
"comments": [
|
||||
{
|
||||
"id": "c70",
|
||||
"text": "User provided comps showing JIRA-style sprint board with swimlanes and workflow",
|
||||
"createdAt": "2026-02-19T13:45:00.000Z",
|
||||
"author": "assistant"
|
||||
},
|
||||
{
|
||||
"id": "c71",
|
||||
"text": "Features needed: Sprint planning, sprint boards, backlog grooming, sprint assignments",
|
||||
"createdAt": "2026-02-19T13:45:00.000Z",
|
||||
"author": "assistant"
|
||||
}
|
||||
],
|
||||
"tags": [
|
||||
"sprint",
|
||||
"kanban",
|
||||
"ui",
|
||||
"jira",
|
||||
"workflow",
|
||||
"backlog"
|
||||
]
|
||||
"updatedAt": "2026-02-20T01:52:57.259Z"
|
||||
}
|
||||
],
|
||||
"lastUpdated": 1771552039142,
|
||||
"lastUpdated": 1771552377259,
|
||||
"sprints": [
|
||||
{
|
||||
"name": "Sprint 1",
|
||||
|
||||
@ -598,6 +598,12 @@ export const useTaskStore = create<TaskStore>()(
|
||||
}),
|
||||
{
|
||||
name: 'task-store',
|
||||
partialize: (state) => ({
|
||||
// Only persist UI state, not data
|
||||
selectedProjectId: state.selectedProjectId,
|
||||
selectedTaskId: state.selectedTaskId,
|
||||
selectedSprintId: state.selectedSprintId,
|
||||
}),
|
||||
}
|
||||
)
|
||||
)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user