Skip to content

Make documentation examples easier to explore - #35

Merged
konojunya merged 1 commit into
mainfrom
agent/docs-example-lightbox
Sep 6, 2026
Merged

konojunya merged 1 commit into
mainfrom
agent/docs-example-lightbox

Conversation

@konojunya

Copy link
Copy Markdown
Member

Background

Readers should inspect diagrams directly without being sent to raw source or needing optional provider packs.

Implementation Approach

Show the four self-contained built-in examples. Open runtime SVG images in a native dialog with fit/actual-size controls, localized close actions, page scroll locking, and cleanup. Keep source links separate. Remove icon-pack, expected-output, and syntax-feature sections. Pin the merged Docs bundle with the revised four-language gallery guidance and published CLI 0.5.2.

Testing Approach

Regression tests started red; all 9 focused cases and the complete UI/28 Node suites now pass. Formatting, lint, build, CLI documentation smoke (21 localized examples), live release freshness, and Cloudflare bundle dry run passed. Chrome verified 320/768/1024/1440 layouts, four-language controls, actual-size scrolling, Escape/backdrop dismissal, focus restoration, dark mode, and no console errors. Independent visual/interaction review found no release blocker.

Review Perspectives / Points of Concern

Native dialog supplies focus behavior; browser chrome remains keyboard-accessible while background document controls are inert. SVG stays in an image with the existing runtime Blob lifecycle; no static example images or inline SVG are introduced. Canonical provider examples remain available to CLI/Playground; only the Docs gallery is curated to built-ins.

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Sep 6, 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 d482f4c Commit Preview URL

Branch Preview URL
Sep 06 2026, 03:23 AM

@konojunya
konojunya merged commit 26068bc into main Sep 6, 2026
2 checks passed
@konojunya
konojunya deleted the agent/docs-example-lightbox branch September 6, 2026 03:24
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