-
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][$250] Mention-Numbers are displayed when editing an email mention of a user that is not a contact #45259
Comments
Triggered auto assignment to @kadiealexander ( |
We think this issue might be related to the #vip-vsb |
ProposalPlease re-state the problem that we are trying to solve in this issue.Mention-Numbers are displayed when editing an email mention of a user that is not a contact What is the root cause of that problem?The root cause of the problem is the This issue occurs in the App/src/pages/home/report/ContextMenu/ContextMenuActions.tsx Lines 243 to 245 in 28e5e45
Therefore, the
It returns What changes do you think we should make in order to solve the problem?We should pass an
We should create the So, the code that will create the
Screen.Recording.2024-07-11.at.18.47.51.mov
Introduce
Hidden.movWhat alternative solutions did you explore? (Optional)We could use or create a function to display "@alice" instead of "@hidden" like the second solution illustrated above for cleaner code in one line. |
Edited by proposal-police: This proposal was edited at 2024-08-07 10:06:41 UTC. ProposalPlease re-state the problem that we are trying to solve in this issue.User ID number is displayed in the edit box instead of hidden What is the root cause of that problem?After we mention a user that we haven't chatted with before, BE returns the personal details of this user without Line 18 in 2c60fc9
What changes do you think we should make in order to solve the problem?We should fallback as an empty string here then Line 18 in 2c60fc9
What alternative solutions did you explore? (Optional)ResultScreen.Recording.2024-08-07.at.17.05.04.mov |
Unable to auto-create job on Upwork. The BZ team member should create it manually for this issue. |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @aimane-chnaif ( |
@puneetlath what do you think is the expected behavior? |
Hmm, weird scenario. Interesting. I think either is fine. I guess display name is better. |
@nkdengineer thanks for the proposal. Can you please find PR that added this line and confirm that falling back to displayName instead of accountID doesn't cause any regression? |
@aimane-chnaif It comes from this PR #44732. It's simply something we display when we don't have a user |
@nkdengineer No. That PR just moved this line from old file to new file |
@aimane-chnaif, Could you give feedback on my proposal? I believe the best-excepted behavior is display |
@Tony-MK Thanks for the proposal but I think your solution is unnecessarily complex. Have you found any regression with @nkdengineer's simple solution? |
Yeah. According to my testing, the other proposal does not display Therefore, editing a message, for example, Basically, like my second solution in my propsal We should attempt the first solution. |
why not we simply update like this? EDIT: we shouldn't do like that because it should show |
@aimane-chnaif Is there any problem with my proposal? |
@nkdengineer your solution always shows |
@aimane-chnaif, Do you want the PR that introduced this line? |
@aimane-chnaif The change came from this PR #40565. And I see that in this PR we only test the case select the mention in suggestion list that already had the |
What does that mean? It always shows when open edit composer or after editing? |
@kadiealexander @aimane-chnaif 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 has not been updated in over 15 days. @srikarparsi, @kadiealexander, @aimane-chnaif, @nkdengineer eroding to Monthly issue. P.S. Is everyone reading this sure this is really a near-term priority? Be brave: if you disagree, go ahead and close it out. If someone disagrees, they'll reopen it, and if they don't: one less thing to do! |
@kadiealexander The PR was deployed to production 2 weeks ago. |
Ah sorry, the payment automation broke. Let me finish things now. |
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:
|
Job added to Upwork: https://www.upwork.com/jobs/~021831462503801260039 |
Current assignee @aimane-chnaif is eligible for the External assigner, not assigning anyone new. |
Payouts due:
Upwork job is here. |
@nkdengineer please let me know when you accept the offer. |
Regression Test Proposal |
@kadiealexander I accepted the offer |
@kadiealexander I'd like to use upwork |
@aimane-chnaif sent you an offer! |
@aimane-chnaif bump! |
@aimane-chnaif please reopen the issue once you've accepted the Upwork offer. |
@kadiealexander I accepted offer. Sorry for delay |
Paid, thanks @aimane-chnaif! |
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: v9.0.6-0
Reproducible in staging?: Y
Reproducible in production?: Y
Logs: https://stackoverflow.com/c/expensify/questions/4856
Issue reported by: Applause-Internal team
Action Performed:
Expected Result:
The mentioned user's full email address is displayed in the edit box
Actual Result:
User ID number is displayed in the edit box instead of the email address
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Bug6538648_1720680873449.2024-07-11_09_51_38.mp4
View all open jobs on GitHub
Issue Owner
Current Issue Owner: @Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @kadiealexanderIssue Owner
Current Issue Owner: @kadiealexanderThe text was updated successfully, but these errors were encountered: