Skip to content

Enhancement/#12005 - Implement RRM policy violations dashboard notifications#12117

Merged
techanvil merged 24 commits into
developfrom
enhancement/#12005-rrm-policy-violation-notification
Feb 2, 2026
Merged

Enhancement/#12005 - Implement RRM policy violations dashboard notifications#12117
techanvil merged 24 commits into
developfrom
enhancement/#12005-rrm-policy-violation-notification

Conversation

@hussain-t

@hussain-t hussain-t commented Jan 28, 2026

Copy link
Copy Markdown
Collaborator

Summary

Addresses issue:

Relevant technical choices

PR Author Checklist

  • My code is tested and passes existing unit tests.
  • My code has an appropriate set of unit tests which all pass.
  • My code is backward-compatible with WordPress 5.2 and PHP 7.4.
  • My code follows the WordPress coding standards.
  • My code has proper inline documentation.
  • I have added a QA Brief on the issue linked above.
  • I have signed the Contributor License Agreement (see https://cla.developers.google.com/).

Do not alter or remove anything below. The following sections will be managed by moderators only.

Code Reviewer Checklist

  • Run the code.
  • Ensure the acceptance criteria are satisfied.
  • Reassess the implementation with the IB.
  • Ensure no unrelated changes are included.
  • Ensure CI checks pass.
  • Check Storybook where applicable.
  • Ensure there is a QA Brief.
  • Ensure there are no unexpected significant changes to file sizes.

Merge Reviewer Checklist

  • Ensure the PR has the correct target branch.
  • Double-check that the PR is okay to be merged.
  • Ensure the corresponding issue has a ZenHub release assigned.
  • Add a changelog message to the issue.

@github-actions

Copy link
Copy Markdown

Storybook is ready:

@github-actions

github-actions Bot commented Jan 28, 2026

Copy link
Copy Markdown

Size Change: +3.41 kB (+0.15%)

Total Size: 2.27 MB

Filename Size Change
./dist/assets/js/googlesitekit-modules-reader-revenue-manager-********************.js 46.5 kB +1.17 kB (+2.57%)
ℹ️ View Unchanged
Filename Size Change
./dist/assets/blocks/reader-revenue-manager/block-editor-plugin/editor-styles.css 124 B 0 B
./dist/assets/blocks/reader-revenue-manager/block-editor-plugin/editor-styles.js 20 B 0 B
./dist/assets/blocks/reader-revenue-manager/block-editor-plugin/index.js 42.7 kB 0 B
./dist/assets/blocks/reader-revenue-manager/common/editor-styles.css 307 B 0 B
./dist/assets/blocks/reader-revenue-manager/common/editor-styles.js 20 B 0 B
./dist/assets/blocks/reader-revenue-manager/contribute-with-google/index.js 5.88 kB 0 B
./dist/assets/blocks/reader-revenue-manager/contribute-with-google/non-site-kit-user.js 5.07 kB 0 B
./dist/assets/blocks/reader-revenue-manager/subscribe-with-google/index.js 5.88 kB 0 B
./dist/assets/blocks/reader-revenue-manager/subscribe-with-google/non-site-kit-user.js 5.07 kB 0 B
./dist/assets/blocks/sign-in-with-google/editor-styles.css 84 B 0 B
./dist/assets/blocks/sign-in-with-google/editor-styles.js 20 B 0 B
./dist/assets/blocks/sign-in-with-google/index.js 18.6 kB 0 B
./dist/assets/css/googlesitekit-admin-css-********************.min.css 66 kB 0 B
./dist/assets/css/googlesitekit-adminbar-css-********************.min.css 12.3 kB 0 B
./dist/assets/css/googlesitekit-authorize-application-css-********************.min.css 846 B 0 B
./dist/assets/css/googlesitekit-wp-dashboard-css-********************.min.css 8.89 kB 0 B
./dist/assets/js/146-********************.js 963 B 0 B
./dist/assets/js/201-********************.js 2.85 kB 0 B
./dist/assets/js/314-********************.js 100 kB 0 B
./dist/assets/js/315-********************.js 3.08 kB 0 B
./dist/assets/js/379-********************.js 3.7 kB 0 B
./dist/assets/js/590-********************.js 1.89 kB 0 B
./dist/assets/js/640-********************.js 2.36 kB 0 B
./dist/assets/js/909-********************.js 1.01 kB 0 B
./dist/assets/js/analytics-advanced-tracking-********************.js 475 B 0 B
./dist/assets/js/googlesitekit-activation-********************.js 25 kB +82 B (+0.33%)
./dist/assets/js/googlesitekit-ad-blocking-recovery-********************.js 57.3 kB +105 B (+0.18%)
./dist/assets/js/googlesitekit-admin-pointers-tracking-********************.js 5.35 kB +67 B (+1.27%)
./dist/assets/js/googlesitekit-adminbar-********************.js 35.7 kB +9 B (+0.03%)
./dist/assets/js/googlesitekit-api-********************.js 7.94 kB +62 B (+0.79%)
./dist/assets/js/googlesitekit-block-tracking-********************.js 5.55 kB +65 B (+1.19%)
./dist/assets/js/googlesitekit-components-********************.js 5.81 kB 0 B
./dist/assets/js/googlesitekit-consent-mode-********************.js 25.5 kB 0 B
./dist/assets/js/googlesitekit-data-********************.js 1.73 kB 0 B
./dist/assets/js/googlesitekit-datastore-forms-********************.js 7.01 kB +62 B (+0.89%)
./dist/assets/js/googlesitekit-datastore-location-********************.js 1.51 kB 0 B
./dist/assets/js/googlesitekit-datastore-site-********************.js 17.6 kB +75 B (+0.43%)
./dist/assets/js/googlesitekit-datastore-ui-********************.js 7.16 kB +65 B (+0.92%)
./dist/assets/js/googlesitekit-datastore-user-********************.js 22.8 kB +59 B (+0.26%)
./dist/assets/js/googlesitekit-entity-dashboard-********************.js 66.9 kB +108 B (+0.16%)
./dist/assets/js/googlesitekit-events-provider-contact-form-7-********************.js 1.27 kB 0 B
./dist/assets/js/googlesitekit-events-provider-easy-digital-downloads-********************.js 655 B 0 B
./dist/assets/js/googlesitekit-events-provider-mailchimp-********************.js 1.27 kB 0 B
./dist/assets/js/googlesitekit-events-provider-ninja-forms-********************.js 1.26 kB 0 B
./dist/assets/js/googlesitekit-events-provider-optin-monster-********************.js 1.29 kB 0 B
./dist/assets/js/googlesitekit-events-provider-popup-maker-********************.js 1.34 kB 0 B
./dist/assets/js/googlesitekit-events-provider-woocommerce-********************.js 990 B 0 B
./dist/assets/js/googlesitekit-events-provider-wpforms-********************.js 1.29 kB 0 B
./dist/assets/js/googlesitekit-i18n-********************.js 6.16 kB 0 B
./dist/assets/js/googlesitekit-key-metrics-setup-********************.js 50.9 kB +113 B (+0.22%)
./dist/assets/js/googlesitekit-main-dashboard-********************.js 144 kB -24 B (-0.02%)
./dist/assets/js/googlesitekit-metric-selection-********************.js 55.7 kB +111 B (+0.2%)
./dist/assets/js/googlesitekit-modules-********************.js 26.1 kB +95 B (+0.36%)
./dist/assets/js/googlesitekit-modules-ads-********************.js 47.9 kB +117 B (+0.24%)
./dist/assets/js/googlesitekit-modules-adsense-********************.js 134 kB +64 B (+0.05%)
./dist/assets/js/googlesitekit-modules-analytics-4-********************.js 190 kB +81 B (+0.04%)
./dist/assets/js/googlesitekit-modules-pagespeed-insights-********************.js 23.4 kB +64 B (+0.27%)
./dist/assets/js/googlesitekit-modules-search-console-********************.js 66.4 kB +75 B (+0.11%)
./dist/assets/js/googlesitekit-modules-sign-in-with-google-********************.js 33.8 kB +71 B (+0.21%)
./dist/assets/js/googlesitekit-modules-tagmanager-********************.js 30.3 kB +42 B (+0.14%)
./dist/assets/js/googlesitekit-notifications-********************.js 69.7 kB +96 B (+0.14%)
./dist/assets/js/googlesitekit-polyfills-********************.js 230 B 0 B
./dist/assets/js/googlesitekit-settings-********************.js 129 kB +263 B (+0.2%)
./dist/assets/js/googlesitekit-splash-********************.js 75.9 kB +88 B (+0.12%)
./dist/assets/js/googlesitekit-user-input-********************.js 49.1 kB +134 B (+0.27%)
./dist/assets/js/googlesitekit-vendor-********************.js 328 kB 0 B
./dist/assets/js/googlesitekit-widgets-********************.js 104 kB +64 B (+0.06%)
./dist/assets/js/googlesitekit-wp-dashboard-********************.js 61.8 kB +34 B (+0.06%)
./dist/assets/js/runtime-********************.js 1.92 kB 0 B

compressed-size-action

@github-actions

github-actions Bot commented Jan 28, 2026

Copy link
Copy Markdown

Build files for 693b0bf have been deleted.

@techanvil techanvil left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Thanks @hussain-t, this is looking good but need a few changes. Please take a look.

Comment thread assets/js/modules/reader-revenue-manager/index.js
Comment thread assets/js/modules/reader-revenue-manager/index.js Outdated
…ction for notification copy and remove redundant code. Simplify dismiss options handling based on content policy state.
…date notification types and messages based on content policy states.
…utton assertions and consolidate requirement checks into parameterized tests for improved readability and maintainability.
…ification visibility.

Refactor notification checks in Reader Revenue Manager module.
@hussain-t

Copy link
Copy Markdown
Collaborator Author

Thanks for the kind review, @techanvil! Back to you for another pass.

@hussain-t hussain-t requested a review from techanvil January 29, 2026 14:35

@techanvil techanvil left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Thanks @hussain-t. This could use a few more changes, please see my comments.

@hussain-t

Copy link
Copy Markdown
Collaborator Author

Thanks for the kind review, @techanvil! I've addressed the comment. Back to you for another pass.

@techanvil techanvil left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Thanks, Hussain. That's LGTM.

Note that I've confirmed the failing VRT test is unrelated to this PR.

@techanvil techanvil merged commit fd4e133 into develop Feb 2, 2026
25 of 27 checks passed
@techanvil techanvil deleted the enhancement/#12005-rrm-policy-violation-notification branch February 2, 2026 11:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants