src/dazzle_ui/runtime/workspace_renderer.py¶
Generated: 2026-03-30T04:38:49.319124+00:00
Commit: 615f1354a103
Language: python
Scope: dazzle_ui
Purpose¶
Workspace layout renderer (v0.20.0).
Converts WorkspaceSpec from the DSL IR into template-ready context models,
with stage-driven CSS grid classes for different layout patterns.
Stage → Layout mapping:
FOCUS_METRIC → Single column, hero stat + supporting regions
DUAL_PANE_FLOW → 2...
Key Exports¶
SourceTabContextRegionContextWorkspaceContextbuild_workspace_contextmigrate_v1_to_v2apply_layout_preferencesbuild_catalog
Dependencies¶
Imports¶
__future__.annotationstyping.Anypydantic.BaseModelpydantic.Fieldjsonjsondazzle.core.admin_builder.get_region_actionsre
Event Interactions¶
None detected.
Invariants and Assumptions¶
-
Resolve action surface → URL pattern (must use /app/ prefix for app shell)¶
Tests¶
tests/integration/test_runtime_e2e.pytests/integration/test_runtime_pipeline.pytests/unit/test_runtime_test_routes.pytests/unit/test_runtime_services.pytests/unit/test_runtime_mcp_tools.py
Notes¶
This page was automatically generated by tools/gen_reference_docs.py.