Closed nithish1018 closed 3 days ago
The changes in this pull request involve updates to localization in the application. A new entry for "no_patients_found"
has been added to the public/locale/en.json
file, and the existing entry for "no_patients_to_show"
has been modified. Additionally, the ManagePatients.tsx
component has been updated to improve type safety and replace hardcoded strings with translation functions. Minor adjustments to the styling of a button have also been made to ensure consistency.
File | Change Summary |
---|---|
public/locale/en.json |
Added "no_patients_found": "No Patients Found" ; updated "no_patients_to_show" to "No patients to show." |
src/components/Patient/ManagePatients.tsx |
Updated badge function signatures for type safety; replaced hardcoded string with translation function; adjusted button styling. |
Objective | Addressed | Explanation |
---|---|---|
Consistent button sizes in mobile view of patients page (#9129) | ✅ |
SampleDetails.tsx
component to use the translation function for various text strings, including "No Patients Found," which directly relates to the changes made in the main PR regarding localization in the JSON file.PatientHome.tsx
component by updating text labels to use translation functions, which aligns with the localization updates in the main PR.PatientHome.tsx
component, which is relevant to the overall patient management context discussed in the main PR.tested
🐰 In the code where rabbits play,
New messages hop in, brightening the day.
"No Patients Found," now clear as can be,
With buttons aligned, as smooth as can be!
Hopping forward, we celebrate this feat,
Localization makes our app so sweet! 🥕
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Name | Link |
---|---|
Latest commit | 048817f8efca277ad26f7792c879fa0feb663ef1 |
Latest deploy log | https://app.netlify.com/sites/care-ohc/deploys/673ad9972dcd7400088fbb57 |
Deploy Preview | https://deploy-preview-9130--care-ohc.netlify.app |
Preview on mobile | Toggle QR Code...Use your smartphone camera to open QR code link. |
To edit notification comments on pull requests, go to your Netlify site configuration.
LGTM
@nithish1018 Your efforts have helped advance digital healthcare and TeleICU systems. :rocket: Thank you for taking the time out to make CARE better. We hope you continue to innovate and contribute; your impact is immense! :raised_hands:
Proposed Changes
Desktop View:
Mobile View:
@ohcnetwork/care-fe-code-reviewers
Merge Checklist
Summary by CodeRabbit
New Features
Bug Fixes
Refactor