Repository navigation
Conversation
The draft picker learns the site version (`isV8`, from the server's Blocks v8 marker) through ChatModeRow → BranchPill → BranchPicker. v7 sites get main's Local tab back verbatim (`LocalUrlForm`): a synchronous save of the tunnel URL, no `deco serve` probe, no checking state, main's hint, and no writes to the deco serve connection. The v8 tab keeps the deco serve form until the Localhost item replaces it. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01WNwbSEePYNcY5YCgqZURig
…cal-as-main Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01WNwbSEePYNcY5YCgqZURig
…in: assets go to Studio's file storage Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01WNwbSEePYNcY5YCgqZURig
Contributor
Author
|
Folded into #7887 (API) / #7888 (web, stacked on #7887). The tree of #7888 equals this stack's top ( 🤖 Generated with Claude Code |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
R1: v7's draft picker → Advanced → Local behaves as on main. The stack had turned Local into a
deco serveprobe for every site: an async save, a "checking" state, and a different hint. v7 sites get main's code back.What
isV8 = isBlocksV8Project(vmcp.metadata)(the server marker from feat(projects): server-managed blocksMajor marker for Blocks v8 sites #7871), passedChatModeRow→BranchPill→BranchPicker→AdvancedPicker.LocalUrlForm(moved tolocal-url-form.tsxso it can be tested) is main's component verbatim.productionUrlFromDomain(url)synchronously, with no request, no checking state and no error line, and shows main's hint.deco serveconnection for v7. Since fix(site-editor): pick the content backend from the v8 marker; v7 never waits #7873, that connection reads as none on v7 anyway.deco serveform (ServeLocalUrlForm) for now. The next PR replaces it with a Localhost item in the drafts list.Tests
local-url-form.test.tsx:localhost:3000callsonSave(productionUrlFromDomain("localhost:3000"))in the same tick, andfetchis never called (spy).tsc --noEmitforapps/web, oxlint, and biome format are clean. The 20 test files underthread/repositoryandchat/pillspass, one process per file.Stack
v8 Fast Preview track: previous: #7873 · next: #7875
🤖 Generated with Claude Code
https://claude.ai/code/session_01WNwbSEePYNcY5YCgqZURig