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-01-02] [HOLD for payment 2023-12-29] [$500] Contact method - Delete contact method confirmation pop-up appears after slight delay #33410

Closed
3 of 6 tasks
lanitochka17 opened this issue Dec 21, 2023 · 30 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 Dec 21, 2023

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.15-4
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:

Issue found when executing PR #32901

Action Performed:

  1. Go to Settings > Profile > Contact method
  2. Click New contact method
  3. Enter a new email
  4. Click on the newly added email
  5. Click Remove

Expected Result:

Delete confirmation pop-up appears without delay

Actual Result:

Delete confirmation pop-up appears after slight delay.

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

Bug6322617_1703162575019.bandicam_2023-12-21_20-18-49-816.mp4

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~016b88b71e8f06ec60
  • Upwork Job ID: 1737900809599180800
  • Last Price Increase: 2023-12-21
  • Automatic offers:
    • shubham1206agra | Reviewer | 28067079
    • FitseTLT | Contributor | 28067080
Issue OwnerCurrent Issue Owner: @isabelastisser
@lanitochka17 lanitochka17 added the DeployBlockerCash This issue or pull request should block deployment label Dec 21, 2023
Copy link
Contributor

👋 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 Dec 21, 2023

Triggered auto assignment to @NikkiWines (Engineering), see https://stackoverflow.com/c/expensify/questions/4319 for more details.

@FitseTLT
Copy link
Contributor

FitseTLT commented Dec 21, 2023

Proposal

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

Delete contact method confirmation pop-up appears after slight delay

toggleDeleteModal(isOpen) {
InteractionManager.runAfterInteractions(() => {
this.setState({isDeleteModalOpen: isOpen});
});
Keyboard.dismiss();
}

What is the root cause of that problem?

It is caused by this pr to display modal after keyboard is dismissed

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

We should do that only for touch screen

toggleDeleteModal(isOpen) {
InteractionManager.runAfterInteractions(() => {
this.setState({isDeleteModalOpen: isOpen});
});
Keyboard.dismiss();
}

change it to

toggleDeleteModal(isOpen) {
        if (canUseTouchScreen()) {
            InteractionManager.runAfterInteractions(() => {
                this.setState({isDeleteModalOpen: isOpen});
            });
            Keyboard.dismiss();
        } else {
            this.setState({isDeleteModalOpen: isOpen});
        }
    }

What alternative solutions did you explore? (Optional)

@allroundexperts
Copy link
Contributor

Hm... Is this a bug? We decided to run it after all interactions.

@NikkiWines
Copy link
Contributor

NikkiWines commented Dec 21, 2023

This seems to only occur when the contact method is unvalidated, which makes sense given @allroundexperts's and @FitseTLT's comments above. I do think it comes across a bit buggy and we should fix it. Especially if we're applying logic that only impacts touchscreen devices to all platforms

@NikkiWines
Copy link
Contributor

Anyway, @FitseTLT your solution looks good to me! Adding the relevant labels and assigning you 👍

@NikkiWines NikkiWines added the Bug Something is broken. Auto assigns a BugZero manager. label Dec 21, 2023
Copy link

melvin-bot bot commented Dec 21, 2023

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

@NikkiWines NikkiWines added the External Added to denote the issue can be worked on by a contributor label Dec 21, 2023

This comment was marked as outdated.

@melvin-bot melvin-bot bot changed the title Contact method - Delete contact method confirmation pop-up appears after slight delay [$500] Contact method - Delete contact method confirmation pop-up appears after slight delay Dec 21, 2023
Copy link

melvin-bot bot commented Dec 21, 2023

Job added to Upwork: https://www.upwork.com/jobs/~016b88b71e8f06ec60

@melvin-bot melvin-bot bot added the Help Wanted Apply this label when an issue is open to proposals by contributors label Dec 21, 2023
Copy link

melvin-bot bot commented Dec 21, 2023

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

@melvin-bot melvin-bot bot removed the Help Wanted Apply this label when an issue is open to proposals by contributors label Dec 21, 2023
Copy link

