Skip to content
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

Doctor #6913

Closed
wants to merge 2 commits into from
Closed

Doctor #6913

wants to merge 2 commits into from

Conversation

shramanpaul
Copy link
Contributor

Proposed Changes

  • Fixes Patient Notes UX improvement #6824

  • Change 1 : submit by pressing enter on the keyboard

  • Change 2 : have a draft feature for the messages that were typed and not posted (this should also fix the issue of typed message going away when going full screen or vice versa)

@coronasafe/care-fe-code-reviewers @coronasafe/code-reviewers

Merge Checklist

carefe.mp4

please have a review @rithviknishad

@shramanpaul shramanpaul requested a review from a team as a code owner December 25, 2023 19:52
Copy link

vercel bot commented Dec 25, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
care-storybook ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 25, 2023 7:53pm

Copy link

netlify bot commented Dec 25, 2023

Deploy Preview for care-egov-staging failed.

Name Link
🔨 Latest commit 1f54553
🔍 Latest deploy log https://app.netlify.com/sites/care-egov-staging/deploys/6589dd72e8746d00087bcf71

Copy link

netlify bot commented Dec 25, 2023

Deploy Preview for care-net failed.

Name Link
🔨 Latest commit 1f54553
🔍 Latest deploy log https://app.netlify.com/sites/care-net/deploys/6589dd7235378900080f0622

Copy link
Member

@rithviknishad rithviknishad left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Check how TextFormField is used in other places. We are using custom components that has slightly different interface from the standard HTML input elements' interface.

@@ -61,7 +61,7 @@ const TextFormField = forwardRef((props: TextFormFieldProps, ref) => {
required={field.required}
onFocus={props.onFocus}
onBlur={props.onBlur}
onChange={(e) => field.handleChange(e.target.value)}
onChange={props.onChange}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why was this changed?

This would break all of the other existing usages of the text form field in the platform.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Revert the package lock changes too

Copy link
Member

@rithviknishad rithviknishad left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@shramanpaul you can ignore the keyboard shortcut feature as it's already covered correctly in #6915

@rithviknishad
Copy link
Member

It'd also be nice to change the PR title to be something more appropriate to the changes you've made.

@shramanpaul
Copy link
Contributor Author

Ok @rithviknishad then i will be making a new PR with the proposed changes and will be linking this pr along with it.

@github-actions github-actions bot added the merge conflict pull requests with merge conflict label Dec 28, 2023
Copy link

👋 Hi, @shramanpaul,
Conflicts have been detected against the base branch. Please rebase your branch against the base branch.


This message is automatically generated by prince-chrismc/label-merge-conflicts-action so don't hesitate to report issues/improvements there.

@rithviknishad
Copy link
Member

Closing as alt. #6932

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
changes required Deploy-Failed Deplyment is not showing preview merge conflict pull requests with merge conflict
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Patient Notes UX improvement
2 participants