uoForms / App-CANBeWell

https://canbewell-2022-prod.web.app/
MIT License
10 stars 16 forks source link

Automatically pop-up survey #861

Closed mooesy closed 1 month ago

mooesy commented 4 months ago

Short-term fix: When we click "close" or "x" on a content pop-up window, automatically launch the feedback link in a new browser tab. This happens only the first time they hit "close" or "x."

Long-term fix: Pop up a dialog box first, see attached screenshot for Eng & Fr. Ask them if they want to go to the survey. If they say no, continue to pop up the dialog box until they hit close. If they say yes, launch the feedback link in a new browser tab, and STOP popping up the dialog when they hit close.

mooesy commented 4 months ago

English screenshot: Screenshot 2024-06-04 094229

French screenshot: Screenshot 2024-06-04 094237

DayanaK15 commented 3 months ago

image

DayanaK15 commented 3 months ago

image

DayanaK15 commented 3 months ago

FR text: Nous voulons savoir ce que vous pensez! SVP répondre à ce sondage anonyme d’1 minute, et nous aider à améliorer l’ application pour tout le monde. Répondre au sondage Non merci

ENG text: We want to hear what you think! Please take this 1 minute anonymous survey to help us improve the app Take Survey No, Thank You

DayanaK15 commented 3 months ago

https://www.figma.com/design/dRfWyqZP08LNJs3vpk3ZEn/Untitled?m=dev&node-id=0-1&t=zm8rrPeQP7uMisFh-1 you may request access. lmk if i need to approve it

mooesy commented 3 months ago

Thank you team! I've performed the first round of regression tests. Here are the results:

Functionality:

Issue(s) encountered:

image

The blue color should be #0089B5.

Quality-of-Life suggestions:

DayanaK15 commented 3 months ago

 NEW FRENCH TEXT: SVP répondre à ce sondage anonyme, durée 1 minute, et nous aider à améliorer l’application pour tout le monde.

DayanaK15 commented 3 months ago

image

mooesy commented 3 months ago

New design for the pop-up box according to Dr. Cleo:

image

image

English:

We want to hear what you think! • Please take 2 minutes to complete a brief, anonymous survey to help us improve the app. • Your answers will help us understand health information needs in the community. • The survey is completely anonymous. None of the information you provide can be used to identify you.

Take Survey No Thank You

French:

Nous voulons savoir ce que vous pensez! • SVP prendre 2 minutes pour répondre à un bref sondage anonyme qui nous aidera à améliorer l'application. • Vos réponses nous aideront à comprendre les besoins de la communauté enmatière d'information sur la santé. • Le sondage est totalement anonyme. Aucune des informations que vousfournissez ne peut être utilisée pour vous identifier.

Répondre au sondage Non merci

DayanaK15 commented 3 months ago

image

DayanaK15 commented 3 months ago

Black text - 16px Grey text (818285) - 14px

DayanaK15 commented 3 months ago

image

mooesy commented 3 months ago

The regression test has been completed, here's the result FYI:


Functionality:

Safari (Webkit): Working as expected. Tested on an iPhone 14 Pro running iOS 18 Developer Beta 2 & iOS 17.6 Chromium: Working as expected. Tested on Microsoft Edge 127.0.2651.15 on a Windows 11 23H2 PC. Firefox: Working as expected. Tested on Mozilla Firefox 127.0.2 on a Windows 11 23H2 PC.


Issue(s) encountered:

None.


Quality-of-Life suggestions:

  1. The "Non Merci" on the French page shows as 2 rows on non-Max iPhone models or smaller:

Screenshot 2024-06-27 220718

Suggestion: Use a smaller font on the buttons.

  1. The "close" button shows as a different shape on Safari (Webkit) based browsers:

image

This is also the case on Firefox browsers:

Screenshot 2024-06-27 221436