-
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
[HOLD for payment 2023-09-11] [$1000] Images blinks on click on Got it button #26034
Comments
Triggered auto assignment to @garrettmknight ( |
Bug0 Triage Checklist (Main S/O)
|
Job added to Upwork: https://www.upwork.com/jobs/~011b882428c04f1629 |
Current assignee @garrettmknight is eligible for the External assigner, not assigning anyone new. |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @cubuspl42 ( |
Reproduced on staging - really niche, but I'd agree that it's unexpected. |
ProposalPlease re-state the problem that we are trying to solve in this issue.Images blinks on click on Got it button What is the root cause of that problem?Whenever we click on Disable Two factor auth we're calling this function
DisableTwoFactorAuth for the first time maybe because of security purposes backend is requesting re-auth by sending a 407 request.
Due to this App/src/libs/Authentication.js Line 55 in 5b4dee8
Once we have the response we're setting
So by clicking on So why only Image flickering? We use App/src/components/Image/index.js Lines 61 to 68 in 5b4dee8
And in this snippet App/src/components/Image/index.js Line 16 in 5b4dee8
RNImage 's source prop whenever we see a change in SESSION .
So because of that API call What changes do you think we should make in order to solve the problem?We can safely remove the
At any point user leaves and comes back to same report, What alternative solutions did you explore? (Optional)NA ResultKapture.2023-08-28.at.23.13.00.mp4 |
@cubuspl42 Please review my proposal when you get a chance. Thanks! |
After giving it a thought, I also can't see a reason to reload images when the auth token changes. It's not like we expect the content to differ. We can go with @b4s36t4 proposal. C+ reviewed 🎀 👀 🎀 |
Triggered auto assignment to @yuwenmemon, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
This comment was marked as outdated.
This comment was marked as outdated.
📣 @cubuspl42 🎉 An offer has been automatically sent to your Upwork account for the Reviewer role 🎉 Thanks for contributing to the Expensify app! |
📣 @b4s36t4 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
📣 @gadhiyamanan 🎉 An offer has been automatically sent to your Upwork account for the Reporter role 🎉 Thanks for contributing to the Expensify app! |
Melvin answers the call! |
@yuwenmemon @cubuspl42 #26365 here's the PR. Also had some questions too. Please answer them as well. |
🎯 ⚡️ Woah @cubuspl42 / @b4s36t4, great job pushing this forwards! ⚡️ The pull request got merged within 3 working days of assignment, so this job is eligible for a 50% #urgency bonus 🎉
On to the next one 🚀 |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.3.62-4 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue: If no regressions arise, payment will be issued on 2023-09-11. 🎊 After the hold period is over and BZ checklist items are completed, please complete any of the applicable payments for this issue, and check them off once done.
For reference, here are some details about the assignees on this issue:
As a reminder, here are the bonuses/penalties that should be applied for any External issue:
|
BugZero Checklist: The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:
|
|
Summary of payments
|
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
Action Performed:
Expected Result:
images should not blinks
Actual Result:
images blinks on click on Got it button
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number: 1.3.57-5
Reproducible in staging?: Yes
Reproducible in production?: Yes
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
Screen.Recording.2023-08-19.at.12.31.28.PM.mov
Recording.410.mp4
Expensify/Expensify Issue URL:
Issue reported by: @gadhiyamanan
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1692429279843929
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: