-
Notifications
You must be signed in to change notification settings - Fork 326
Enhancement/11459 User Engagement Selection Panel Notices #11884
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: develop
Are you sure you want to change the base?
Enhancement/11459 User Engagement Selection Panel Notices #11884
Conversation
…on-panel-notices.
|
Storybook is ready:
|
|
Build files for 73a059f are ready:
|
|
Size Change: +2.87 kB (+0.13%) Total Size: 2.2 MB
ℹ️ View Unchanged
|
…pdate button presence check.
benbowler
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @jimmymadon, one bug and a couple of comments below.
In my testing the "Feature Disabled" notice is visible even when the feature is enabled on the main dashboard:
Screen.Recording.2025-12-08.at.13.49.57.mov
assets/js/components/email-reporting/notices/AnalyticsDisconnectedNotice.js
Show resolved
Hide resolved
assets/js/components/email-reporting/UserSettingsSelectionPanel/Notices.js
Show resolved
Hide resolved
| ).toBeInTheDocument(); | ||
| } ); | ||
|
|
||
| it( 'renders the "Conect Analytics" button and activates the module on click', async () => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| it( 'renders the "Conect Analytics" button and activates the module on click', async () => { | |
| it( 'renders the "Connect Analytics" button and activates the module on click', async () => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @jimmymadon, a couple of points:
- This variant of the banner should be visible by admins only:
View-only users cannot activate analytics themselves, so in this state, no notice should be shown for view-only users.
- This wasn't caught in definition, however, when you are viewing the email reporting panel from within the settings and you see this variant, clicking "Edit Settings" should in fact close the panel.
Summary
Addresses issue:
NoticeAreacomponent to the user engagement selection panel #11459Relevant technical choices
PR Author Checklist
Do not alter or remove anything below. The following sections will be managed by moderators only.
Code Reviewer Checklist
Merge Reviewer Checklist