fix(studio): interface-page Design tab renders the live list, not a placeholder#1695
Merged
Merged
Conversation
The page editor's Design tab showed a static 'Interface page — configured in Properties' placeholder for interface pages (config-driven, no regions to drag). Authors edit config on the right but the left didn't reflect it until switching to Preview. Now PagePreview renders the live InterfaceListPage for interface pages in BOTH design and preview modes — right-panel edits reflect live on the left, no tab switch, no placeholder. Removes the now-dead interface empty-state from PageBlockCanvas (interface pages never reach it) and flips the PagePreview/PageBlockCanvas tests to the new behavior.
|
The latest updates on your projects. Learn more about Vercel for GitHub. |
Contributor
✅ Console Performance Budget
📦 Bundle Size Report
Size Limits
|
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.
What
In the Studio page editor, the Design (设计) tab showed a static "Interface page — configured in Properties" placeholder for ADR-0047 interface pages. Authors edit interfaceConfig on the right Properties panel (shown on the Design tab), so the left didn't reflect changes until manually switching to the Preview (预览) tab.
Change
PagePreviewnow renders the liveInterfaceListPagefor interface pages in both design and preview modes — interface pages are config-driven (no regions to drag), so the design canvas shows the real list (source view + user filters + data) updating live as the author edits. No tab switch, no placeholder text.PageBlockCanvas(interface pages no longer reach it).PagePreview.test.tsxasserts the live list in design mode;PageBlockCanvas.test.tsxkeeps only the region-composed empty state.Verify
🤖 Generated with Claude Code