site-kit-wp
site-kit-wp copied to clipboard
New error notices in admin settings panel
Feature Description
Implement these notice variants PUE Errors - UX copy in the Admin Settings panel for admins only
Do not alter or remove anything below. The following sections will be managed by moderators only.
Acceptance criteria
Admin Settings > Email Reportssection shows admin-only error notices when the latest batch has failed after all retries for a known category (network_error,permissions_revoked,property_deleted,server_error,scheduler_error,sending_error,other_errorper the PUE sheet).- Each category renders the specified settings-panel copy and CTAs from the sheet (lead text, body, links such as "Go to Analytics settings", "Contact your administrator", "Get help"), and categories without CTAs omit them.
- Notices are shown only when the failure state is present for the latest batch; they clear automatically after a successful subsequent batch or when no terminal failure exists.
Implementation Brief
- [ ] Update
assets/js/components/settings/SettingsEmailReporting.jsand include error notice added in #11860, after theAnalyticsDisconnectedNotice - [ ] If any styling tweaks are needed add them in
assets/sass/components/settings/_googlesitekit-settings-email-reporting.scss
Test Coverage
- No updates needed