site: revamp holding page (PR 1 of OS-packages migration) - #151
Draft
Kyra Richards (kyra-cpu) wants to merge 1 commit into
Draft
site: revamp holding page (PR 1 of OS-packages migration)#151Kyra Richards (kyra-cpu) wants to merge 1 commit into
Kyra Richards (kyra-cpu) wants to merge 1 commit into
Conversation
Adds a Revamp holding page and gates AppShell on VITE_REVAMP_MODE (ON by default). In revamp mode the site never calls fetchCatalog, so the site stays live and is fully decoupled from .use-case-library/ and the use-case dirs — which lets PR 4 delete them without breaking the site. Set VITE_REVAMP_MODE=false to restore the full catalog site (while catalog.json still exists). Verified: production build passes (478 modules), holding page renders, no catalog request fires. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
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.
Part of the runneth-apps → OS packages migration. See
MIGRATION.mdon thecleanup/os-migrationbranch for the full plan and PR stack.What this does
Puts the use-case library site into a "we're revamping" holding page so it stays live but stops depending on the catalog. In revamp mode
AppShellrenders<Revamp/>and never callsfetchCatalog, which decouples the site from.use-case-library/and every use-case directory. That is what makes PR 4 (deleting the old library) safe.Why it merges first
The site server requires
catalog.json; deleting it before this ships would throw an error page instead of a nice message. So: this merges first, then PR 4 does the deletions.Toggle
VITE_REVAMP_MODE— ON by default. Set=falseto restore the full catalog site (only works whilecatalog.jsonstill exists).Verified
Copy (open to a swap)
Headline "Pardon the sawdust." Alternates ready: "The library's getting a tune-up." / "We're re-shelving the whole library."
🤖 Generated with Claude Code