fix: page and block preview failure#1187
Conversation
WalkthroughThis pull request updates several preview-related components. In the design core, a conditional early return is added to the page generation flow when the query parameter type is 'Block'. In the plugins and toolbars, preview functions now retrieve the theme state via a meta API and include additional page information. The page preview flow is also updated to use asynchronous ancestor retrieval from a composable. These changes adjust the control flow while maintaining the overall functionality of preview operations. Changes
Possibly related PRs
Suggested labels
Suggested reviewers
Poem
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
⏰ Context from checks skipped due to timeout of 90000ms (1)
🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
* fix: 修复页面区块预览失效问题 * fix:fix review
* fix: 修复页面区块预览失效问题 * fix:fix review
* fix: 修复页面区块预览失效问题 * fix:fix review
English | 简体中文
PR
PR Checklist
Please check if your PR fulfills the following requirements:
PR Type
What kind of change does this PR introduce?
Background and solution
What is the current behavior?
Issue Number: N/A
What is the new behavior?
Does this PR introduce a breaking change?
Other information
Summary by CodeRabbit
New Features
Refactor