bluewave-labs / bluewave-uptime

BlueWave Uptime Monitor application
https://bluewavelabs.ca/products
GNU Affero General Public License v3.0
252 stars 27 forks source link

Frontend - Loading component #452

Closed danielcj2 closed 1 month ago

danielcj2 commented 1 month ago

There are some skips in the UI when navigating from page to page. Would be a good idea to render a loading spinner component as the fetch operations or other calculations are being completed.

danielcj2 commented 1 month ago

Here is an example (from github). A simple loading spinner with some custom text. image

s-babaeizadeh commented 1 month ago

It is not always a good idea to render a loading spinner and it should be avoided. Instead, using skeleton screens and shimmer effects can significantly enhance the user experience during content loading by creating a more engaging and responsive interface. Skeleton screens serve as placeholders that visually represent the layout of the content that is loading, allowing users to see where information will appear instead of waiting on a static loading spinner. This approach improves perceived performance, keeps users engaged, reduces bounce rates, and provides a smoother transition to fully loaded content. Complementing skeleton screens, shimmer effects add a dynamic animation over the placeholders, capturing user attention and making the loading process feel less tedious.