Skip to content

Commit 698a5f4

Browse files
committed
Expand transfer and Team of the Week coverage
1 parent b0e49b7 commit 698a5f4

23 files changed

Lines changed: 705 additions & 315 deletions
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"schemaVersion": 1,
33
"label": "Sportmonks data coverage",
4-
"message": "64%",
4+
"message": "65%",
55
"color": "yellowgreen"
66
}

‎AGENTS.md‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,8 @@ the design direction changes; carry the style into other views incrementally.
128128
the team Overview. Fixtures browses the complete cached date window across competitions. Squad
129129
uses the full content width. Transfers shows the complete team history with player-first rows,
130130
explicit incoming and outgoing direction, the counterpart club, and direct player and team links.
131+
Show the transfer's reported detailed position, falling back to its broader position; never use
132+
the player's current profile position for a historical move. Apply the same rule in the Transfers hub.
131133
Reuse the normalized transfer records shared with Player Career and never show amounts without a
132134
trustworthy currency.
133135
- On the team Fixtures page, the visible date is the first day of the fixture window. Do not expose
@@ -153,6 +155,8 @@ the design direction changes; carry the style into other views incrementally.
153155
- Competition Team of the Week browses the latest selection and explicit season rounds. Cache each
154156
query separately, hydrate shared player and team identities, preserve season context in links,
155157
and never display a latest selection from another season as the selected season's team.
158+
Match each selection's fixture ID to the existing season schedule to show linked opponents,
159+
scores, and dates. Require the same competition and season; retain View match when detail is missing.
156160
- Fixture pages keep Preview, Game, Commentary, Lineups, Stats, and Odds in horizontal navigation
157161
inside the score hero. Resolve generic fixture links to Preview before play and Game once the
158162
match has started, including breaks and completed matches. Keep postponed and cancelled fixtures
@@ -466,6 +470,8 @@ the design direction changes; carry the style into other views incrementally.
466470
Keep rumours separate from transfer history and current club membership. Show provider likelihood
467471
as a label, never a calculated probability or confirmation; link only HTTP(S) sources and display
468472
fees only with an explicit currency. Retain unknown clubs and source details as unknown.
473+
Show the rumour's reported position when available. The live API rejects `detailedPosition` on
474+
rumours despite listing it in the catalog; revalidate support before requesting it.
469475

470476
## Profile and Fixture Detail
471477

‎README.md‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -86,8 +86,8 @@ include should have a useful place in Halfspace.
8686
- [x] Round-by-round league tables with season selection and offline history.
8787
- [x] Live league tables with in-play standings and automatic updates.
8888
- [x] Team pages with current competitions, fixtures, squad profiles, and transfer history.
89-
- [x] Transfer hub with latest updates, date ranges, paginated browsing, and linked player and club profiles.
90-
- [x] Team and player transfer rumours with sources, reported likelihood, and paginated browsing.
89+
- [x] Transfer hub with latest updates, date ranges, paginated browsing, reported player positions, and linked player and club profiles.
90+
- [x] Team and player transfer rumours with sources, reported likelihood and player positions, and paginated browsing.
9191
- [x] Historical team squads with season selection and offline browsing.
9292
- [x] Current team injuries and suspensions with linked player profiles.
9393
- [x] Team rivalries with direct links to rival clubs.
@@ -120,7 +120,7 @@ include should have a useful place in Halfspace.
120120
- [x] Fixture Preview TV guides with country-specific broadcast listings.
121121
- [x] Country-based TV Guide with live and upcoming matches and broadcaster links.
122122
- [x] Broadcaster pages with paginated upcoming and past schedules and match-specific broadcast regions.
123-
- [x] Competition Team of the Week with season and round browsing.
123+
- [x] Competition Team of the Week with season and round browsing, plus opponents, scores, and dates from the cached schedule.
124124
- [x] Pre-match and in-play odds explorer with market and bookmaker comparison.
125125
- [x] Subscription overview showing plans, add-ons, and feature access for your token.
126126
- [x] Global search across matches and football profiles, including referees, with cached results.

‎docs/sportmonks-coverage.json‎

Lines changed: 46 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -142,9 +142,30 @@
142142
"referees/get-referees-search-by-name": ["country"],
143143
"coaches/get-coaches-search-by-name": ["nationality"],
144144
"transfers/get-transfers-by-player-id": ["type", "fromTeam", "toTeam"],
145-
"transfers/get-latest-transfers": ["player", "type", "fromTeam", "toTeam"],
146-
"transfers/get-transfers-between-date-range": ["player", "type", "fromTeam", "toTeam"],
147-
"transfers/get-transfers-by-team-id": ["player", "type", "fromTeam", "toTeam"],
145+
"transfers/get-latest-transfers": [
146+
"player",
147+
"type",
148+
"fromTeam",
149+
"toTeam",
150+
"position",
151+
"detailedPosition"
152+
],
153+
"transfers/get-transfers-between-date-range": [
154+
"player",
155+
"type",
156+
"fromTeam",
157+
"toTeam",
158+
"position",
159+
"detailedPosition"
160+
],
161+
"transfers/get-transfers-by-team-id": [
162+
"player",
163+
"type",
164+
"fromTeam",
165+
"toTeam",
166+
"position",
167+
"detailedPosition"
168+
],
148169
"venues/get-venue-by-id": ["country", "city"],
149170
"venues/get-venues-by-search-by-name": ["country"],
150171
"fixtures/get-past-fixtures-by-tv-station-id": [
@@ -179,8 +200,20 @@
179200
"referees/get-referees-by-season-id": ["country"],
180201
"venues/get-venues-by-season-id": ["country"],
181202
"standings/get-standing-correction-by-season-id": ["participant", "stage", "group"],
182-
"transfer-rumours/get-transfer-rumours-by-team-id": ["player", "fromTeam", "toTeam", "type"],
183-
"transfer-rumours/get-transfer-rumours-by-player-id": ["player", "fromTeam", "toTeam", "type"],
203+
"transfer-rumours/get-transfer-rumours-by-team-id": [
204+
"player",
205+
"fromTeam",
206+
"toTeam",
207+
"type",
208+
"position"
209+
],
210+
"transfer-rumours/get-transfer-rumours-by-player-id": [
211+
"player",
212+
"fromTeam",
213+
"toTeam",
214+
"type",
215+
"position"
216+
],
184217
"statistics/get-stage-statistics-by-id": [],
185218
"statistics/get-round-statistics-by-id": [],
186219
"topscorers/get-topscorers-by-stage-id": ["player", "participant", "type"],
@@ -193,6 +226,14 @@
193226
"seasons/get-seasons-by-team-id": ["league"]
194227
},
195228
"equivalents": {
229+
"team-of-the-week-totw:fixture": {
230+
"requires": {
231+
"team-of-the-week-totw/get-latest-totw": [],
232+
"team-of-the-week-totw/get-totw-per-round": [],
233+
"schedules/get-schedules-by-season-id": []
234+
},
235+
"reason": "Team of the Week cards resolve each reported fixture ID against the shared season schedule, validate competition and season, and show linked opponents, score, and date when cached."
236+
},
196237
"expected-lineups:fixture": {
197238
"requires": { "fixtures/get-fixture-by-id": ["expectedLineups"] },
198239
"reason": "Expected lineups are fetched for, validated against, and presented inside their fixture."

0 commit comments

Comments
 (0)