Skip to content

balena-dashboards 5.0.0

Latest

Choose a tag to compare

@willswire willswire released this 28 Jun 15:22
· 21 commits to master since this release

When looking at some of the recent applications of the project, we found that there are a number of use cases where the load time needed to be improved. For example, when loading a webpage that takes ~5-10 seconds for all of the content to finish loading visibly, a significant amount of view time is wasted (up to a 3rd of the total time for a slide designated to display for 30 seconds!!).

Rather than load 'x' number of URLs within a single browserWindow module within Electron, this release loads a dynamic number of browserWindows and then cycles through them. The difference in load time is astounding.

There are a few number of changes that are breaking, including:

  • Enviroment Variables
    • Word representation of numbers (new naming convention): SLIDE_1 -> SLIDE_ONE or TIME_1 -> TIME_ONE
    • SLIDE variables are now URL variables (see README for clarification)
    • The slide count and time count variables being at ONE and not ZERO
    • Removal of SLIDE_COUNT variable (the number of URLs is dynamically evaluated)
  • Upgrade to Debian Buster and Electron v5.0.0