-
Notifications
You must be signed in to change notification settings - Fork 45
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
feat(carousel): rename block and reorganise settings #1962
Conversation
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.
This needs a little updating to more closely match changes made in #2000:
- Rename "Settings" panel to "Display"
- Rename "Loop" panel to "Content"
- Move "Display" panel below "Content" panel
These changes would bring the sidebar panels more in line with changes to the Content Loop block in #2000.
Aside from that, there are some additional changes we could consider to this block, either in this PR or another one. Consider these non-blocking suggestions rather than required changes.
- Add option to "Allow duplicate stories" or not, and make sure it works the same way in both editor vs. front-end (see comment for details on how it's currently slightly broken)
- Consider moving attributes from
index.js
to ablock.json
file for registering block attributes, to bring it in line with other blocks in our codebase
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.
@thomasguillot Thanks for the reorganization and the new block.json file! The changes here look great.
While testing this, I ran into an issue where setting block attributes that result in zero posts can crash the editor. However, I confirmed this is reproducible on trunk
as well so it's not due to any of these changes. Filed a bug report here: 1200550061930446/1209344644455228
Hey @thomasguillot, good job getting this PR merged! 🎉 Now, the Please check if this PR needs to be included in the "Upcoming Changes" and "Release Notes" doc. If it doesn't, simply remove the label. If it does, please add an entry to our shared document, with screenshots and testing instructions if applicable, then remove the label. Thank you! ❤️ |
# [4.7.0-alpha.1](v4.6.0...v4.7.0-alpha.1) (2025-02-20) ### Bug Fixes * **carousel:** avoid editor crash on empty ([#2058](#2058)) ([c316801](c316801)) * **modal-checkout:** better iframe sizing ([#2052](#2052)) ([aa308f2](aa308f2)) * **recaptcha:** use clone of #place_order button to trigger checkout ([#2028](#2028)) ([46eb8b5](46eb8b5)), closes [#2030](#2030) [#2030](#2030) ### Features * add styles to fix Braintree modal appearance ([#2036](#2036)) ([9ab2c62](9ab2c62)) * add toggle for transaction details ([#2049](#2049)) ([d254aca](d254aca)) * **carousel:** rename block and reorganise settings ([#1962](#1962)) ([9905717](9905717)) * update blocks with new brand ([#2050](#2050)) ([2711302](2711302))
🎉 This PR is included in version 4.7.0-alpha.1 🎉 The release is available on: Your semantic-release bot 📦🚀 |
All Submissions:
Changes proposed in this Pull Request:
Similar to #1943, this time for the "Post Carousel" block.
How to test the changes in this Pull Request:
Other information: