Skip to content

Conversation

@marjisound
Copy link
Contributor

@marjisound marjisound commented Jan 5, 2026

What is the value of this and can you measure success?

This PR updates the data model for dotcomRenderingFootballMatchSummaryDataModel with the league table group the match is in. This data model affects the following endpoints:

Why not include the whole league table:
The DCAR match summary page only requires the context of the specific group the teams are in, not the entire league table.

  • For competitions with multiple groups (e.g. World Cup, Champions League), the full league table data payload can become very large. Sending only the relevant group prevents unnecessary performance degradation.

  • Detailed team results within the group entries are not required for these summary pages, so they have been excluded to further reduce payload size.

The DCAR PR for this guardian/dotcom-rendering#15079

The result look like this:
image

This PR fixes part of #14904

@github-actions
Copy link
Contributor

github-actions bot commented Jan 5, 2026

@marjisound marjisound marked this pull request as ready for review January 6, 2026 10:46
@marjisound marjisound requested a review from a team as a code owner January 6, 2026 10:46
@marjisound marjisound self-assigned this Jan 6, 2026
@marjisound marjisound changed the title Add league tables data to the /football/match endpoints Add league tables data to the football match info endpoints Jan 6, 2026
Copy link
Contributor

@ioannakok ioannakok left a comment

Choose a reason for hiding this comment

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

Great work 🥳

@marjisound marjisound force-pushed the add-league-tables-to-football-match-endpoints branch from 176b58b to 11f5432 Compare January 19, 2026 17:09
@marjisound marjisound added the feature Departmental tracking: work on a new feature label Jan 20, 2026
@marjisound marjisound merged commit a429e16 into main Jan 20, 2026
10 of 11 checks passed
@marjisound marjisound deleted the add-league-tables-to-football-match-endpoints branch January 20, 2026 09:08
@gu-prout
Copy link

gu-prout bot commented Jan 20, 2026

Seen on ADMIN-PROD (merged by @marjisound 26 minutes and 14 seconds ago)

@gu-prout
Copy link

gu-prout bot commented Jan 20, 2026

Seen on FRONTS-PROD (merged by @marjisound 28 minutes and 24 seconds ago)

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 Seen-on-ADMIN-PROD Seen-on-FRONTS-PROD

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants