Skip to content

Match lineup coming soon state#15280

Open
jamesmockett wants to merge 2 commits intomainfrom
jm/coming-soon-lineup
Open

Match lineup coming soon state#15280
jamesmockett wants to merge 2 commits intomainfrom
jm/coming-soon-lineup

Conversation

@jamesmockett
Copy link
Contributor

@jamesmockett jamesmockett commented Feb 2, 2026

What does this change?

Adds coming soon state to Lineups component

Why?

The match lineup is not available until just ahead of kickoff time so we either need to hide the lineup entirely or show a placeholder

Screenshots

With lineup Lineup unavailable
lineup unavailable

@jamesmockett jamesmockett self-assigned this Feb 2, 2026
@jamesmockett jamesmockett added the feature Departmental tracking: work on a new feature label Feb 2, 2026
@jamesmockett jamesmockett force-pushed the jm/coming-soon-lineup branch from 4459f51 to d1b1b53 Compare February 2, 2026 19:10
@github-actions
Copy link

github-actions bot commented Feb 3, 2026

@jamesmockett jamesmockett force-pushed the jm/coming-soon-lineup branch from 5d4cc0f to 099b756 Compare February 3, 2026 15:56
@jamesmockett jamesmockett force-pushed the jm/coming-soon-lineup branch from 099b756 to 275ecad Compare February 3, 2026 16:56
@jamesmockett jamesmockett marked this pull request as ready for review February 3, 2026 17:07
@jamesmockett jamesmockett requested a review from a team February 3, 2026 17:07
@github-actions
Copy link

github-actions bot commented Feb 3, 2026

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.

Copy link
Contributor

@marjisound marjisound 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, but left the comments to understand when we need to show the coming soon section

isSubstitute={true}
isHome={false}
/>
{matchStats ? (
Copy link
Contributor

Choose a reason for hiding this comment

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

There are 2 points here:
1- there's a check in FootballMatchInfo component where it only renders the Lineups component when the lineups data is available. So we willprobably need to remove that check if we want to make matchStats prop optional, right?
2- The match info pages are avaiable several days before a match is happening, but I thought we only want to show the lineups coming soon section about an hour before the match starts, is that right?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

  1. I'll have a look at the existing check in FootballMatchInfo as I wasn't sure of the best way to determine if the lineup data is available.

  2. I believe lineups are available 75 mins before a match, but I'm not sure how long we want to show 'coming soon' for before that. Showing it for several days before a match might be stretching the idea of 'coming soon'? This probably needs some more design / product input as I don't think we came to a definitive conclusion when we discussed it yesterday.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Rather than making matchStats optional we could move the showLineups logic from FootballMatchInfo to here

@jamesmockett jamesmockett force-pushed the jm/coming-soon-lineup branch from 275ecad to 89a9b42 Compare February 4, 2026 11:04
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.

2 participants