krischer / jane

Jane - Document Database for Seismology
http://krischer.github.io/jane
GNU General Public License v3.0
27 stars 9 forks source link

GIS should show some information while loading events/stations #70

Open megies opened 6 years ago

megies commented 6 years ago

For DBs with lots of events, it can take a considerable amount of time until events are loaded. To the user it is currently not at all visible that some data assembly is still going on. The page just states Total events in Catalog: 0 until events are loaded by the DB. I think it would be better to display some other message there maybe even in red, something like Loading events, please wait....

krischer commented 6 years ago

The message would be fairly simple to show but the better way would be to cache the request of all events - otherwise this of course takes a fairly long time.

megies commented 4 years ago

The following is showing a spinner icon in various places where data is still being loaded, could be backported to master here: https://github.com/megies/jane/compare/3ed73348be8a4f7e12b77e522ed836f78ef883a7...fe5e17875a6cf34425affc79318dea9c5ff4fe22