Skip to content

Suppress CMP dialog for RRCP web preview#16235

Open
AnastasiiaBalenko wants to merge 1 commit into
mainfrom
ab/hide-cmp-dialog-for-rrcp-web-preview
Open

Suppress CMP dialog for RRCP web preview#16235
AnastasiiaBalenko wants to merge 1 commit into
mainfrom
ab/hide-cmp-dialog-for-rrcp-web-preview

Conversation

@AnastasiiaBalenko

Copy link
Copy Markdown
Contributor

What does this change?

This change adds check for rrcp=1 search param. If it is presented, then the page was loaded from "web preview" button in RRCP tool and CMP dialog can be suppressed to enable banner preview

Why?

Sometimes when user tried to see the banner variant by clicking "web preview" from RRCP they saw a CMP consent dialog instead which was confusing.

Screenshots

Before After

|
Screenshot 2026-06-22 at 15 00 18
| after |

@AnastasiiaBalenko AnastasiiaBalenko added the feature Departmental tracking: work on a new feature label Jun 22, 2026
@AnastasiiaBalenko AnastasiiaBalenko added the run_chromatic Runs chromatic when label is applied label Jun 22, 2026
@github-actions github-actions Bot removed the run_chromatic Runs chromatic when label is applied label Jun 22, 2026
@AnastasiiaBalenko AnastasiiaBalenko marked this pull request as ready for review June 22, 2026 14:34
@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.

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.

1 participant