mirror of
https://github.com/Matysh/houseplan-card
synced 2026-07-31 08:28:31 +00:00
ux v1.33.5: extended tooltips on the editor tabs
This commit is contained in:
@@ -11,7 +11,7 @@ PLANS_DIR = "houseplan/plans" # relative to the HA configuration directory
|
|||||||
FILES_URL = "/houseplan_files/files"
|
FILES_URL = "/houseplan_files/files"
|
||||||
FILES_DIR = "houseplan/files"
|
FILES_DIR = "houseplan/files"
|
||||||
CONF_ADMIN_ONLY = "admin_only"
|
CONF_ADMIN_ONLY = "admin_only"
|
||||||
VERSION = "1.33.4"
|
VERSION = "1.33.5"
|
||||||
|
|
||||||
DEFAULT_CONFIG: dict = {
|
DEFAULT_CONFIG: dict = {
|
||||||
"spaces": [],
|
"spaces": [],
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
@@ -16,5 +16,5 @@
|
|||||||
"issue_tracker": "https://github.com/Matysh/houseplan-card/issues",
|
"issue_tracker": "https://github.com/Matysh/houseplan-card/issues",
|
||||||
"requirements": [],
|
"requirements": [],
|
||||||
"single_config_entry": true,
|
"single_config_entry": true,
|
||||||
"version": "1.33.4"
|
"version": "1.33.5"
|
||||||
}
|
}
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
Vendored
+5
-5
File diff suppressed because one or more lines are too long
@@ -1,5 +1,9 @@
|
|||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
|
## v1.33.5 — 2026-07-22
|
||||||
|
- Editor tabs got extended tooltips explaining what each editor is for (plan
|
||||||
|
geometry vs device icons vs visual decor).
|
||||||
|
|
||||||
## v1.33.4 — 2026-07-22
|
## v1.33.4 — 2026-07-22
|
||||||
- Editing a device no longer makes its icon jump. Changing the HA binding
|
- Editing a device no longer makes its icon jump. Changing the HA binding
|
||||||
(which changes the marker id) migrates the saved position to the new id;
|
(which changes the marker id) migrates the saved position to the new id;
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "houseplan-card",
|
"name": "houseplan-card",
|
||||||
"version": "1.33.4",
|
"version": "1.33.5",
|
||||||
"description": "Interactive house plan Lovelace card for Home Assistant",
|
"description": "Interactive house plan Lovelace card for Home Assistant",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
|
|||||||
@@ -32,7 +32,7 @@ import './space-card';
|
|||||||
import { cardStyles } from './styles';
|
import { cardStyles } from './styles';
|
||||||
import { langOf, t, type I18nKey } from './i18n';
|
import { langOf, t, type I18nKey } from './i18n';
|
||||||
|
|
||||||
const CARD_VERSION = '1.33.4';
|
const CARD_VERSION = '1.33.5';
|
||||||
const LS_KEY = 'houseplan_card_layout_v1';
|
const LS_KEY = 'houseplan_card_layout_v1';
|
||||||
const LS_CFG = 'houseplan_card_cfg_v1'; // cache of the server config+layout for instant rendering
|
const LS_CFG = 'houseplan_card_cfg_v1'; // cache of the server config+layout for instant rendering
|
||||||
const LS_ZOOM = 'houseplan_card_zoom_v1';
|
const LS_ZOOM = 'houseplan_card_zoom_v1';
|
||||||
@@ -2835,7 +2835,7 @@ class HouseplanCard extends LitElement {
|
|||||||
? html`<div class="modes">
|
? html`<div class="modes">
|
||||||
${([['plan', 'mdi:floor-plan'], ['devices', 'mdi:tune-variant'], ['decor', 'mdi:draw']] as const).map(
|
${([['plan', 'mdi:floor-plan'], ['devices', 'mdi:tune-variant'], ['decor', 'mdi:draw']] as const).map(
|
||||||
([m, ic]) => html`<button class="modetab ${this._mode === m ? 'active' : ''}"
|
([m, ic]) => html`<button class="modetab ${this._mode === m ? 'active' : ''}"
|
||||||
title=${this._t(('mode.' + m) as any)}
|
title=${this._t(('mode.' + m + '_tip') as any)}
|
||||||
@click=${() => { if (this._mode !== m) this._setMode(m); }}>
|
@click=${() => { if (this._mode !== m) this._setMode(m); }}>
|
||||||
<ha-icon icon=${ic}></ha-icon><span class="ml">${this._t(('mode.' + m) as any)}</span>
|
<ha-icon icon=${ic}></ha-icon><span class="ml">${this._t(('mode.' + m) as any)}</span>
|
||||||
${this._mode === m
|
${this._mode === m
|
||||||
|
|||||||
+4
-1
@@ -278,5 +278,8 @@
|
|||||||
"decor.size_s": "Small",
|
"decor.size_s": "Small",
|
||||||
"decor.size_m": "Medium",
|
"decor.size_m": "Medium",
|
||||||
"decor.size_l": "Large",
|
"decor.size_l": "Large",
|
||||||
"marker.icon_auto": "Auto: {icon} (by icon rules; pick one to override)"
|
"marker.icon_auto": "Auto: {icon} (by icon rules; pick one to override)",
|
||||||
|
"mode.plan_tip": "Plan editor — the geometry of the home: draw and split/merge rooms, bind them to HA areas, place doors and windows, move room cards, set the scale",
|
||||||
|
"mode.devices_tip": "Device editor — everything about icons: drag to position, click to edit binding/icon/display, add virtual devices, icon rules",
|
||||||
|
"mode.decor_tip": "Background editor — purely visual decor under the plan: lines, rectangles, ovals and text labels that never react to clicks"
|
||||||
}
|
}
|
||||||
|
|||||||
+4
-1
@@ -278,5 +278,8 @@
|
|||||||
"decor.size_s": "Мелкий",
|
"decor.size_s": "Мелкий",
|
||||||
"decor.size_m": "Средний",
|
"decor.size_m": "Средний",
|
||||||
"decor.size_l": "Крупный",
|
"decor.size_l": "Крупный",
|
||||||
"marker.icon_auto": "Авто: {icon} (по правилам иконок; выберите свою, чтобы заменить)"
|
"marker.icon_auto": "Авто: {icon} (по правилам иконок; выберите свою, чтобы заменить)",
|
||||||
|
"mode.plan_tip": "Редактор плана — геометрия дома: рисование и объединение/разделение комнат, привязка к зонам HA, двери и окна, карточки комнат, масштаб",
|
||||||
|
"mode.devices_tip": "Редактор устройств — всё про значки: перетаскивание, клик — настройка привязки/иконки/отображения, виртуальные устройства, правила иконок",
|
||||||
|
"mode.decor_tip": "Редактор подложки — чисто визуальный декор под планом: линии, прямоугольники, овалы и надписи, не реагирующие на клики"
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user