2.0 KiB
2.0 KiB
1. Backend DTO Updates
- 1.1 Update TaskListItemDto.cs to add
string? AssigneeNamefield - 1.2 Update TaskDetailDto.cs to add
string? AssigneeNameandstring? CreatedByNamefields - 1.3 Update ShiftSignupDto.cs to add
string? MemberNamefield
2. Backend Service Updates - Tasks
- 2.1 Update TaskService.GetTasksAsync() to join with Members and populate assigneeName
- 2.2 Update TaskService.GetTaskByIdAsync() to join with Members for assignee and creator names
- 2.3 Update TaskService.CreateTaskAsync() to fetch and include creator name in response
- 2.4 Update TaskService.UpdateTaskAsync() to join with Members for assignee and creator names
3. Backend Service Updates - Shifts
- 3.1 Update ShiftService.GetShiftByIdAsync() to include member display name in ShiftSignupDto
- 3.2 Update ShiftService.UpdateShiftAsync() to include member display name in ShiftSignupDto
4. Frontend Type Updates
- 4.1 Update TaskListItemDto interface in useTasks.ts to add
assigneeName?: string - 4.2 Update TaskDetailDto interface in useTasks.ts to add
assigneeName?: stringandcreatedByName?: string - 4.3 Update ShiftSignupDto interface in useShifts.ts to add
memberName?: string
5. Frontend UI Updates - Tasks
- 5.1 Update tasks/page.tsx to display assigneeName instead of assigneeId
- 5.2 Update tasks/[id]/page.tsx to display assigneeName instead of assigneeId
- 5.3 Update tasks/[id]/page.tsx to display createdByName instead of createdById
6. Frontend UI Updates - Shifts
- 6.1 Update shifts/[id]/page.tsx to display memberName instead of memberId in signup list
7. Testing & Verification
- 7.1 Run backend build to verify C# compilation succeeds
- 7.2 Run frontend build to verify TypeScript compilation succeeds
- 7.3 Verify task list shows member names correctly
- 7.4 Verify task detail shows assignee and creator names
- 7.5 Verify shift detail shows member names in signup list