Release: 2.26.2#206
Conversation
|
CodeAnt AI is reviewing your PR. Thanks for using CodeAnt! 🎉We're free for open-source projects. if you're enjoying it, help us grow by sharing. Share on X · |
|
Warning Rate limit exceeded
Your organization is not enrolled in usage-based pricing. Contact your admin to enable usage-based pricing to continue reviews beyond the rate limit, or try again in 38 minutes and 24 seconds. ⌛ 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. ℹ️ Review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: ⛔ Files ignored due to path filters (2)
📒 Files selected for processing (7)
✨ 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 |
Review Summary by QodoRelease 2.26.2 with bug fixes and customization enhancements
WalkthroughsDescription• Release version 2.26.2 with bug fixes and improvements • Added "More" button color customization properties • Fixed consent banner display and persistence issues • Improved SDK initialization logging and UI alignment Diagramflowchart LR
A["Version Update<br/>2.26.1 → 2.26.2"] --> B["Bug Fixes<br/>Android/iOS/TCF"]
A --> C["New Properties<br/>moreBtnBackground<br/>moreBtnText"]
B --> D["Consent Banner<br/>Display & Persistence"]
B --> E["UI Alignment<br/>& SVG Loading"]
C --> F["Customization<br/>Color Serialization"]
File Changes1. android/build.gradle.kts
|
Code Review by Qodo
|
|
PR Summary: Release 2.26.2 — bump package versions, update changelog, and add serialization for "More" button colors in the RN bridge (Android + iOS) with matching test/sample mock.
|
|
Reviewed up to commit:3f14857af80204a145409004b0f1ce93a8716e5c Additional SuggestionOthers- Overall: You introduced two new UI customization properties across Android, iOS and sample mocks. Make sure to: 1) update TypeScript/JS type definitions (lib/index.d.ts or any exported type) so consumers see the new keys; 2) run the codegen/compile step and validate both Android and iOS sample apps build; 3) run integration/smoke tests to validate the keys are transported across the bridge and used by the native UI. This avoids runtime inconsistencies between platforms and prevents broken builds due to missing constructor parameters. |
|
CodeAnt AI finished reviewing your PR. |
|
CodeAnt AI is running the review. Thanks for using CodeAnt! 🎉We're free for open-source projects. if you're enjoying it, help us grow by sharing. Share on X · |
Sequence DiagramThis PR ensures the native SDK exposes More button color customization through the React Native bridge and includes these fields in exported CMP configuration data. The diagram shows how the app obtains and applies these colors to the consent banner and how exports now carry the same settings. sequenceDiagram
participant App
participant ReactNativeSDK as React Native SDK
participant NativeCMP as Native SDK
participant Banner as Consent banner UI
App->>ReactNativeSDK: Initialize CMP and request UI settings
ReactNativeSDK->>NativeCMP: Load CMP data with customization colors
NativeCMP-->>ReactNativeSDK: Return customization colors including More button fields
ReactNativeSDK-->>App: Expose customization colors map
App->>Banner: Render first layer More button with custom colors
App->>ReactNativeSDK: Request CMP configuration export
ReactNativeSDK-->>App: Return export including More button color settings
Generated by CodeAnt AI |
|
CodeAnt AI finished running the review. Thanks for using CodeAnt! 🎉We're free for open-source projects. if you're enjoying it, help us grow by sharing. Share on X · |
|
CodeAnt AI is running the review. Thanks for using CodeAnt! 🎉We're free for open-source projects. if you're enjoying it, help us grow by sharing. Share on X · |
Sequence DiagramThis PR updates the Android and iOS bridges so the customization colors for the first layer More button are included when CMP data is exported to React Native, ensuring the banner UI can render the button with dashboard-configured colors in version 2.26.2. sequenceDiagram
participant App
participant ReactNativeSDK
participant NativeCMP
participant BannerUI
App->>ReactNativeSDK: Initialize consent banner
ReactNativeSDK->>NativeCMP: Load CMP data with customization colors
NativeCMP-->>ReactNativeSDK: CustomizationColor including More button colors
ReactNativeSDK-->>App: Export CMP data to JavaScript
App->>BannerUI: Render first layer using More button colors
BannerUI-->>App: Show first layer with themed More button
Generated by CodeAnt AI |
|
CodeAnt AI finished running the review. Thanks for using CodeAnt! 🎉We're free for open-source projects. if you're enjoying it, help us grow by sharing. Share on X · |
CodeAnt-AI Description
Release 2.26.2 with first-layer “More” button color support and bug fixes
What Changed
Impact
✅ First-layer “More” button colors now match the dashboard✅ Fewer missing style settings in app integrations✅ Clearer 2.26.2 release tracking🔄 Retrigger CodeAnt AI Review
Details
💡 Usage Guide
Checking Your Pull Request
Every time you make a pull request, our system automatically looks through it. We check for security issues, mistakes in how you're setting up your infrastructure, and common code problems. We do this to make sure your changes are solid and won't cause any trouble later.
Talking to CodeAnt AI
Got a question or need a hand with something in your pull request? You can easily get in touch with CodeAnt AI right here. Just type the following in a comment on your pull request, and replace "Your question here" with whatever you want to ask:
This lets you have a chat with CodeAnt AI about your pull request, making it easier to understand and improve your code.
Example
Preserve Org Learnings with CodeAnt
You can record team preferences so CodeAnt AI applies them in future reviews. Reply directly to the specific CodeAnt AI suggestion (in the same thread) and replace "Your feedback here" with your input:
This helps CodeAnt AI learn and adapt to your team's coding style and standards.
Example
Retrigger review
Ask CodeAnt AI to review the PR again, by typing:
Check Your Repository Health
To analyze the health of your code repository, visit our dashboard at https://app.codeant.ai. This tool helps you identify potential issues and areas for improvement in your codebase, ensuring your repository maintains high standards of code health.