Skip to content

Conversation

@philmcmahon
Copy link
Contributor

@philmcmahon philmcmahon commented Jan 6, 2026

What does this change?

This PR adds rendering for reporter callouts. The associated frontend PR is here guardian/frontend#28497 with the composer change here https://github.com/guardian/flexible-content/pull/6004

Reporter callouts are a much simpler version of the existing (community) callouts, seeking to replace the 'quick guide' atoms that are used currently (e.g. here https://www.theguardian.com/law/2025/nov/06/qatar-linked-intelligence-operation-targeted-icc-prosecutor-karim-khan-alleged-victim) which cause problems for syndication partners.

I copied a lot of the rendering code for this from the existing 'CalloutBlockComponent' (mainly the use and styles for the ExpandingWrapper). It feels sufficiently different to have a different component though.

One thing I am a bit unsure about is the use of --expandable-atom-text-hover - changing the colour of the title based off what Pillar we're on is in the figma designs for these new callouts, so I think it makes sense rather than just using --article-text (which is black in general I think).

Other relevant PRs across the content pipeline:
Merge before this one:

Merge after this one:

Screenshots

Screenshot 2026-01-19 at 16 31 25 Screenshot 2026-01-19 at 16 31 06

@philmcmahon philmcmahon self-assigned this Jan 6, 2026
@philmcmahon philmcmahon added the feature Departmental tracking: work on a new feature label Jan 6, 2026
@philmcmahon philmcmahon force-pushed the pm-reporter-callouts branch from 997590c to 03b9540 Compare January 6, 2026 13:20
@github-actions
Copy link

github-actions bot commented Jan 6, 2026

@github-actions
Copy link

github-actions bot commented Jan 15, 2026

@philmcmahon philmcmahon marked this pull request as ready for review January 19, 2026 16:37
@github-actions
Copy link

Hello 👋! When you're ready to run Chromatic, please apply the run_chromatic label to this PR.

You will need to reapply the label each time you want to run Chromatic.

Click here to see the Chromatic project.

@philmcmahon philmcmahon added the run_chromatic Runs chromatic when label is applied label Jan 19, 2026
@github-actions github-actions bot removed the run_chromatic Runs chromatic when label is applied label Jan 19, 2026
@philmcmahon philmcmahon reopened this Jan 19, 2026
@marjisound marjisound added this to the Requests milestone Jan 26, 2026
/**
* A callout to readers to share tips with reporters
*
* ## TODO: check if this needs to be an island - possibly not as there's no user interaction beyond expanding the box
Copy link
Contributor

Choose a reason for hiding this comment

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

TODO to be dropped

Copy link
Contributor

@alexduf alexduf left a comment

Choose a reason for hiding this comment

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

I'm terrible at CSS, so I hope there's nothing wrong in there, the rest looks okay to me

@philmcmahon philmcmahon added the run_chromatic Runs chromatic when label is applied label Jan 26, 2026
@github-actions github-actions bot removed the run_chromatic Runs chromatic when label is applied label Jan 26, 2026
@philmcmahon philmcmahon merged commit 4da4e55 into main Jan 26, 2026
31 checks passed
@philmcmahon philmcmahon deleted the pm-reporter-callouts branch January 26, 2026 16:23
@gu-prout
Copy link

gu-prout bot commented Jan 26, 2026

Seen on PROD (merged by @philmcmahon 9 minutes and 9 seconds ago) Please check your changes!

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 Seen-on-PROD

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants