Skip to content

site: revamp holding page (PR 1 of OS-packages migration) - #151

Draft
Kyra Richards (kyra-cpu) wants to merge 1 commit into
mainfrom
cleanup/1-site-revamp
Draft

site: revamp holding page (PR 1 of OS-packages migration)#151
Kyra Richards (kyra-cpu) wants to merge 1 commit into
mainfrom
cleanup/1-site-revamp

Conversation

@kyra-cpu

Copy link
Copy Markdown
Contributor

Part of the runneth-apps → OS packages migration. See MIGRATION.md on the cleanup/os-migration branch 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 AppShell renders <Revamp/> and never calls fetchCatalog, 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 =false to restore the full catalog site (only works while catalog.json still exists).

Verified

  • Production build passes (478 modules, no type errors)
  • Holding page renders; no catalog request fires; console clean

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

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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant