Skip to content

Update flow builder iframe to Lightspark Vercel deployment#274

Merged
pengying merged 2 commits intomainfrom
pat/update-flow-builder-url
Mar 16, 2026
Merged

Update flow builder iframe to Lightspark Vercel deployment#274
pengying merged 2 commits intomainfrom
pat/update-flow-builder-url

Conversation

@patcapulong
Copy link
Copy Markdown
Contributor

Summary

Points the flow builder iframe in the docs from the personal Vercel deployment (grid-visualizer-opal.vercel.app) to the Lightspark team deployment (grid-flow-builder.vercel.app).

One-line change in mintlify/flow-builder.mdx.

Test plan

  • Verify flow builder loads on grid.lightspark.com/flow-builder after merge
  • Check both light and dark theme sync works

Made with Cursor

@vercel
Copy link
Copy Markdown

vercel Bot commented Mar 16, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
grid-flow-builder Ready Ready Preview, Comment Mar 16, 2026 11:09pm

Request Review

@greptile-apps
Copy link
Copy Markdown
Contributor

greptile-apps Bot commented Mar 16, 2026

Greptile Summary

This PR updates the Flow Builder iframe URL from the personal Vercel deployment (grid-visualizer-opal.vercel.app) to the official Lightspark team deployment (grid-flow-builder.vercel.app), and also updates the corresponding documentation URL in CLAUDE.md (as requested in a previous review thread).

  • mintlify/flow-builder.mdx: URL replaced in the React.useEffect setSrc(...) call — the only place the iframe src is constructed.
  • components/grid-visualizer/CLAUDE.md: "Currently deployed at" reference updated to match — keeps internal docs consistent with the live deployment.
  • All theme-sync postMessage logic and MutationObserver setup remain unchanged; only the domain changes.

Confidence Score: 5/5

  • This PR is safe to merge — it is a one-line URL swap in the docs iframe with a corresponding documentation update.
  • The change is minimal (two single-line URL replacements across two files), carries no logic risk, and the updated domain (grid-flow-builder.vercel.app) is the intended Lightspark team deployment. The previous review thread concern about CLAUDE.md consistency has been addressed.
  • No files require special attention.

Important Files Changed

Filename Overview
mintlify/flow-builder.mdx Updates iframe src URL from grid-visualizer-opal.vercel.app to grid-flow-builder.vercel.app — simple, correct URL swap with no logic changes.
components/grid-visualizer/CLAUDE.md Updates the "Currently deployed at" documentation URL to match the new team Vercel deployment, addressing the previous review thread request.

Sequence Diagram

sequenceDiagram
    participant Docs as grid.lightspark.com<br/>(Mintlify)
    participant IFrame as grid-flow-builder.vercel.app<br/>(iframe)

    Docs->>IFrame: Load src with ?embed=true&theme=light|dark
    IFrame-->>Docs: postMessage { type: 'theme-request' }
    Docs->>IFrame: postMessage { type: 'theme-sync', theme }
    Note over Docs: MutationObserver watches<br/>documentElement classList
    Docs->>IFrame: postMessage { type: 'theme-sync', theme } on class change
    IFrame-->>Docs: postMessage { type: 'theme-sync', theme } on internal toggle
Loading

Last reviewed commit: bcaa860

Comment thread mintlify/flow-builder.mdx
React.useEffect(() => {
const isDark = document.documentElement.classList.contains('dark');
setSrc('https://grid-visualizer-opal.vercel.app/?embed=true&theme=' + (isDark ? 'dark' : 'light'));
setSrc('https://grid-flow-builder.vercel.app/?embed=true&theme=' + (isDark ? 'dark' : 'light'));
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Stale URL in CLAUDE.md

Note: components/grid-visualizer/CLAUDE.md (line 20) still references the old personal deployment URL https://grid-visualizer-opal.vercel.app/. Consider updating it to the new grid-flow-builder.vercel.app URL to keep documentation consistent.

Prompt To Fix With AI
This is a comment left during a code review.
Path: mintlify/flow-builder.mdx
Line: 13

Comment:
**Stale URL in CLAUDE.md**

Note: `components/grid-visualizer/CLAUDE.md` (line 20) still references the old personal deployment URL `https://grid-visualizer-opal.vercel.app/`. Consider updating it to the new `grid-flow-builder.vercel.app` URL to keep documentation consistent.

How can I resolve this? If you propose a fix, please make it concise.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

this seems right can you make the CLAUDE.md update?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Sure! In components/grid-visualizer/CLAUDE.md on line 20, change:

- Currently deployed at: https://grid-visualizer-opal.vercel.app/

to:

- Currently deployed at: https://grid-flow-builder.vercel.app/

@pengying pengying merged commit 62efb24 into main Mar 16, 2026
10 checks passed
@pengying pengying deleted the pat/update-flow-builder-url branch March 16, 2026 23:13
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.

2 participants