-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Use official release for SVG library version #12374
Conversation
Does this need to be tested with SVGs specifically, or any image type? |
Good question. The crashes were originally reproducible for me with any image type, rather than being associated with a specific image type. So I'd say it's fine to use any type. |
Cool. I can test with the "regular" image types we previously restricted to (png, jpg, etc.), but having an issue with SVGs. I posted in https://expensify.slack.com/archives/C03TQ48KC/p1667413174518089 because I can't figure it out - it seems to have to do with the recent change to allow any attachment file types. |
Reviewing this now! |
|
|
Since this affects Avatar and common components, I run a storybook. Listing a few but there are more, check the following images, what should we do here! |
Hey, good idea to check Storybook. I can reproduce these errors on older versions, so I think it's fine to ignore here. But we should definitely go ahead and resolve these separately. |
Thanks, @Julesssss, then we are good here! How should we proceed should I report this in slack,
Let me know, thanks! |
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.
Thanks! I think it's fine to raise a single issue, personally. |
All yours @francoisl |
✋ 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 @francoisl in version: 1.2.25-0 🚀
|
@Julesssss Can you tag a BZ here, to track payment for C+ Review?
|
Hey @Santhosh-Sellavel, I reopened the issue to do this. |
🚀 Deployed to production by @yuwenmemon in version: 1.2.25-0 🚀
|
Hi @Santhosh-Sellavel , please apply for this job in Upwork and I will issue the payment. Thanks! Internal job posting: https://www.upwork.com/ab/applicants/1595083283153248256/job-details External job posting: https://www.upwork.com/jobs/~017e99e729590faba2 |
Details
We used a temporary commit for the react-native-svg library for urgency. Now that the official release has been made, we should point to it.
Fixed Issues
$ #12233
Tests
QA Steps
Run above tests
PR Author Checklist
### Fixed Issues
section aboveTests
sectionQA steps
sectiontoggleReport
and notonIconClick
)src/languages/*
filesWaiting for Copy
label for a copy review on the original GH to get the correct copy.STYLE.md
) were followedAvatar
, I verified the components usingAvatar
are working as expected)/** comment above it */
this
properly so there are no scoping issues (i.e. foronClick={this.submit}
the methodthis.submit
should be bound tothis
in the constructor)this
are necessary to be bound (i.e. avoidthis.submit = this.submit.bind(this);
ifthis.submit
is never passed to a component event handler likeonClick
)StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)PR Reviewer Checklist
The reviewer will copy/paste it into a new comment and complete it after the author checklist is completed
### Fixed Issues
section aboveTests
sectionQA steps
sectiontoggleReport
and notonIconClick
).src/languages/*
filesWaiting for Copy
label for a copy review on the original GH to get the correct copy.STYLE.md
) were followedAvatar
, I verified the components usingAvatar
have been tested & I retested again)/** comment above it */
this
properly so there are no scoping issues (i.e. foronClick={this.submit}
the methodthis.submit
should be bound tothis
in the constructor)this
are necessary to be bound (i.e. avoidthis.submit = this.submit.bind(this);
ifthis.submit
is never passed to a component event handler likeonClick
)StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)Screenshots
Web
Mobile Web - Chrome
Mobile Web - Safari
Desktop
iOS
Android