StatsHub Docs

Player Cards

A player's card record, fixture by fixture — structurally the third copy of one board, and an open question about whether it should be.

/player-cards · src/composed/player-cards

A player's card record: the fixture selection and its five queries.

The third copy

Structurally this is the same board as AGS and Assist — the same /api/event/by-date picker feeding the same AGScollection and tournaments-and-seasons endpoints.

Two things differ:

  • its date filter is the shared PlayerCardsDateFilter rather than an inline popover;
  • it carries a stat selector the other two do not.

Folding all three together is a live design question. It is written down here rather than acted on, because the merge that already happened worked on boards differing by four lines, and this one differs by more than that — enough that the union would need a mode flag, which is how a merged board becomes worse than two separate ones.

If you are about to add a fourth board with the same picker, that is the signal to do the merge rather than the fourth copy.

On this page