Skip to content

fix: keep live demo links WebContainer-safe - #20

Merged
stackloomdev merged 1 commit into
mainfrom
agent/fix-live-demo-link
Jul 25, 2026
Merged

stackloomdev merged 1 commit into
mainfrom
agent/fix-live-demo-link

Conversation

@stackloomdev

Copy link
Copy Markdown
Owner

Summary

  • point the VitePress navigation live-demo entry at the WebContainer-safe dev:stackblitz script
  • add a TypeScript repository check that requires the canonical URL in every public entry point
  • validate all CauseScope StackBlitz URLs and the .stackblitzrc start command

Validation

  • pnpm check
  • pnpm verify:links
  • pnpm typecheck
  • pnpm docs:build
  • git diff --check
  • independent review: no findings

@stackloomdev
stackloomdev marked this pull request as ready for review July 25, 2026 06:26
@stackloomdev
stackloomdev merged commit 3f75350 into main Jul 25, 2026
7 checks passed
@stackloomdev
stackloomdev deleted the agent/fix-live-demo-link branch July 25, 2026 06:26

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: e658624a0b

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread docs/.vitepress/config.ts

const base = process.env.CAUSESCOPE_DOCS_BASE ?? "/";
const liveDemo = "https://stackblitz.com/fork/github/stackloomdev/causescope?startScript=dev";
const liveDemo = "https://stackblitz.com/fork/github/stackloomdev/causescope?startScript=dev%3Astackblitz";

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Verify the live-demo navigation in a real browser

This changes the user-visible VitePress “Live demo” destination, but the listed validation contains only CLI/build checks; verify-links.ts compares strings and cannot establish that clicking the generated navigation opens StackBlitz and successfully honors the encoded startScript. Please verify the built documentation and resulting WebContainer startup in a real browser before handoff.

AGENTS.md reference: AGENTS.md:L11-L11

Useful? React with 👍 / 👎.

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