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-08-14] [$250] [Payment card / Subscription] - Error message is not dismissed after entering text in the response field #46182

Closed
3 of 6 tasks
m-natarajan opened this issue Jul 25, 2024 · 24 comments
Assignees
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Bug Something is broken. Auto assigns a BugZero manager. Engineering External Added to denote the issue can be worked on by a contributor Weekly KSv2

Comments

@m-natarajan
Copy link

m-natarajan commented Jul 25, 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!


Found when validating #44763
Version Number: 9.0.12-0
Reproducible in staging?: y
Reproducible in production?: no this is new feature
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:

Precondition:

  • Account has collect workspace with an annual subscription.
  1. Go to staging.new.expensify.com
  2. Go to Subscription.
  3. Click "Request early cancellation".
  4. Without selecting a reason, click Submit.
  5. Select a reason.
  6. Note that the error message disappears.
  7. Click Submit without entering response in the text field.
  8. Enter response in the text field.

Expected Result:

The error message will be dismissed after entering text in the response field.

Actual Result:

The error message is not dismissed after entering text in the response field.

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

Bug6552303_1721888812694.20240725_142320.mp4

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~019378d79c0bd60aef
  • Upwork Job ID: 1817975652284460058
  • Last Price Increase: 2024-07-29
Issue OwnerCurrent Issue Owner: @greg-schroeder
@m-natarajan m-natarajan added DeployBlockerCash This issue or pull request should block deployment Daily KSv2 Bug Something is broken. Auto assigns a BugZero manager. DeployBlocker Indicates it should block deploying the API labels Jul 25, 2024
Copy link

melvin-bot bot commented Jul 25, 2024

Triggered auto assignment to @greg-schroeder (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.

Copy link

melvin-bot bot commented Jul 25, 2024

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

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.

@m-natarajan
Copy link
Author

We think that this bug might be related to #wave-collect - Release2

@nyomanjyotisa
Copy link
Contributor

nyomanjyotisa commented Jul 25, 2024

Proposal

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

Error message is not dismissed after entering text in the response field

What is the root cause of that problem?

We just set the value and not hide the error message on text change here

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

create handleSetNote function to set setShouldShowReasonError(false); and use it in onChangeText

    const handleSetNote = (text: string) => {
        setShouldShowReasonError(false);
        setNote(text);
    };

What alternative solutions did you explore? (Optional)

@MariaHCD
Copy link
Contributor

This does not need to block the web deploy since this is a UX improvement

@MariaHCD MariaHCD removed the DeployBlocker Indicates it should block deploying the API label Jul 25, 2024
@francoisl
Copy link
Contributor

This doesn't block from requesting the early cancelation so I don't think it's worth blocking on.

Screen.Recording.2024-07-25.at.10.59.59.AM.mov

cc @JKobrynski @blimpich as this likely comes from #44763

@francoisl francoisl added Daily KSv2 and removed DeployBlockerCash This issue or pull request should block deployment Hourly KSv2 labels Jul 25, 2024
@blimpich blimpich changed the title Subscription - Error message is not dismissed after entering text in the response field [Payment card / Subscription] - Error message is not dismissed after entering text in the response field Jul 25, 2024
@blimpich blimpich assigned blimpich and unassigned youssef-lr Jul 25, 2024
@blimpich
Copy link
Contributor

Yeah I would consider this to be polish follow up for the PR @francoisl mentioned. I'll pick this up since I'm managing that project.

@blimpich
Copy link
Contributor

@JKobrynski can you make a follow up PR for this?

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

melvin-bot bot commented Jul 29, 2024

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

@JKobrynski
Copy link
Contributor

Hi, I'm Julian from Callstack - expert agency - and I would like to work on this issue.

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

Assigned!

@nyomanjyotisa
Copy link
Contributor

I think my proposal supposed to be reviewed first? base on this:

- If there are existing proposals, BZ will put the issue on hold. [Contributor+](https://github.com/Expensify/App/blob/main/contributingGuides/HOW_TO_BECOME_A_CONTRIBUTOR_PLUS.md) will review the existing proposals. If a contributor’s proposal is accepted then the contributor will be assigned to the issue. If not the issue will be assigned to the agency-employee.

@trjExpensify
Copy link
Contributor

This is a regression follow-up from #44763 for which Julian authored. 👍

@melvin-bot melvin-bot bot added Reviewing Has a PR in review Weekly KSv2 Awaiting Payment Auto-added when associated PR is deployed to production and removed Daily KSv2 Weekly KSv2 labels Aug 1, 2024
@melvin-bot melvin-bot bot changed the title [$250] [Payment card / Subscription] - Error message is not dismissed after entering text in the response field [HOLD for payment 2024-08-14] [$250] [Payment card / Subscription] - Error message is not dismissed after entering text in the response field Aug 7, 2024
Copy link

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

melvin-bot bot commented Aug 7, 2024

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

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

Copy link

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

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

@allroundexperts
Copy link
Contributor

Regression test

  1. Sign in to an account that has a collect workspace with an annual subscription.
  2. Go to Subscription and click "Request early cancellation".
  3. Without selecting a reason, click Submit.
  4. Verify that an error message appears.
  5. Select a reason.
  6. Verify that the error message disappears.
  7. Click Submit without entering response in the text field.
  8. Verify that an error appears.
  9. Enter response in the text field.
  10. Verify that the error message will be dismissed after entering text in the response field.

Do we 👍 or 👎 ?

@greg-schroeder
Copy link
Contributor

This is a regression follow-up, so no payments are due in this issue tomorrow. I've filed the regression test above as well. Closing for now. Please reopen if I've missed anything.

@allroundexperts
Copy link
Contributor

@greg-schroeder I was not involved in the previous issue (if there was any). I think my payment is pending here for the review.

@greg-schroeder
Copy link
Contributor

greg-schroeder commented Aug 15, 2024

payment summary:

@allroundexperts okay thanks! in that case you can make a manual request via ND for $250 for the reviewer role

@JmillsExpensify
Copy link

$250 approved for @allroundexperts

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. Engineering External Added to denote the issue can be worked on by a contributor Weekly KSv2
Projects
No open projects
Status: Done
Development

No branches or pull requests