Description
We want to update tasks to have a blocked by field, so users can easily tell what a task is blocked by.
Acceptance Criteria
- Tasks include a field that lists the tasks blocking them
- Users can add blocked tasks when creating or when editing a task
Proposed Solution
- add blockedBy to task model in schema.prisma and shared type
- update task create/edit endpoints (task.services.ts, tasks.controllers.ts, tasks.routes.ts)
- update useEditTask and useCreateTask hooks + their apis (tasks.hooks.ts, tasks.api.ts
- update TaskFormModal.tsx to include the blocked by field
- update TaskModal.tsx to display blocked by tasks
Mocks
No response
Description
We want to update tasks to have a blocked by field, so users can easily tell what a task is blocked by.
Acceptance Criteria
Proposed Solution
Mocks
No response