Skip to content
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

Add SpecialReportAlt to CardStyle #280

Merged
merged 5 commits into from
Nov 7, 2022
Merged

Conversation

DanielCliftonGuardian
Copy link
Contributor

@DanielCliftonGuardian DanielCliftonGuardian commented Oct 24, 2022

What does this change?

Adds SpecialReportAlt to Cardstyle. We need this in order to be able to style the SpecialReportAlt cards in fronts rendered by frontend as it relies on CardStyle to decide the class of the card.

This PR is the 2nd in this series:

  1. content-api-scala-client: Adds SpecialReportAltTheme and SpecialReportAlt hashed tag to content-api-scala-client: Add SpecialReportAltTheme to Format content-api-scala-client#371
  2. facia-scala-client: Adds SpecialReportAlt to CardStyle: Add SpecialReportAlt to CardStyle #280 (current)
  3. frontend: Consumes the new clients and adds card styles for fronts rendered by frontend: Add SpecialReportAlt card styles frontend#25602

How to test

Tested in frontend locally using the SNAPSHOT version.

Deployment

  • Updated facia-tool to use latest version
  • Updated frontend to use latest version
  • Updated MAPI to use latest version
  • Updated Ophan to use latest version
  • Updated story-packages to use latest version
  • Updated apple-news to use latest version
  • Checked for other downstream dependencies (perhaps via snyk or github search)

TODO: This is the SNAPSHOT version for local testing. We will use the non-SNAPSHOT when it is published
@ioannakok ioannakok changed the title Add specialReportAlt to CardStyle Add SpecialReportAlt to CardStyle Oct 31, 2022
@@ -1,7 +1,7 @@
import sbt._

object Dependencies {
val capiVersion = "19.0.3"
val capiVersion = "19.0.5-SNAPSHOT"
Copy link
Contributor

@ioannakok ioannakok Nov 4, 2022

Choose a reason for hiding this comment

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

Will update with the right version after this gets merged: guardian/content-api-scala-client#371 and make build happy

@ioannakok ioannakok marked this pull request as ready for review November 4, 2022 12:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants