-
Notifications
You must be signed in to change notification settings - Fork 230
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WSTEAM1-1461: Fetch On Demand TV data from BFF #12188
WSTEAM1-1461: Fetch On Demand TV data from BFF #12188
Conversation
Invoke the BFF instead of the JSON endpoint; Implement toggles logic to determine the number of recent episodes to display
… continue to work
This reverts commit f56c4d1.
…AM1-1461-simorgh-fetch-tv-from-bff
…bc/simorgh into WSTEAM1-1461-simorgh-fetch-tv-from-bff
…AM1-1461-simorgh-fetch-tv-from-bff
…AM1-1461-simorgh-fetch-tv-from-bff
@@ -58,7 +59,7 @@ const getCampaignID = (pageType: CampaignPageTypes) => { | |||
[ARTICLE_PAGE]: 'article', | |||
[MEDIA_ARTICLE_PAGE]: 'article-sfv', | |||
[FRONT_PAGE]: 'index-home', | |||
[MEDIA_PAGE]: 'player-episode-tv', | |||
[MEDIA_PAGE]: 'player-episode', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
was anything actually meant to be player-episode-tv
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See my comment here: https://paper.dropbox.com/doc/Test-Plan-On-Demand-Audio-TV-and-Live-Radio-pages-anBxRcoM9CiAJNdnkB6I1?t=948328379551413787286778#:t=948328379551413787286778
That said... might it need to be player-episode-tv
for ATI when viewing a shared media component such as recent episodes or the radio schedule. Do we need to check with Product before we remove this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess lug it in with player-episode-tv
-> player-episode-radio
, as long as they're aware it's changing it should be fine
…AM1-1461-simorgh-fetch-tv-from-bff
…h-fetch-tv-from-bff
…h-fetch-tv-from-bff
…h-fetch-tv-from-bff
…des displayed is less than or equal to the max limit set in toggles
Resolves JIRA https://jira.dev.bbc.co.uk/browse/WSTEAM1-1461
Overall changes
Fetch On Demand TV from the BFF instead of from the json endpoint
Code changes
Testing