Skip to content
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-02-26] [$250] Workspace switcher - No tooltip when hovering over + button next to Workspaces #35683

Closed
2 of 6 tasks
lanitochka17 opened this issue Feb 2, 2024 · 32 comments
Assignees
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2 Engineering External Added to denote the issue can be worked on by a contributor

Comments

@lanitochka17
Copy link

lanitochka17 commented Feb 2, 2024

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-36.0
Reproducible in staging?: Y
Reproducible in production?: N
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:

  1. Open workspace switcher
  2. Hover over + button next to Workspaces

Expected Result:

Tooltip will show up

Actual Result:

No tooltip when hovering over + button next to Workspaces

Workaround:

Unknown

Platforms:

Which of our officially supported platforms is this issue occurring on?

  • Android: Native
  • Android: mWeb Chrome
  • iOS: Native
  • iOS: mWeb Safari
  • MacOS: Chrome / Safari
  • MacOS: Desktop

Screenshots/Videos

Add any screenshot/video evidence

Bug6365095_1706894912514.20240202_233253__1_.mp4

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~01cb8f425174a88fd1
  • Upwork Job ID: 1753484365389684736
  • Last Price Increase: 2024-02-02
  • Automatic offers:
    • neonbhai | Contributor | 28142987
@lanitochka17 lanitochka17 added the DeployBlockerCash This issue or pull request should block deployment label Feb 2, 2024
Copy link
Contributor

github-actions bot commented Feb 2, 2024

👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open `StagingDeployCash` deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:

  1. Identify the pull request that introduced this issue and revert it.
  2. Find someone who can quickly fix the issue.
  3. Fix the issue yourself.

Copy link

melvin-bot bot commented Feb 2, 2024

Triggered auto assignment to @luacmartins (Engineering), see https://stackoverflowteams.com/c/expensify/questions/9980/ for more details.

@lanitochka17
Copy link
Author

We think that this bug might be related to #vip-vsp
CC @Quinter

@neonbhai
Copy link
Contributor

neonbhai commented Feb 2, 2024

Proposal

Please re-state the problem that we are trying to solve in this issue.

Workspace switcher - No tooltip when hovering over + button next to Workspaces

What is the root cause of that problem?

We are missing the logic for showing a tooltip.

What changes do you think we should make in order to solve the problem?

We should wrap the icon here with Tooltip:

<PressableWithFeedback
accessible={false}
role={CONST.ROLE.BUTTON}
onPress={() => {
App.createWorkspaceWithPolicyDraftAndNavigateToIt();
}}
>
{({hovered}) => (
<Icon
src={Expensicons.Plus}
width={12}
height={12}
additionalStyles={[styles.buttonDefaultBG, styles.borderRadiusNormal, styles.p2, hovered && styles.buttonHoveredBG]}
fill={theme.icon}
/>
)}
</PressableWithFeedback>

<Tooltip text={translate('common.new')}>
...
</Tooltip>

@luacmartins
Copy link
Contributor

I don't think this is a blocker. Added to the project board and gonna follow the regular process.

@luacmartins luacmartins added Daily KSv2 Bug Something is broken. Auto assigns a BugZero manager. and removed DeployBlockerCash This issue or pull request should block deployment Hourly KSv2 labels Feb 2, 2024
Copy link

melvin-bot bot commented Feb 2, 2024

