-
Notifications
You must be signed in to change notification settings - Fork 384
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
Eliminate "AMP Settings" panel from Gallery block and move them to AMP advanced settings #7171
Conversation
Plugin builds for 7f3c065 are ready 🛎️!
|
Codecov Report
@@ Coverage Diff @@
## develop #7171 +/- ##
=============================================
- Coverage 77.45% 77.43% -0.03%
+ Complexity 7123 7116 -7
=============================================
Files 275 274 -1
Lines 22086 22053 -33
=============================================
- Hits 17106 17076 -30
+ Misses 4980 4977 -3
Flags with carried forward coverage won't be shown. Click here to find out more.
|
Failing tests have been fixed in - #7158 |
67983f4
to
22c4181
Compare
As I understand, this PR moves the gallery/lightbox settings from an individual block to be a global settings. I don't think will work out because a user may want a carousel for one gallery block but not have it for another block. I realize #4989 is not particularly clear as it was more of a issue for more discovery, but I recall the idea for global settings was whether to control whether the block-specific settings would be exposed. For example, let's say you are using Jetpack and all galleries already have lightboxes. In that case, the checkbox for AMP lightbox is redundant and shouldn't be presented to all users for every single block. Instead of removing the AMP-specific toggles, can the AMP toggles be moved to the Advanced panel so as to eliminate the AMP Settings panel? |
Agree 💯 I will move them to the |
f13567f
to
364ceee
Compare
@westonruter Can you give it a round of review? |
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.
LGTM!
Summary
This PR aims to move
AMP Settings
panel from the gallery block to advanced settings.Fixes #4989
Checklist