-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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-10-25] [$500] Workspace - Selected members unselect on switch from offline to online #28551
Comments
Triggered auto assignment to @stephanieelliott ( |
Job added to Upwork: https://www.upwork.com/jobs/~0100a927d9b515117f |
Bug0 Triage Checklist (Main S/O)
|
Triggered auto assignment to Contributor-plus team member for initial proposal review - @mollfpr ( |
ProposalPlease re-state the problem that we are trying to solve in this issueSelected new members unselect automatically after switch from offline to online What is the root cause of that problem?The main problem is that the selected elements are stored as ids What changes do you think we should make in order to solve the problem?Once we have access to the Internet App/src/pages/workspace/WorkspaceMembersPage.js Lines 113 to 124 in 7c86d09
We can update this useEffect like
What alternative solutions did you explore? (Optional)NA |
ProposalPlease re-state the problem that we are trying to solve in this issue.Reconnecting to the network removes selected newly added members from the members list What is the root cause of that problem?The newly added members have temporary id that are used to handle the selection in the members list, except that when coming back online that will trigger What changes do you think we should make in order to solve the problem?We can start by finding the members with a pending add action using this utility
And then when coming back online, we will try to guess the newly added member real ID using their login which will not change after coming back online, it could be something like this. the code can definitly be imporoved. it's just a quick POC
offline.mp4What alternative solutions did you explore? (Optional)N/A |
@abdel-h66 I'm not sure using |
It's true that we are using the ids from We then Here is an example:
Using my suggestion we know that the member I hope this was clear :) let me know if you still have any questions |
I don't understand why using Also, the @ZhenjaHorbach Your solution seems simple enough to solve the issue, but can we map through the previously selected list only if we have members from offline? It seems unnecessary if we add members from existing |
The issue with the |
@mollfpr |
We still need to stick with 🎀 👀 🎀 C+ reviewed! |
Triggered auto assignment to @Li357, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
Hey @Li357 are you working on a PR for this issue? |
@Li357, @mollfpr, @stephanieelliott Whoops! This issue is 2 days overdue. Let's get this updated quick! |
I agree @ZhenjaHorbach is simpler, assigning you! |
@stephanieelliott |
Hi @ZhenjaHorbach I've extended the offer to you manually, the job is here! |
Thank you ) |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.3.86-5 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-10-25. 🎊 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:
|
https://github.com/Expensify/App/pull/18934/files#r1371829488
The regression step should be enough.
|
@stephanieelliott Could you give us the payment summary? Thank you! |
@Li357, @mollfpr, @stephanieelliott, @ZhenjaHorbach Whoops! This issue is 2 days overdue. Let's get this updated quick! |
Summarizing payment on this issue:
Upwork job is here, 50% bonus is included on final payout |
@stephanieelliott offer accepted, thanks! |
All Upwork payments completed! |
$750 payment approved for @mollfpr based on summary above. |
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:
Selected should not unselect automatically
Actual Result:
Selected members unselect automatically
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number: 1.3.75-0
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_20230929_142421_Chrome_1.mp4
Screen.Recording.2023-09-29.at.2.22.45.PM.mov
Screen_Recording_20230929_140311_New.Expensify.mp4
Screen.Recording.2023-09-29.at.2.09.26.PM.mov
RPReplay_Final1695976855.MP4
RPReplay_Final1695976972.MP4
Recording.116.mp4
Expensify/Expensify Issue URL:
Issue reported by: @gadhiyamanan
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1695976528390539
View all open jobs on GitHub
The text was updated successfully, but these errors were encountered: