Polish live workbench shell layout
GeoIntel CI / docs-smoke (push) Has been cancelled
GeoIntel CI / contract-smoke (push) Has been cancelled

This commit is contained in:
Codex
2026-06-17 23:16:23 +02:00
parent 6d43de4b5c
commit ae7e4bf5a3
7 changed files with 115 additions and 28 deletions
@@ -35,9 +35,10 @@ def test_app_entrypoint_has_clean_encoding_and_react_imports() -> None:
app = app_path.read_text(encoding="utf-8")
assert not app_bytes.startswith(b"\xef\xbb\xbf")
assert "import { useMemo, useState } from 'react'" in app
assert "import { useEffect, useMemo, useState } from 'react'" in app
assert "FormEvent" not in app
assert "useEffect" not in app
assert app.count("useEffect(") == 1
assert "window.scrollTo({ top: 0, left: 0 })" in app
assert "const [activeWorkspace, setActiveWorkspace] = useState<WorkspaceKey>('overview')" in app