Record 1920x1080 panel layout and TouchHub dock behaviour
Record 1920x1080 panel layout and TouchHub dock behaviour
This commit was merged in pull request #131.
This commit is contained in:
@@ -186,6 +186,14 @@ npm install
|
|||||||
npm run build
|
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
|
### Running Tests
|
||||||
|
|
||||||
Run the test suite with `pytest`:
|
Run the test suite with `pytest`:
|
||||||
|
|||||||
@@ -93,6 +93,14 @@ def test_readme_documents_npm_build() -> None:
|
|||||||
assert "nestquest-cards.js" in readme
|
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 = (
|
WOFF2_FILES = (
|
||||||
"nunito-latin-400-normal.woff2",
|
"nunito-latin-400-normal.woff2",
|
||||||
"nunito-latin-600-normal.woff2",
|
"nunito-latin-600-normal.woff2",
|
||||||
|
|||||||
Reference in New Issue
Block a user