Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat: add project status field based on task counts #271

Merged
merged 8 commits into from
Oct 8, 2024

Conversation

Pradip-p
Copy link
Collaborator

@Pradip-p Pradip-p commented Oct 8, 2024

Description:

This PR adds a new status field to the project response model. The status is determined based on the counts of ongoing and completed tasks for each project.

Feature Details:

  • The status field is automatically set based on the logic:
    • "not-started" if there are no ongoing tasks.
    • "ongoing" if there are tasks in progress.
    • "completed" if all tasks are completed.

@github-actions github-actions bot added enhancement New feature or request backend Related to backend code labels Oct 8, 2024
@Pradip-p Pradip-p requested a review from nrjadkry October 8, 2024 08:20
@Pradip-p Pradip-p merged commit 7849afa into develop Oct 8, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend Related to backend code enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant