Automattic / Automattic/wp-calypso
Twenty Twenty Four Post Carousel Behavior
- Dominant language
- TypeScript
- Stars
- 12.6k
- Forks
- 2k
- Avg merge
- 1d 17h
- Merged PRs (30d)
- 538
Description
### Quick summary
When adding a post carousel block to a page in the Twenty Twenty Four theme and selecting "Testimonial" as the type the behavior is unexpected. The expected result is that you would see the testimonial itself and the author; however the actual result is that you see the author and an empty space that would typically be used for the featured image.
Ideally this block would either include a toggle for body content, so that you get the expected behavior when selecting Testimonials; or would not have the ability to display Testimonials at all to avoid confusion.
### Steps to reproduce
1. Create a page and add the Post Carousel block
2. In the Block Settings area toggle Testimonials as the post type
3. The carousel will display the Testimonial Author and a blank area for a Featured Image
### What you expected to happen
Ideally the blank image area would instead contain the text of the testimonial itself. Alternatively the carousel should not include an option for testimonials.
### What actually happened
The post carousel block displays the author of the testimonial and a blank area where a featured image would typically go if the block were set to posts or pages instead.
### Impact
All
### Available workarounds?
No but the platform is still usable
### If the above answer is "Yes...", outline the workaround.
_No response_
### Platform (Simple and/or Atomic)
_No response_
### Logs or notes
_No response_
Contributor guide
Research direction
Start by reproducing the issue in the Twenty Twenty Four theme with a Post Carousel block and Testimonials selected in Block Settings. Trace the carousel's testimonial rendering and settings entry points, then verify that the carousel shows the testimonial text and author or no longer offers Testimonials as an option.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, typescript, wordpress
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100