Skip to content

Enhancement/12578 side panel goal drivers#12669

Open
zutigrm wants to merge 39 commits into
developfrom
enhancement/12578-side-panel-goal-drivers
Open

Enhancement/12578 side panel goal drivers#12669
zutigrm wants to merge 39 commits into
developfrom
enhancement/12578-side-panel-goal-drivers

Conversation

@zutigrm
Copy link
Copy Markdown
Collaborator

@zutigrm zutigrm commented May 7, 2026

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.

@zutigrm zutigrm changed the base branch from develop to enhancement/12528-goal-drivers-section May 7, 2026 21:28
@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 7, 2026

🤖 This comment is automatically updated by CI workflows. Each section is managed independently.

📚 Storybook for b8d602b:

📦 Build files for b8d602b:

🎭 Playwright reports for b8d602b:

@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 7, 2026

Size Change: +8.67 kB (+0.38%)

Total Size: 2.31 MB

📦 View Changed
Filename Size Change
dist/assets/js/googlesitekit-main-dashboard-********************.js 166 kB +7.22 kB (+4.54%) 🔍
dist/assets/js/googlesitekit-modules-analytics-4-********************.js 192 kB +1.45 kB (+0.76%)
ℹ️ 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 0 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 0 B 0 B 🆕
dist/assets/blocks/reader-revenue-manager/contribute-with-google/index.js 5.81 kB 0 B
dist/assets/blocks/reader-revenue-manager/contribute-with-google/non-site-kit-user.js 5 kB 0 B
dist/assets/blocks/reader-revenue-manager/subscribe-with-google/index.js 5.81 kB 0 B
dist/assets/blocks/reader-revenue-manager/subscribe-with-google/non-site-kit-user.js 5 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 0 B 0 B 🆕
dist/assets/blocks/sign-in-with-google/index.js 18.5 kB 0 B
dist/assets/css/googlesitekit-admin-css-********************.min.css 69.9 kB +272 B (+0.39%)
dist/assets/css/googlesitekit-adminbar-css-********************.min.css 12.3 kB 0 B
dist/assets/css/googlesitekit-authorize-application-css-********************.min.css 851 B 0 B
dist/assets/css/googlesitekit-wp-dashboard-css-********************.min.css 8.88 kB 0 B
dist/assets/js/146-********************.js 960 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.88 kB 0 B
dist/assets/js/640-********************.js 2.35 kB 0 B
dist/assets/js/909-********************.js 1.01 kB 0 B
dist/assets/js/analytics-advanced-tracking-********************.js 404 B 0 B
dist/assets/js/googlesitekit-activation-********************.js 24.9 kB 0 B
dist/assets/js/googlesitekit-ad-blocking-recovery-********************.js 60.3 kB 0 B
dist/assets/js/googlesitekit-admin-pointers-tracking-********************.js 5.36 kB 0 B
dist/assets/js/googlesitekit-adminbar-********************.js 36 kB 0 B
dist/assets/js/googlesitekit-api-********************.js 8.04 kB 0 B
dist/assets/js/googlesitekit-block-tracking-********************.js 5.56 kB 0 B
dist/assets/js/googlesitekit-components-********************.js 5.63 kB 0 B
dist/assets/js/googlesitekit-consent-mode-********************.js 25.5 kB 0 B
dist/assets/js/googlesitekit-data-********************.js 1.76 kB 0 B
dist/assets/js/googlesitekit-datastore-forms-********************.js 7.21 kB 0 B
dist/assets/js/googlesitekit-datastore-location-********************.js 1.52 kB 0 B
dist/assets/js/googlesitekit-datastore-site-********************.js 18.7 kB 0 B
dist/assets/js/googlesitekit-datastore-ui-********************.js 7.37 kB 0 B
dist/assets/js/googlesitekit-datastore-user-********************.js 23.1 kB 0 B
dist/assets/js/googlesitekit-entity-dashboard-********************.js 73.6 kB 0 B
dist/assets/js/googlesitekit-events-provider-contact-form-7-********************.js 1.23 kB 0 B
dist/assets/js/googlesitekit-events-provider-easy-digital-downloads-********************.js 629 B 0 B
dist/assets/js/googlesitekit-events-provider-mailchimp-********************.js 1.22 kB 0 B
dist/assets/js/googlesitekit-events-provider-ninja-forms-********************.js 1.22 kB 0 B
dist/assets/js/googlesitekit-events-provider-optin-monster-********************.js 1.25 kB 0 B
dist/assets/js/googlesitekit-events-provider-popup-maker-********************.js 1.29 kB 0 B
dist/assets/js/googlesitekit-events-provider-woocommerce-********************.js 918 B 0 B
dist/assets/js/googlesitekit-events-provider-wpforms-********************.js 1.25 kB 0 B
dist/assets/js/googlesitekit-i18n-********************.js 6.1 kB 0 B
dist/assets/js/googlesitekit-key-metrics-setup-********************.js 53.7 kB 0 B
dist/assets/js/googlesitekit-metric-selection-********************.js 59.5 kB 0 B
dist/assets/js/googlesitekit-modules-********************.js 26 kB 0 B
dist/assets/js/googlesitekit-modules-ads-********************.js 47.9 kB 0 B
dist/assets/js/googlesitekit-modules-adsense-********************.js 137 kB 0 B
dist/assets/js/googlesitekit-modules-pagespeed-insights-********************.js 23.3 kB 0 B
dist/assets/js/googlesitekit-modules-reader-revenue-manager-********************.js 52.6 kB 0 B
dist/assets/js/googlesitekit-modules-search-console-********************.js 65.3 kB 0 B
dist/assets/js/googlesitekit-modules-sign-in-with-google-********************.js 33.8 kB 0 B
dist/assets/js/googlesitekit-modules-tagmanager-********************.js 30.2 kB 0 B
dist/assets/js/googlesitekit-notifications-********************.js 66.7 kB 0 B
dist/assets/js/googlesitekit-polyfills-********************.js 228 B 0 B
dist/assets/js/googlesitekit-settings-********************.js 135 kB +96 B (+0.07%)
dist/assets/js/googlesitekit-splash-********************.js 79.4 kB 0 B
dist/assets/js/googlesitekit-user-input-********************.js 51.9 kB 0 B
dist/assets/js/googlesitekit-vendor-********************.js 315 kB 0 B
dist/assets/js/googlesitekit-widgets-********************.js 104 kB 0 B
dist/assets/js/googlesitekit-wp-dashboard-********************.js 61 kB 0 B
dist/assets/js/runtime-********************.js 1.86 kB 0 B

compressed-size-action

@zutigrm zutigrm changed the base branch from enhancement/12528-goal-drivers-section to develop May 7, 2026 21:31
…ection' into enhancement/12578-side-panel-goal-drivers.
@zutigrm zutigrm changed the base branch from develop to enhancement/12528-goal-drivers-section May 7, 2026 21:33
const SiteGoalsSelectionPanel: FC = () => {
const isOpen = useSelect(
( select: Select ) =>
select( CORE_UI ).getValue( SITE_GOALS_SELECTION_PANEL_OPENED_KEY ),
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.

@zutigrm no CORE_UI nor CORE_FORMS must be used. This is Analytics-4 functionality and MUST be driven by the Analytics-4 datastore.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

We have an issue to standardize the side panel opening logic in #12446, creating a new (selectors/actions) in this issue, will just increase the review surface of already big PR, and make it more complicated when we start migrating the logic. Also Site Goals and Audience Segmentation are both GA4 module features, so it will be better to align them both in separate issue, and have proper definition for that, as they use the same approach like other side panels at the moment

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

quick change made to lower the complexity which reached maximum and lintern was flagging the file

Base automatically changed from enhancement/12528-goal-drivers-section to develop May 14, 2026 18:56
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