Skip to content

Hide epic and banners for info pages#1298

Merged
LAKSHMIRPILLAI merged 4 commits intomainfrom
lp-hide-support-messages-on-info-pages-sdc
Feb 27, 2025
Merged

Hide epic and banners for info pages#1298
LAKSHMIRPILLAI merged 4 commits intomainfrom
lp-hide-support-messages-on-info-pages-sdc

Conversation

@LAKSHMIRPILLAI
Copy link
Contributor

@LAKSHMIRPILLAI LAKSHMIRPILLAI commented Feb 27, 2025

What does this change?

We need to disable RRCP support messages on pages like Privacy | The Guardian like Privacy | The Guardian

See green section here for full list: https://docs.google.com/spreadsheets/d/1KdwxnOecrV-2j3X-mX_kkvLgupPH8DvBgvEH-D-cRWg/edit?gid=0#gid=0Connect your Google account

Trello card

Out of the list we are making this change for the below pageIds

  1. 'info/privacy'
  2. 'info/complaints-and-corrections'
  3. 'about'

how to test

Tested using Postman

Before change

image

After change

image

isSignedIn: boolean;
hasConsented: boolean;
abandonedBasket?: AbandonedBasket;
pageId?: string;
Copy link
Member

Choose a reason for hiding this comment

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

shall we do this for the gutter ask as well, just in case?

}

if (
targeting.pageId === 'info/privacy' ||
Copy link
Member

Choose a reason for hiding this comment

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

let's put this in a shared function since it's being used at least twice

Copy link
Member

@tomrf1 tomrf1 left a comment

Choose a reason for hiding this comment

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

great!

@LAKSHMIRPILLAI LAKSHMIRPILLAI marked this pull request as ready for review February 27, 2025 12:05
@LAKSHMIRPILLAI LAKSHMIRPILLAI requested a review from a team as a code owner February 27, 2025 12:05
@LAKSHMIRPILLAI LAKSHMIRPILLAI merged commit 72fd1d7 into main Feb 27, 2025
4 checks passed
@LAKSHMIRPILLAI LAKSHMIRPILLAI deleted the lp-hide-support-messages-on-info-pages-sdc branch February 27, 2025 12:06
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.

2 participants