Skip to content

Add Processing Delay + Timeout for Survey Answers in Health Dashboard #80

@PSchmiedmayer

Description

@PSchmiedmayer

Problem

Currently answering a questionnaire on the health dashboard requires server-side processing to parse the values and add them to Firebase.

Solution

We could display a progress indicator + description for the user while the results are processing. The observation can be based on any changes in the observed Firestore collections.

Ideal placement for the process indicator would have been an async button on submitting the questionnaire. But due to typical RK restrictions we will most likely just have to build a high-level if/else statement to either display the survey or just a full screen progress indicator and description.

Additional context

We should add a 10 second timeout of the server hasn’t processed the results to still return back to the main UI, values might not have been updated by then.

Code of Conduct

  • I agree to follow this project's Code of Conduct and Contributing Guidelines

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

Status

Todo

Relationships

None yet

Development

No branches or pull requests

Issue actions