Repository navigation
listing: rebuild unbaked projects live from the published graph - #3
Merged
Merged
Conversation
PASCAL_SOURCE (auto by default) shows the bake when ready and otherwise renders the graph with the published @pascal-app/core, viewer and nodes 1.1.0. The live path is code-split; while a bake runs it polls and switches to the GLB once ready, keeping the mounted scene across unchanged re-reads. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
wass08
force-pushed
the
listing/live-rebuild
branch
from
November 10, 2026 15:06
f83e39f to
e38dff0
Compare
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.
Unbaked projects now render in the listing template by rebuilding the building live from the published scene graph, using the published
@pascal-app/core,viewerandnodes1.1.0.PASCAL_SOURCE(VITE_PASCAL_SOURCE) takes one of three values:auto(the default) shows the bake when it's ready and live otherwise.bakedkeeps the previous "no 3D file yet" state.livealways rebuilds from the graph.automode, while a bake is running the template shows live, polls every 30 s, then switches to the GLB once it's ready. Polls and credential renewals that return the same revision keep the mounted scene instead of rebuilding it.src/viewer/LiveViewer.tsxmirrors the packed fixture from viewer: render live scenes in any browser app, proven by a packed fixture editor#1250: render plugin, read-only lease, library materials, readiness callback. It keeps the listing's room hover, floor picker cutaway and door/window toggles.connect-srcallows the default Draco/Basis decoder hosts, plusdata:/blob:for embedded glTF buffers.Verification:
npm run typecheck,npm run buildand Playwright pass, 27/27. New tests cover live rendering for bake statuses none, failed, baking and ready-without-LODs, and the switch from live to baked.project_2b41L7l0eYE7kK0p,project_4PrkF4SgUcFsy207,project_6mDJNGmVXE2nAKNY).Stacked on #2.
🤖 Generated with Claude Code