-
Notifications
You must be signed in to change notification settings - Fork 135
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: retire deprecated api #357
base: master
Are you sure you want to change the base?
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Warning Rate limit exceeded@aojunhao123 has exceeded the limit for the number of commits or files that can be reviewed per hour. Please wait 16 minutes and 56 seconds before requesting another review. ⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. 📒 Files selected for processing (4)
总览代码变更概述代码变更详情代码走查这些变更主要涉及 Collapse 组件的重构和简化。主要包括移除已弃用的 变更
序列图sequenceDiagram
participant User
participant Collapse
participant Items
User->>Collapse: 传入 items 数组
Collapse->>Items: 转换 items 为节点
Items-->>Collapse: 返回渲染节点
Collapse-->>User: 渲染折叠面板
诗歌
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? 🪧 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 (
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #357 +/- ##
==========================================
- Coverage 99.12% 98.83% -0.29%
==========================================
Files 5 4 -1
Lines 114 86 -28
Branches 43 33 -10
==========================================
- Hits 113 85 -28
Misses 1 1 ☔ View full report in Codecov by Sentry. |
); | ||
|
||
const mergedChildren = useItems(items, children, { | ||
const mergedChildren = useItems(items, { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
antd v4 还是 jsx 的,v5 是在 5.6.0 进行的 depreacted,v6 还得兼容一版。但是文档里不透出老的写法
Summary by CodeRabbit
Git 忽略文件更新
bun.lockb
到忽略列表.vscode/
目录到忽略列表组件重构
Collapse
组件中的废弃警告和Panel
导出useItems
钩子,移除rawChildren
处理测试调整
items
属性替代直接子组件Collapse
组件的核心功能和行为一致性