-
-
Notifications
You must be signed in to change notification settings - Fork 1k
Fix star (favorite) button not working in preset card #4678
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
Fix star (favorite) button not working in preset card #4678
Conversation
WalkthroughA CSS style addition to display a pointer cursor on star elements and a PresetTitlePanel constructor call update to include an additional null parameter in the presets module. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~8 minutes The changes are straightforward: a single CSS property addition and a constructor parameter insertion. However, verification is needed to confirm the new parameter is properly handled by the PresetTitlePanel constructor definition and that its purpose aligns with the null value being passed. Pre-merge checks and finishing touches❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✨ Finishing touches
🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro 📒 Files selected for processing (2)
🔇 Additional comments (2)
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 |
|
|
Preview URL: https://pr4678.betaflight-app-preview.pages.dev |



PresetTitlePanelcall frompresets.jswas missing theonLoadedCallbackparameter, causingfavoritePresetsto be undefined and the star icon to not work.Additionally, I added
cursor: pointerto the star element so the cursor is a pointer even in the details menu.Summary by CodeRabbit