ChildMindInstitute / mindlogger-app

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

Update Confirmation Screen for Activity Flow #2598

Closed WorldImpex closed 2 years ago

WorldImpex commented 2 years ago

As a user, I want the next activity to be started when completing the first one so that I do not have to click so many times between activities in a flow

Requirements

natalia-muzyka commented 2 years ago

@WorldImpex could you clarify more on the removing back button, please? Let's say we have the next flow: Activity A -> Activity B Currently, if the "remove back button" is not activated anywhere in Activity A and user hits "back" on the interim screen, he/she is moved back to the very first Activity A screen. Could you confirm if my expectations are correct, please: it doesn't matter where the "remove back button" is activated in "Activity A" - if it is activated somewhere in the activity, then the "Back" button should be removed on the interim screen.

WorldImpex commented 2 years ago
  1. If the "remove back button" is turned on for an activity, then the back button is removed from the interim screen
  2. If the "remove back button" is turned off for an activity, then the back button is shown on the interim screen
  3. If the user selects the back button on the interim screen, then the last question should be shown
natalia-muzyka commented 2 years ago

Implemented as per the requirements.

Environment: ML v0.21.48 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