-
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 2024-07-17] [$250] Profile - Profile changes to Hidden and "Email not found" error when messaging Hidden user #43278
Comments
Triggered auto assignment to @laurenreidexpensify ( |
@laurenreidexpensify 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-vsp |
ProposalPlease re-state the problem that we are trying to solve in this issue.Profile page changes to hidden and error when pressing Message on a new user. What is the root cause of that problem?When we start a new chat, we will create an optimistic personal detail for the user. We actually have a disabled condition to disable the press when the user is optimistic. App/src/pages/home/HeaderView.tsx Line 258 in bb6e7eb
Lines 1124 to 1132 in bb6e7eb
However, the What changes do you think we should make in order to solve the problem?Filter out current user from
|
Job added to Upwork: https://www.upwork.com/jobs/~018004b4dcf5d57a3b |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @ZhenjaHorbach ( |
Thank you for your proposal @bernhardoj ! Your proposal makes sense But I’m not sure, but perhaps this might not be the best idea @laurenreidexpensify |
Yeah, maybe it's not the best behavior, but just want to point out that it's how it works before (first introduced in #22691) |
@Expensify/design curious for your take on this one wrt to the flow here and @ZhenjaHorbach's comment:
Do you agree? |
Hmm, I'm not sure I totally understand what's going on. Why does the user change from an email address to "Hidden"? |
Yeah, I don't quite understand that part either. @puneetlath I think you worked on some of the "Hidden" stuff previously, do you have an opinion here? |
Sorry for the misunderstanding But here it’s a little unclear what expected behavior we should have when we open a chat with an user with non-existing email for the first time until we receive a response from the server
OR
|
To add more information, when we start a chat with a new user, we optimistically create the user information on the FE (accountID, etc.). The BE then responds with different information and we clear the optimistic information to avoid keeping unused information. So for example, the optimistic accountID is 1, but the real accountID sent from the BE is 2. |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
Not overdue |
📣 @bernhardoj 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
PR is ready cc: @ZhenjaHorbach |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.5-13 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 2024-07-17. 🎊 For reference, here are some details about the assignees on this 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:
|
I'll request in ND once payment is due. |
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.6-8 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 2024-07-22. 🎊 For reference, here are some details about the assignees on this 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:
|
The payment should be due tomorrow (07-17) |
Requested in ND. |
https://github.com/Expensify/App/pull/40254/files#r1680722584
NA
Regression Test Steps
Do we agree 👍 or 👎? |
Payment Summary:
|
$250 approved for @bernhardoj |
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] 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: N/A
Issue reported by: Applause - Internal Team
Action Performed:
Expected Result:
In Step 5, the user profile RHP will remain unchanged
Actual Result:
In Step 5, the user profile RHP changes to Hidden
When clicking Message, app redirects to chat with another user with the error "Email not found"
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6504945_1717762402806.bandicam_2024-06-07_20-08-22-644.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @twisterdotcomThe text was updated successfully, but these errors were encountered: