-
Notifications
You must be signed in to change notification settings - Fork 426
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
Add field validation to resolve the Update Profile Issue #8809
Add field validation to resolve the Update Profile Issue #8809
Conversation
✅ Deploy Preview for care-ohc ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
…t for cleaner comparison logic
…vidSumra/care_fe into issues/8804/profile-update-validation
@JavidSumra fix the failing cypress test |
Hi @nihal467 Sir, I ran all the test cases locally, and only one test case from the |
@nihal467 the failing specs are majorly not related to this PR. Do check it out. |
…vidSumra/care_fe into issues/8804/profile-update-validation
…vidSumra/care_fe into issues/8804/profile-update-validation
👋 Hi, @JavidSumra, This message is automatically generated by prince-chrismc/label-merge-conflicts-action so don't hesitate to report issues/improvements there. |
Hey @nihal467 can you please check updates in test cases now it's passing all the test cases. |
Hey @nihal467 can you please help me to debug why test cases are failing so I can fix Accordingly |
LGTM |
👋 Hi, @JavidSumra, This message is automatically generated by prince-chrismc/label-merge-conflicts-action so don't hesitate to report issues/improvements there. |
…804/profile-update-validation
…vidSumra/care_fe into issues/8804/profile-update-validation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@JavidSumra Your efforts have helped advance digital healthcare and TeleICU systems. 🚀 Thank you for taking the time out to make CARE better. We hope you continue to innovate and contribute; your impact is immense! 🙌 |
Hey @bodhish can you please assign 2 story point for this? |
Done |
Proposed Changes
This PR introduces logic to disable the "Update" button on the profile update page when no changes are detected in the form fields. The useMemo hook compares the current form values with the user's existing data and detects any modifications.
@ohcnetwork/care-fe-code-reviewers
Demo Video
Click here to watch the demo video
Merge Checklist