feat: add marginSize prop for QRCode quiet zone#56569
Conversation
|
|
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the ✨ 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 |
Summary of ChangesHello @afc163, 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 enhances 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 Report for PR #56569 Failed ❌
Important There are 2 diffs found in this PR: 🔄
|
Deploying ant-design-next with
|
| Latest commit: |
f817d55
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://73fdff03.ant-design-next.pages.dev |
| Branch Preview URL: | https://feat-add-margin-size-prop.ant-design-next.pages.dev |
There was a problem hiding this comment.
Code Review
This pull request introduces a marginSize prop to the QRCode component, allowing control over the quiet zone. The implementation involves passing this prop down to the underlying qrcode component. The changes are also reflected in the documentation, and a new test case has been added. My review focuses on improving the robustness of the new test case.
size-limit report 📦
|
More templates
commit: |
Deploying ant-design with
|
| Latest commit: |
f817d55
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://c48d7f8d.ant-design.pages.dev |
| Branch Preview URL: | https://feat-add-margin-size-prop.ant-design.pages.dev |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## feature #56569 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 807 807
Lines 14922 14922
Branches 3935 3935
=========================================
Hits 14922 14922 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Signed-off-by: afc163 <afc163@gmail.com>
Bundle ReportChanges will increase total bundle size by 8.14MB (211.08%) ⬆️
Affected Assets, Files, and Routes:view changes for bundle: antd.min-array-pushAssets Changed:
|
Co-authored-by: thinkasany <480968828@qq.com> Signed-off-by: afc163 <afc163@gmail.com>
Co-authored-by: thinkasany <480968828@qq.com> Signed-off-by: afc163 <afc163@gmail.com>
* feat: add marginSize prop for QRCode quiet zone * Apply suggestions from code review Signed-off-by: afc163 <afc163@gmail.com> * Update components/qr-code/index.en-US.md Co-authored-by: thinkasany <480968828@qq.com> Signed-off-by: afc163 <afc163@gmail.com> * Apply suggestions from code review Co-authored-by: thinkasany <480968828@qq.com> Signed-off-by: afc163 <afc163@gmail.com> --------- Signed-off-by: afc163 <afc163@gmail.com> Co-authored-by: thinkasany <480968828@qq.com>







中文版模板 / Chinese template
🤔 This is a ...
🔗 Related Issues
close #56458
💡 Background and Solution
📝 Change Log
marginSizeprop for quiet zone size.