[NO QA] feat: svg compression check - #70547
Conversation
|
|
9bfaa2f to
8627553
Compare
8627553 to
581f990
Compare
|
@dubielzyk-expensify @c3024 One of you needs to copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button] |
f728492 to
581f990
Compare
…to feat/svg-compression-check
|
I will be on vacation starting today until 03.10. @fabioh8010 will assign someone if there is a need to do anything here. |
|
@c3024 Could you have a look here? Thanks! |
Reviewer Checklist
Screenshots/VideosAndroid: HybridAppAndroid: mWeb ChromeiOS: HybridAppiOS: mWeb SafariMacOS: Chrome / SafariMacOS: Desktop |
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
|
🚀 Deployed to staging by https://github.com/MariaHCD in version: 9.2.20-0 🚀
|
|
🚀 Deployed to production by https://github.com/Julesssss in version: 9.2.20-4 🚀
|
Explanation of Change
This PR:
npm run compress-svgscript for local compressionThe new check runs only when SVGs change, finishes in ~35s, and fails with clear instructions if further compression is possible. To skip check for specific file, rename the file to end with the exact suffix “-ignore-compression”, e.g.,
...icons/Receipt-ignore-compression.svg.Tested on private fork.
Fixed Issues
$ #69628
PROPOSAL:
Tests
N/A
Offline tests
N/A
QA Steps
N/A
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectioncanBeMissingparam foruseOnyxtoggleReportand notonIconClick)src/languages/*files and using the translation methodSTYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))Avataris modified, I verified thatAvataris working as expected in all cases)Designlabel and/or tagged@Expensify/designso the design team can review the changes.ScrollViewcomponent to make it scrollable when more elements are added to the page.mainbranch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTeststeps.Screenshots/Videos
Android: Native
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
MacOS: Desktop