Skip to content

Render documentation examples live with the Playground engine - #32

Merged
konojunya merged 1 commit into
mainfrom
agent/runtime-examples
Sep 5, 2026
Merged

Render documentation examples live with the Playground engine#32
konojunya merged 1 commit into
mainfrom
agent/runtime-examples

Conversation

@konojunya

Copy link
Copy Markdown
Member

Summary

  • Render canonical Stack sources on demand with the shared Playground WASM adapter; remove nine pre-rendered SVGs and the thumbnail generator.
  • Defer offscreen previews, expose source links without JavaScript, and separate rendering diagnostics from retryable loading failures.
  • Display isolated Blob-backed images and release URLs on replacement/navigation; make WASM initialization retryable.
  • Sync the four-language gallery explanation from the merged canonical documentation source.

Verification

  • 38 UI/unit tests, 17 documentation tests, formatting, lint, complete 60-page build, and deployment dry run.
  • Every browser-rendered SVG matches the SHA256 of the same source rendered by the published WASM in Node.
  • Chrome desktop and 320px checks; simulated WASM download failure recovered with keyboard retry.
  • Guards reject reintroduced static example SVGs; source inventory, engine diagnostics, provider catalog and safe SVG checks remain in CI.

Notes

Provider artwork remains caller-owned; the gallery displays deterministic fallback shapes and exposes diagnostics. No language, theme, or layout algorithm changes.

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Sep 5, 2026

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
stack-web 323e0d8 Commit Preview URL

Branch Preview URL
Sep 05 2026, 09:46 PM

@konojunya
konojunya merged commit a0a9197 into main Sep 5, 2026
2 checks passed
@konojunya
konojunya deleted the agent/runtime-examples branch September 5, 2026 21:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant