Skip to content

[HOLD for payment 2024-02-14] [$500] Request money - Missing Tooltip for "Cancel" Icon Linked to "Request money, get $250" #35507

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

Closed
1 of 6 tasks
lanitochka17 opened this issue Jan 31, 2024 · 20 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 External Added to denote the issue can be worked on by a contributor

Comments

@lanitochka17
Copy link

lanitochka17 commented Jan 31, 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.34-0
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
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:

Action Performed:

1, Navigate to FAB (Floating Action Button) > Request Money > Add Amount
2, At the bottom, observe that the "Cancel" icon associated with "Request money, get $250" lacks a tooltip

Expected Result:

The "Cancel" icon associated with "Request money, get $250" should have a tooltip, similar to the Cancel Icon displayed when editing text in conversations

Actual Result:

The "Cancel" icon associated with "Request money, get $250" does not have a tooltip

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

Bug6362757_1706727588598.q.mp4

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~013fe88086e3f5b2fc
  • Upwork Job ID: 1752773353838592000
  • Last Price Increase: 2024-01-31
@lanitochka17 lanitochka17 added External Added to denote the issue can be worked on by a contributor Daily KSv2 Bug Something is broken. Auto assigns a BugZero manager. labels Jan 31, 2024
Copy link

melvin-bot bot commented Jan 31, 2024

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

@melvin-bot melvin-bot bot changed the title Request money - Missing Tooltip for "Cancel" Icon Linked to "Request money, get $250" [$500] Request money - Missing Tooltip for "Cancel" Icon Linked to "Request money, get $250" Jan 31, 2024
Copy link

melvin-bot bot commented Jan 31, 2024

Job added to Upwork: https://www.upwork.com/jobs/~013fe88086e3f5b2fc

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

melvin-bot bot commented Jan 31, 2024

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

@lanitochka17
Copy link
Author

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

@DylanDylann
Copy link
Contributor

DylanDylann commented Jan 31, 2024

Proposal

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

The "Cancel" icon associated with "Request money, get $250" does not have a tooltip

What is the root cause of that problem?

We don't wrap Cancel button by Tooltip component

<PressableWithoutFeedback
onPress={onCloseButtonPress}
onMouseDown={(e) => {
e.preventDefault();
}}
style={[styles.touchableButtonImage]}
role={CONST.ACCESSIBILITY_ROLE.BUTTON}
accessibilityLabel={translate('common.close')}
>
<Icon
src={Close}
height={20}
width={20}
fill={theme.icon}
/>
</PressableWithoutFeedback>

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

We should wrap Cancel button by Tooltip component like that

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

What alternative solutions did you explore? (Optional)

NA

@dragnoir
Copy link
Contributor

Proposal

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

Missing tooltip for cancel icon

What is the root cause of that problem?

No tooltip component arount the icon on src/components/ReferralProgramCTA.tsx

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

Add Tooltip around PressableWithoutFeedback on src/components/ReferralProgramCTA.tsx line 47

@mollfpr
Copy link
Contributor

mollfpr commented Feb 1, 2024

The proposal from @DylanDylann looks good to me!

🎀 👀 🎀 C+ reviewed!

Copy link

melvin-bot bot commented Feb 1, 2024

Triggered auto assignment to @blimpich, see https://stackoverflow.com/c/expensify/questions/7972 for more details.

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

melvin-bot bot commented Feb 1, 2024

❌ There was an error making the offer to @mollfpr for the Reviewer role. The BZ member will need to manually hire the contributor.

Copy link

melvin-bot bot commented Feb 1, 2024

❌ There was an error making the offer to @DylanDylann for the Contributor role. The BZ member will need to manually hire the contributor.

@JmillsExpensify
Copy link

@mollfpr Is paid via NewDot, so no Upwork offer is necessary. Offer sent to @DylanDylann.

@melvin-bot melvin-bot bot added Reviewing Has a PR in review Weekly KSv2 and removed Daily KSv2 labels Feb 2, 2024
@DylanDylann
Copy link
Contributor

@mollfpr PR #35646 is ready to review

@melvin-bot melvin-bot bot added Weekly KSv2 Awaiting Payment Auto-added when associated PR is deployed to production and removed Weekly KSv2 labels Feb 7, 2024
@melvin-bot melvin-bot bot changed the title [$500] Request money - Missing Tooltip for "Cancel" Icon Linked to "Request money, get $250" [HOLD for payment 2024-02-14] [$500] Request money - Missing Tooltip for "Cancel" Icon Linked to "Request money, get $250" Feb 7, 2024
@melvin-bot melvin-bot bot removed the Reviewing Has a PR in review label Feb 7, 2024
Copy link

melvin-bot bot commented Feb 7, 2024

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

Copy link

melvin-bot bot commented Feb 7, 2024

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

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

  • @mollfpr requires payment (Needs manual offer from BZ)
  • @DylanDylann requires payment (Needs manual offer from BZ)

Copy link

melvin-bot bot commented Feb 7, 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:

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

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

melvin-bot bot commented Feb 14, 2024

Payment Summary

Upwork Job

BugZero Checklist (@JmillsExpensify)

  • I have verified the correct assignees and roles are listed above and updated the neccesary manual offers
  • I have verified that there are no duplicate or incorrect contracts on Upwork for this job (https://www.upwork.com/ab/applicants/1752773353838592000/hired)
  • I have paid out the Upwork contracts or cancelled the ones that are incorrect
  • I have verified the payment summary above is correct

@JmillsExpensify
Copy link

Contributor has been paid out! @mollfpr Please complete the BZ checklist before requesting in Expensify. I'm going to close the issue in the meantime, though I'll circle back when I receive your request.

@mollfpr
Copy link
Contributor

mollfpr commented Feb 15, 2024

[@mollfpr / @DylanDylann] The PR that introduced the bug has been identified. Link to the PR:
[@mollfpr / @DylanDylann] 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:

I can't trace it back to the previous commit, probably the issue because we forgot to add a tooltip for the icon button.

[@mollfpr / @DylanDylann] 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:

https://expensify.slack.com/archives/C049HHMV9SM/p1708004231670919

[@mollfpr / @DylanDylann] Determine if we should create a regression test for this bug.
[@mollfpr / @DylanDylann] 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.

I think we don't need a specific regression test for this specific icon button. If we have guidance on how to handle creation an icon button.

@trjExpensify
Copy link
Contributor

Confirming the payment summary here is correct: #35507 (comment)

$500 to @mollfpr for the C+ review.
$500 to @DylanDylann for the fix.

@JmillsExpensify
Copy link

$500 approved for @mollfpr based on confirmation above.

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 External Added to denote the issue can be worked on by a contributor
Projects
None yet
Development

No branches or pull requests

7 participants