Skip to content

Add cookie consent banner#9712

Merged
michaelstaib merged 3 commits into
mainfrom
mst/analytics
May 16, 2026
Merged

Add cookie consent banner#9712
michaelstaib merged 3 commits into
mainfrom
mst/analytics

Conversation

@michaelstaib
Copy link
Copy Markdown
Member

No description provided.

The "Got it!" cookie notice is being replaced by a real CMP, and the
workshop promo popup is unused. Cleans up the unused showPromo state
along with it. Workshop redux state is kept since header and training
page still consume it.
Copilot AI review requested due to automatic review settings May 16, 2026 03:13
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR removes the legacy cookie consent banner and the workshop promo banner from the website UI and Redux state, simplifying the site layout and common state management.

Changes:

  • Removed showPromo from CommonState, plus the related showPromo/hidePromo actions and reducer handlers.
  • Deleted the Promo and CookieConsent components and removed their exports/usages.
  • Updated the site layout to no longer render the removed banners.

Reviewed changes

Copilot reviewed 7 out of 7 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
website/src/state/common/common.state.ts Removes showPromo from the common Redux state shape and initial state.
website/src/state/common/common.reducer.ts Removes reducer handlers for promo show/hide actions.
website/src/state/common/common.actions.ts Removes promo-related Redux actions.
website/src/components/misc/promo.tsx Deletes the promo banner component implementation.
website/src/components/misc/index.ts Removes exports for the deleted CookieConsent and Promo components.
website/src/components/misc/cookie-consent.tsx Deletes the cookie consent banner component implementation.
website/src/components/layout/site/site-layout.tsx Stops rendering CookieConsent and Promo in the site layout.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread website/src/state/common/common.state.ts
@michaelstaib michaelstaib changed the title Remove legacy cookie banner and workshop promo banner Add cookie consent banner May 16, 2026
@michaelstaib michaelstaib merged commit 1177645 into main May 16, 2026
140 checks passed
@michaelstaib michaelstaib deleted the mst/analytics branch May 16, 2026 14:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants