-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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-03-20] [$1000] Inconsistency while showing tooltip for Profile name and workspace name #15451
Comments
Triggered auto assignment to @MitchExpensify ( |
Bug0 Triage Checklist (Main S/O)
|
@MitchExpensify Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
Will get to this tomorrow, sorry for the delay! ECX prep and ooo on Friday got in the way |
Job added to Upwork: https://www.upwork.com/jobs/~015cf71b7f14fe90ac |
Current assignee @MitchExpensify is eligible for the External assigner, not assigning anyone new. |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @thesahindia ( |
Triggered auto assignment to @youssef-lr ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.For Profile it shows tooltip when mouse over on avatar but does not show for display name. For Workspace there is no tooltip for Avatar but it shows for workspace name. So there is Inconsistency while showing tooltip for Profile name and workspace name What is the root cause of that problem?Profile avatar wrapped with tooltip, but display name not. For workspace there is a tooltip wrapped on workspace name, but not for profile avatar. What changes do you think we should make in order to solve the problem?To make consistent we have to decide that either have to keep tooltip on avatar or display name, or both. So accordingly we have to wrap missing tooltip on Profile and Workspace etc. What alternative solutions did you explore? (Optional)None. |
ProposalPlease re-state the problem that we are trying to solve in this issue.Tooltip not shown consistently between profile settings page and workspace settings page What is the root cause of that problem?This is a straight forward feature which is not implemented. The places which is not showing Tooltip doesn't have ToolTip component implementation. What changes do you think we should make in order to solve the problem?We need to add ToolTip implementation(Tooltip parent view component) to required places. App/src/pages/settings/InitialSettingsPage.js Lines 270 to 284 in e914284
In workspace page we are not showing Tooltip over image. We can add ToolTip implementation to the same App/src/pages/workspace/WorkspaceInitialPage.js Lines 189 to 213 in e914284
App/src/pages/settings/InitialSettingsPage.js Line 257 in e914284
We can also use the same implementation in other places where tooltip is required to maintain consistency. What alternative solutions did you explore? (Optional)We can remove tooltip at some places if we feel it would make the tooltip redundant. We just have to remove the Tooltip component for the specific components which don't require tooltip. |
ProposalPlease re-state the problem that we are trying to solve in this issue.Inconsistency while showing tooltip for Profile name and workspace name What is the root cause of that problem?The root cause of this problem is using the tooltip for name at two different locations for User's Profile and Workspaces [Avatar & Name) For Profile (Avatar)App/src/pages/settings/InitialSettingsPage.js Lines 257 to 267 in 2df7f86
For Workspace (Name)App/src/pages/workspace/WorkspaceInitialPage.js Lines 224 to 234 in 2df7f86
What changes do you think we should make in order to solve the problem?In workspace, the tooltip shouldn't show the name of the workspace instead it should mention the action that we're going to take (same goes for User's profile page). In this case, tooltip text should be something like "General Settings" for Workspace and "Profile" for User. One similar example: As for the location of the tooltip(s), we currently have these two locations:
We need to decide if we want to have only one tooltip or two tooltips ( while keeping in mind that both Name & Avatar are currently pressable ) 1. One tooltip (Text will be "General Settings" or "Profile")Options
2. Two tooltipsOptions
Lastly, in any case if we don't use the tooltip or use the "Name" tooltip at Name location then we can probably make it not pressable My preference would be : 2b > 1a > 2a > 1c > 1b = 2c What alternative solutions did you explore? (Optional) |
That makes sense to me. I had also suggested doing the same in the past. I think we should ask @shawnborton to confirm the expected result. @shawnborton, can you look at this comment and share your thoughts? |
Yeah, I would think that the tooltip over the avatar in Settings would say "Profile" since that's where clicking takes you. Then for the workspace avatar, I would think the tooltip would say "Workspace Settings" or "Workspace General Settings" or "General Settings" since that's where clicking it will take you. Is that the general consensus here? |
@shawnborton - I agree with your thoughts.
|
For this issue below is the expected and actual result statement.
So I posted proposal above #15451 (comment) based on that. I can see that another proposal #15451 (comment) comes with different approach (i.e. other than what mentioned in expected result in this issue). And now discussion going in different direction. It will be ok if decide to go with different approach, but I will suggest to give priority to who posted proposal according to the issue expected and actual result statement. Because anyone can suggest different approach in any issue, but we have to keep focus on what is the issue and what is expected result, and accept proposal accordingly. cc: @mallenexpensify |
I agree that there should be two separate tooltips, as those are two separately tappable areas. |
@daraksha-dk's proposal is aligned with the requirements so I prefer their proposal. Please make the final decision @youssef-lr C+ reviewed 🎀👀🎀 |
Invite sent for eventual C+ payment @thesahindia Please apply to this Upwork Job once @youssef-lr gives you the green light @daraksha-dk: https://www.upwork.com/jobs/~015cf71b7f14fe90ac Thank you! |
@youssef-lr, @MitchExpensify, @thesahindia Whoops! This issue is 2 days overdue. Let's get this updated quick! |
@daraksha-dk's proposal looks good to me as well! |
Nice! Invited you to the Upwork job @daraksha-dk 👍 |
Accepted the job, thank you. |
PR is ready @thesahindia. |
Issue not reproducible during KI retests. (First week) |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.2.82-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 2023-03-20. 🎊 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:
|
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:
|
Looks like something related to As a reminder, please make sure that all proposals are not workarounds and that any and all attempt to fix the issue holistically have been made before proceeding with a solution. Proposals to change our Feel free to drop a note in #expensify-open-source with any questions. |
Made a cal reminder for payment on 3/20 |
Paid @daraksha-dk with speed and reporting bonus Contracts ended! |
Bump on these steps @thesahindia / @youssef-lr |
It was implemented like this so I believe we should skip the first 3 steps. Regression test proposal - Initial settings page -
Workspace settings page -
Do we agree 👍 or 👎 |
Those regression steps look good to me @thesahindia ! |
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:
Behavior should be consistent. (Either for Avatars or Names)
Actual Result:
Tooltip is showing for Avatar (Profile) but for Workspace it's shown for its name
Workaround:
unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number: 1.2.76-3
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:
tooltips.mp4
Recording.1586.mp4
Expensify/Expensify Issue URL:
Issue reported by: @daraksha-dk
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1677163050183769
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: