fhircore icon indicating copy to clipboard operation
fhircore copied to clipboard

Quest: Improve UX for incremental loading of page

Open ekigamba opened this issue 3 years ago • 5 comments

Describe the feature request. The UI for client profiles has been updated to display data incrementally as soon as it's loaded. The UI might momentarily show nothing or display text that there is no data for a specific data point and then show this later on. It's not intuitive that this section is not completely loaded and might need to be updated for this

Additional context

https://user-images.githubusercontent.com/31766075/232784600-ca92ffdf-7535-4e34-beef-7d8d2c4f818d.mp4

Acceptance criteria TBC after consultation with the design team

Area path A list of ordered steps in the app on usage of the feature to support anyone testing it e.g. Code reviewer, QA e.g.

  1. Login to the app
  2. Open Navigation bar
  3. Click on Children register
  4. Click on Mumbi's, F of ~3y profile
  5. Observe the Immunizations at birth

Implementation plan (For Engineers) (TBC) The plan for implementing the solution e.g. via a description or a check list for the various ordered tasks that will need to be completed. i.e. Describe how you intend to solve the problem

ekigamba avatar Apr 18 '23 12:04 ekigamba

This issue requires discussion with the design team to approve the desired UX for the progress bar before adding the acceptance criteria and commencing on the desired enhancements CC @ekigamba @HenryRae

NB. marking as blocked

f-odhiambo avatar Apr 25 '23 06:04 f-odhiambo

What do we want to archive or solve with this type of loader? @ekigamba cc: @ndegwamartin

HenryRae avatar Apr 27 '23 12:04 HenryRae

What do we want to archive or solve with this type of loader? @ekigamba cc: @ndegwamartin

@HenryRae we want to basically avoid surprising the user with new content for the sections that load after the profile page shows at the bottom (see sample video)

One way could be to have a small spinner at the bottom in the white space where the content is meant to render after data load. Then once it loads another spinner below it for the next item. Note, there could be multiple items that show up later.

ndegwamartin avatar Apr 27 '23 13:04 ndegwamartin

@HenryRae to follow up with @ndegwamartin on the next steps for this ticket

f-odhiambo avatar Nov 21 '23 08:11 f-odhiambo

@f-odhiambo for what we have works okay. Further explorations will be done later cc: @ndegwamartin

HenryRae avatar Jan 15 '24 09:01 HenryRae