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-11-29] [$125] Copilot - Clicking outside magic code RHP does not dismiss the RHP entirely #51272

Closed
2 of 8 tasks
IuliiaHerets opened this issue Oct 22, 2024 · 33 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

@IuliiaHerets
Copy link

IuliiaHerets commented Oct 22, 2024

If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!


Version Number: 9.0.52-2
Reproducible in staging?: Y
Reproducible in production?: N
Email or phone of affected tester (no customers): applausetester+kh081006@applause.expensifail.com
Issue reported by: Applause Internal Team

Action Performed:

  1. Go to staging.new.expensify.com
  2. Go to Account settings > Security.
  3. Click Add copilot.
  4. Select a user > Next.
  5. Select an access level > Next.
  6. Click Add copilot.
  7. Click outside the RHP to dismiss it.

Expected Result:

The RHP will be dismissed when clicking outside it for the first time (production behavior).

Actual Result:

The RHP is not dismissed when clicking outside it for the first time. It returns to copilot confirmation page.

Workaround:

Unknown

Platforms:

  • Android: Standalone
  • Android: HybridApp
  • Android: mWeb Chrome
  • iOS: Standalone
  • iOS: HybridApp
  • iOS: mWeb Safari
  • MacOS: Chrome / Safari
  • MacOS: Desktop

Screenshots/Videos

Bug6642180_1729610329475.20241022_231619.mp4

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~021850957170859734764
  • Upwork Job ID: 1850957170859734764
  • Last Price Increase: 2024-11-04
  • Automatic offers:
    • mkzie2 | Contributor | 104756037
Issue OwnerCurrent Issue Owner: @sobitneupane
@IuliiaHerets IuliiaHerets added DeployBlockerCash This issue or pull request should block deployment Bug Something is broken. Auto assigns a BugZero manager. labels Oct 22, 2024
Copy link

melvin-bot bot commented Oct 22, 2024

Triggered auto assignment to @OfstadC (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details. Please add this bug to a GH project, as outlined in the SO.

@melvin-bot melvin-bot bot added the Daily KSv2 label Oct 22, 2024
Copy link

melvin-bot bot commented Oct 22, 2024

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

Copy link

melvin-bot bot commented Oct 22, 2024

💬 A slack conversation has been started in #expensify-open-source

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.

@mkzie2
Copy link
Contributor

mkzie2 commented Oct 22, 2024

Proposal

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

The RHP is not dismissed when clicking outside it for the first time. It returns to copilot confirmation page.

What is the root cause of that problem?

We only hide the modal when it's closed

const onBackButtonPress = () => {
setIsValidateCodeActionModalVisible(false);
};

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

We should dismiss the modal if we click outside. We can add onBackdropPress to Modal here.

onBackdropPress={() => {
    Navigation.dismissModal();
}}

OPTIONAL: We can introduce a new prop onBackdropPress in ValidateCodeActionModal and add onBackdropPress here that will dismiss the modal here and other places that use ValidateCodeActionModal and want to dismiss the modal if clicking outside.

What alternative solutions did you explore? (Optional)

@pecanoro
Copy link
Contributor

Since this is under a beta, I am going to remove the blocker first

@pecanoro pecanoro added Daily KSv2 and removed DeployBlockerCash This issue or pull request should block deployment Hourly KSv2 labels Oct 22, 2024
@melvin-bot melvin-bot bot added the Overdue label Oct 24, 2024
Copy link

melvin-bot bot commented Oct 25, 2024

@pecanoro, @OfstadC Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!

@pecanoro
Copy link
Contributor

Opening for proposals but this one is pretty straightforward so setting bounty to $125

@melvin-bot melvin-bot bot removed the Overdue label Oct 28, 2024
@pecanoro pecanoro added the External Added to denote the issue can be worked on by a contributor label Oct 28, 2024
@melvin-bot melvin-bot bot changed the title Copilot - Clicking outside magic code RHP does not dismiss the RHP entirely [$250] Copilot - Clicking outside magic code RHP does not dismiss the RHP entirely Oct 28, 2024
Copy link

melvin-bot bot commented Oct 28, 2024

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

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

melvin-bot bot commented Oct 28, 2024

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

@pecanoro pecanoro changed the title [$250] Copilot - Clicking outside magic code RHP does not dismiss the RHP entirely [$125] Copilot - Clicking outside magic code RHP does not dismiss the RHP entirely Oct 28, 2024
@melvin-bot melvin-bot bot added Reviewing Has a PR in review Weekly KSv2 and removed Daily KSv2 labels Nov 8, 2024
@mvtglobally
Copy link

Issue not reproducible during KI retests. (First week)

@melvin-bot melvin-bot bot added Weekly KSv2 Awaiting Payment Auto-added when associated PR is deployed to production and removed Weekly KSv2 labels Nov 22, 2024
@melvin-bot melvin-bot bot changed the title [$125] Copilot - Clicking outside magic code RHP does not dismiss the RHP entirely [HOLD for payment 2024-11-29] [$125] Copilot - Clicking outside magic code RHP does not dismiss the RHP entirely Nov 22, 2024
Copy link

melvin-bot bot commented Nov 22, 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 Nov 22, 2024
Copy link

melvin-bot bot commented Nov 22, 2024

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

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

Copy link

melvin-bot bot commented Nov 22, 2024

@sobitneupane @OfstadC @sobitneupane The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed. Please copy/paste the BugZero Checklist from here into a new comment on this GH and complete it. If you have the K2 extension, you can simply click: [this button]

@OfstadC
Copy link
Contributor

OfstadC commented Nov 27, 2024

@sobitneupane Please complete BZ checklist by Friday so we can issue payment here 😃

@melvin-bot melvin-bot bot added Daily KSv2 Overdue and removed Weekly KSv2 labels Nov 29, 2024
Copy link

melvin-bot bot commented Dec 2, 2024

@pecanoro, @OfstadC, @sobitneupane, @mkzie2 Whoops! This issue is 2 days overdue. Let's get this updated quick!

@OfstadC
Copy link
Contributor

OfstadC commented Dec 2, 2024

Payment Summary

@melvin-bot melvin-bot bot removed the Overdue label Dec 2, 2024
@OfstadC
Copy link
Contributor

OfstadC commented Dec 4, 2024

Bump @sobitneupane

@sobitneupane
Copy link
Contributor

Regression Test Proposal

  1. Go to Settings > Security > Add copilot
  2. Select a user > Next.
  3. Select an access level > Next.
  4. Click Add copilot.
  5. Click outside the RHP to dismiss it.
  6. Verify the RHP is dismissed.

Do we agree 👍 or 👎?

@sobitneupane
Copy link
Contributor

@OfstadC
Copy link
Contributor

OfstadC commented Dec 5, 2024

Thanks @sobitneupane - Updated Payment Summary

@OfstadC OfstadC closed this as completed Dec 5, 2024
@garrettmknight
Copy link
Contributor

garrettmknight commented Dec 12, 2024

$125 approved for @sobitneupane

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
Development

No branches or pull requests

7 participants