melvin-bot bot commented Dec 21, 2023

📣 @shubham1206agra 🎉 An offer has been automatically sent to your Upwork account for the Reviewer role 🎉 Thanks for contributing to the Expensify app!

Offer link
Upwork job

Copy link

melvin-bot bot commented Dec 21, 2023

📣 @FitseTLT 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app!

Offer link
Upwork job
Please accept the offer and leave a comment on the Github issue letting us know when we can expect a PR to be ready for review 🧑‍💻
Keep in mind: Code of Conduct | Contributing 📖

@shubham1206agra
Copy link
Contributor

@FitseTLT can you raise a PR quickly?
So I can also start recording the videos also

@FitseTLT
Copy link
Contributor

K 👍

@situchan
Copy link
Contributor

situchan commented Dec 21, 2023

I think this should be handled as regression.

The correct flow would be:

  • original contributor raise PR
  • original C+ review PR
  • new contributor get partial bounty for their solution being used

cc: @mallenexpensify (as we were discussing this process recently)

@shubham1206agra
Copy link
Contributor

@situchan above flow only applies only when the original author raised the PR without another proposal getting selected, and uses the solution from the proposal here

@melvin-bot melvin-bot bot changed the title [$500] Contact method - Delete contact method confirmation pop-up appears after slight delay [HOLD for payment 2023-12-29] [$500] Contact method - Delete contact method confirmation pop-up appears after slight delay Dec 22, 2023
Copy link

melvin-bot bot commented Dec 22, 2023

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

@melvin-bot melvin-bot bot removed the Reviewing Has a PR in review label Dec 22, 2023
Copy link

melvin-bot bot commented Dec 22, 2023

The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.15-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 2023-12-29. 🎊

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

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

Copy link

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

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

@melvin-bot melvin-bot bot added Weekly KSv2 and removed Weekly KSv2 labels Dec 26, 2023
@melvin-bot melvin-bot bot changed the title [HOLD for payment 2023-12-29] [$500] Contact method - Delete contact method confirmation pop-up appears after slight delay [HOLD for payment 2024-01-02] [HOLD for payment 2023-12-29] [$500] Contact method - Delete contact method confirmation pop-up appears after slight delay Dec 26, 2023
Copy link

melvin-bot bot commented Dec 26, 2023

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

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

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

Copy link

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

  • [@shubham1206agra] The PR that introduced the bug has been identified. Link to the PR:
  • [@shubham1206agra] 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:
  • [@shubham1206agra] 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:
  • [@shubham1206agra] Determine if we should create a regression test for this bug.
  • [@shubham1206agra] 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.
  • [@isabelastisser] 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 Overdue and removed Weekly KSv2 labels Dec 28, 2023
Copy link

melvin-bot bot commented Jan 2, 2024

Issue is ready for payment but no BZ is assigned. @puneetlath you are the lucky winner! Please verify the payment summary looks correct and complete the checklist. Thanks!

@melvin-bot melvin-bot bot removed the Overdue label Jan 2, 2024
@puneetlath
Copy link
Contributor

Hm, @isabelastisser is already assigned. Not sure why it added me, but going to remove myself.

@puneetlath puneetlath removed their assignment Jan 2, 2024
@shubham1206agra
Copy link
Contributor

shubham1206agra commented Jan 3, 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:

@isabelastisser
Copy link
Contributor

Hey @shubham1206agra, please accept the offer in Upwork and I will process the payment. Thanks!

@shubham1206agra
Copy link
Contributor

@isabelastisser Accepted

@isabelastisser
Copy link
Contributor

The payment was made in Upwork. All set!

@mallenexpensify
Copy link
Contributor

@isabelastisser can you please post the amounts that were paid, to whom and their roles? I have this set at a TextExpander that I fill out each time.

Contributor: @ paid $ via Upwork
Contributor+: @

@isabelastisser
Copy link
Contributor

@mallenexpensify

Contributor: @FitseTLT paid $500 via Upwork
Contributor+: @shubham1206agra paid $500 via Upwork

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
None yet
Development

No branches or pull requests

10 participants