You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The dismissing of messages related to health measurements and questionnaire responses is dependent on cloud functions that might take a few seconds to complete. Until then, the messages on the Home Screen are not dismissed but also don't show any indication that calculations are happening in the background.
Solution
Add some custom logic around the messages related to questionnaires & health measurements and display a progress indicator for about 1 minute after new values have been submitted.
Additional context
The implementation could be very simple, using a variable in the relevant messages manager that stores the last recorded health measurement & questionnaire. If the date is less than a minute away we show a progress indicator on the relevant messages & possible a small message indicating that the measurements are processed.
Code of Conduct
I agree to follow this project's Code of Conduct and Contributing Guidelines
The text was updated successfully, but these errors were encountered:
I took a look at this issue - I'd propose to introduce a new processing state to track submitted measurements and questionnaire responses, implement a simple one-minute display, and extend our Messages implementation to show a nice loading indicator. This solution aligns well with the design pattern using the nice capsulestyle elements we already have in MessageRow, and also integrates well with our existing NotificationManager for handling edge cases.
As I see right now it, the changes would have effects on three areas: extending Message model for processing state tracking, showing a loading UI in MessageRow, and adding proper progress states to our submission functions like addMeasurement and questionnaire responses.
Any comments on this approach or should I start building @PSchmiedmayer and we take a look at the result?
Problem
The dismissing of messages related to health measurements and questionnaire responses is dependent on cloud functions that might take a few seconds to complete. Until then, the messages on the Home Screen are not dismissed but also don't show any indication that calculations are happening in the background.
Solution
Add some custom logic around the messages related to questionnaires & health measurements and display a progress indicator for about 1 minute after new values have been submitted.
Additional context
The implementation could be very simple, using a variable in the relevant messages manager that stores the last recorded health measurement & questionnaire. If the date is less than a minute away we show a progress indicator on the relevant messages & possible a small message indicating that the measurements are processed.
Code of Conduct
The text was updated successfully, but these errors were encountered: