-
Notifications
You must be signed in to change notification settings - Fork 308
Remove label prop from scenario objects on stories. Update VR images. #10634
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
base: develop
Are you sure you want to change the base?
Remove label prop from scenario objects on stories. Update VR images. #10634
Conversation
…dundant-use-of-label-property-in-vrt-scenarios.
Build files for cc0c2aa are ready:
|
Size Change: 0 B Total Size: 2.06 MB ℹ️ View Unchanged
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @juniovitorino, this PR has developed a few conflicts, please merge develop
into it and resolve the conflicts.
Additionally, there are a number of instances of the following eslint-disable-next-line
comment remaining in the codebase which can be removed, as the labels it was disabling the rule for have been removed:
// eslint-disable-next-line sitekit/no-storybook-scenario-label
…3-tidy-up-and-remove-redundant-use-of-label-property-in-vrt-scenarios.
c730f9e
to
c8e2af6
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @juniovitorino, the VRT suite is failing in CI, with the failures including the Portugeuse-text SiWG button again.
I suspect the quick fix here is to copy the reference images from the report attached to the CI run.
Please, do remember to check the CI workflow statuses before moving a PR over to CR.
Thanks for the heads-up. I'm generating the images again—your suggestion didn’t work. Since a lot of the image names ended up changing, we’ll need new reference images. I’m now running |
Thanks @juniovitorino. Something else I've noticed while reviewing the changes (at the current commit, cc0c2aa) is that there are 110 images which have been modified rather than simply renamed. Here I'm diffing against 551d946 which is the commit for This one-liner will check out the old versions but doesn't account for renames: git checkout 5a6f988177 $(git diff 5a6f988177 | egrep 'Binary files.*differ' | grep -v '/dev/null' | cut -d \ -f 3 | cut -d / -f 2-) Changed image files
Update: Here's another one-liner to identify the files which were moved, so we should revert the changes and then move the unmodified versions of these: git diff 5a6f988177 | egrep 'Binary files.*differ' | grep -v '/dev/null' | while read -r line; do old=$(echo $line | cut -d \ -f 3 | cut -d / -f 2-); new=$(echo $line | cut -d \ -f 5 | cut -d / -f 2-); if [[ "$old" != "$new" ]]; then echo "$old renamed to $new" ; fi ; done
tests/backstop/reference/google-site-kit_Modules_Analytics4_Widgets_DashboardOverallPageMetricsWidgetGA4_LoadingEntityURL_0_document_2_large.png renamed to tests/backstop/reference/google-site-kit_Components_ReportErrorButton_Default_0_document_2_large.png
tests/backstop/reference/google-site-kit_KeyMetrics_ChangeMetricsLink_0_document_1_medium.png renamed to tests/backstop/reference/google-site-kit_Key_Metrics_ChangeMetricsLink_ChangeMetricsLink_0_document_1_medium.png
tests/backstop/reference/google-site-kit_KeyMetrics_ChangeMetricsLink_0_document_2_large.png renamed to tests/backstop/reference/google-site-kit_Key_Metrics_ChangeMetricsLink_ChangeMetricsLink_0_document_2_large.png
tests/backstop/reference/google-site-kit_KeyMetrics_MetricTileNumeric_Loading_0_document_1_medium.png renamed to tests/backstop/reference/google-site-kit_Key_Metrics_WidgetTiles_MetricTileNumeric_Loading_0_document_1_medium.png
tests/backstop/reference/google-site-kit_Modules_Analytics4_Components_AudienceSegmentation_Dashboard_AudienceSelectionPanel_AudienceCreationSuccessNotice_0_document_1_medium.png renamed to tests/backstop/reference/google-site-kit_Modules_Analytics4_Components_AudienceSegmentation_Dashboard_AudienceSelectionPanel_Audience_creation_success_notice_0_document_1_medium.png
tests/backstop/reference/google-site-kit_Modules_Analytics4_Components_AudienceSegmentation_Dashboard_AudienceSelectionPanel_AudienceCreationSuccessNotice_0_document_2_large.png renamed to tests/backstop/reference/google-site-kit_Modules_Analytics4_Components_AudienceSegmentation_Dashboard_AudienceSelectionPanel_Audience_creation_success_notice_0_document_2_large.png
tests/backstop/reference/google-site-kit_Modules_Analytics4_Widgets_DashboardAllTrafficWidgetGA4_EntityDashboard_Loading_0_document_1_medium.png renamed to tests/backstop/reference/google-site-kit_Modules_Analytics4_Widgets_All_Traffic_Widget_GA4_Entity_Dashboard_Loading_0_document_1_medium.png
tests/backstop/reference/google-site-kit_Modules_Analytics4_Widgets_DashboardAllTrafficWidgetGA4_MainDashboard_Loading_0_document_1_medium.png renamed to tests/backstop/reference/google-site-kit_Modules_Analytics4_Widgets_All_Traffic_Widget_GA4_Main_Dashboard_Loading_0_document_1_medium.png
tests/backstop/reference/google-site-kit_Modules_Analytics4_Widgets_DashboardOverallPageMetricsWidgetGA4_ZeroDataEntityURL_0_document_1_medium.png renamed to tests/backstop/reference/google-site-kit_Modules_Analytics4_Widgets_DashboardOverallPageMetricsWidgetGA4_Zero_Data_0_document_1_medium.png
tests/backstop/reference/google-site-kit_Modules_Analytics4_Widgets_DashboardOverallPageMetricsWidgetGA4_ZeroDataEntityURL_0_document_2_large.png renamed to tests/backstop/reference/google-site-kit_Modules_Analytics4_Widgets_DashboardOverallPageMetricsWidgetGA4_Zero_Data_0_document_2_large.png
tests/backstop/reference/google-site-kit_Modules_Analytics4_Widgets_DashboardOverallPageMetricsWidgetGA4_ZeroData_0_document_1_medium.png renamed to tests/backstop/reference/google-site-kit_Modules_Analytics4_Widgets_DashboardOverallPageMetricsWidgetGA4_Zero_Data_w__entity_URL_0_document_1_medium.png
tests/backstop/reference/google-site-kit_Modules_Analytics4_Widgets_DashboardOverallPageMetricsWidgetGA4_ZeroData_0_document_2_large.png renamed to tests/backstop/reference/google-site-kit_Modules_Analytics4_Widgets_DashboardOverallPageMetricsWidgetGA4_Zero_Data_w__entity_URL_0_document_2_large.png |
Summary
Addresses issue:
label
property in VRT scenarios #9103Relevant technical choices
PR Author Checklist
Do not alter or remove anything below. The following sections will be managed by moderators only.
Code Reviewer Checklist
Merge Reviewer Checklist