-
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 2023-08-01] [$1000] [HOLD #20512] Web - Mentions don't show the new tooltip on hover #21683
Comments
Triggered auto assignment to @Christinadobrzyn ( |
Bug0 Triage Checklist (Main S/O)
|
ProposalPlease re-state the problem that we are trying to solve in this issue.Mentions don't show new tooltip on hover. What is the root cause of that problem?We still use the old tooltip component for mentions. App/src/components/HTMLEngineProvider/HTMLRenderers/MentionUserRenderer.js Lines 40 to 52 in e5f00f8
What changes do you think we should make in order to solve the problem?Use the new
const accountID = PersonalDetailsUtils.getAccountIDsByLogins([loginWithoutLeadingAt])[0]; We can also make a new function for getting function getAccountIDByLogin(login) {
const currentDetail = _.find(personalDetails, (detail) => detail.login === login);
if (!currentDetail) {
// generate an account ID because in this case the detail is probably new, so we don't have a real accountID yet
return UserUtils.generateAccountID();
}
return Number(currentDetail.accountID);
} Then, to keep code DRY we can use this function in What alternative solutions did you explore? (Optional)NA Result - Screen.Recording.2023-06-27.at.7.07.11.PM.mov |
ProposalPlease re-state the problem that we are trying to solve in this issue.Web - Mentions don't show the new tooltip on hover What is the root cause of that problem?We are using simple tooltip rather than App/src/components/HTMLEngineProvider/HTMLRenderers/MentionUserRenderer.js Lines 40 to 52 in e5f00f8
What changes do you think we should make in order to solve the problem?We should use {
login,
displayName: login,
avatar: UserUtils.getDefaultAvatar(),
} What alternative solutions did you explore? (Optional) |
Might be fixed with this job- #20716 (comment) - asking |
@Christinadobrzyn this issue is for the missing tooltip for mentions in chat messages. The issue that you referenced is for missing tooltip for chats in LHN. I think both are different. |
There are some big changes to tooltip happening in this GH -#20512 (related to threads here - https://github.com/Expensify/Expensify/issues/290271) I'm going to put on hold to see if it's resolved after this |
still on hold for #20512 |
This is almost in production - #20512 - moving to daily |
#20512 in production - testing this again it's still happening. Adding External |
Job added to Upwork: https://www.upwork.com/jobs/~0123436a96eaad8d30 |
Current assignee @Christinadobrzyn is eligible for the External assigner, not assigning anyone new. |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @mollfpr ( |
I'm going to be ooo until July 31st so going to unassign and assign a new teammate. At this time, we're receiving and reviewing proposals. I'll take this back when I'm back if it's still open |
📣 @mollfpr 🎉 An offer has been automatically sent to your Upwork account for the Reviewer role 🎉 Thanks for contributing to the Expensify app! |
📣 @Nikhil-Vats 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Upwork job |
📣 @Nikhil-Vats 🎉 An offer has been automatically sent to your Upwork account for the Reporter role 🎉 Thanks for contributing to the Expensify app! |
Contributor details |
✅ Contributor details stored successfully. Thank you for contributing to Expensify! |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.3.44-2 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-08-01. 🎊 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:
|
Offers have been sent to everyone via Upworks. @mollfpr can you get started on the checklist when you have time? |
I'm back from ooo - happy to take this back @tjferriss - even though we're close to done - whatever is best for you! |
@Christinadobrzyn I can finish this one up. All that's left is the payments and checklist. |
All payments have been made via Upworks. @mollfpr can you complete the checklist? |
@tjferriss Thank you! Completing it now 🚀 |
No offending PR. It's not caught while working on the new user detail tooltip component.
In general, this is not a bug but rather an improvement for the tooltip to show the user detail. So the regression step should be enough.
Only testable on the desktop or web
|
I've submitted the regression test. We're good to close this one. |
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:
Hovering on mentions should show the new tooltip with email, avatar and display name.
Actual Result:
Hovering on mentions shows the old tooltip with only email.
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number: 1.3.30-5
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
Notes/Photos/Videos: Any additional supporting documentation
Screen.Recording.2023-06-23.at.2.39.46.PM.2.mov
Desktop.2023.06.26.-.18.09.42.15.mp4
Expensify/Expensify Issue URL:
Issue reported by: @Nikhil-Vats
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1687512682797759
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: