Hola,
Primero, ¡enhorabuena por esta versión 5 refrescante, muy agradable
Dicho esto, tengo un pequeño problema con el widget de temperatura:
Aquí está la vista previa al editar:
y el resultado en el panel de control una vez validado:
No creo que este sea el funcionamiento normal, ¿a confirmar?
¡Muchas gracias y buen fin de semana a todos!
mutmut
29 Agosto, 2026 14:19
2
No sé si es normal o no, pero si este widget ocupa demasiado espacio en altura, obtendrás este resultado.
Yo diría que el resultado debería ser casi el mismo que en la edición, pero con un centrado vertical. Veremos qué tal queda.
De hecho no hay mucho espacio, incluso hay un ascensor vertical, eso es lo que me sorprende:
Gracias por la respuesta, lo miro
si esto puede ayudar, creo que el problema solo ocurre en la primera columna, ya que al mover una de las dos temperaturas a la columna de la derecha, se muestra correctamente y la segunda queda más deformada:
¡Hola a todos!
Este tema ahora está en desarrollo .
Se ha abierto una PR para que las baldosas de temperatura permanezcan compactas en una columna mixta, como en el editor:
master ← claude/widget-temperature-bug-trymx0
ouvert 02:55PM - 29 Aug 26 UTC
### Description
Fixes the temperature-widget anomaly reported on the forum: a t… emperature tile validated **compact** on the editor canvas came out as a **big centered tile** on the dashboard.
**Root cause.** In a mixed column (temperature tiles above device lists), a value tile absorbed the leftover height of its column, and whether that absorption crossed the adaptive big-tile threshold (the 130px container query in `roomTile.css`) depended on the exact height balance of the section's columns. The editor canvas cannot reproduce that balance: every widget wears ~4rem of edit chrome there (toolbar + in-between "+" slot), so a column's height on the canvas is shifted by its *widget count*. In the reported layout (4 widgets in the tile column vs 2 in its taller neighbor) the canvas showed the compact row while the dashboard rendered the big tile — reproduced pixel-for-pixel with a demo-mode dashboard mirroring the reporter's layout (viewer: 108px big tile / editor: 96px compact row before the fix).
**Fix.** Value tiles now share leftover height only when *every* box of their column is a value tile (`canBoxStretchInColumn` in `utils/dashboardSections.js`, used by both `BoxColumns.jsx` and `EditBoxColumns.jsx`) — which is the design's stated target for tile sharing in the layout spec. The decision becomes structural (column composition), so the viewer and the canvas apply it identically without measuring anything:
- **Mixed column** (the reported case): the tile keeps the compact card the editor showed, and the column simply ends earlier, per the existing cap principle ("stretch is a shock absorber, not an elastic").
- **All-tile columns** — including the flagship case of a lone tile next to a taller column — keep the adaptive big-tile behavior, now in *both* modes (verified: big centered tiles in viewer and editor alike).
The spec (`docs/specs/dashboard-flexible-layout-and-widgets.md`, A.4) is updated accordingly.
Verified in demo mode with Playwright before/after on three layouts: the reporter's mixed-column layout, an all-tile control section, and the demo Comfort dashboard (unchanged).
## Forum
Forum: https://community.gladysassistant.com/t/anomalie-widget-temperature/10753
### Checklist
- [x] Tests pass: no server change (front-only); front has no unit tests for this path — verified with Playwright against the demo build as described above
- [x] Linter and prettier pass on both front and server (`npm run eslint`, `npx prettier --check` on the changed files: 0 errors)
- [x] No undocumented breaking change (spec updated in the same commit)
🤖 Generated with [Claude Code](https://claude.com/claude-code)
https://claude.ai/code/session_014ghvnJztuj9YZQZF8zcpCf
---
_Generated by [Claude Code](https://claude.ai/code/session_014ghvnJztuj9YZQZF8zcpCf)_
## Summary by CodeRabbit
* **Bug Fixes**
* Improved dashboard layout behavior for value tiles in mixed columns.
* Value tiles now remain compact when displayed above device lists or other box types.
* Value tiles stretch to fill remaining column height only when the entire column contains value tiles.
* **Documentation**
* Updated dashboard layout specifications to document the selective stretching behavior.
No duden en seguir la PR, probar (opcional, especialmente para pequeñas solicitudes) y dar sus comentarios aquí si es necesario.
mutmut
29 Agosto, 2026 17:38
7
Efectivamente, parece que está en la primera y última en mi caso: