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",