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 #2334

Merged

Conversation

wang9hu
Copy link
Contributor

@wang9hu wang9hu commented Jun 7, 2024

Description

This PR along with its complementary backend PR addresses three main things

  1. Refactor the Project component, mainly convert it from class component to functional component
  2. Change Project Delete functionality to Archive, which makes the data retrievable if deleted accidentally.
  3. Fix the white screen issue of Timelog, TimeEntryForm pages that is caused by undefined wbs or project.

Additionaly, this PR removes the unused component Admin and its relative files.

Related PRS (if any):

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

Main changes explained:

  • Change and refactor Project component from class component to functional component
  • Implement project archive functionality to replace the project deletion functionality
  • Make TimeEntry project/task options to use data from timeentry request to show Project name and task name instead of project/task state
  • Make Timelog project/task options to use data from task request to show Project name and task name instead of project state

@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
@wang9hu wang9hu marked this pull request as ready for review June 8, 2024 01:37
@one-community one-community merged commit f92f18e into development Jun 8, 2024
1 check 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