-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Tracking Issue: Interactivity API Behaviors MVP #52292
Comments
What's New This Week Progress is going well on advancing this MVP, and we're edging closer to removing the experimental flag. On a general level, the recently added We merged and/or closed the following:
We also added the following issues to the scope and pushed the target Gutenberg release from 16.3 to 16.4, which means a new deadline of July 28th.
The aspect ratio support is coming along, though it's taking longer than I'd like. There are some cases, namely in using the It's been a bit tricky accounting for performance on all browsers and dealing with all of the combinations of device size and image resolutions/aspect ratios, though I should be able to wrap things up by the deadline. |
I updated the tracking issue with test instructions. |
What's New This Week Adding aspect ratio support has been proven to be challenging because of all of the edge cases, though we've now addressed all of the issues with the We've also determined that the Behaviors UI will NOT ship for the time being, as it would be better for the end user to have just the relevant UI for the image, so we will need to devise a new UI implementation for the lightbox. I've updated the issue description to reflect this. We've also discovered a couple of bugs that should be addressed before declaring that a v0.1 is complete. We merged the following: The following have been added to the scope:
I've pushed the anticipated release to 16.6, which means a new target deadline of August 25th. While this tracking issue is focused on delivering a configurable first version of the lightbox implementing the Interactivity API as an MVP, we've also started started looking beyond to determine the lightbox feature set for WordPress 6.4, target deadline of 22 September 2023 for inclusion in the first 6.4 beta. You can find more info on future plans for the lightbox in the dedicated lightbox tracking issue. |
Update 08 August 2023 We will no longer be surfacing "behaviors" as part of the lightbox UX, and even though we will continue to use the Interactivity API under the hood for the lightbox, we will no longer be using it as a testing ground for behaviors as a concept. With that in mind, I'll close this issue and now capture all lightbox UI issues in the dedicated #51132. |
Update 08 August 2023 — We will no longer be surfacing "behaviors" as part of the lightbox UX, and even though we will continue to use the Interactivity API under the hood for the lightbox, we will no longer be using it as a testing ground for behaviors as a concept. With that in mind, I'll close this issue and now capture all lightbox UI issues in the dedicated lightbox tracking issue.
Description
This issue is meant to capture the requirements to deliver an MVP of behaviors via the Interactivity API, which includes tasks from the image lightbox and the outline for block behaviors.
By centralizing this information, the idea is to get a better roadmap of next steps for the both issues and their intersections relative to upcoming Gutenberg releases. We could also use this issue to coordinate further after the initial goal is met.
Target Gutenberg Release: 16.6
Goals
- [x] Removal of experimental flag on lightbox
- [ ] Lightbox configurable on image blocks globally using UI
Deadline: 25 August 2023
Release Candidate Date: 30 August 2023
Lightbox
Lightbox UI
Interactivity API
afterLoad
callbacks tostore
calls #53363How to enable
Editing
theme.json
fileYou can add the behaviors object at the same level as settings and styles. Enabled can be
true
orfalse
. Animation can bezoom
orfade
.Via Global Styles, block settings.
global_styles_by_block.mov
Via Block Settings
global_styles_by_block_settings.mov
Via individual block
by_individual_block.mov
What to test
The text was updated successfully, but these errors were encountered: