-
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
[$500] Request Money - Selecting and unselecting an account when requesting money creates a delay #27949
Comments
Triggered auto assignment to @bondydaa ( |
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open
|
Removing the deploy blocker as it is a minor issue |
ProposalPlease re-state the problem that we are trying to solve in this issue.Toggling accounts in request money participants select page creates noticeable delay What is the root cause of that problem?When we toggle an account, addParticipantToSelection function is called. We calculate the new selected participants and notice parent by By So 3 times of re-rendering is done What changes do you think we should make in order to solve the problem?We can reduce the re-render by using Combine two code segments(state and effect) into one using
And remove the redundant code This causes the re-render only once This works great and fixes another issue below 27949_another_issue.mp4Result27949.mp4What alternative solutions did you explore? (Optional) |
Triggered auto assignment to @michaelhaxhiu ( |
Bug0 Triage Checklist (Main S/O)
|
okay if this isn't a blocker lets get it through the normal BZ process then. |
@bondydaa, @michaelhaxhiu Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
hax is going on sabbatical so going to redo the BZ assignment. |
Triggered auto assignment to @greg-schroeder ( |
Bug0 Triage Checklist (Main S/O)
|
@greg-schroeder can you run through the BZ steps and confirm if this still exists and/or if you think it's worthwhile? |
I tested it and it's still a thing. I mean I don't think it's a huge deal but it's bad performance for sure - it's noticeably slow. |
Job added to Upwork: https://www.upwork.com/jobs/~0171404337e9a907ca |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @cubuspl42 ( |
I will send this through the |
@cubuspl42 @bondydaa @greg-schroeder this issue was created 2 weeks ago. Are we close to approving a proposal? If not, what's blocking us from getting this issue assigned? Don't hesitate to create a thread in #expensify-open-source to align faster in real time. Thanks! |
This issue looks like fixed already cc @cubuspl42 |
Ah, could be the case. Perhaps we can close? I will let @cubuspl42 confirm that choice :) |
I can't reproduce. Let's close. |
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Action Performed:
Expected Result:
The app should not experience delays when it is unselected, and it should work smoothly
Actual Result:
The app delays when it is selected and unselected
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number: 1.3.72.8
Reproducible in staging?: y
Reproducible in production?: n
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
delay.mp4
Recording.4666.mp4
Expensify/Expensify Issue URL:
Issue reported by: @jo-ui
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1695301255308139
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: