Skip to content

Wire scorecard into live layout#16216

Draft
Jakeii wants to merge 4 commits into
mainfrom
jlk/wire-cricket-scorecard-tab
Draft

Wire scorecard into live layout#16216
Jakeii wants to merge 4 commits into
mainfrom
jlk/wire-cricket-scorecard-tab

Conversation

@Jakeii

@Jakeii Jakeii commented Jun 19, 2026

Copy link
Copy Markdown
Member

What does this change?

Wrap the elements we want to replace with the scorecard when the tab is clicked with an element in the LiveLayout.

I've also removed the initalData prop from the cricket match header components and updated storybook to mock the data fetching instead, as we will never have initalData for the cricket match header. (It's only available on the scorecard page, which we're replacing with a client side rendered tab)

Why?

Get the scorecard working behind the 0% test!

@github-actions

github-actions Bot commented Jun 19, 2026

Copy link
Copy Markdown

@Jakeii Jakeii added the feature Departmental tracking: work on a new feature label Jun 19, 2026
@Jakeii Jakeii linked an issue Jun 19, 2026 that may be closed by this pull request
@Jakeii Jakeii added the run_chromatic Runs chromatic when label is applied label Jun 19, 2026
@github-actions github-actions Bot removed the run_chromatic Runs chromatic when label is applied label Jun 19, 2026
@Jakeii Jakeii force-pushed the jlk/wire-cricket-scorecard-tab branch from e05ae5f to ac0fb1e Compare June 19, 2026 09:23
@Jakeii Jakeii added the run_chromatic Runs chromatic when label is applied label Jun 19, 2026
@github-actions github-actions Bot removed the run_chromatic Runs chromatic when label is applied label Jun 19, 2026
config: { isPaidContent, host, hasLiveBlogTopAd, hasSurveyAd },
} = article;

const ab = useAB();

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Suggest using "Hide Whitespace" to review this file!

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Wire Scorecard into cricket match header and live layout

1 participant