fix: Collapse items semantic props#56517
Conversation
|
|
Summary of ChangesHello @zombieJ, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed! This pull request resolves a bug within the Highlights
🧠 New Feature in Public Preview: You can now enable Memory to help Gemini Code Assist learn from your team's feedback. This makes future code reviews more consistent and personalized to your project's style. Click here to enable Memory in your admin console. Using Gemini Code AssistThe full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips. Invoking Gemini You can request assistance from Gemini at any point by creating a comment using either
Customization To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a Limitations & Feedback Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here. You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension. Footnotes
|
Visual Regression Build for PR # Failed ❌Potential causes:
|
📝 WalkthroughSummary by CodeRabbit发布说明
✏️ Tip: You can customize this high-level summary in your review settings. Walkthrough更新 Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes Poem
Pre-merge checks and finishing touches✅ Passed checks (5 passed)
✨ Finishing touches🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: Repository UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (1)
🧰 Additional context used🧠 Learnings (2)📚 Learning: 2025-11-13T02:52:08.942ZApplied to files:
📚 Learning: 2026-01-04T15:16:45.886ZApplied to files:
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (19)
🔇 Additional comments (1)
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 |
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
There was a problem hiding this comment.
Code Review
This pull request fixes a bug where semantic props for Collapse items were not working correctly by updating the @rc-component/collapse dependency to version ~1.2.0. The change is straightforward and directly targets the root cause in the dependency. I've added a comment suggesting the addition of a regression test to prevent this issue from recurring in the future.
More templates
commit: |
size-limit report 📦
|
Deploying ant-design-next with
|
| Latest commit: |
871c625
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://6238ffce.ant-design-next.pages.dev |
| Branch Preview URL: | https://fix-collapse.ant-design-next.pages.dev |
Deploying ant-design with
|
| Latest commit: |
871c625
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://925a0d79.ant-design.pages.dev |
| Branch Preview URL: | https://fix-collapse.ant-design.pages.dev |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #56517 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 805 805
Lines 14844 14844
Branches 3920 3920
=========================================
Hits 14844 14844 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Bundle ReportChanges will decrease total bundle size by 8.13MB (-67.79%) ⬇️. This is within the configured threshold ✅ Detailed changes
Affected Assets, Files, and Routes:view changes for bundle: antd.min-array-pushAssets Changed:
|

中文版模板 / Chinese template
🤔 This is a ...
🔗 Related Issues
fix #55916
💡 Background and Solution
📝 Change Log
itemssemantic structure props not working.items语义化属性无效的问题。