Create Sprint 1 and attach all tasks to it
- Created Sprint 1: Feb 16-22, 2026 (Mon-Sun) - Sprint status: active - Attached all 13 tasks to Sprint 1 - Updated store to use defaultSprints
This commit is contained in:
parent
e734c6fab5
commit
0632a727f4
@ -173,6 +173,7 @@ const defaultTasks: Task[] = [
|
|||||||
status: 'done',
|
status: 'done',
|
||||||
priority: 'high',
|
priority: 'high',
|
||||||
projectId: '2',
|
projectId: '2',
|
||||||
|
sprintId: 'sprint-1',
|
||||||
createdAt: new Date().toISOString(),
|
createdAt: new Date().toISOString(),
|
||||||
updatedAt: new Date().toISOString(),
|
updatedAt: new Date().toISOString(),
|
||||||
comments: [
|
comments: [
|
||||||
@ -190,6 +191,7 @@ const defaultTasks: Task[] = [
|
|||||||
status: 'in-progress',
|
status: 'in-progress',
|
||||||
priority: 'medium',
|
priority: 'medium',
|
||||||
projectId: '2',
|
projectId: '2',
|
||||||
|
sprintId: 'sprint-1',
|
||||||
createdAt: new Date().toISOString(),
|
createdAt: new Date().toISOString(),
|
||||||
updatedAt: new Date().toISOString(),
|
updatedAt: new Date().toISOString(),
|
||||||
comments: [
|
comments: [
|
||||||
@ -210,6 +212,7 @@ const defaultTasks: Task[] = [
|
|||||||
status: 'done',
|
status: 'done',
|
||||||
priority: 'medium',
|
priority: 'medium',
|
||||||
projectId: '2',
|
projectId: '2',
|
||||||
|
sprintId: 'sprint-1',
|
||||||
createdAt: new Date().toISOString(),
|
createdAt: new Date().toISOString(),
|
||||||
updatedAt: new Date().toISOString(),
|
updatedAt: new Date().toISOString(),
|
||||||
comments: [
|
comments: [
|
||||||
@ -229,6 +232,7 @@ const defaultTasks: Task[] = [
|
|||||||
status: 'done',
|
status: 'done',
|
||||||
priority: 'urgent',
|
priority: 'urgent',
|
||||||
projectId: '2',
|
projectId: '2',
|
||||||
|
sprintId: 'sprint-1',
|
||||||
createdAt: new Date().toISOString(),
|
createdAt: new Date().toISOString(),
|
||||||
updatedAt: new Date().toISOString(),
|
updatedAt: new Date().toISOString(),
|
||||||
comments: [
|
comments: [
|
||||||
@ -249,6 +253,7 @@ const defaultTasks: Task[] = [
|
|||||||
status: 'done',
|
status: 'done',
|
||||||
priority: 'high',
|
priority: 'high',
|
||||||
projectId: '2',
|
projectId: '2',
|
||||||
|
sprintId: 'sprint-1',
|
||||||
createdAt: new Date().toISOString(),
|
createdAt: new Date().toISOString(),
|
||||||
updatedAt: new Date().toISOString(),
|
updatedAt: new Date().toISOString(),
|
||||||
comments: [
|
comments: [
|
||||||
@ -267,6 +272,7 @@ const defaultTasks: Task[] = [
|
|||||||
status: 'done',
|
status: 'done',
|
||||||
priority: 'high',
|
priority: 'high',
|
||||||
projectId: '2',
|
projectId: '2',
|
||||||
|
sprintId: 'sprint-1',
|
||||||
createdAt: new Date().toISOString(),
|
createdAt: new Date().toISOString(),
|
||||||
updatedAt: new Date().toISOString(),
|
updatedAt: new Date().toISOString(),
|
||||||
comments: [
|
comments: [
|
||||||
@ -284,6 +290,7 @@ const defaultTasks: Task[] = [
|
|||||||
status: 'done',
|
status: 'done',
|
||||||
priority: 'high',
|
priority: 'high',
|
||||||
projectId: '2',
|
projectId: '2',
|
||||||
|
sprintId: 'sprint-1',
|
||||||
createdAt: new Date().toISOString(),
|
createdAt: new Date().toISOString(),
|
||||||
updatedAt: new Date().toISOString(),
|
updatedAt: new Date().toISOString(),
|
||||||
comments: [
|
comments: [
|
||||||
@ -311,6 +318,7 @@ const defaultTasks: Task[] = [
|
|||||||
status: 'done',
|
status: 'done',
|
||||||
priority: 'low',
|
priority: 'low',
|
||||||
projectId: '3',
|
projectId: '3',
|
||||||
|
sprintId: 'sprint-1',
|
||||||
createdAt: new Date().toISOString(),
|
createdAt: new Date().toISOString(),
|
||||||
updatedAt: new Date().toISOString(),
|
updatedAt: new Date().toISOString(),
|
||||||
comments: [
|
comments: [
|
||||||
@ -332,6 +340,7 @@ const defaultTasks: Task[] = [
|
|||||||
status: 'done',
|
status: 'done',
|
||||||
priority: 'high',
|
priority: 'high',
|
||||||
projectId: '2',
|
projectId: '2',
|
||||||
|
sprintId: 'sprint-1',
|
||||||
createdAt: new Date().toISOString(),
|
createdAt: new Date().toISOString(),
|
||||||
updatedAt: new Date().toISOString(),
|
updatedAt: new Date().toISOString(),
|
||||||
comments: [
|
comments: [
|
||||||
@ -353,6 +362,7 @@ const defaultTasks: Task[] = [
|
|||||||
status: 'backlog',
|
status: 'backlog',
|
||||||
priority: 'medium',
|
priority: 'medium',
|
||||||
projectId: '2',
|
projectId: '2',
|
||||||
|
sprintId: 'sprint-1',
|
||||||
createdAt: new Date().toISOString(),
|
createdAt: new Date().toISOString(),
|
||||||
updatedAt: new Date().toISOString(),
|
updatedAt: new Date().toISOString(),
|
||||||
comments: [
|
comments: [
|
||||||
@ -383,7 +393,7 @@ export const useTaskStore = create<TaskStore>()(
|
|||||||
(set, get) => ({
|
(set, get) => ({
|
||||||
projects: defaultProjects,
|
projects: defaultProjects,
|
||||||
tasks: defaultTasks,
|
tasks: defaultTasks,
|
||||||
sprints: [],
|
sprints: defaultSprints,
|
||||||
selectedProjectId: '1',
|
selectedProjectId: '1',
|
||||||
selectedTaskId: null,
|
selectedTaskId: null,
|
||||||
selectedSprintId: null,
|
selectedSprintId: null,
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user