Skip to content

Add isSensitive prop to reader revenue components#15582

Merged
juabara merged 5 commits intomainfrom
jm/feat-is-sensitive
Apr 13, 2026
Merged

Add isSensitive prop to reader revenue components#15582
juabara merged 5 commits intomainfrom
jm/feat-is-sensitive

Conversation

@juabara
Copy link
Copy Markdown
Contributor

@juabara juabara commented Mar 24, 2026

This PR threads the isSensitive article property through the reader revenue component stack to enable sensitive content detection for epic and banner eligibility checks.

Changes:

  • Add isSensitive prop to LiveBlogEpic, SlotBodyEnd, and StickyBottomBanner components
  • Update canShowReaderRevenueEpic to receive and handle isSensitive in its decision data
  • Fix CrosswordLayout to use StickyBottomBanner (matching other layouts) instead of SlotBodyEnd
  • Fix TypeScript compilation errors in Island.test.tsx for missing required props

…ayouts.

- Standard, Showcase, Interactive, Immersive, Comment, Audio and LiveBlog.
- Update tests to include the new required prop.
@juabara juabara added the feature Departmental tracking: work on a new feature label Mar 24, 2026
@github-actions
Copy link
Copy Markdown

github-actions bot commented Mar 24, 2026

@juabara juabara marked this pull request as ready for review March 24, 2026 16:22
@juabara juabara requested a review from a team as a code owner March 24, 2026 16:22
@github-actions
Copy link
Copy Markdown

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.

@github-actions
Copy link
Copy Markdown

github-actions bot commented Mar 24, 2026

@tomrf1
Copy link
Copy Markdown
Member

tomrf1 commented Apr 7, 2026

Fix CrosswordLayout to use StickyBottomBanner (matching other layouts) instead of SlotBodyEnd

looks like this isn't relevant?

@juabara juabara added the run_chromatic Runs chromatic when label is applied label Apr 8, 2026
@github-actions github-actions bot removed the run_chromatic Runs chromatic when label is applied label Apr 8, 2026
@juabara juabara merged commit 6df13f8 into main Apr 13, 2026
31 checks passed
@juabara juabara deleted the jm/feat-is-sensitive branch April 13, 2026 09:02
@gu-prout
Copy link
Copy Markdown

gu-prout bot commented Apr 13, 2026

Seen on PROD (merged by @juabara 17 minutes and 23 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.

2 participants