Page MenuHomePhabricator

Image Browsing: Refine the UI design for Carousel component
Closed, ResolvedPublic3 Estimated Story Points

Description

Background

The carousel will need a number of refinements. We are collecting these in this ticket

Requirements

We need to refine the UI of the Carousel component to include the following:

@JScherer-WMF feel free to elaborate further or include any mockups.

Event Timeline

HSwan-WMF set the point value for this task to 3.Aug 19 2025, 5:22 PM

Thumbnail height = 175px

Min thumbnail width = 100px

image.png (794×1,835 px, 408 KB)

Max thumbnail width = 1/3 width of the content area OR 175px, whichever is larger -> e.g. 950px/3 = 317px

image.png (3,033×2,109 px, 1 MB)

Don't show gallery for articles with less than 3 included images.

Hey @JScherer-WMF any thoughts on hover/focus/interaction states? Keyboard navigation? There isn't a great Codex analogue at present but I could see a blue (default accent color) outline being useful for focus. I assume we want a pointer cursor on hover, anything else there (fade effect, etc)?

hover state is the same as the "card" component in codex, a 1px border with border-color: interactive--hover

Change #1181668 had a related patch set uploaded (by Matthias Mullie; author: Matthias Mullie):

[mediawiki/extensions/ReaderExperiments@master] Refine the UI design for Carousel component

https://gerrit.wikimedia.org/r/1181668

Change #1181668 merged by jenkins-bot:

[mediawiki/extensions/ReaderExperiments@master] Refine the UI design for Carousel component

https://gerrit.wikimedia.org/r/1181668

egardner updated the task description. (Show Details)
egardner updated the task description. (Show Details)