fix: Bug fixes of #19515,#19330,#19278 #296
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Purpose
Summary
This pull request introduces several updates to improve state management and UI rendering in the frontend components. Key changes include refactoring state updates for task steps, enhancing the
ProgressCirclecomponent with new visual elements, and optimizing data handling in thePlanPagecomponent.State Management Improvements:
src/frontend/src/components/content/TaskDetails.tsx: Refactored the initialization of task steps and progress calculations usinguseEffect, and removed redundant local state updates for step approval/rejection. [1] [2] [3]UI Enhancements:
src/frontend/src/coral/components/Progress/ProgressCircle.tsx: Added a newborderColorprop to theProgressCirclecomponent and implemented outer and inner border circles for improved visual styling. [1] [2] [3] [4]Data Handling Optimization:
src/frontend/src/pages/PlanPage.tsx: Introduced anallPlansstate to cache multiple plans, optimized plan data updates withuseEffectanduseCallback, and removed unnecessary console logs for cleaner code. [1] [2] [3] [4]Does this introduce a breaking change?
How to Test
What to Check
Verify that the following are valid
Other Information