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 2023-08-10] [$2000] 'Date' section is not grayed out and the cursor does not change on the IOU report #22742

Closed
4 of 6 tasks
kbecciv opened this issue Jul 12, 2023 · 49 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

@kbecciv
Copy link

kbecciv commented Jul 12, 2023

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


Action Performed:

  1. Request Money from any user
  2. Go to the IOU report
    Notice that the Amount and Description are grayed out But not the 'Date' section. And the cursor does not change.

Expected Result:

The 'Date' section is grayed out and the cursor changes

Actual Result:

The 'Date' section is not grayed out and the cursor does not change on the IOU report

Workaround:

Unknown

Platforms:

Which of our officially supported platforms is this issue occurring on?

  • Android / native
  • Android / Chrome
  • iOS / native
  • iOS / Safari
  • MacOS / Chrome / Safari
  • MacOS / Desktop

Version Number: 1.3.39.5
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
Notes/Photos/Videos: Any additional supporting documentation

Test71_Notgrayedout-1.mp4
Recording.3567.mp4

Expensify/Expensify Issue URL:
Issue reported by: @daveSeife
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1689115720723609

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~0184afd377a2246d04
  • Upwork Job ID: 1684480022772416512
  • 2023-07-31
  • Automatic offers:
    • aimane-chnaif | Reviewer | 25857860
    • c3024 | Contributor | 25857863
    • daveSeife | Reporter | 25857866
@kbecciv kbecciv added the DeployBlockerCash This issue or pull request should block deployment label Jul 12, 2023
@OSBotify
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.

@melvin-bot
Copy link

melvin-bot bot commented Jul 12, 2023

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

@kbecciv kbecciv changed the title Web - 'Date' section is not grayed out and the cursor does not change on the IOU report 'Date' section is not grayed out and the cursor does not change on the IOU report Jul 12, 2023
@c3024
Copy link
Contributor

c3024 commented Jul 12, 2023

Proposal

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

Date in money request report is not greyed out

What is the root cause of that problem?

In amount and description we have disabled={isSettled} but it is missing in the date in MoneyRequestView page
Date field does not have disabled = {isSettled}

<MenuItemWithTopDescription
                description={translate('common.date')}
                title={formattedTransactionDate}
                // shouldShowRightIcon={!isSettled}
                // onPress={() => Navigation.navigate(ROUTES.getEditRequestRoute(props.report.reportID, CONST.EDIT_REQUEST_FIELD.DATE))}
            />

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

We should add disabled = {isSettled} for that.

<MenuItemWithTopDescription
                description={translate('common.date')}
                title={formattedTransactionDate}
                disabled={isSettled}
                // shouldShowRightIcon={!isSettled}
                // onPress={() => Navigation.navigate(ROUTES.getEditRequestRoute(props.report.reportID, CONST.EDIT_REQUEST_FIELD.DATE))}
            />

We can do the same in MoneyRequestDetails as well just in case.

What alternative solutions did you explore? (Optional)

@melvin-bot melvin-bot bot added Daily KSv2 and removed Hourly KSv2 labels Jul 12, 2023
@Julesssss Julesssss removed the DeployBlockerCash This issue or pull request should block deployment label Jul 12, 2023
@Julesssss
Copy link
Contributor

Definitely not a blocker. Checking it off the list.

@Julesssss
Copy link
Contributor

Julesssss commented Jul 12, 2023

Odd, I'm not able to reproduce on production (web). I can see here that @kbecciv was able to though 😕

Screenshot 2023-07-12 at 14 10 22

@aimane-chnaif
Copy link
Contributor

@Julesssss can we tackle this in #22642? We're touching same component.

@Julesssss
Copy link
Contributor

@aimane-chnaif sure. It's no longer a blocker so that seems fine.

@situchan
Copy link
Contributor

I think this is wrong bug report.
In @kbecciv's video, payment is settled in staging, not settled in production.
Grey should happen only when payment is settled and thus amount and description should not be editable.
In original logic, date section is active always no matter settled or not.

But from design perspective, it would be good to make date color follow others. So if greyed, apply grey, if not greyed. apply not grey.

@Julesssss
Copy link
Contributor

Hmm good point but, I have a feeling our edit existing request PRs are still WIP.

@aimane-chnaif
Copy link
Contributor

I think we can close this issue as staging and production actually behave the same.

@Julesssss
Copy link
Contributor

I think we can close this issue as staging and production actually behave the same.

We should still make sure the UI for 'date' matches 'amount' and 'description'.

@aimane-chnaif
Copy link
Contributor

I agree with consistency. We can also get feedback from @shawnborton

@shawnborton
Copy link
Contributor

