Skip to content

fix(frontend): allow creating a project without an end date - #395

Open
nourshoreibah wants to merge 3 commits into
mainfrom
fix/optional-project-end-date
Open

fix(frontend): allow creating a project without an end date#395
nourshoreibah wants to merge 3 commits into
mainfrom
fix/optional-project-end-date

Conversation

@nourshoreibah

Copy link
Copy Markdown
Collaborator

Summary

  • Leaving End Date blank on create/edit no longer fails with "Please select a date AFTER the start date".
  • An end date is still rejected when it is filled in and precedes the start date.
  • Matches the API, which already treats end_date as optional.

Test plan

  • Open Add New Project, fill required fields, leave End Date empty, do not check "still in progress", and Save — it should succeed.
  • Create a project with an end date before the start date — it should still show the after-start-date error.
  • Create a project with a valid end date, and one with "still in progress" checked — both should still work.

Made with Cursor

nourshoreibah and others added 3 commits August 30, 2026 15:47
Empty end date was treated as invalid ("must be after start date") unless
"in progress" was checked. The field is optional; only a filled date that
precedes the start date should error.

Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
github-actions Bot added a commit that referenced this pull request Aug 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant