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

Fix initial state of Create Shift form #5751

Merged
merged 1 commit into from
Jun 22, 2023
Merged

Fix initial state of Create Shift form #5751

merged 1 commit into from
Jun 22, 2023

Conversation

rithviknishad
Copy link
Member

@rithviknishad rithviknishad commented Jun 22, 2023

WHAT

🤖 Generated by Copilot at 94ad7e9

This pull request improves the phone number input and validation in the ShiftCreate component. It changes the default values for shifting_approving_facility_contact_number and assigned_facility_contact_number in src/Components/Patient/ShiftCreate.tsx.

Proposed Changes

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

Merge Checklist

  • Add specs that demonstrate bug / test a new feature.
  • Update product documentation.
  • Ensure that UI text is kept in I18n files.
  • Prep screenshot or demo video for changelog entry, and attach it to issue.
  • Request for Peer Reviews
  • Completion of QA

HOW

🤖 Generated by Copilot at 94ad7e9

  • Change the default value of refering_facility_contact_number to "+91" to indicate the country code for India (link)
  • Fix the validation error for ambulance_phone_number by setting its default value to undefined (link)

@rithviknishad rithviknishad added urgent P1 breaking issue or vital feature labels Jun 22, 2023
@rithviknishad rithviknishad requested a review from a team June 22, 2023 05:29
@rithviknishad rithviknishad requested a review from a team as a code owner June 22, 2023 05:29
@vercel
Copy link

vercel bot commented Jun 22, 2023

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

Name Status Preview Updated (UTC)
care-storybook ✅ Ready (Inspect) Visit Preview Jun 22, 2023 5:29am

@netlify
Copy link

netlify bot commented Jun 22, 2023

Deploy Preview for care-egov-staging ready!

Name Link
🔨 Latest commit 94ad7e9
🔍 Latest deploy log https://app.netlify.com/sites/care-egov-staging/deploys/6493dc2240136600087dbdb4
😎 Deploy Preview https://deploy-preview-5751--care-egov-staging.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@github-actions github-actions bot added the cypress failed pull request with cypress test failure label Jun 22, 2023
@nihal467
Copy link
Member

LGTM

@khavinshankar khavinshankar merged commit 01ea8f7 into develop Jun 22, 2023
@khavinshankar khavinshankar deleted the fix-5744 branch June 22, 2023 11:10
@github-actions
Copy link

@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 🙌.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cypress failed pull request with cypress test failure P1 breaking issue or vital feature tested urgent
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Phone number field is malfunctioning in shift create form
3 participants