Skip to content

Fix chart error#3131

Merged
felixarntz merged 3 commits intomainfrom
fix/chart-error
Apr 12, 2021
Merged

Fix chart error#3131
felixarntz merged 3 commits intomainfrom
fix/chart-error

Conversation

@aaemnnosttv
Copy link
Copy Markdown
Collaborator

@aaemnnosttv aaemnnosttv commented Apr 12, 2021

Summary

Addresses issue #3132

Relevant technical choices

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 4.7 and PHP 5.6.
  • 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/).

felixarntz
felixarntz previously approved these changes Apr 12, 2021
Copy link
Copy Markdown
Contributor

@felixarntz felixarntz left a comment

Choose a reason for hiding this comment

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

Excellent! Just one comment, but nothing blocking.

className="googlesitekit-chart-v2__inner"
chartEvents={ combinedChartEvents }
chartType={ chartType }
chartVersion={ 49 }
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Nit-pick, but shouldn't this be a string? Not a big deal, but it is a string in the regular JS snippet that we use in PHP, and also typically a string in the React wrapper codebase: https://github.com/rakannimer/react-google-charts/blob/master/src/types.ts#L257

@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 12, 2021

Size Change: +106 B (0%)

Total Size: 1.25 MB

Filename Size Change
./dist/assets/js/googlesitekit-adminbar.********************.js 67.5 kB +9 B (0%)
./dist/assets/js/googlesitekit-dashboard-details.********************.js 79 kB +11 B (0%)
./dist/assets/js/googlesitekit-dashboard.********************.js 79.6 kB +11 B (0%)
./dist/assets/js/googlesitekit-module.********************.js 79.8 kB +11 B (0%)
./dist/assets/js/googlesitekit-modules-adsense.********************.js 56 kB +11 B (0%)
./dist/assets/js/googlesitekit-modules-analytics.********************.js 62 kB +10 B (0%)
./dist/assets/js/googlesitekit-modules-search-console.********************.js 24.6 kB +11 B (0%)
./dist/assets/js/googlesitekit-settings.********************.js 87.5 kB +11 B (0%)
./dist/assets/js/googlesitekit-user-input.********************.js 84 kB +11 B (0%)
./dist/assets/js/googlesitekit-wp-dashboard.********************.js 67.5 kB +10 B (0%)
ℹ️ View Unchanged
Filename Size Change
./dist/assets/css/admin.css 36 kB 0 B
./dist/assets/css/adminbar.css 7.32 kB 0 B
./dist/assets/css/wpdashboard.css 4.42 kB 0 B
./dist/assets/js/analytics-advanced-tracking.js 769 B 0 B
./dist/assets/js/googlesitekit-activation.********************.js 34.7 kB 0 B
./dist/assets/js/googlesitekit-api.********************.js 9.03 kB 0 B
./dist/assets/js/googlesitekit-base.********************.js 1.57 kB 0 B
./dist/assets/js/googlesitekit-dashboard-splash.********************.js 49.2 kB 0 B
./dist/assets/js/googlesitekit-data.********************.js 1.52 kB 0 B
./dist/assets/js/googlesitekit-datastore-forms.********************.js 8.71 kB 0 B
./dist/assets/js/googlesitekit-datastore-location.********************.js 1.01 kB 0 B
./dist/assets/js/googlesitekit-datastore-site.********************.js 12.1 kB 0 B
./dist/assets/js/googlesitekit-datastore-ui.********************.js 8.67 kB 0 B
./dist/assets/js/googlesitekit-datastore-user.********************.js 16 kB 0 B
./dist/assets/js/googlesitekit-i18n.js 3.92 kB 0 B
./dist/assets/js/googlesitekit-modules-optimize.********************.js 17 kB 0 B
./dist/assets/js/googlesitekit-modules-pagespeed-insights.********************.js 23.8 kB 0 B
./dist/assets/js/googlesitekit-modules-tagmanager.********************.js 31 kB 0 B
./dist/assets/js/googlesitekit-modules.********************.js 16.7 kB 0 B
./dist/assets/js/googlesitekit-vendor.********************.js 269 kB 0 B
./dist/assets/js/googlesitekit-widgets.********************.js 11.2 kB 0 B
./dist/assets/js/runtime.********************.js 763 B 0 B

compressed-size-action

Copy link
Copy Markdown
Contributor

@felixarntz felixarntz left a comment

Choose a reason for hiding this comment

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

Awesome!

@felixarntz felixarntz merged commit cb14586 into main Apr 12, 2021
@felixarntz felixarntz deleted the fix/chart-error branch April 12, 2021 21:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants