2.1 KiB
2.1 KiB
id, title, status, wave, depends_on, plan, requirements, acceptance_criteria, system_design
| id | title | status | wave | depends_on | plan | requirements | acceptance_criteria | system_design | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 02-responsive-html-preview | Add responsive HTML preview surfaces | cancelled | 2 |
|
plan.md |
|
|
|
Task 02: Add responsive HTML preview surfaces
Summary
This work order wired the HTML preview to a static srcDoc iframe. The owner
selected script-capable execution, so the implementation is superseded by the
runtime-backed renderer work in Tasks 06 and 07.
In scope
- Existing toolbar, file-state, localization, desktop, and mobile wiring may be reused after the runtime-backed renderer contract is implemented.
Out of scope
- Shipping
HtmlPreviewContentwithsandbox=""and inert scripts as the final behavior. - Treating component tests for iframe attributes as proof of script isolation.
Acceptance
- Cancelled. The original acceptance conditions describe the static-only renderer and do not satisfy inline JavaScript execution.
Verification
Not applicable. Use Task 06 and Task 07 for the replacement work.
Files likely touched
apps/web/components/task/html-preview-content.tsxapps/web/components/task/file-editor-content.tsxapps/web/components/task/mobile/mobile-file-viewer-panel.tsx
Dependencies
Replaced by Tasks 06 and 07.
Risks
Keeping the old iframe contract in a passing component test can hide a missing runtime boundary.
Parallelism
sequential
Inputs
- The superseded static prototype and existing Markdown preview surfaces.
- The revised runtime and renderer system design.
Results
Cancelled after review. Existing UI changes remain non-ready until the script-capable renderer is implemented.