Skip to content

Cricket mini match stats#16279

Open
williammead wants to merge 17 commits into
mainfrom
cricket-mini-match-stats
Open

Cricket mini match stats#16279
williammead wants to merge 17 commits into
mainfrom
cricket-mini-match-stats

Conversation

@williammead

@williammead williammead commented Jun 26, 2026

Copy link
Copy Markdown
Contributor

What does this change?

Adds a mini stats component to cricket liveblogs behind the cricket redesign abTest.

This addition touches a fair few files, but has generally been done inline with how the football mini stats component is implemented as well as borrowing styles from the cricket scorecard.

The data is filtered to only show the two batters who are currently batting. The whole component will not be shown if there are no batters (for whatever reason). The button links to the scorecard tab using "#scorecard".

I'm not sure about future plans to include other sports, but inline with the headers being extracted into a separate component I've extracted the mini stats into a separate component to make it slightly easier to update with other sports if need be in the future.

Screenshots

Screenshot 2026-07-01 at 12 26 42

@williammead williammead added the feature Departmental tracking: work on a new feature label Jun 26, 2026
@williammead williammead linked an issue Jun 26, 2026 that may be closed by this pull request
@github-actions

github-actions Bot commented Jun 26, 2026

Copy link
Copy Markdown

@williammead williammead marked this pull request as ready for review July 2, 2026 15:19
@github-actions

github-actions Bot commented Jul 2, 2026

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.

@williammead williammead added the run_chromatic Runs chromatic when label is applied label Jul 2, 2026
@github-actions github-actions Bot removed the run_chromatic Runs chromatic when label is applied label Jul 2, 2026
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.

Component for Cricket Mini Match Stats

1 participant