ChildMindInstitute / mindlogger-app

MindLogger (React Native) data collection app
Other
15 stars 6 forks source link

[UI] The unexpected "today." title is shown on the warning after tapping the push notification before the scheduled time #2829

Open natalia-muzyka opened 2 years ago

natalia-muzyka commented 2 years ago

Steps to reproduce

  1. Open a site and log in: https://admin.mindlogger.org/
  2. Open a General calendar of any applet
  3. Add a new event:
    • no access before activity start time
    • activity start time is bigger than the current time (e.g. + 1 hour)
    • activity end time is bigger than the start time
    • notification: notification time is before the activity start time (e.g. current time + 5 minutes)
  4. Save the schedule
  5. Open a mobile app and log in
  6. Open the applet with the schedule
  7. Pay attention to the scheduled event
  8. Wait for the notification
  9. Tap the push notification
  10. Pay attention to the screen

Actual result The unexpected "today." title is shown on the warning after tapping the push notification before the scheduled time

Expected result There is no title shown on the warning after tapping the push notification before the scheduled time

image.png

Environment: iPhone 7 // iOS 13.1.1 Google Pixel 5a // Android 11 ML v0.21.48 staging user-stg@ml.com / 123456 config reports v11 / one-time completion flow ML v0.21.48 prod test-user1@com.us schedule flows / schedule Applet password Qwe123!!!

e-kass commented 2 years ago

Push notifications are currently not being used for Ped Screener

eleonova-scn commented 2 years ago

Reproduced on September 22, 2022.