-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
[$250] Split- 'Guest' is counted twice in Public room #43290
Comments
Triggered auto assignment to @Christinadobrzyn ( |
@Christinadobrzyn FYI I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors |
We think that this bug might be related to #vip-split |
ProposalPlease re-state the problem that we are trying to solve in this issue."Guest" appears as a participant when splitting in a public room after logging in via a public room. What is the root cause of that problem?When a public room is opened without any logged account, the API sends a report with an extra user ID, labeled as Guest. This Guest becomes part of the report participants and remains even when the user logs in. A check on the network request reveals an extra user ID in the But why is it not displayed as hidden? When the app is opened and the user is not logged in, the API includes this Guest in the personalDetailsList, making the new Guest a part of the user's contacts. Consequently, it will not be displayed as hidden. As mentioned by anitochka17 in the expected result section, "there will not be an extra 'Guest' member in the participant list". The issue is that this Guest user is not filtered out when there's a split request. What changes do you think we should make in order to solve the problem?The main idea is to filter out the Guest on the MoneyRequestConfirmationList page, preventing this type of user from being part of the split. This filter can be implemented in various parts of the app, as the process of building the list of split users involves many functions, starting from the creation of the new transaction when clicking on Split Expenses. I can suggest a way to do this, but I believe the Expensify team may lead this better.
In the We can use the What alternative solutions did you explore? |
Job added to Upwork: https://www.upwork.com/jobs/~0175e97fd87039315b |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @allroundexperts ( |
This comment was marked as outdated.
This comment was marked as outdated.
ProposalPlease re-state the problem that we are trying to solve in this issue.When splitting expense in public room after logging in via public room, there is an extra "Guest" member in participant list What is the root cause of that problem?When the user views the public room when logged out, that one will be considered an "anonymous" user from the back-end. And the data related to that anonymous user will be present in However, when the user logs in as a real user, we're not clearing those anonymous client-side only data from Onyx in What changes do you think we should make in order to solve the problem?When the user was anonymous then logs in as a real user, we should clear anonymous client-side only data (
There's a couple of endpoints that need the change, depending on if we sign up or sign in, like What alternative solutions did you explore? (Optional)NA |
hi @allroundexperts can you check these proposals when you have a moment? |
Triggered auto assignment to @twisterdotcom ( |
Just a heads up - I'm going to be ooo until June 24th so going to assign a teammate to watch this while I'm away @twisterdotcom proposals are being reviewed |
Reviewing today! |
My understanding is that we show the name as |
I will ask @allroundexperts I'm not 100% sure either. Asking in our project channel - https://expensify.slack.com/archives/C05RECHFBEW/p1718247545080749 @twisterdotcom could you keep an eye on a response and add it here? TY! |
@allroundexperts I don't think this is the case, after the user logged in, she's no longer "guest". The "Guest" user is a residual from the anonymous session earlier, as explained in detail in my proposal. You can validate this by try logging out and logging in again without sending anything to the public room. You'll see the "Guest" user will disappear, although nothing is different about "until the guest sends a message in the channel", no message was sent. |
@allroundexperts would you be able to take a peek at @devguest07's proposal? Maybe also checking out this one too to see if it will work with the changed objective |
@devguest07 I don't think your proposal would work. You're suggesting to filtering out the guest from the split money expense participant list. In reality, we don't want to show the guest even in the members page of the room (once the guest signs in). I think this requires a fix from the backend. |
@allroundexperts The issue with guest in the members page of the room has been fixed in the latest main branch. However, there is still a problem with the split functionality, where you will find a guest among the possible split members. |
@allroundexperts let me know if you think this needs to be an internal label. |
Even so, filtering shouldn't be the solution here. We should remove the guest entirely once he signs in. |
I think that is the best course here. |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
Sounds good @allroundexperts - I added the Internal label and I'll work on finding a volunteer. |
waiting for a volunteer |
Looking for a volunteer |
still looking for a volunteer - https://expensify.slack.com/archives/C05RECHFBEW/p1720475518788529?thread_ts=1719259054.813949&cid=C05RECHFBEW |
still looking for a volunteer - https://expensify.slack.com/archives/C05RECHFBEW/p1720475518788529?thread_ts=1719259054.813949&cid=C05RECHFBEW |
Issue not reproducible during KI retests. (First week) |
@allroundexperts, @Christinadobrzyn Eep! 4 days overdue now. Issues have feelings too... |
I'll try to retest this today to see if it's still happening unless you have time to do that @allroundexperts |
I'm not going to get to this retest today, I will do it tomorrow |
Testing again - I think this is resolved - @allroundexperts would be able to check and see if you're still setting a Guest? I'm not seeing a guest anymore. |
I'm going to ask QA if they can retest - https://expensify.slack.com/archives/C9YU7BX5M/p1721241144696699 |
Issue not reproducible during KI retests. (Second week) 1721031579106.bandicam_2024-07-15_11-15-19-949.mp4 |
Let's close this - the issue seems to be resolved. |
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Version Number: 1.4.80-9
**Reproducible in staging?:**Y
Reproducible in production?: Y
If this was caught during regression testing, add the test name, ID and link from TestRail: https://expensify.testrail.io/index.php?/tests/view/4605118
Issue reported by: Applause - Internal Team
Action Performed:
Admin (User A):
'Guest' (User B):
Admin (User A):
'Guest' (User B):
Admin (user A):
Expected Result:
The 'guest' should be removed as a member of the room since the new user is signed in
Actual Result:
Both the 'guest' and the new user show as members
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
2024-06-26_14-47-50.mp4
20240627_035355.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: