site-kit-wp icon indicating copy to clipboard operation
site-kit-wp copied to clipboard

New error notices in admin settings panel

Open benbowler opened this issue 1 month ago • 2 comments

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 Reports section 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_error per 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.js and include error notice added in #11860, after the AnalyticsDisconnectedNotice
  • [ ] If any styling tweaks are needed add them in assets/sass/components/settings/_googlesitekit-settings-email-reporting.scss

Test Coverage

  • No updates needed

QA Brief

Changelog entry

benbowler avatar Nov 27 '25 16:11 benbowler