From 142faba04db621ad97357e931ba69f633bc68bca Mon Sep 17 00:00:00 2001 From: Ben Randall Date: Tue, 28 Jan 2025 04:24:08 -0500 Subject: [PATCH] Update settings button icon on tables to mdi-table-cog. (#23915) Update settings button icon on tables to mdi-table-cog. The cog icon is used in a lot of places to indicate settings and it's generally clear what it's intent is. However, the cog icon used by tables very often appears very close by the triple dots menu or just in the top right corner so it's very easy to mistakenly press that button intending to press the menu button, or to press it when looking for the appropriate settings button. This changes the icon used by these buttons from mdi-code to mdi-table-cog to help clarify the intent of the button. --- src/layouts/hass-tabs-subpage-data-table.ts | 4 ++-- .../developer-tools/statistics/developer-tools-statistics.ts | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/layouts/hass-tabs-subpage-data-table.ts b/src/layouts/hass-tabs-subpage-data-table.ts index 89f135118f..1fffe0ad5f 100644 --- a/src/layouts/hass-tabs-subpage-data-table.ts +++ b/src/layouts/hass-tabs-subpage-data-table.ts @@ -5,7 +5,7 @@ import { mdiArrowDown, mdiArrowUp, mdiClose, - mdiCog, + mdiTableCog, mdiFilterVariant, mdiFilterVariantRemove, mdiFormatListChecks, @@ -309,7 +309,7 @@ export class HaTabsSubpageDataTable extends KeyboardShortcutMixin(LitElement) { @click=${this._openSettings} .title=${localize("ui.components.subpage-data-table.settings")} > - + `; return html` diff --git a/src/panels/developer-tools/statistics/developer-tools-statistics.ts b/src/panels/developer-tools/statistics/developer-tools-statistics.ts index 750eb7cab8..a9e0c938c3 100644 --- a/src/panels/developer-tools/statistics/developer-tools-statistics.ts +++ b/src/panels/developer-tools/statistics/developer-tools-statistics.ts @@ -3,7 +3,7 @@ import { mdiArrowDown, mdiArrowUp, mdiClose, - mdiCog, + mdiTableCog, mdiFormatListChecks, mdiMenuDown, mdiSlopeUphill, @@ -303,7 +303,7 @@ class HaPanelDevStatistics extends KeyboardShortcutMixin(LitElement) { @click=${this._openSettings} .title=${localize("ui.components.subpage-data-table.settings")} > - + `; return html`