fix: Bugs fixing for 19597,19553,19524,19330,19278,19238 #299
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
This pull request includes multiple changes across the frontend and backend to improve functionality, enhance UI components, and optimize state management. The most significant updates include the addition of a reusable
ContentNotFoundcomponent, replacement of custom accordion components with Fluent UI's accordion, and improvements to state handling for plan and task data.Frontend Enhancements
1. Reusable
ContentNotFoundComponent:ContentNotFoundcomponent for displaying a user-friendly "not found" message, with customizable text, image, and buttons (src/frontend/src/components/NotFound/ContentNotFound.tsx).ContentNotFoundintoPlanChatfor scenarios whereplanDatais unavailable (src/frontend/src/components/content/PlanChat.tsx). [1] [2]2. Migration to Fluent UI Accordion:
Accordion,AccordionItem,AccordionHeader, andAccordionPanelinTaskListfor better consistency and maintainability (src/frontend/src/components/content/TaskList.tsx). [1] [2]3. Enhanced Progress Circle:
borderColorproperty to theProgressCirclecomponent and updated its rendering logic to include additional border styling (src/frontend/src/coral/components/Progress/ProgressCircle.tsx). [1] [2] [3]State Management Improvements
4. Plan and Task Data Handling:
allPlansinPlanPageto cache multiple plans and implemented logic to updateplanDatabased on the currentplanId(src/frontend/src/pages/PlanPage.tsx). [1] [2] [3]TaskDetailsfor step approval and rejection, delegating state updates to the main API functions (src/frontend/src/components/content/TaskDetails.tsx). [1] [2]Backend Query Optimization
5. Query Simplification:
get_all_plansto remove theOFFSET 0 LIMIT 10clause, ensuring all plans are retrieved without pagination (src/backend/context/cosmos_memory_kernel.py).Does this introduce a breaking change?
How to Test
What to Check
Verify that the following are valid
Other Information