feat(mapgen-studio): decompose App.tsx into StudioProviders/StudioShell + chrome tree#1611
Merged
Conversation
This was referenced Jun 12, 2026
Merged
refactor(studio): decompose App.tsx non-React corpus into feature modules and shared utilities
#1608
Merged
Owner
Author
|
Railway preview (MapGen Studio): not provisioned for this PR. Policy (Graphite stacks): previews are created only for the top-of-stack PR by default.
Debug: |
This was referenced Jun 12, 2026
Merged
This was referenced Jun 12, 2026
Merged
mateicanavra
force-pushed
the
design/client-data
branch
from
June 12, 2026 20:44
272c00e to
cc3e152
Compare
mateicanavra
force-pushed
the
design/app-shell
branch
from
June 12, 2026 20:44
9d1803f to
bfd599f
Compare
Owner
Author
Merge activity
|
mateicanavra
changed the base branch from
design/client-data
to
graphite-base/1611
June 12, 2026 21:02
…ll + chrome tree Split the remaining ~2,583-LoC App.tsx god-component into the component tree per architecture/10 §4 + audit/03. The AppContent orchestration closure MOVES verbatim into src/app/StudioShell.tsx; the provider wrapper, deck.gl canvas host, floating docks, error banner, and sonner toast adapter become standalone units under src/app/. App.tsx reduces to a 17-LoC thin root rendering StudioProviders. Behavior-preserving by construction: state web, effects, refs, and all hard-core behaviors (live-poll request-key staleness + adaptive backoff, run-in-game fingerprint/relation/materialization, browserRunner gating, localStorage schema) move byte-for-byte. Live reads still flow through the typed oRPC client; no new hand-rolled fetch. Verified: bun run check (tsc clean), bun run build (incl worker-bundle), live preview (recipe authoring + stage/step nav + run controls present and functional, no console errors). OpenSpec: mapgen-studio-app-shell (validated --strict). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
mateicanavra
force-pushed
the
design/app-shell
branch
from
June 12, 2026 21:04
bfd599f to
8e12c08
Compare
This was referenced Jun 12, 2026
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.

Split the remaining ~2,583-LoC App.tsx god-component into the component tree per
architecture/10 §4 + audit/03. The AppContent orchestration closure MOVES verbatim
into src/app/StudioShell.tsx; the provider wrapper, deck.gl canvas host, floating
docks, error banner, and sonner toast adapter become standalone units under
src/app/. App.tsx reduces to a 17-LoC thin root rendering StudioProviders.
Behavior-preserving by construction: state web, effects, refs, and all hard-core
behaviors (live-poll request-key staleness + adaptive backoff, run-in-game
fingerprint/relation/materialization, browserRunner gating, localStorage schema)
move byte-for-byte. Live reads still flow through the typed oRPC client; no new
hand-rolled fetch. Verified: bun run check (tsc clean), bun run build (incl
worker-bundle), live preview (recipe authoring + stage/step nav + run controls
present and functional, no console errors).
OpenSpec: mapgen-studio-app-shell (validated --strict).
Co-Authored-By: Claude Opus 4.8 noreply@anthropic.com