Skip to content

WS 3175 - Show Tipo headline on Live pages at the top of sports data header - #14357

Merged
Louis-Matsika merged 15 commits into
latestfrom
WS-3175--show-tipo-headline-on-live-pages-at-the-top-of-sports-data-header
Sep 4, 2026
Merged

WS 3175 - Show Tipo headline on Live pages at the top of sports data header#14357
Louis-Matsika merged 15 commits into
latestfrom
WS-3175--show-tipo-headline-on-live-pages-at-the-top-of-sports-data-header

Conversation

@Louis-Matsika

@Louis-Matsika Louis-Matsika commented Sep 2, 2026

Copy link
Copy Markdown
Contributor

Resolves JIRA: WS-3175

Summary

Show Tipo headline, present in sports data on Live pages at the top of sports data header

Live:
Screenshot 2026-09-02 at 11 08 02 am

Changes on preview:
Screenshot 2026-09-02 at 11 08 20 am

Changes on localhost(with live label):
Screenshot 2026-09-02 at 11 08 35 am

Code changes

File summaries
File Description
ws-nextjs-app/pages/[service]/live/[id]/LivePageLayout.tsx Extracts sportDataEventContent.title and passes it down to Header as sportDataTitle.
ws-nextjs-app/pages/[service]/live/[id]/Header/index.tsx Renders the passed sportDataTitle within the sport-data header layout.
ws-nextjs-app/pages/[service]/live/[id]/Header/styles.tsx Adds new Emotion styles for the sport-title row and text.
ws-nextjs-app/pages/[service]/live/[id]/Header/LiveLabelHeader/index.styles.ts Tweaks live label container styling for sport-data header layout.
ws-nextjs-app/pages/[service]/live/[id]/live.test.tsx Updates tests around sport-data header title rendering expectations.
data/turkce/live/c70yqnn9ekxt.json Adds a live page fixture containing sportDataEventContent.title for local testing.

Testing

to check the title vist any live page with sports data e.g. http://localhost:7081/turkce/live/c70yqnn9ekxt

Useful Links

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟡 Changes recommended

The sport-data header can produce an empty/meaningless <h1> when the sport title is missing, which is an accessibility regression that should be fixed before approval.

Once you've addressed the issues Copilot identified, you can request another Copilot review.

Pull request overview

Updates Live pages with sports data so the sportDataEventContent.title (“Tipo headline”) is displayed at the top of the sport data header area.

Changes:

  • Plumbs sportDataEventContent.title from LivePageLayout into the Header component for sport-data live pages.
  • Updates the sport-data header markup/styling to render the sport title alongside the live label.
  • Adjusts Live page tests to reflect the new sport-title behaviour, and adds a fixture for local verification.
File summaries
File Description
ws-nextjs-app/pages/[service]/live/[id]/LivePageLayout.tsx Extracts sportDataEventContent.title and passes it down to Header as sportDataTitle.
ws-nextjs-app/pages/[service]/live/[id]/Header/index.tsx Renders the passed sportDataTitle within the sport-data header layout.
ws-nextjs-app/pages/[service]/live/[id]/Header/styles.tsx Adds new Emotion styles for the sport-title row and text.
ws-nextjs-app/pages/[service]/live/[id]/Header/LiveLabelHeader/index.styles.ts Tweaks live label container styling for sport-data header layout.
ws-nextjs-app/pages/[service]/live/[id]/live.test.tsx Updates tests around sport-data header title rendering expectations.
data/turkce/live/c70yqnn9ekxt.json Adds a live page fixture containing sportDataEventContent.title for local testing.
Review details
  • Files reviewed: 5/6 changed files
  • Comments generated: 2
  • Review effort level: Lite

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread ws-nextjs-app/pages/[service]/live/[id]/Header/index.tsx Outdated
Comment thread ws-nextjs-app/pages/[service]/live/[id]/live.test.tsx Outdated
Louis-Matsika and others added 2 commits September 2, 2026 11:46
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟡 Changes recommended

The new header styling introduces a hard-coded colour (and expands Emotion styling) that should be aligned with theming/styling conventions before merge.

Once you've addressed the issues Copilot identified, you can request another Copilot review.

Review details
  • Files reviewed: 5/6 changed files
  • Comments generated: 2
  • Review effort level: Lite

Comment thread ws-nextjs-app/pages/[service]/live/[id]/Header/styles.tsx Outdated
Comment thread ws-nextjs-app/pages/[service]/live/[id]/Header/styles.tsx Outdated
Louis-Matsika and others added 3 commits September 2, 2026 12:21
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
@Louis-Matsika

Copy link
Copy Markdown
Contributor Author

changes have been UX approved using preview

@Louis-Matsika
Louis-Matsika marked this pull request as ready for review September 2, 2026 11:54
Comment thread ws-nextjs-app/pages/[service]/live/[id]/Header/styles.tsx
Comment thread ws-nextjs-app/pages/[service]/live/[id]/Header/index.tsx Outdated
Comment thread ws-nextjs-app/pages/[service]/live/[id]/Header/index.tsx Outdated

@Isabella-Mitchell Isabella-Mitchell left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Think the code looks good thanks. I'm conscious that the title is "canon" and not trafalgar" as specified on the ticket due to the current update to the H2 size. I'd double check everything still looks ok with UX before merging. I did some brief A11y checks and it looks good.

@Louis-Matsika

Copy link
Copy Markdown
Contributor Author

Think the code looks good thanks. I'm conscious that the title is "canon" and not trafalgar" as specified on the ticket due to the current update to the H2 size. I'd double check everything still looks ok with UX before merging. I did some brief A11y checks and it looks good.

thanks Izzy, we're currently discussing the correct sizes with UX so we'll make sure everythings okay before merging : )

@Louis-Matsika
Louis-Matsika merged commit 722abdc into latest Sep 4, 2026
18 checks passed
@Louis-Matsika
Louis-Matsika deleted the WS-3175--show-tipo-headline-on-live-pages-at-the-top-of-sports-data-header branch September 4, 2026 15:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants