Add loading text for long-running integration install step (#4378)

* Added optional label for dialog-data-entry-flow

* Use correct loading element

* Update src/translations/en.json

Co-Authored-By: Bram Kragten <mail@bramkragten.nl>

* Minor template adjustment

* Revert accidental change of PR templates

* Revert accidental change of PR templates

Co-authored-by: Bram Kragten <mail@bramkragten.nl>
This commit is contained in:
Olivér Falvai
2020-03-18 17:00:08 +01:00
committed by GitHub
parent 6b2e707653
commit a8d21c6112
3 changed files with 15 additions and 2 deletions

View File

@@ -130,7 +130,11 @@ class DataEntryFlowDialog extends LitElement {
>
${this._loading || (this._step === null && this._handlers === undefined)
? html`
<step-flow-loading></step-flow-loading>
<step-flow-loading
.label=${this.hass.localize(
"ui.panel.config.integrations.config_flow.loading_first_time"
)}
></step-flow-loading>
`
: this._step === undefined
? // When we are going to next step, we render 1 round of empty