material-design-for-wordpress icon indicating copy to clipboard operation
material-design-for-wordpress copied to clipboard

Carousel Block

Open jauyong opened this issue 4 years ago • 5 comments

Feature description

As a site editor I want a carousel block to display content


Do not alter or remove anything below. The following sections will be managed by moderators only.

Acceptance criteria

  1. The carousel should have "dots" indicating pagination and location in the carousel
  2. The carousel should have next and back buttons to manually scroll through the content
  3. When the user selects "card collections" the only styling option we will include is "Outlined"
  4. By default, pagination of the carousel should go post by post, not entire pages.

Implementation brief

QA testing instructions

Demo

Changelog entry

jauyong avatar Apr 06 '21 17:04 jauyong

@jauyong here's the concept on how Material Carousel block could look like and work.

https://user-images.githubusercontent.com/8026823/115675548-fa79e080-a34e-11eb-8c81-3344d98bf42c.mp4

Type of content displayed: • Recent posts • Gallery • Card Collection

Settings: • Layout e.g. Columns, Number of Posts, etc. • Equal height of cards • Autoplay (the slider is rotating every X ms - enabling this action will require specifying the exact time to rotate) • Pause on hover (this is an option specific to the Autoplay option) • Infinite loop (slider works as presented in the video attached, it's looped).

One more screenshot referencing options available and designs.

Carausel block

dawidmlynarz avatar Apr 22 '21 07:04 dawidmlynarz

@dawidmlynarz to add additional mocks based on the above, to show the additional settings

jauyong avatar May 10 '21 15:05 jauyong

Gallery

Here's the preview on how gallery looks like from Empty state to filled. Carausel - Gallery - Empty Carausel - Gallery - Filled Carausel - Gallery - Equal height

Recent posts

I have added Post Settings in the right panel to modify according to the user needs. Carausel - Recent posts - Post settings Carausel - Recent posts

Card Collection

Empty state for card collection. Number of cards can be modified. Filled looks like Recent posts. Carausel - Card Collection - Empty

@jauyong That's ready for review.

dawidmlynarz avatar May 21 '21 09:05 dawidmlynarz

@dawidmlynarz to update label on gallery for equal height, contain & cover, maintain ratio etc....

jauyong avatar May 21 '21 15:05 jauyong

@jauyong Updated the wording in the settings panel.

Carausel - Gallery - Empty Carausel - Gallery - Equal height Carausel - Gallery - Filled

dawidmlynarz avatar May 27 '21 10:05 dawidmlynarz