Open dhanashri-dotcom opened 1 month ago
Create a picture (hand drawn) or diagram of what this page looks like.
Updated:
Task 1: Button Trigger API Call for Updated Score Description: When the user clicks the Get Latest Return-To-Work Score button on the user detail page, an API call should be triggered to fetch the updated Return-To-Work score from the backend. The button should provide feedback to the user (e.g., loading state) while waiting for the API response. Acceptance Criteria:
fetch
or axios
to send the request.Task 2: Create UI Component for Return-To-Work Score Description: Design and implement a UI component displaying the Return-To-Work score after clicking the Get Latest Return-To-Work Score Button. Acceptance Criteria:
ReturnToWorkScore.jsx
) is createdPossible UI Design (subject to change)
Task: Create UI to display the updated Return-To-Work score after client information is updated. Description: After updating the client profile, the new Return-To-Work score should be calculated and shown. Acceptance Criteria: