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-05-02] Task - "Mark as complete' button grays out briefly when selecting Delete/Pin #40720

Closed
2 of 6 tasks
kbecciv opened this issue Apr 22, 2024 · 16 comments
Assignees
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Engineering Weekly KSv2

Comments

@kbecciv
Copy link

kbecciv commented Apr 22, 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.64-0
Reproducible in staging?: y
Issue reported by: Applause - Internal Team

Action Performed:

  1. Launch New Expensify app.
  2. Create a task.
  3. Go to task report.
  4. Tap 3-dot menu.
  5. Select Delete or Pin.

Expected Result:

"Mark as complete' button will not gray out briefly.

Actual Result:

"Mark as complete' button grays out briefly.

Workaround:

n/a

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

Bug6457681_1713804925993.RPReplay_Final1713804758.1.mp4

View all open jobs on GitHub

@kbecciv kbecciv added the DeployBlockerCash This issue or pull request should block deployment label Apr 22, 2024
Copy link

melvin-bot bot commented Apr 22, 2024

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

@kbecciv
Copy link
Author

kbecciv commented Apr 22, 2024

We think that this bug might be related to #vip-vsb

@ZhenjaHorbach
Copy link
Contributor

Regression from this PR
#39397

@mountiny
Copy link
Contributor

@tienifr @rlinoz @mananjadhav can you please address this?

@mountiny
Copy link
Contributor

mountiny commented Apr 22, 2024

@cead22 if you have time, could yo please check if reverting #39397 fixes the issue? thank you 🙇

@rlinoz
Copy link
Contributor

rlinoz commented Apr 22, 2024

Not sure how to fix this, the button is gray while if you click on it there will be no action. That comes from us not wanting to allow tapping on something and tapping on Mark as complete at the same time.

I think there is the option to not gray it out, but if you click on it nothing will happen.

@rlinoz
Copy link
Contributor

rlinoz commented Apr 22, 2024

Running a build to check if a revert fixes this.

@ZhenjaHorbach
Copy link
Contributor

Actually problem related with this line
3d12941#diff-e7be94a3eea9790dc0c74f91b6194cd14cb799d00d9692ea4be7f2136a19fb11R43

If we want we can just add
innerStyles={isExecuting ? {opacity: 1} : null}

To override the default disable styles when isExecuting is true

@rlinoz
Copy link
Contributor

rlinoz commented Apr 22, 2024

Yeah, I was going for something similar, but there will be the problem of not being clear that you can't perform the action at that exact moment. With that said, I think it should be fine since it is such a brief moment and it is better than having the button blinking gray.

@rlinoz
Copy link
Contributor

rlinoz commented Apr 22, 2024

Reverting here #40729 since it was reported that it did not fix the main issue #39397 (comment)

@rlinoz
Copy link
Contributor

rlinoz commented Apr 22, 2024

@mountiny mountiny added Reviewing Has a PR in review and removed DeployBlockerCash This issue or pull request should block deployment labels Apr 22, 2024
@mountiny
Copy link
Contributor

Thanks!

@rlinoz
Copy link
Contributor

rlinoz commented Apr 24, 2024

I believe we can close this one

@rlinoz rlinoz closed this as completed Apr 24, 2024
@melvin-bot melvin-bot bot added Weekly KSv2 Awaiting Payment Auto-added when associated PR is deployed to production and removed Hourly KSv2 labels Apr 25, 2024
@melvin-bot melvin-bot bot changed the title Task - "Mark as complete' button grays out briefly when selecting Delete/Pin [HOLD for payment 2024-05-02] Task - "Mark as complete' button grays out briefly when selecting Delete/Pin Apr 25, 2024
Copy link

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

melvin-bot bot commented Apr 25, 2024

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

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 Engineering Weekly KSv2
Projects
None yet
Development

No branches or pull requests

5 participants