Constructor
new MeanBuildTimesController()
Extends
- Controller
Methods
alertColor()
Return the color depending on the time in relation to the KPI
calculateMeanBuildTime()
connect()
Subscribe to the store.
disconnect()
Unsubscribe from the store
disconnect()
Unsubscribe from the store
loadingMeanBuildTimesValue()
Sets the text whilst waiting for the mean build time
reconnect()
Handles a repeated Turbo visit to the dashboard page.
removeAlertColors()
Remove all of the color classes for the mean build time
storeUpdated()
Triggered by the store whenever any store data changes. Controls whether the mean build time should be populated or display the loading indicator
updateMeanBuildTimesValue()
Sets the text for the mean build time and changes the color to match the KPI