Skip to content

[Maintenance] - Enforce Task Start Date <= Due Date #3934

@cielbellerose

Description

@cielbellerose

Description

Currently task due dates can be set before their start date. Enforce that if a start date exists, it must be before or the same day as the due date. Ensure this works for both creating tasks and editing tasks.

Note: the logic for this is recommended to be handled in the backend

Acceptance Criteria

  • Toast error if start date is after the due date for creating and editing tasks

Proposed Solution

The frontend modal can be found at ProjectDetailPage/ProjectViewContainer/TaskList/TaskFormModal.tsx
The backend can be found in the files prefixed with tasks for route/controller/service

Mocks

Image

Metadata

Metadata

Assignees

Type

Projects

Status

In Progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions