Open Nyiriland opened 4 months ago
Here is the branch: a8cteam51/johan-ernst@fix/142-carousel-animation And the PR (ongoing): a8cteam51/johan-ernst/pull/236
Hi @Nyiriland @dhanson-wp, I can't access the above links. Would you happen to have any updates on the carousel block's progress? I need a post-carousel block for the Blanes Museum.
@sagarnasit Added you to that repo. I'm not sure where we're at with the progress on this block, I think it's been paused since we don't have resources to move it forward.
I was able to achieve a post carousel using query block variation. https://github.com/a8cteam51/blanes-museum/tree/trunk/mu-plugins/blanes-museum-blocks-customizations/src/post-carousel-query-variation
Overview
Allows you to scroll through a horizontal series of content, including:
There's 2 ways we could approach this:
We're choosing to focus on creating a new Carousel block so that it can be more easily surfaced within canonical blocks in the future, but could alter the approach if others think differently. (cc @jffng @tommusrhodus )
Scope
The following is a rough outline of the block:
Settings/options:
To be decided:
Accessibility
As with everything we build, a11y will be top of mind. This will include:
Block Editor
An idea we have is that once you insert the Carousel block, you'll get an option of 2 workflows (or 3, if you have Woo installed):
Front end examples
See below.
Work in progress
Happy Prime has been exploring some options with carousels, especially on Ernst, and are interested in taking on building out the approach outlined in this issue.
Here is the branch: https://github.com/a8cteam51/johan-ernst/tree/fix/142-carousel-animation And the PR (ongoing): https://github.com/a8cteam51/johan-ernst/pull/236