Skip to content

Add count to product carousel#15031

Merged
oliverabrahams merged 24 commits intomainfrom
oa/mobile-count-carousel
Jan 20, 2026
Merged

Add count to product carousel#15031
oliverabrahams merged 24 commits intomainfrom
oa/mobile-count-carousel

Conversation

@oliverabrahams
Copy link
Copy Markdown
Contributor

@oliverabrahams oliverabrahams commented Dec 18, 2025

What does this change?

Adds a count state to the product carousel which counts which card is being shown.
Adds a count component which uses a react portal to populate the count of scrolled cards.
Adds a count to scrollable products carousel up to mobile medium and then showing the navigation buttons.

Associated with these PRs #15025 #14968

Screenshots

Screenshot 2025-12-19 at 15 47 36

@oliverabrahams oliverabrahams changed the base branch from main to oa/navigation-arrows December 18, 2025 12:15
@oliverabrahams oliverabrahams added the run_chromatic Runs chromatic when label is applied label Dec 18, 2025
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Dec 18, 2025

@github-actions github-actions Bot removed the run_chromatic Runs chromatic when label is applied label Dec 18, 2025
@oliverabrahams oliverabrahams added the run_chromatic Runs chromatic when label is applied label Dec 18, 2025
@github-actions github-actions Bot removed the run_chromatic Runs chromatic when label is applied label Dec 18, 2025
@oliverabrahams oliverabrahams marked this pull request as ready for review December 19, 2025 15:18
@github-actions
Copy link
Copy Markdown

Hello 👋! When you're ready to run Chromatic, please apply the run_chromatic label to this PR.

You will need to reapply the label each time you want to run Chromatic.

Click here to see the Chromatic project.

@oliverabrahams oliverabrahams changed the title Draft - Add count to product carousel Add count to product carousel Dec 19, 2025
… subgrid, and link to the product text heading using the H2. The product element heading h2Id is added using the enhancers in dcr
…f the card using Visable slides on either mobile or tablet. Remove the css in the carousel that is front specific and put that behind the !isArticle boolean
…l carousel. There will be a future PR for carousels with 2 cards + stories
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Dec 22, 2025

@oliverabrahams oliverabrahams force-pushed the oa/mobile-count-carousel branch from 659f258 to 6930ef2 Compare December 22, 2025 10:35
@oliverabrahams oliverabrahams force-pushed the oa/mobile-count-carousel branch from 6930ef2 to ad7f3b4 Compare January 16, 2026 10:26
@oliverabrahams oliverabrahams self-assigned this Jan 16, 2026
@oliverabrahams oliverabrahams added the feature Departmental tracking: work on a new feature label Jan 16, 2026
Copy link
Copy Markdown
Contributor

@charleycampbell charleycampbell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me - appreciate the comments explaining the logic!

@oliverabrahams oliverabrahams added the run_chromatic Runs chromatic when label is applied label Jan 16, 2026
@github-actions github-actions Bot removed the run_chromatic Runs chromatic when label is applied label Jan 16, 2026
Base automatically changed from oa/navigation-arrows to main January 20, 2026 10:20
@oliverabrahams oliverabrahams added the run_chromatic Runs chromatic when label is applied label Jan 20, 2026
@github-actions github-actions Bot removed the run_chromatic Runs chromatic when label is applied label Jan 20, 2026
@oliverabrahams oliverabrahams merged commit 5d4ef41 into main Jan 20, 2026
26 checks passed
@oliverabrahams oliverabrahams deleted the oa/mobile-count-carousel branch January 20, 2026 12:02
@gu-prout
Copy link
Copy Markdown

gu-prout Bot commented Jan 20, 2026

Seen on PROD (merged by @oliverabrahams 9 minutes and 3 seconds ago) Please check your changes!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature Departmental tracking: work on a new feature Seen-on-PROD

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants