Skip to content
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

Add reusable Widget area, New badge feature. #8737

Merged
merged 2 commits into from
May 28, 2024

Conversation

benbowler
Copy link
Collaborator

@benbowler benbowler commented May 20, 2024

Summary

Addresses issue:

Relevant technical choices

Implemented as in IB.

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.

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.

@benbowler benbowler changed the base branch from develop to enhance/#8138-audience-widget-area May 20, 2024 14:35
@benbowler benbowler changed the base branch from enhance/#8138-audience-widget-area to develop May 20, 2024 14:37
@benbowler benbowler changed the title Enhancement/8169-widget-area-new-badges Add reusable Widget area, New badge feature. May 20, 2024
@benbowler
Copy link
Collaborator Author

Waiting on #8138 to be merged then this one can be updated with develop and sent for review.

Copy link

github-actions bot commented May 20, 2024

Build files for e99a2ae have been deleted.

Copy link

github-actions bot commented May 20, 2024

Size Change: +989 B (+0.07%)

Total Size: 1.51 MB

Filename Size Change
./dist/assets/js/googlesitekit-activation-********************.js 23.9 kB +7 B (+0.03%)
./dist/assets/js/googlesitekit-ad-blocking-recovery-********************.js 58.9 kB -7 B (-0.01%)
./dist/assets/js/googlesitekit-adminbar-********************.js 34.6 kB +6 B (+0.02%)
./dist/assets/js/googlesitekit-components-gm2-********************.js 5.88 kB -5 B (-0.08%)
./dist/assets/js/googlesitekit-components-gm3-********************.js 10 kB -2 B (-0.02%)
./dist/assets/js/googlesitekit-datastore-site-********************.js 19.9 kB -1 B (-0.01%)
./dist/assets/js/googlesitekit-datastore-user-********************.js 25.2 kB -1 B (0%)
./dist/assets/js/googlesitekit-entity-dashboard-********************.js 73.7 kB +477 B (+0.65%)
./dist/assets/js/googlesitekit-main-dashboard-********************.js 117 kB +473 B (+0.41%)
./dist/assets/js/googlesitekit-modules-adsense-********************.js 112 kB -4 B (0%)
./dist/assets/js/googlesitekit-modules-analytics-4-********************.js 129 kB -38 B (-0.03%)
./dist/assets/js/googlesitekit-modules-pagespeed-insights-********************.js 22.5 kB +13 B (+0.06%)
./dist/assets/js/googlesitekit-modules-search-console-********************.js 58.2 kB -6 B (-0.01%)
./dist/assets/js/googlesitekit-modules-tagmanager-********************.js 30.4 kB -7 B (-0.02%)
./dist/assets/js/googlesitekit-settings-********************.js 61.4 kB +39 B (+0.06%)
./dist/assets/js/googlesitekit-splash-********************.js 72.9 kB +19 B (+0.03%)
./dist/assets/js/googlesitekit-user-input-********************.js 48.1 kB -8 B (-0.02%)
./dist/assets/js/googlesitekit-vendor-********************.js 317 kB +15 B (0%)
./dist/assets/js/googlesitekit-widgets-********************.js 49.5 kB +28 B (+0.06%)
./dist/assets/js/googlesitekit-wp-dashboard-********************.js 60 kB -9 B (-0.01%)
ℹ️ View Unchanged
Filename Size
./dist/assets/css/googlesitekit-admin-css-********************.min.css 54.2 kB
./dist/assets/css/googlesitekit-adminbar-css-********************.min.css 11.2 kB
./dist/assets/css/googlesitekit-authorize-application-css-********************.min.css 731 B
./dist/assets/css/googlesitekit-wp-dashboard-css-********************.min.css 7.48 kB
./dist/assets/js/29-********************.js 2.8 kB
./dist/assets/js/30-********************.js 2.28 kB
./dist/assets/js/31-********************.js 3.72 kB
./dist/assets/js/32-********************.js 929 B
./dist/assets/js/33-********************.js 889 B
./dist/assets/js/34-********************.js 3.12 kB
./dist/assets/js/analytics-advanced-tracking-********************.js 778 B
./dist/assets/js/contact-form-7-********************.js 646 B
./dist/assets/js/googlesitekit-api-********************.js 10.2 kB
./dist/assets/js/googlesitekit-data-********************.js 2.18 kB
./dist/assets/js/googlesitekit-datastore-forms-********************.js 9.15 kB
./dist/assets/js/googlesitekit-datastore-location-********************.js 2.09 kB
./dist/assets/js/googlesitekit-datastore-ui-********************.js 10.1 kB
./dist/assets/js/googlesitekit-i18n-********************.js 3.92 kB
./dist/assets/js/googlesitekit-modules-********************.js 22.1 kB
./dist/assets/js/googlesitekit-modules-ads-********************.js 27 kB
./dist/assets/js/googlesitekit-polyfills-********************.js 380 B
./dist/assets/js/mailchimp-********************.js 632 B
./dist/assets/js/optin-monster-********************.js 669 B
./dist/assets/js/popup-maker-********************.js 634 B
./dist/assets/js/runtime-********************.js 1.3 kB
./dist/assets/js/woocommerce-********************.js 655 B
./dist/assets/js/wpforms-********************.js 634 B

compressed-size-action

@benbowler benbowler force-pushed the enhancement/8169-widget-area-new-badges branch from 99f453b to 56f49f0 Compare May 28, 2024 09:43
@benbowler
Copy link
Collaborator Author

The failing test MetricsSelectionPanel › Header › should display a settings link to edit personalized goals appears to be failing across multiple branches rather than changes in this PR.

@eugene-manuilov eugene-manuilov merged commit b820762 into develop May 28, 2024
19 of 21 checks passed
@eugene-manuilov eugene-manuilov deleted the enhancement/8169-widget-area-new-badges branch May 28, 2024 13:59
@@ -49,6 +49,9 @@ import WidgetCellWrapper from './WidgetCellWrapper';
import useViewOnly from '../../../hooks/useViewOnly';
import { CORE_USER } from '../../datastore/user/constants';
import useLatestIntersection from '../../../hooks/useLatestIntersection';
import NewBadge from '../../../components/NewBadge';
import { WEEK_IN_SECONDS } from '../../../util';
import { useDispatch } from '@wordpress/data';
Copy link
Collaborator

Choose a reason for hiding this comment

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

Just caught that this was used 😅

It won't cause any errors, but we try to import from googlesitekit-data instead. Maybe we should add an ESLint rule about this; I know it autocompletes in VSCode a lot. I'll see if I can improve the suggestions in #8769. 🤔

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.

3 participants