feat:add anchor component and icons#1812
Conversation
|
Important Review skippedReview was skipped due to path filters ⛔ Files ignored due to path filters (6)
CodeRabbit blocks several paths by default. You can override this behavior by explicitly including those paths in the path filters. For example, including ⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
WalkthroughAdds a new TinyAnchor component definition and snippet to the designer mock bundle, registers TinyAnchor in two app-center schema maps, and corrects TinyActionMenu icon values from ChangesTinyAnchor Component Integration
🎯 2 (Simple) | ⏱️ ~10 minutes Suggested reviewers
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@designer-demo/public/mock/bundle.json`:
- Line 12: TinyAnchor's metadata icon is inconsistent: update the icon key used
in the TinyAnchor metadata entry (currently "hr") so it matches the snippet's
icon ("anchor"); search for the "TinyAnchor" metadata and snippet entries in
bundle.json, replace the metadata "icon": "hr" with "icon": "anchor" (or vice
versa if you prefer "hr" globally), and ensure both the metadata and the snippet
for TinyAnchor use the exact same string value.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Repository UI
Review profile: CHILL
Plan: Pro
Run ID: ac06358c-e6ea-4442-80a1-04f08822feb2
⛔ Files ignored due to path filters (6)
packages/design-core/assets/action-menu.svgis excluded by!**/*.svgpackages/design-core/assets/alert.svgis excluded by!**/*.svgpackages/design-core/assets/anchor.svgis excluded by!**/*.svgpackages/design-core/assets/container.svgis excluded by!**/*.svgpackages/design-core/assets/drawer.svgis excluded by!**/*.svgpackages/design-core/assets/file-upload.svgis excluded by!**/*.svg
📒 Files selected for processing (3)
designer-demo/public/mock/bundle.jsonmockServer/src/mock/get/app-center/v1/apps/schema/1.jsonmockServer/src/mock/get/app-center/v1/apps/schema/16.json
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
Updates