ChildMindInstitute / mindlogger-app

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

Start event time is displayed on the activity card instead of the end time after saving activity with the default time range #2846

Open natalia-muzyka opened 1 year ago

natalia-muzyka commented 1 year ago

Preconditions User is logged in on the admin panel Mobile app is installed and launched, user is logged in

Steps to reproduce

  1. Open the site
  2. Open the applet General calendar
  3. Add a new event:
    • Select an activity
    • Turn off the "Always available" toggle
    • Turn off the "All day" toggle
  4. Save the event card and schedule
  5. Refresh the app
  6. Proceed to the applet with the scheduled event
  7. Pay attention to the end time on the event card

Actual result Start event time is displayed on the activity card instead of the end time after saving activity with the default time range

Expected result End event time is displayed on the activity card after saving activity with the default time range: If the end time is 11:59 PM then show "To Midnight" on the activity card.

Video: https://www.screencast.com/t/9duPLPI9j

Notes: Reproduced on website as well

image.png

image.png

Environment: https://admin.mindlogger.org/ https://admin-staging.mindlogger.org/ Win 10 / Chrome 103 ML v0.21.48 staging, prod iPhone 7 // iOS 13.1.1 Google Pixel 5a // Android 11 Samsung Galaxy Tab S6 SM-T865 // Android 9.0 Apple iPad 9th gen (2021) / iOS 15.5 prod account: test-user1@com.us / qwerty applet: Schedule staging account: user-stg@ml.com / 123456 applet: New applet Applet password: Qwe123!!!

e-kass commented 1 year ago

Not used in Ped Screener