Circular progress improvement in update area (#18983)

* Fixes

* Add aria label again
This commit is contained in:
Simon Lamon 2023-12-27 11:07:40 +01:00 committed by GitHub
parent c399da586e
commit a2ffd0ae83
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 2 deletions

View File

@ -109,9 +109,11 @@ class HaConfigUpdates extends SubscribeMixin(LitElement) {
${this.narrow && entity.attributes.in_progress
? html`<ha-circular-progress
indeterminate
size="small"
slot="graphic"
class="absolute"
.ariaLabel=${this.hass.localize(
"ui.panel.config.updates.update_in_progress"
)}
></ha-circular-progress>`
: ""}
<span
@ -131,6 +133,9 @@ class HaConfigUpdates extends SubscribeMixin(LitElement) {
indeterminate
size="small"
slot="meta"
.ariaLabel=${this.hass.localize(
"ui.panel.config.updates.update_in_progress"
)}
></ha-circular-progress>`
: html`<ha-icon-next slot="meta"></ha-icon-next>`
: ""}
@ -191,6 +196,8 @@ class HaConfigUpdates extends SubscribeMixin(LitElement) {
}
ha-circular-progress.absolute {
position: absolute;
width: 40px;
height: 40px;
}
state-badge.updating {
opacity: 0.5;

View File

@ -1709,7 +1709,8 @@
"show_skipped": "Show skipped updates",
"join_beta": "[%key:supervisor::system::supervisor::join_beta_action%]",
"leave_beta": "[%key:supervisor::system::supervisor::leave_beta_action%]",
"skipped": "Skipped"
"skipped": "Skipped",
"update_in_progress": "Update in progress"
},
"repairs": {
"caption": "Repairs",