-
Notifications
You must be signed in to change notification settings - Fork 433
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Removes usages of Legacy Components that are not covered by #5006 #5763
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
✅ Deploy Preview for care-egov-staging ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
LGTM |
@rithviknishad We truly appreciate your efforts. Thank you for taking the time to contribute; this is a very valuable contribution to us 🥇. We always welcome your contribution 🙂, so feel free to contribute to anything anytime, and never lose that spirit of innovation 🙌. |
WHAT
🤖 Generated by Copilot at 7debcff
The pull request removes the deprecated
LegacyErrorHelperText
component and replaces it with theFieldErrorText
component for error messages in various forms. It also deletes two unused files:DiagnosisSelect.tsx
andExternalResultLocalbodySelector.tsx
.Proposed Changes
HelperInputFields.tsx
#5762DiagnosisSelect
andExternalResultBodySelector
SwitchV2
to use newerFieldError
(view in: Working Status field of Asset create form)FieldError
in the consultation form's investigation and procedure builderFieldError
in the Doctor Capacity FormUserAutocompleteFormField
instead of old User select for Assigned to field in Shift update form@coronasafe/care-fe-code-reviewers @coronasafe/code-reviewers
Merge Checklist
HOW
🤖 Generated by Copilot at 7debcff
LegacyErrorHelperText
component withFieldErrorText
component to display consistent error messages for form fields (link, link, link, link, link, link, link, link)src/Components/Common/DiagnosisSelect.tsx
andsrc/Components/ExternalResult/ExternalResultLocalbodySelector.tsx
(link, link)