Skip to content

Gate Get started links on server.checked to avoid a hosted-mode flash - #5

Merged
shawnpatel merged 2 commits into
mainfrom
lackadaisical-sunshine
Jul 14, 2026
Merged

shawnpatel merged 2 commits into
mainfrom
lackadaisical-sunshine

Conversation

@shawnpatel

Copy link
Copy Markdown
Member

Summary

  • Fixes the Bugbot finding on Add a Get started link to the hosted app empty state #4: the "Get started" link rendered whenever server.connected was false, including the initial window before the /api/files probe finished, so it could flash while the local CLI server was still being detected.
  • Both the placeholder and sidebar copies of the link now also require server.checked, so they only appear once hosted mode is confirmed.

Test plan

  • npm run build passes
  • In local CLI mode, verify the link no longer flashes on startup
  • In hosted mode, verify the link still appears in the sidebar and empty state

Made with Cursor

The links rendered whenever the server was not connected, including the
initial window before /api/files resolved, so they could flash while the
local CLI server was still being detected.

Co-authored-by: Cursor <cursoragent@cursor.com>
@vercel

vercel Bot commented Jul 14, 2026 •

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
harness-studio Ready Ready Preview, Comment Jul 14, 2026 4:50pm

Request Review

Co-authored-by: Cursor <cursoragent@cursor.com>
@shawnpatel
shawnpatel merged commit ae6f1e7 into main Jul 14, 2026
3 checks passed
@shawnpatel
shawnpatel deleted the lackadaisical-sunshine branch July 14, 2026 16:53

This branch was successfully deployed

1 active deployment
Preview — 886074e9 Deployed Jul 14, 2026 by vercel[bot]
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