-
Notifications
You must be signed in to change notification settings - Fork 10.7k
Moving section icon svgs to assets folder and loading by URL #37869
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
Conversation
|
Hi @mdperez86, Apart from reviewing the code changes, please make sure to review the testing instructions as well. You can follow this guide to find out what good testing instructions should look like: |
Test Results SummaryCommit SHA: 23670ea
To view the full API test report, click here. To view the full E2E test report, click here. To view all test reports, visit the WooCommerce Test Reports Dashboard. |
mdperez86
left a comment
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.
Nice job @joelclimbsthings LGTM! I just left some comments about the svg files properties.
|
Thanks @mdperez86 ! Great observations--I had just exported them straight from Figma, so it's a bit strange they weren't at least consistent. Fixed in 23670ea |
mdperez86
left a comment
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.
LGTM @joelclimbsthings thanks
Submission Review Guidelines:
Changes proposed in this Pull Request:
Instead of injecting SVG directly into template, we're copying them as files into the assets folder and loading by URL.
Closes #37711 .
How to test the changes in this Pull Request:
pnpm --filter=woocommerce/client/admin run buildwoocommerce/assets/client/admindirectory contains aproduct-editor/iconsdirectory with all the previously built assets.product-block-editorfeature flag via WCA Test Helper plugin.