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

Update Click to chat button for WhatsApp #7396

Merged
merged 1 commit into from
Mar 19, 2024
Merged

Update Click to chat button for WhatsApp #7396

merged 1 commit into from
Mar 19, 2024

Conversation

Ashesh3
Copy link
Member

@Ashesh3 Ashesh3 commented Mar 12, 2024

This pull request updates the logic for connecting with WhatsApp in the DoctorVideoSlideover component. It adds a new function called connectOnWhatsApp that handles the click event and sends a WhatsApp message to the doctor with a query regarding a patient. The function checks if the user has an alternative phone number and opens the WhatsApp app or WhatsApp Web accordingly. It also includes a fallback to open WhatsApp Web if the app launch fails.

Fixes #7239

Copy link

vercel bot commented Mar 12, 2024

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 Mar 12, 2024 10:54am

@Ashesh3 Ashesh3 requested a review from a team as a code owner March 12, 2024 10:53
Copy link

netlify bot commented Mar 12, 2024

Deploy Preview for care-egov-staging ready!

Name Link
🔨 Latest commit a301959
🔍 Latest deploy log https://app.netlify.com/sites/care-egov-staging/deploys/65f0343cf51d3a000849de00
😎 Deploy Preview https://deploy-preview-7396--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 configuration.

@Ashesh3 Ashesh3 changed the title Update "connect with whatsapp" logic Update Click to chat button for WhatsApp Mar 12, 2024
Copy link

cypress bot commented Mar 12, 2024

Passing run #2246 ↗︎

0 111 0 0 Flakiness 0

Details:

Update "connect with whatsapp" logic
Project: CARE Commit: a301959781
Status: Passed Duration: 03:10 💡
Started: Mar 12, 2024 10:58 AM Ended: Mar 12, 2024 11:01 AM

Review all test suite changes for PR #7396 ↗︎

@nihal467
Copy link
Member

LGTM

@nihal467 nihal467 added tested reviewed reviewed by a core member and removed needs testing needs review labels Mar 19, 2024
@khavinshankar khavinshankar merged commit 1451d43 into develop Mar 19, 2024
67 of 69 checks passed
@khavinshankar khavinshankar deleted the wp-connect branch March 19, 2024 11:34
Copy link

@Ashesh3 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! 🙌

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
reviewed reviewed by a core member tested
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Auto-close WhatsApp Redirect Tabs to Prevent Browser Clutter in Doctor Connect Feature
4 participants