Skip to content

Conversation

@philmcmahon
Copy link
Contributor

What does this change?

This pr is part of an effort to replace the quick guide atoms in stories such as this one with a callout made in the targeting tool. The motivation is to prevent callout text from being shared with syndication partners.

To do this, I'm introduce a new type of callout - 'reporter callout' - which differs from the existing 'callout' (which is really a 'community callout') in that it is a lot simpler, with no associated Tag or Form stack form. The rendering will also differ. With that in mind, we need a way to distinguish between the existing 'callout' elements and these new reporter callouts. This PR adds a new 'calloutType' field to the callout fields type.

How to test

Needs testing on CODE

@philmcmahon philmcmahon added the feature Departmental tracking: work on a new feature label Nov 14, 2025
gu-scala-library-release bot added a commit that referenced this pull request Nov 14, 2025
… philmcmahon

philmcmahon published release version 34.0.0-PREVIEW.pm-callout-type.2025-11-14T1725.7389da8b
using gha-scala-library-release-workflow: https://github.com/guardian/gha-scala-library-release-workflow

Release-Version: 34.0.0-PREVIEW.pm-callout-type.2025-11-14T1725.7389da8b
Release-Initiated-By: https://github.com/philmcmahon
Release-Workflow-Run: https://github.com/guardian/content-api-models/actions/runs/19371708052
Release-Notes: #273
@gu-scala-library-release
Copy link
Contributor

@philmcmahon has published a preview version of this PR with release workflow run #101, based on commit 7389da8:

34.0.0-PREVIEW.pm-callout-type.2025-11-14T1725.7389da8b

Want to make another preview release?

Click 'Run workflow' in the GitHub UI, specifying the pm-callout-type branch, or use the GitHub CLI command:

gh workflow run release.yml --ref pm-callout-type

Want to make a full release after this PR is merged?

Click 'Run workflow' in the GitHub UI, leaving the branch as the default, or use the GitHub CLI command:

gh workflow run release.yml

Copy link

@twrichards twrichards left a comment

Choose a reason for hiding this comment

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

LGTM - though ideally we'd get a CAPI dev to give final 👍

@philmcmahon
Copy link
Contributor Author

Closing this - we have found a way of implementing reporter callouts without the content API having to store the additional calloutType field

@philmcmahon philmcmahon closed this Jan 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature Departmental tracking: work on a new feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants