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 2023-07-17] [$1000] Tooltip breaks on dynamic update of display name in new group list #21622
Awaiting PaymentAuto-added when associated PR is deployed to productionBugSomething is broken. Auto assigns a BugZero manager.DailyKSv2ExternalAdded to denote the issue can be worked on by a contributor
Open the app on another device and login with user B
In user A device, click on plus, new group, search for user B and hover once on avatar to observe tooltip
In user B device, go to settings, profile, display name and change display name to very long first and last name
Hover again on user B avatar on user A device to observe that tooltip is not distorted and not positioned properly
close new group menu on user A device, again open new group, search for user B and again hover on user B avatar to observe that now it looks right and is positioned properly
Expected Result:
App should adjust tooltip width too dynamically to ensure it looks right when display name length changes.
Actual Result:
App only updates display name dynamically and not width of tooltip when hovered on user on new group page and that user changes its name
Workaround:
Can the user still use Expensify without this being fixed? Have you informed them of the workaround?
Platforms:
Which of our officially supported platforms is this issue occurring on?
Android / native
Android / Chrome
iOS / native
iOS / Safari
MacOS / Chrome / Safari
MacOS / Desktop
Version Number: 1.3.32-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
Please re-state the problem that we are trying to solve in this issue.
When the user's display name updates while a component that contains that user's display name in its tooltip is rendered, the tooltip does not update its layout and starts flickering when shown.
changed the title [-]Tooltip breaks on dynamic update of display name in new group list[/-][+][$1000] Tooltip breaks on dynamic update of display name in new group list[/+]on Jun 29, 2023
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.3.38-7 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-07-17. 🎊
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.
External issue reporter
Contributor that fixed the issue
Contributor+ that helped on the issue and/or PR
As a reminder, here are the bonuses/penalties that should be applied for any External issue:
Merged PR within 3 business days of assignment - 50% bonus
Merged PR more than 9 business days after assignment - 50% penalty
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:
[@aimane-chnaif] The PR that introduced the bug has been identified. Link to the PR:
[@aimane-chnaif] The offending PR has been commented on, pointing out the bug it caused and why, so the author and reviewers can learn from the mistake. Link to comment:
[@aimane-chnaif] A discussion in #expensify-bugs has been started about whether any other steps should be taken (e.g. updating the PR review checklist) in order to catch this type of bug sooner. Link to discussion:
[@aimane-chnaif] Determine if we should create a regression test for this bug.
[@aimane-chnaif] If we decide to create a regression test for the bug, please propose the regression test steps to ensure the same bug will not reach production again.
[@CortneyOfstad] Link the GH issue for creating/updating the regression test once above steps have been agreed upon: No regression needed per this comment below
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:
[@aimane-chnaif] A discussion in #expensify-bugs has been started about whether any other steps should be taken (e.g. updating the PR review checklist) in order to catch this type of bug sooner. Link to discussion: N/A
[@aimane-chnaif] Determine if we should create a regression test for this bug.
[@aimane-chnaif] If we decide to create a regression test for the bug, please propose the regression test steps to ensure the same bug will not reach production again.
No regressions but this was missing case while implementing new feature of user details tooltip.
As this is kind of dynamic update issues which are closed recently, I don't think regression test step is needed.
@cubuspl42 and @dhanashree-sawant — sent contracts to both of you. Please accept them in Upwork and let me know here, so I can get those paid to you ASAP. Thank you!
Awaiting PaymentAuto-added when associated PR is deployed to productionBugSomething is broken. Auto assigns a BugZero manager.DailyKSv2ExternalAdded to denote the issue can be worked on by a contributor
Activity
melvin-bot commentedon Jun 26, 2023
Triggered auto assignment to @CortneyOfstad (
Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details.melvin-bot commentedon Jun 26, 2023
Bug0 Triage Checklist (Main S/O)
Platformsin OP are ✅)jakub-trzebiatowski commentedon Jun 27, 2023
Proposal
Please re-state the problem that we are trying to solve in this issue.
When the user's display name updates while a component that contains that user's display name in its tooltip is rendered, the tooltip does not update its layout and starts flickering when shown.
What is the root cause of that problem?
UserDetailsTooltippassesrenderTooltipContenttoTooltip, but does not pass anyrenderTooltipContentKey, so the tooltip doesn't know that it should recompute its layout.What changes do you think we should make in order to solve the problem?
We should pass elements that could affect the tooltip's layout to
renderTooltipContentKey.My branch
CortneyOfstad commentedon Jun 29, 2023
Was able to recreate on my side as well, so going to get eyes on the proposal 👍
[-]Tooltip breaks on dynamic update of display name in new group list[/-][+][$1000] Tooltip breaks on dynamic update of display name in new group list[/+]melvin-bot commentedon Jun 29, 2023
Job added to Upwork: https://www.upwork.com/jobs/~011f7af8c7b650e009
melvin-bot commentedon Jun 29, 2023
Current assignee @CortneyOfstad is eligible for the External assigner, not assigning anyone new.
melvin-bot commentedon Jun 29, 2023
Triggered auto assignment to Contributor-plus team member for initial proposal review - @aimane-chnaif (
External)20 remaining items
melvin-bot commentedon Jul 10, 2023
Reviewinglabel has been removed, please complete the "BugZero Checklist".melvin-bot commentedon Jul 10, 2023
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.3.38-7 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-07-17. 🎊
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.
As a reminder, here are the bonuses/penalties that should be applied for any External issue:
melvin-bot commentedon Jul 10, 2023
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:
CortneyOfstad commentedon Jul 17, 2023
@aimane-chnaif any updates on the checklist above?
CortneyOfstad commentedon Jul 19, 2023
@aimane-chnaif Bump on the check list above. I cannot move forward with the regression steps until those are completed 👍
aimane-chnaif commentedon Jul 19, 2023
No regressions but this was missing case while implementing new feature of user details tooltip.
As this is kind of dynamic update issues which are closed recently, I don't think regression test step is needed.
CortneyOfstad commentedon Jul 21, 2023
@aimane-chnaif You have been paid, so all set there!
@cubuspl42 and @dhanashree-sawant — sent contracts to both of you. Please accept them in Upwork and let me know here, so I can get those paid to you ASAP. Thank you!
jakub-trzebiatowski commentedon Jul 21, 2023
@CortneyOfstad Thanks, accepted. What about the bonus? 🙂
CortneyOfstad commentedon Jul 21, 2023
Yep, bonus was applied and both of you have been paid with the contracts ending. Thank you!