WS-2003: Portrait Carousel on Live Pages - #14005
Merged
Merged
Conversation
Co-authored-by: Copilot <copilot@github.com>
HarveyPeachey
commented
May 11, 2026
Co-authored-by: Copilot <copilot@github.com>
HarveyPeachey
marked this pull request as ready for review
May 12, 2026 07:50
shayneahchoon
approved these changes
May 12, 2026
HarveyPeachey
commented
May 12, 2026
HarveyPeachey
left a comment
Contributor
Author
There was a problem hiding this comment.
Will get UX to take a look to see if the number of promos is suitable for the container size
Contributor
There was a problem hiding this comment.
Pull request overview
Adds support for rendering the Portrait Video (PV) carousel on Next.js live pages when portrait video items are present in the live page payload, and updates the shared PortraitVideoCarousel component to allow omission of a visible title.
Changes:
- Render
PortraitVideoCarouselon live pages (in the second section, before the stream) whenportraitVideoItemsexist. - Make the carousel title optional and only render the heading when a title is provided.
- Update live page styling and tests; fix
overflowWrapnaming in live label header styles.
Reviewed changes
Copilot reviewed 6 out of 6 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| ws-nextjs-app/pages/[service]/live/[id]/styles.ts | Removes flex centering from the live page second section to accommodate the new carousel + stream layout. |
| ws-nextjs-app/pages/[service]/live/[id]/LivePageLayout.tsx | Adds conditional live-page rendering of PortraitVideoCarousel using portraitVideoItems. |
| ws-nextjs-app/pages/[service]/live/[id]/live.test.tsx | Mocks and asserts carousel rendering when portraitVideoItems are provided. |
| ws-nextjs-app/pages/[service]/live/[id]/Header/LiveLabelHeader/index.styles.ts | Fixes overflowWrap style key naming. |
| src/app/components/PortraitVideoCarousel/index.tsx | Makes title optional; conditionally renders heading; introduces aria-label fallback. |
| src/app/components/PortraitVideoCarousel/index.test.tsx | Adds a test for rendering the carousel without a title. |
Co-authored-by: Copilot <copilot@github.com>
Co-authored-by: Copilot <copilot@github.com>
Co-authored-by: Copilot <copilot@github.com>
emilysaffron
approved these changes
May 13, 2026
amoore108
reviewed
May 13, 2026
amoore108
approved these changes
May 13, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Resolves JIRA: https://bbc.atlassian.net/browse/WS-2003
Summary
Adds PV carousel onto live pages when found in page data

Code changes
Testing
Useful Links