I think we are already working on fixing all of this, right @jasperhuangg @thienlnam ? None of this should have been grayed out in the first place. Anyways, I think we can just close this out.

@thienlnam
Copy link
Contributor

We updated the task view so it floats above the chats like a reportAction, I thought there was a different issue for the IOU details to have the same done - do you happen to know if this issue exists @luacmartins?
Screenshot 2023-07-12 at 10 35 25 AM

@luacmartins
Copy link
Contributor

I'm not aware of any issues doing this for IOUs

@aimane-chnaif
Copy link
Contributor

Money request pages are being refactored in #22484
Here's design - #20486 (comment)

@luacmartins
Copy link
Contributor

Ah nice! Thanks for linking that issue @aimane-chnaif

@melvin-bot melvin-bot bot added the Overdue label Jul 14, 2023
@Julesssss Julesssss added Weekly KSv2 and removed Daily KSv2 labels Jul 17, 2023
@melvin-bot
Copy link

melvin-bot bot commented Aug 1, 2023

🎯 ⚡️ Woah @aimane-chnaif / @c3024, great job pushing this forwards! ⚡️

The pull request got merged within 3 working days of assignment, so this job is eligible for a 50% #urgency bonus 🎉

  • when @c3024 got assigned: 2023-07-31 14:16:11 Z
  • when the PR got merged: 2023-08-01 09:13:11 UTC

On to the next one 🚀

@spcheema
Copy link
Contributor

spcheema commented Aug 1, 2023

@himanshuragi456 appreciate the nudge for the prior proposal :) @c3024 consider the doubling of the price to be your luck this time around, since enough time elapsed before we could review the proposal. You'll get the listed bounty 👍

@michaelhaxhiu we need you on anothe issue as well which been delayed too long time(20th Jun)😜

@aimane-chnaif is reviewing that as well. 😄

@melvin-bot melvin-bot bot added Weekly KSv2 Awaiting Payment Auto-added when associated PR is deployed to production and removed Weekly KSv2 labels Aug 3, 2023
@melvin-bot melvin-bot bot changed the title [$2000] 'Date' section is not grayed out and the cursor does not change on the IOU report [HOLD for payment 2023-08-10] [$2000] 'Date' section is not grayed out and the cursor does not change on the IOU report Aug 3, 2023
@melvin-bot melvin-bot bot removed the Reviewing Has a PR in review label Aug 3, 2023
@melvin-bot
Copy link

melvin-bot bot commented Aug 3, 2023

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

@melvin-bot
Copy link

melvin-bot bot commented Aug 3, 2023

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

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:

As a reminder, here are the bonuses/penalties that should be applied for any External issue:

  • Merged PR within 3 business days of assignment - 50% bonus
  • Merged PR more than 9 business days after assignment - 50% penalty

@michaelhaxhiu michaelhaxhiu removed their assignment Aug 4, 2023
@michaelhaxhiu michaelhaxhiu added the Bug Something is broken. Auto assigns a BugZero manager. label Aug 4, 2023
@melvin-bot
Copy link

melvin-bot bot commented Aug 4, 2023

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

@melvin-bot melvin-bot bot added Daily KSv2 and removed Weekly KSv2 labels Aug 4, 2023
@michaelhaxhiu
Copy link
Contributor

Note: I'm preparing to go OOO for ~2 weeks and need a BZ buddy to watch over this in the meantime. 🙏

Next steps:

Wait for 8/10 to arrive. After that's done, we'll process payments as follows (assuming no regressions 🤞):

I'll take this over when I return if it's not complete. Thanks in advance @adelekennedy

@michaelhaxhiu michaelhaxhiu self-assigned this Aug 4, 2023
@Expensify Expensify deleted a comment from melvin-bot bot Aug 4, 2023
@adelekennedy
Copy link

I got you! Enjoy your ooo time!

@melvin-bot melvin-bot bot added the Overdue label Aug 7, 2023
@Julesssss
Copy link
Contributor

Julesssss commented Aug 7, 2023

Not overdue, waiting for payment date

@melvin-bot melvin-bot bot added Daily KSv2 and removed Overdue Daily KSv2 labels Aug 7, 2023
@adelekennedy
Copy link

Payment Summary

@daveSeife - $250 for reporting bonus (paid via Upwork)
@c3024 - $2000 for fix and $1000 for speed bonus (paid via Upwork)
@aimane-chnaif - $2000 for fix and $1000 for speed bonus (paid via Upwork)

@c3024
Copy link
Contributor

c3024 commented Aug 10, 2023

@adelekennedy I haven't received the payment. Has it been paid?

@adelekennedy
Copy link

@c3024 I keep trying to process it but Upwork keeps crashing 😬

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