WealthBriefing rebuild (WIP)#65
Draft
chenaski wants to merge 6 commits into
Draft
Conversation
The real @fr-private/payload-plugin-visual-editing is private to an npm org we don't have local access to. This no-op workspace stub satisfies the import surface so `bun install` succeeds without a token; Vercel keeps its own token. Temporary — revert the workspace:* deps + delete the stub once org access is restored (see packages/fr-visual-editing-stub/README.md).
Replace the frontend design system with the WealthBriefing brand: Onest/Inter fonts, editorial red + teal palette, four section zones (white/light-wash/teal/ black), and editorial type utilities — scoped to apps/cms (shared tailwind-config untouched). Add the hardcoded WB header/footer and the Hero section, plus a temporary /wb-preview route for visual review (removed once wired to a CMS block). First slice of the WealthBriefing rebuild; remaining sections + content model to follow.
multi-tenancy-demo passes framedOnly to VisualEditing.Provider; the stub ignores all props, so accept arbitrary props instead of a fixed shape.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Add the 11 remaining WealthBriefing homepage sections as self-contained Payload blocks (Awards, Events, Brand Worlds, Research, People Moves, Featured, Latest News, Comment & Analysis, More Stories + Most Read, Sponsors, Subscribe) plus the WbHero block config/controller, shared WB primitives, and register them all. Point the page route at the hardcoded WB header/footer, add the migration for the new block tables, and add a Local API seed script that composes the whole homepage as a real 'page' document (slug 'wealthbriefing') with the design content and images. Remove the temporary /wb-preview route.
Blob storage was gated on NODE_ENV===production, so media seeded from a local run landed on disk and 404'd on Vercel previews. Add a PAYLOAD_BLOB_ENABLED=true opt-in override, and make the seed re-upload any Media doc whose url isn't already a vercel-storage.com blob URL.
NPM_TOKEN is now available locally and on Vercel, so drop the local no-op stub package and depend on the published visual-editing plugin (^1.0.2) again in both apps/cms and apps/multi-tenancy-demo.
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.
Rebuilds
apps/cmsas the WealthBriefing editorial site from a Claude Design handoff. Work in progress - opened now so a Neon preview branch is created; not ready to merge.Done
apps/cms(Onest + Inter, editorial red/teal palette, four section zones: white / light-wash / teal / black), replacing the shared design tokens for this app only -apps/devandmulti-tenancy-demountouched/wb-previewroute for visual review (removed once the Hero is a real CMS block)Coming
homepage composed from the new blocksTemporary - must revert before merge
packages/fr-visual-editing-stubis a local no-op standing in for the private@fr-private/payload-plugin-visual-editing(no org npm access locally). Both apps point at it viaworkspace:*. Restore the real package and the^1.0.2ranges once org access is available - see the stub's README🤖 Generated with Claude Code