Conversation
|
@QDyanbing is attempting to deploy a commit to the afc163's projects Team on Vercel. A member of the Team first needs to authorize it. |
|
Navigate logical layers of code changes, visualize relationships, and explore their blast radius. No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Advanced Run ID: 📒 Files selected for processing (3)
Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review. WalkthroughMutateObserver 现在使用 isReactRenderable 判断子节点是否可渲染。新增测试验证子节点 0 会被渲染,且不会触发 console.error。@rc-component/util 的版本范围从 ^1.11.1 更新为 ^1.13.0。 Changes子节点可渲染性
Priority: ⬇️ Low Estimated code review effort: 2 (Simple) | ~8 minutes Change: Bug fix Merge Risk: ⚪ Minimal · up to Children set to 0 now renders as text instead of being treated as missing. The verified component path and regression test show this behavior without an actionable merge-blocking risk. 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches 💡 1🛠️ Fix failing CI checks 💡
🧪 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 |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #39 +/- ##
==========================================
+ Coverage 87.87% 90.90% +3.03%
==========================================
Files 2 2
Lines 33 33
Branches 10 10
==========================================
+ Hits 29 30 +1
+ Misses 4 3 -1 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
说明
children={0},不再将其当作缺少子节点而丢弃或输出错误提示。isReactRenderable并补充回归测试;将@rc-component/util最低版本提升到^1.13.0。验证
npm test -- --runInBand(4 项通过)npm run tsc关联 ant-design/ant-design#59193
Summary by CodeRabbit
0时被误判为缺少内容的问题;现在会正常显示该内容,且不再输出错误信息。