Triggered auto assignment to @slafortune (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details.

@luacmartins luacmartins added the External Added to denote the issue can be worked on by a contributor label Feb 2, 2024
@melvin-bot melvin-bot bot changed the title Workspace switcher - No tooltip when hovering over + button next to Workspaces [$500] Workspace switcher - No tooltip when hovering over + button next to Workspaces Feb 2, 2024
Copy link

melvin-bot bot commented Feb 2, 2024

Job added to Upwork: https://www.upwork.com/jobs/~01cb8f425174a88fd1

@melvin-bot melvin-bot bot added the Help Wanted Apply this label when an issue is open to proposals by contributors label Feb 2, 2024
Copy link

melvin-bot bot commented Feb 2, 2024

Triggered auto assignment to Contributor-plus team member for initial proposal review - @rushatgabhane (External)

@allgandalf
Copy link
Contributor

allgandalf commented Feb 2, 2024

Proposal

Please re-state the problem that we are trying to solve in this issue.

No tooltip when hovering over + button next to Workspaces

What is the root cause of that problem?

We don't have tooltip component over here Icon component

<Icon
src={Expensicons.Plus}
width={12}
height={12}
additionalStyles={[styles.buttonDefaultBG, styles.borderRadiusNormal, styles.p2, hovered && styles.buttonHoveredBG]}
fill={theme.icon}
/>

What changes do you think we should make in order to solve the problem?

wrap Icon with TootTip:

<Tooltip text={translate('workspace.new.newWorkspace')}>
..................
</Tooltip>

What alternative solutions did you explore? (Optional)

N/A

@luacmartins luacmartins changed the title [$500] Workspace switcher - No tooltip when hovering over + button next to Workspaces [$250] Workspace switcher - No tooltip when hovering over + button next to Workspaces Feb 2, 2024
Copy link

melvin-bot bot commented Feb 2, 2024

Upwork job price has been updated to $250

@Krishna2323
Copy link
Contributor

Krishna2323 commented Feb 2, 2024

Proposal

Please re-state the problem that we are trying to solve in this issue.

Workspace switcher - No tooltip when hovering over + button next to Workspaces

What is the root cause of that problem?

We don't wrap the icon with Tooltip component.

<Icon
src={Expensicons.Plus}
width={12}
height={12}
additionalStyles={[styles.buttonDefaultBG, styles.borderRadiusNormal, styles.p2, hovered && styles.buttonHoveredBG]}
fill={theme.icon}
/>

What changes do you think we should make in order to solve the problem?

We should wrap the PressableWithFeedback (parent component of icon) with tooltip and pass text={translate('workspace.new.newWorkspace')}.

We can also add tooltip for serach icon on the same page.

Result

@allgandalf
Copy link
Contributor

Proposal Update:

Here

No major changes, just updated the text inside of the tooltip (Can check history too)

@Krishna2323
Copy link
Contributor

@RohanSasne, you were referring to wrong tooltip text before my proposal.

@allgandalf
Copy link
Contributor

Yes that's why i posted the updated proposal comment @Krishna2323 :)

@melvin-bot melvin-bot bot added the Awaiting Payment Auto-added when associated PR is deployed to production label Feb 19, 2024
@melvin-bot melvin-bot bot changed the title [$250] Workspace switcher - No tooltip when hovering over + button next to Workspaces [HOLD for payment 2024-02-26] [$250] Workspace switcher - No tooltip when hovering over + button next to Workspaces Feb 19, 2024
Copy link

melvin-bot bot commented Feb 19, 2024

Reviewing label has been removed, please complete the "BugZero Checklist".

@melvin-bot melvin-bot bot removed the Reviewing Has a PR in review label Feb 19, 2024
Copy link

melvin-bot bot commented Feb 19, 2024

The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.42-5 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-02-26. 🎊

For reference, here are some details about the assignees on this issue:

Copy link

melvin-bot bot commented Feb 19, 2024

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:

  • [@rushatgabhane] The PR that introduced the bug has been identified. Link to the PR:
  • [@rushatgabhane] 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:
  • [@rushatgabhane] 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:
  • [@rushatgabhane] Determine if we should create a regression test for this bug.
  • [@rushatgabhane] 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.
  • [@slafortune] Link the GH issue for creating/updating the regression test once above steps have been agreed upon:

@rushatgabhane
Copy link
Member

@slafortune could you please attach payment summary for this issue, thanks 🙇

@melvin-bot melvin-bot bot added Daily KSv2 and removed Weekly KSv2 labels Feb 26, 2024
@rushatgabhane
Copy link
Member

rushatgabhane commented Feb 26, 2024

  1. The PR that introduced the bug has been identified. Link to the PR: [Wave 8] Ideal nav  #33280

  2. 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: https://github.com/Expensify/App/pull/33280/files#r1516865375

  3. 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.

  4. Determine if we should create a regression test for this bug. - No.

  5. 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 - N.A.

@rushatgabhane
Copy link
Member

money request here - https://staging.new.expensify.com/r/2759990158891514

@slafortune
Copy link
Contributor

slafortune commented Feb 26, 2024

Waiting on @rushatgabhane to complete the checklist -

@melvin-bot melvin-bot bot added the Overdue label Feb 29, 2024
Copy link

melvin-bot bot commented Mar 1, 2024

@slafortune, @luacmartins, @rushatgabhane, @neonbhai Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!

@slafortune
Copy link
Contributor

Waiting on @rushatgabhane to complete the checklist

@melvin-bot melvin-bot bot removed the Overdue label Mar 1, 2024
@luacmartins
Copy link
Contributor

same as above

@JmillsExpensify
Copy link

$250 approved for @rushatgabhane based on this summary.

@melvin-bot melvin-bot bot added the Overdue label Mar 4, 2024
@slafortune
Copy link
Contributor

slafortune commented Mar 4, 2024

@rushatgabhane will you be able to complete the checklist today? Seems like it will be pretty straight forward?

@luacmartins
Copy link
Contributor

Still waiting on payments

@melvin-bot melvin-bot bot removed the Overdue label Mar 6, 2024
@slafortune
Copy link
Contributor

@rushatgabhane needs to complete the checklist -payments have all been made.

@rushatgabhane
Copy link
Member

checklist updated - #35683 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2 Engineering External Added to denote the issue can be worked on by a contributor
Projects
No open projects
Development

No branches or pull requests

8 participants