feat(portal): full-width smart-home dashboard redesign - #216
Merged
Conversation
…erved Target-temp SVG ring (r=52, 16-30 range) + text mode-segment + i18n stepper aria-labels, replacing the old conic-gradient ring and icon mode buttons. All existing data-act/data-mode controls (fan, fan-auto, turbo, eco, outdoor) keep their markup and event wiring unchanged.
Restyle the SmartHome widget markup to the mockup's .sh-tile/.toggle/ .sh-sensors/.sensor language (device toggles as role=switch pills, sensors as a plain tile row) while keeping container IDs, data fields, and the control/state endpoints unchanged.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Vollbreites „Smart-Home-Zentrale"-Redesign der Portalseite. Umgesetzt via Spec → Plan → subagent-getriebene TDD-Tasks; jeder Task einzeln reviewt, plus finaler Whole-Branch-Review (GO).
Mockup (Design-Referenz): https://claude.ai/code/artifact/07f1d9f7-c768-4b40-ab9a-482c37bad1b4
Was sich ändert
.c-device-Guard + IDs; sichtbarer Fallback im Degraded-State).data-act-Marker).d.blockedPct) + Kennzahlen; 3-fach-Scope + IDs erhalten.role="switch"+aria-checked+aria-label) + Sensor-Reihe.:focus-visible-Ring;aria-pressed/aria-checkedje Rolle korrekt.Sicherheit / Kompatibilität
escHtml()/textContent;SH_ICONS-innerHTMList enum-bounded (verifiziert).data-act-Marker, dieportal.js+ bestehende Widget-Tests nutzen, bleiben erhalten; kein toter Code (piBar/alte Kacheln/alte SH-Klassen entfernt).portal.*-Keys in de+en + PT-Block (kein GC.t-Whitelist nötig).Tests
tests/portal_redesign_layout.test.js(Reihenfolge, Strip, Donut, Toggle-Rolle, kompakte Dienste).tests/portal_css_smoke.test.jsangepasst (negative.donut-Assertion → positiv).Backlog (nicht blockierend, aus finalem Review)
🤖 Generated with Claude Code