chore(monolith): raise bundleBytes for the r1 LED fixes (#780)

bundleBytes 2 667 879 → 2 670 566 (+2 687, over the 2 000 band): the value
badge of a strip on the card and on the static card, the visibility gate
before import(), the release of a card's LED caches on disconnect and the
cache statistics of the lazy runtime/field chunks (r1 M1, M4, M5). The
badge method moves below `_renderDevice`, outside the vacuum section the
isometric contract reads. The review index is rebuilt after the rebase.

Issue: #780
User-Visible: no
This commit is contained in:
Codex
2026-10-02 20:58:11 +03:00
parent e447364636
commit a20ef2b9b0
3 changed files with 13 additions and 12 deletions
+10 -10
View File
@@ -11807,16 +11807,6 @@ export class HouseplanCard extends LitElement {
${pucks}`;
}
/** #780 r1 M1: the value badge of a strip, passive, at its anchor (`_pos`). */
private _ledBadge(d: DevItem, view: { x: number; y: number; w: number; h: number }, iso?: IsoOverlayPlacement) {
const presentation = this._devicePresentation(d, false);
const face = presentation.haDisabled ? nothing : renderDeviceShadowFace(presentation);
if (face === nothing) return nothing;
const pos = this._pos(d), point = iso?.visualScene ?? [pos.x, pos.y];
return html`<div class="dev led-badge ${deviceThemeClass(this._renderPlanHass)}" data-led-badge=${d.id} aria-hidden="true"
style="left:${((point[0] - view.x) / view.w) * 100}%;top:${((point[1] - view.y) / view.h) * 100}%">${face}</div>`;
}
private _renderDevice(
d: DevItem,
view: { x: number; y: number; w: number; h: number },
@@ -11903,6 +11893,16 @@ export class HouseplanCard extends LitElement {
</div>`;
}
/** #780 r1 M1: the value badge of a strip, passive, at its anchor (`_pos`). */
private _ledBadge(d: DevItem, view: { x: number; y: number; w: number; h: number }, iso?: IsoOverlayPlacement) {
const presentation = this._devicePresentation(d, false);
const face = presentation.haDisabled ? nothing : renderDeviceShadowFace(presentation);
if (face === nothing) return nothing;
const pos = this._pos(d), point = iso?.visualScene ?? [pos.x, pos.y];
return html`<div class="dev led-badge ${deviceThemeClass(this._renderPlanHass)}" data-led-badge=${d.id} aria-hidden="true"
style="left:${((point[0] - view.x) / view.w) * 100}%;top:${((point[1] - view.y) / view.h) * 100}%">${face}</div>`;
}
/**
* The dock says out loud that the moving robot is drawn nowhere (#162).
*