From 4cb07fbca45371cb37150e2b6ca2f8b4985f0e6e Mon Sep 17 00:00:00 2001 From: dev_agent <17+dev_agent@code.cubecraftcreations.com> Date: Sun, 20 Sep 2026 19:29:00 -0400 Subject: [PATCH] Record 1920x1080 panel layout and TouchHub dock behaviour Record 1920x1080 panel layout and TouchHub dock behaviour --- README.md | 8 ++++++++ tests/test_frontend.py | 8 ++++++++ 2 files changed, 16 insertions(+) diff --git a/README.md b/README.md index 7887abe..fd29aa7 100644 --- a/README.md +++ b/README.md @@ -186,6 +186,14 @@ npm install npm run build ``` +### Kids panel layout + +The Lovelace panel cards are designed for the wall display's confirmed +resolution, 1920×1080 landscape, with no page scroll. TouchHub's bottom +dock overlays the NestQuest weather dock strip until it auto-hides, so +no tappable NestQuest control sits in that strip (the dock carries +`pointer-events: none`). Keep it that way when editing the cards. + ### Running Tests Run the test suite with `pytest`: diff --git a/tests/test_frontend.py b/tests/test_frontend.py index e32b1db..59c5989 100644 --- a/tests/test_frontend.py +++ b/tests/test_frontend.py @@ -93,6 +93,14 @@ def test_readme_documents_npm_build() -> None: assert "nestquest-cards.js" in readme +def test_readme_documents_panel_resolution_and_touchhub_dock() -> None: + readme = (REPO_ROOT / "README.md").read_text(encoding="utf-8") + assert "1920×1080" in readme + assert "TouchHub" in readme + assert "dock" in readme + assert "pointer-events: none" in readme + + WOFF2_FILES = ( "nunito-latin-400-normal.woff2", "nunito-latin-600-normal.woff2",