jackolney / baldr

Epidemiological modelling in R
https://jackolney.github.io/baldr/
MIT License
3 stars 0 forks source link

Progress indicator when compiling and running model #23

Open richfitz opened 6 years ago

richfitz commented 6 years ago

I have no idea how one implements shiny things. But the it would be good to have an indicator (perhaps an element in a corner) that indicates when the model is compiling and when it is running. For the simple case here it's basically instantaneous but for more complex cases it would be nice to convey what is going on

richfitz commented 6 years ago

The other step that seems to take a nontrivial time is the actual plot prep. So the status would cycle through

  1. compiling
  2. running
  3. plotting
  4. <vanishes>
jackolney commented 6 years ago

Shiny Progress bars are a thing.

Super easy to implement too (plus you can jazz them up with some CSS)