Skip to content

Invoke detailed loading screens on First Login #278

@simongamester

Description

@simongamester

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions