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

XiaoW Hotfix of Project refactor and white screen issue fix #980

Merged

Conversation

wang9hu
Copy link
Contributor

@wang9hu wang9hu commented Jun 7, 2024

Description

This PR along with its complementary frontend PR addresses two main things

  1. Ensure project archive functionality
  2. Add essential data to request response to make frontend jobs easier

Related PRS (if any):

This backend PR is related to the #2334 frontend PR.

Main changes explained:

  • Refactor project handler
  • Implement isArchived property to project model and deactivate the wbs, task, timeentry of archived project
  • Add isActive check to api calls on tasks and timeentries
  • Add taskName and projectName to the response of timeentry requests
  • Remove userproject model, implement the logic locally in projectController to avoid redundency

@wang9hu wang9hu marked this pull request as ready for review June 8, 2024 01:34
@wang9hu wang9hu changed the title XiaoW Project refactor and white screen issue fix XiaoW Hotfix of Project refactor and white screen issue fix Jun 8, 2024
@one-community one-community merged commit d261c6d into development Jun 8, 2024
3 checks passed
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.

2 participants