dhanashri-dotcom / CommonAssessmentToolUI

0 stars 0 forks source link

Frontend: Display new Return-To-Work score #6

Open dhanashri-dotcom opened 1 month ago

dhanashri-dotcom commented 1 month ago

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:

bonicim commented 1 month ago

Create a picture (hand drawn) or diagram of what this page looks like.

mereluo commented 1 month ago

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:

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:

mereluo commented 1 month ago

Possible UI Design (subject to change)

image