Skip to content

Cleanup, dialog icons, named tabs and a browser smoke test - #1

Merged
citoki merged 6 commits into
mainfrom
cleanup-dialogs-e2e
Nov 8, 2026
Merged

citoki merged 6 commits into
mainfrom
cleanup-dialogs-e2e

Conversation

@citoki

@citoki citoki commented Nov 8, 2026

Copy link
Copy Markdown
Owner

Changes

  • Cleanup: unused UNAVAILABLE_STATES, applyDraft/emptyWeek and dead CSS removed; comment names the current Timeslots message.
  • Simplify: one shared dialog frame for the slot sheet and the info dialog, a single showModal() for all dialogs, set-back entity and write path resolved once per hass update.
  • Slot dialog: mdi:weather-partly-cloudy icon in the title, counterpart to the night icon of the set-back dialog.
  • Tabs: show the configured program name (as documented), else the short form (Z1, HWC, CC).
  • Tests: config tests in their own file test/config.test.ts (no test changed, 151 pass).
  • Browser smoke test: npm run test:e2e (scripts/smoke.mjs) starts its own Vite dev server and drives the dev page in headless Chromium: write a slot, save the set-back temperature, info dialog, preview mode, German texts, offline state. New CI job e2e in validate.yaml.

@citoki
citoki merged commit a8ed95b into main Nov 8, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant