ChildMindInstitute / mindlogger-app

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

Mobile app dashboard stops refreshing after reordering the activities in the flow #2731

Closed natalia-muzyka closed 2 years ago

natalia-muzyka commented 2 years ago

Mobile app dashboard stops refreshing after reordering the activities in the flow. The activity flow is not updated (order of the activities in the flow). Activities content is not updated after refreshing as well. After an attempt to submit the answers with the old version the mobile app crashes. Changes are shown only after logging out/logging in.

Expected result: Mobile app dashboard keeps refreshing if user swipes down on the home screen after changes in the activity flow. @WorldImpex , need to confirm the next: If something was changed/updated in the activities or in the activity flow then the flow should be reset after refreshing the dashboard and the first activity in the flow should be shown.

Video: https://www.screencast.com/t/fHIJraNgEO6

Environment: https://admin-dev.mindlogger.org/ v0.17.12 Win 10 / Chrome 103 user3-dev@ml.com / 123456 activity flow 2 ML v0.21.28 dev iPhone 7 // iOS 13.1.1 Google Pixel 5a // Android 11 user3-dev@ml.com / 123456 Activity Flow 4 Applet password Qwe123!!!

WorldImpex commented 2 years ago

@natalia-muzyka Agreed

natalia-muzyka commented 2 years ago

Blocker: https://app.zenhub.com/workspaces/mindlogger-webapp-5e11094d0c26311588da9626/issues/childmindinstitute/mindlogger-app/2768

MaksimYurys commented 2 years ago

Verified as fixed.

Video: https://images.zenhubusercontent.com/103405139/b74d5c92-2e52-4748-9506-02113ec4a7d4/2022_07_14_14_52_09_actflow_.mp4

Environment: https://admin-staging.mindlogger.org/ Win 10 / Chrome 103 iPhone 8 // iOS 14.7.1 Samsung Galaxy S8 // Android 8 ML 0.21.38 staging JhoneeMind@gmail.com // Qqww!123 applet - appletflow // Qqww!123