When users log into Helm for the first time, there may be a delay between 10 and 120 seconds whilst records are retrieved. We have updated the spinner to include a progress bar and top tips during this waiting period, however these changes will remain hidden by default.
3 new classes can be added to the body class along to set the behaviour:
- "progress-short" OR "progress-long" is used to determine the speed of the progress bar i.e. 5 seconds or 120 section to fill up
- "with-tips" Shows the top tips, a slideshow of 10 health tips. It also displays the short progress bar by default.
Below is an example of the short loading progress bar with tips. Body class is: "loading with-tips progress-short"
http://jsfiddle.net/rootsol/eo15umbn/3/
Below is an example of the long loading progress bar with tips. Body class is: "loading with-tips progress-long"
http://jsfiddle.net/rootsol/eo15umbn/4/
The application already sets the "loading" class when first logging in. We therefore need to add "with-tips" and "progress-long" ONLY when the user first logs in. If the loader is called elsewhere, these classes should not be added, which would default back to displaying just the spinner.
When users log into Helm for the first time, there may be a delay between 10 and 120 seconds whilst records are retrieved. We have updated the spinner to include a progress bar and top tips during this waiting period, however these changes will remain hidden by default.
3 new classes can be added to the body class along to set the behaviour:
Below is an example of the short loading progress bar with tips. Body class is: "loading with-tips progress-short"
http://jsfiddle.net/rootsol/eo15umbn/3/
Below is an example of the long loading progress bar with tips. Body class is: "loading with-tips progress-long"
http://jsfiddle.net/rootsol/eo15umbn/4/
The application already sets the "loading" class when first logging in. We therefore need to add "with-tips" and "progress-long" ONLY when the user first logs in. If the loader is called elsewhere, these classes should not be added, which would default back to displaying just the spinner.