wps icon indicating copy to clipboard operation
wps copied to clipboard

ASA Go: Create a Visual Cue when Loading Data, or Error, on Mobile

Open NicolasLivanos opened this issue 6 months ago • 9 comments

Describe the task Mobile Loading Indicator

Acceptance Criteria

  • [x] (UX) Spinner should be informative
  • [x] (UX) Spinner should be easy to read on mobile and desktop
  • [ ] Spinner needs to be on every tab
  • [ ] Active on any action that triggers a network call

Additional context

  • Use the Material UI Spinner
  • Map vs other views

NicolasLivanos avatar Jul 16 '25 21:07 NicolasLivanos

Please use the MUI spinner: https://mui.com/material-ui/react-progress/#circular-with-label, and if it's easy enough, double the size of the circle and text. Thanks.

Image

rajpersram avatar Jul 16 '25 23:07 rajpersram

Added component that could be used for both desktop and mobile. Grouped near the 'About this Data' it would show on the top right of the screen. Since loading can sometimes get stuck, there should be a Cancel button to allow the user to return to their current/cached data.

Desktop: https://www.figma.com/design/yGPwOBayMeThQaRpkkZIGx/AutoSpatialAdvisory?node-id=413-4278&t=KghjYH3dhB3KSaCy-4

Mobile: https://www.figma.com/design/yGPwOBayMeThQaRpkkZIGx/AutoSpatialAdvisory?node-id=418-6159&t=KghjYH3dhB3KSaCy-4

For mobile, placed also at top right for consistency but it might be too small especially with the Cancel button to be practical. If so, mobile should have a full screen, semi-opaque dark background with the label, spinner and cancel button centered vertically and horizontally.

https://www.figma.com/design/yGPwOBayMeThQaRpkkZIGx/AutoSpatialAdvisory?node-id=418-6496&t=KghjYH3dhB3KSaCy-4

rajpersram avatar Jul 28 '25 18:07 rajpersram

Also need to account visually for error in loading.

rajpersram avatar Jul 30 '25 20:07 rajpersram

Figma mockup for showing the loading of an individual layer (in the layer switcher), and for showing an error when loading a layer (dismissible)

rajpersram avatar Aug 11 '25 20:08 rajpersram

Raj to look into what OpenLayers offers for UI indications of error in loading a layer.

rajpersram avatar Aug 13 '25 21:08 rajpersram

Error state looks good! Which mockup is the final one for loading? Is it a single loading spinner for all layers?

Assuming there's an error state, what are your thoughts on how the user can retry to get the layer?

brettedw avatar Aug 21 '25 22:08 brettedw

Is there a design for loading states on the report/profile tabs?

brettedw avatar Aug 22 '25 20:08 brettedw