camicroscope / caMicroscope

Digital pathology image viewer with support for human/machine generated annotations and markups.
BSD 3-Clause "New" or "Revised" License
247 stars 286 forks source link

Adding a loader #868

Closed SanjanaSogimatt closed 5 months ago

SanjanaSogimatt commented 5 months ago

Adding a loading animation on window load

Summary

Built with html nad pure css

Motivation

Whenever it took time to load it always showed a blank white screen hence I added loader to it

https://github.com/camicroscope/caMicroscope/assets/87171143/2584daad-9a62-4427-85c5-c9a8dab73c49

birm commented 5 months ago

This is pretty cool, but I'm curious in your experience about how long this loader is on screen (especially versus the white screen before).

SanjanaSogimatt commented 5 months ago

Well, I loader will be displayed until the window is fully loaded. It has a smooth transition after the window is loaded completely

birm commented 5 months ago

I'll merge this, but I'm still curious how long it lasts for you, especially since for me I don't see the loader for more than what seems like a frame or two.