-
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-03-07] [$500] Web- Split - Tooltip shows email instead of display name when hovering over counter in split preview #33740
Comments
Job added to Upwork: https://www.upwork.com/jobs/~0194c00ce94ea69983 |
Triggered auto assignment to @JmillsExpensify ( |
Bug0 Triage Checklist (Main S/O)
|
Triggered auto assignment to Contributor-plus team member for initial proposal review - @parasharrajat ( |
Proposalfrom: @unicorndev-727 Please re-state the problem that we are trying to solve in this issue.The compose box displays duplicate characters upon pressing a single key What is the root cause of that problem?The root cause is that we shows the logins not full name , App/src/libs/OptionsListUtils.js Lines 134 to 150 in 595bf40
App/src/components/MultipleAvatars.tsx Line 108 in 595bf40
What changes do you think we should make in order to solve the problem?We need to update this part to show full name here
screen-capture.3.webmWhat alternative solutions did you explore? (Optional)
We can use getDisplayNameForParticipant instead of setting full name manually here. |
ProposalPlease re-state the problem that we are trying to solve in this issue.The tooltip shows the contact details of the participants What is the root cause of that problem?In here, we're not retrieving the proper name to display for the user, we're only using the What changes do you think we should make in order to solve the problem?We should use
The cases are:
We can adjust the Additionally, we should make sure to use the same code when displaying the tooltip on Avatar and when displaying the concatenated text for extra users, by creating an util like getUserDetailsTooltipText that will accept a list of accountIDs, and return the list of tooltip text based on the those accountIDs, then we can reuse between the BaseUserDetailsTooltip and the concatenated tooltips that we have, more detail here. What alternative solutions did you explore? (Optional)There might be other places that are still using the login, if there're any other such cases, we can use the same solution |
Proposal updated. Just added an alternative solution. |
Proposal updated with minor changes for clarity, also just so there's no confusion, it was the first to recommend using |
Please re-state the problem that we are trying to solve in this issue.Web- Split - Tooltip shows email instead of display name when hovering over counter in split preview What is the root cause of that problem?https://github.com/Expensify/App/blob/main/src/libs/OptionsListUtils.js#L148
The participant details are retrieved from the system using the What changes do you think we should make in order to solve the problem?Logic ensures that the
Video:https://drive.google.com/file/d/1m-cTSQtsJq15gAQp31efnN78xnYnbIKA/view?usp=sharing On a side note, we do not need an expression like the one provided ( |
@JmillsExpensify, @parasharrajat Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
@JmillsExpensify, @parasharrajat Whoops! This issue is 2 days overdue. Let's get this updated quick! |
@dukenv0307's proposal looks good to me. 🎀 👀 🎀 C+ reviewed |
Triggered auto assignment to @cead22, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
@unicorndev-727
Please mind these questions they are important. |
It looks like we identified the root cause for this particular occurrence, but given other tooltips on avatars worked like they should, doesn't that mean we're using different code to display tooltips on avatars in different places?
This makes the proposed solution sound incomplete, and I think our solution here should be one that makes it so we always use the same code for the same functionality -- in this case, displaying tooltips on avatars. Is that possible? |
@cead22 Other tooltips on avatars work like they should because they are relying on
So technically the name of those icons are still wrong, just the tooltip text is correct because the BaseUserDetailsTooltip will retrieve the name again based on accountID
This case is for displaying the extra users that will be compressed into 1 tooltip, where it will use a concatenated strings of App/src/components/MultipleAvatars.tsx Line 217 in f7e61f4
I think we can maybe create an util like But I think we still should fix so that the What do you think? |
Thanks for the detailed explanation. That sounds good to me! The only suggestion I have on this idea is to make |
@cead22 sure thing! Proposal updated to include the |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
Thanks @dukenv0307, can you check if there are? Ideally updating those places would be part of this solution. @parasharrajat what do you think about the updated proposal? |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.45-6 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-03-07. 🎊 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:
|
On payment stage, so not overdue |
@cead22, @JmillsExpensify, @parasharrajat, @dukenv0307 Eep! 4 days overdue now. Issues have feelings too... |
@parasharrajat Are you able to complete the BZ checklist above, so we can get payments kicked off? |
Posting my understanding of the payment summary in the meantime though, assuming no regressions:
|
I tried finding the root cause PR but history has become quite confusing which is creating a challenge in finding the root cause PR. I think #20473 might be behind it but couldn't validate it as the App does not allow signing in at that commit. So I am going to leave that part from the checklist. |
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:
Regression Test Steps1
2
Do you agree 👍 or 👎 ? |
@JmillsExpensify Feel free to close it if nothing is pending here. Thanks. I will request it later. |
Thank you! All good on the root cause for this one. I'll go ahead and create a regression test request now and then close this issue. |
@JmillsExpensify It seems payment wasn't made here yet, would you mind reopening the issue to handle that? Thank you! |
@JmillsExpensify Friendly bump on this 🙏 |
Oh I'm sorry I missed this payment earlier. Payment issued! |
Payment requested as per #33740 (comment) |
Need someone else on the BZ team to confirm the payment summary before I can approve. |
Contributor: @dukenv0307 paid $500 via Upwork. |
$500 approved for @parasharrajat |
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.19-1
Reproducible in staging?: Y
Reproducible in production?: Y
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
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:
Action Performed:
Expected Result:
The tooltip shows the display name for participants that have a display name
Actual Result:
The tooltip shows the contact details of the participants
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6328028_1703813445736.20231229_084143.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: