You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[HOLD for payment 2021-11-22] Details page - Show tooltip on user detail page if the email is too long #5542
You are showing a tooltip even if the email is small and clearly visible but the issue title says, show the tooltip when the email is too long and trimmed.
You are showing a tooltip even if the email is small and clearly visible but the issue title says, show the tooltip when the email is too long and trimmed.
I thought about it. But in the main chat screen we're showing tooltips irrespective of the length of the email.
because it shows displayName here.
DisplayName could be any of these => First+last Name, email + phone. In most cases, it would be First+last Name and thus we show login in the tooltip.
But on the details page, it's always email so why duplicate this unless Email is trimmed as you reported in Slack.
@Christinadobrzyn@thienlnam Is the production deployment for this PR delayed due to hold? It's been on staging for 8 days already and now I'll have to wait for production deployment + 7 days for the payment.
changed the title [-]Details page - Show tooltip on user detail page if the email is too long[/-][+][HOLD for payment 2021-11-22] Details page - Show tooltip on user detail page if the email is too long[/+]on Nov 15, 2021
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.1.14-4 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue:
Paid @akshayasalvi $250 for reporting the bug + $250 for fixing the bug + 250 bonus for the company offsite delay. Closing this job in Upwork and this GH.
Activity
MelvinBot commentedon Sep 27, 2021
Triggered auto assignment to @MitchExpensify (
AutoAssignerTriage), see https://stackoverflow.com/c/expensify/questions/4749 for more details.akshayasalvi commentedon Sep 27, 2021
Solution
In
CommunicationsLink.js, we can addTooltiponly to the else block as it is for wide screen width.Replace the
{props.children}in the else (after : ) block with the following code:and in style.js add the following:
We need to wrap the
props.childrenaround aViewso that the view doesn't break when we have a very long email address.Screenshots:
parasharrajat commentedon Sep 28, 2021
You are showing a tooltip even if the email is small and clearly visible but the issue title says, show the tooltip when the email is too long and trimmed.
akshayasalvi commentedon Sep 28, 2021
I thought about it. But in the main chat screen we're showing tooltips irrespective of the length of the email.
parasharrajat commentedon Sep 28, 2021
because it shows displayName here.
DisplayName could be any of these => First+last Name, email + phone. In most cases, it would be
First+last Nameand thus we show login in the tooltip.But on the details page, it's always email so why duplicate this unless Email is trimmed as you reported in Slack.
MitchExpensify commentedon Sep 29, 2021
Reproduced and agree its valuable. This is n6-hold so not labeling eng just yet
MitchExpensify commentedon Oct 1, 2021
On hold
48 remaining items
parasharrajat commentedon Nov 1, 2021
Should #5542 (comment) be implemented as a solution or just add a tooltip for all cases?
I don't see an official acceptance of the proposal so it's unclear to me.
thienlnam commentedon Nov 1, 2021
I didn't accept a proposal specifically yet but since we already hired @akshayasalvi we will just continue working through this job. I asked for clarification https://expensify.slack.com/archives/C01GTK53T8Q/p1635784104290300?thread_ts=1632614361.076100&cid=C01GTK53T8Q here about the tooltip
Christinadobrzyn commentedon Nov 8, 2021
We still have the Company Offsite hold label on this issue so working through the PR as we have time.
akshayasalvi commentedon Nov 8, 2021
@Christinadobrzyn Didnt understand the hold. The PR is merged to the main branch already
thienlnam commentedon Nov 8, 2021
@Christinadobrzyn My bad, forgot about the label and merged the PR already. Let's do the standard 7 day regression wait and then just pay this one out
akshayasalvi commentedon Nov 12, 2021
@Christinadobrzyn @thienlnam Is the production deployment for this PR delayed due to hold? It's been on staging for 8 days already and now I'll have to wait for production deployment + 7 days for the payment.
thienlnam commentedon Nov 15, 2021
We've delayed all PRs due to the hold. Since I made the mistake and merged ahead of time @Christinadobrzyn, let's pay this out. It passed staging QA
[-]Details page - Show tooltip on user detail page if the email is too long[/-][+][HOLD for payment 2021-11-22] Details page - Show tooltip on user detail page if the email is too long[/+]botify commentedon Nov 15, 2021
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.1.14-4 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 2021-11-22. 🎊
Christinadobrzyn commentedon Nov 23, 2021
Alright - 7 days in production have passed! 🎉
Paid @akshayasalvi $250 for reporting the bug + $250 for fixing the bug + 250 bonus for the company offsite delay. Closing this job in Upwork and this GH.