Repository navigation
Conversation
`fastPreviewCapability` is now: a preview server URL AND (the project is a Blocks v8 site OR the Fast Preview switch is on). A v8 project (the server's `blocksMajor` marker) always starts new threads as CMS sessions, previewing the hosted draft; v7 keeps main's exact rule because it never has the marker. Stamps stay immutable. Project settings render neither the Fast Preview switch nor in-place render for v8; the preview URL stays. v7 settings are unchanged. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01WNwbSEePYNcY5YCgqZURig
This was referenced Oct 11, 2026
…ddress R2 hides only the Fast Preview switch for Blocks v8. In-place render stays visible (Fast Preview is always on for v8), so a value stored before the marker is never in effect while hidden. A v8 project without a preview URL gets a hint where the switch was, since its new chats start a coding session. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01WNwbSEePYNcY5YCgqZURig
A Blocks v8 site has no Fast Preview switch, so "Required for Fast Preview" pointed at nothing. v8 now says what the address is for (previewing drafts); v7 keeps main's copy. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01WNwbSEePYNcY5YCgqZURig
…preview Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01WNwbSEePYNcY5YCgqZURig
…preview Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01WNwbSEePYNcY5YCgqZURig
…preview Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01WNwbSEePYNcY5YCgqZURig
…preview: 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.
R2: Blocks v8 sites are always Fast Preview, and Settings shows no switch for them. R3: their preview is the hosted draft.
What
fastPreviewCapability(meta)=previewUrl && (isBlocksV8Project(meta) || meta.fastPreview === true)(packages/shared/src/thread/session-runtime.ts).cmswhen the project has a preview URL. A stalefastPreview: falseis ignored. A v8 site with no preview URL is stillsandbox; the CMS-unavailable screen already asks for a URL.useSessionRuntime,use-navigate-to-agent, the chat mode row, the preview) picks this up with no edit. Thread stamps stay immutable and still win.cmsthread on a v8 site already reads the hosted draft throughuseProtocolDraft, which loads the__draft=pointer.PreviewSettingsRows. For v8 it renders only the preview URL: no Fast Preview switch, no in-place render (already inert for protocol projects). v7 renders all three, as on main.Existing v8 threads
There is no data migration. A v8 thread already stamped
sandboxstays a coding session, served by the sandbox daemon's content protocol (R4, next PR). An emptysandboxentry chat stops matching the project default, so the next open creates acmsone.Tests
session-runtime.test.ts: the marker × fastPreview × URL matrix. The v7 rows are identical to main's rule, v8 iscmswhenever there is a URL, and a stamp still wins on v8.preview-settings-rows.test.tsx: v7 shows the switch and, with it on, in-place render; v8 shows no switch at all, whateverfastPreviewsays.tsc --noEmitis clean forapps/web,apps/apiandpackages/shared. oxlint and biome format are clean.sandbox-proxy.test.tspasses (13). The thread-create stamp is covered by the matrix, becausecreate.integration.test.tsneeds a database.Stack
v8 Fast Preview track: previous: #7871 · next: #7873
Review fixes (f22177c)
🤖 Generated with Claude Code
https://claude.ai/code/session_01WNwbSEePYNcY5YCgqZURig