-
Notifications
You must be signed in to change notification settings - Fork 556
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
Tag pages in DCR #26149
Tag pages in DCR #26149
Conversation
Co-Authored-By: Alina Boghiu <[email protected]>
"participatingInTest" -> participatingInTest.toString, | ||
// "testPercentage" -> DCRTagFronts.participationGroup.percentage, | ||
"dcrCouldRender" -> dcrCouldRender.toString, | ||
"isFront" -> "true", |
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.
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.
Really impressive work! Well done! 👏 👏
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.
Looks good! 🎉 🎉 🎉
Seen on ADMIN-PROD (merged by @OllysCoding 18 minutes and 42 seconds ago)
|
Seen on FRONTS-PROD (merged by @OllysCoding 19 minutes and 48 seconds ago)
|
PR to support tag fronts in DCR (e.g https://www.theguardian.com/tone/minutebyminute).
DCR PR: guardian/dotcom-rendering#7752
Model
This PR creates
DotcomTagFrontsRenderingModel
which includes the information required for DCR to render a tag front. Helpfully, we're able to use thePressedContent
model for cards on tag fronts - enabling us to avoid having to build a new card model in DCR.Picker
This PR creates a basic
TagFrontPicker
which can take a page and decide whether DCR will be able to render it or not - as we don't currently fully support any pages, this will always return false unless?dcr
is set to true.Logging
This PR moves
DotcomFrontsLogger
into common, and expands it to support logging for both pressed & tag fronts.Tag endpoints
This PR adds support for
?dcr
and.json?dcr
to tag front endpoints