Conversation
Collaborator
wlenig
commented
Mar 31, 2026
- Removes the old root-page workaround by switching the published site route to an optional catch-all, so "/" and nested published paths resolve through the same server-rendered entrypoint.
- Moves published document lookup/path normalization into a shared helper and reuses a single PuckRender wrapper for both the published route and editor preview rendering.
- Removes the Puck payload/client-boundary coupling from the responsive field system so responsive field descriptors stay serializable and server-safe.
- Refactors responsive Puck fields into shared kind definitions plus client-only renderers, with a small registry that maps descriptor.kind to the correct control at the client boundary.
- Adds first-class responsive number fields alongside responsive token-backed select fields, including dedicated number/ select control handling for inherit/override behavior.
- Splits shared breakpoint layout from kind-specific controls, reducing duplicated responsive field UI logic and removing the old responsive-token-field implementation.
- Simplifies the prop-builder API around responsive.select(...) and responsive.number(...), and updates existing components to use the new responsive select builder consistently.
- Adds focused tests for responsive field descriptors, prop builder/default normalization, and responsive select/number control behavior.
- Updates docs/STYLING.md to document the new responsive field architecture, the server/client boundary split, and how to add future responsive field kinds.
… fields to be server-safe
…al and capture root
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
…r handling for unknown field components
SGAOperations
approved these changes
Mar 31, 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.