Refactor Banner Notifications with the Admin Menu tooltip on Dismissal #10003
Labels
Next Up
Issues to prioritize for definition
P1
Medium priority
Team S
Issues for Squad 1
Type: Enhancement
Improvement of an existing feature
Feature Description
The FPM, RRM, Consent Mode and Audience Segmentation Setup CTA banners all follow a similar pattern. When the
Maybe later
dismiss CTA is clicked, the banner disappears and shows an<AdminMenuTooltip>
. Currently, the main notification component (e.g.ReaderRevenueManagerSetupCTABanner
) also conditionally renders the tooltip component. This causes a few issues:queuedNotifications
and removes the whole component from the React component tree, including the visible tooltip.skipHidingFromQueue
on dismissal, which means thequeuedNotifications
do not update a preventing other notifications in the queue to render next. The dismissed notification is still hanging around in the component tree even after the tool tip is dismissed and theAdminTooltip
component is removed from the tree.Do not alter or remove anything below. The following sections will be managed by moderators only.
Acceptance criteria
[Please see Note to AC / IB reviewer below]
Maybe later
button, the Admin Menu tooltip should be made visible. And if there is another Setup CTA in the queue, it should appear next without having to reload the page.skipHidingFromQueue
to true on dismissal, preventing the dismissal of the notification should be removed.return null
) when the notification is dismissed should be removed.Implementation Brief
Test Coverage
QA Brief
Changelog entry
The text was updated successfully, but these errors were encountered: