-
Notifications
You must be signed in to change notification settings - Fork 32
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: For headless mode, django CMS 5.0 adds preview buttons to all views. Do not add again. #455
Conversation
…ews. Do not add again.
Reviewer's Guide by SourceryThis pull request addresses an issue where django CMS 5.0 (but actually 4.2+) automatically adds preview buttons to all views. The changes modify the No diagrams generated as the changes look simple and do not need a visual representation. File-Level Changes
Assessment against linked issues
Possibly linked issues
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
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.
Hey @fsbraun - I've reviewed your changes - here's some feedback:
Overall Comments:
- Consider using a boolean setting instead of version comparison to control the preview button behavior.
Here's what I looked at during the review
- 🟢 General issues: all looks good
- 🟢 Security: all looks good
- 🟢 Testing: all looks good
- 🟢 Complexity: all looks good
- 🟢 Documentation: all looks good
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #455 +/- ##
=======================================
Coverage 90.54% 90.55%
=======================================
Files 72 72
Lines 2719 2720 +1
Branches 318 318
=======================================
+ Hits 2462 2463 +1
Misses 182 182
Partials 75 75 ☔ View full report in Codecov by Sentry. |
Latest Django main will only support Python3.12+, so 3.11 won't work
Description
fixes #454
Related resources
Checklist
master
Slack to find a “pr review buddy” who is going to review my pull request.