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-05-29] [HOLD for payment 2023-05-25] Prevent creating new requests from within a settled expense report #19028

Closed
Julesssss opened this issue May 16, 2023 · 21 comments
Assignees
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Daily KSv2 Engineering Internal Requires API changes or must be handled by Expensify staff NewFeature Something to build that is a new item.

Comments

@Julesssss
Copy link
Contributor

Julesssss commented May 16, 2023

@trjExpensify @JmillsExpensify @luacmartins @mountiny

Problem

Currently, the requester can continue to create requests from within a settled expense report. This is not possible for the payee after refreshing the page.

Expected
Screenshot 2023-05-16 at 17 01 09

Current
Screenshot 2023-05-16 at 17 01 39
Screenshot 2023-05-16 at 17 01 46

Solution

Blocks users from:

  • requesting money from within a settled IOUReport or expense report
  • or sending money from an iouReport in any state
  • sending money from expense report in any state
  • requesting or sending money from transaction thread
Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~01be7b10bebf499be1
  • Upwork Job ID: 1658503343790088192
  • Last Price Increase: 2023-05-16
@Julesssss Julesssss added Engineering Daily KSv2 Internal Requires API changes or must be handled by Expensify staff labels May 16, 2023
@Julesssss Julesssss self-assigned this May 16, 2023
@melvin-bot
Copy link

melvin-bot bot commented May 16, 2023

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

@melvin-bot
Copy link

melvin-bot bot commented May 16, 2023

Triggered auto assignment to Contributor Plus for review of internal employee PR - @rushatgabhane (Internal)

@rushatgabhane
Copy link
Member

Holding on #18604

@trjExpensify
Copy link
Contributor

Nice, I agree you shouldn't be able to request money within a settled report. You shouldn't be able to Send money within any expense/iouReport.

@thienlnam, should you be able to Assign tasks within an expense/iouReport? Seems like that might break. Outside of the scope of this PR though!

@thienlnam
Copy link
Contributor

@thienlnam, should you be able to Assign tasks within an expense/iouReport? Seems like that might break. Outside of the scope of this PR though!

Actually, you should be able to assign tasks anywhere - I'm not sure if it works out of the box right now because that hasn't been our focus for V1 - but technically yes should be possible!

@trjExpensify
Copy link
Contributor

Yeah, is that going to break though? In which case, do we want to not show the Assign Task option until we firm up on how it's possible to add a task to an expense/iouReport?

@thienlnam
Copy link
Contributor

It actually does work out of the box - there is a bug with the avatar in the LHN but we can fix that along with the the avatars for requests

@trjExpensify
Copy link
Contributor

Cool. I think avatars for requests is being fixed if you look at the latest we're working on from here: https://expensify.slack.com/archives/C03TQ48KC/p1684276084051879?thread_ts=1684266162.911009&cid=C03TQ48KC

@luacmartins
Copy link
Contributor

No longer on hold

@mountiny mountiny self-assigned this May 17, 2023
@mountiny
Copy link
Contributor

Taking this over also updated the solution with more cases we will block

@mountiny mountiny added the NewFeature Something to build that is a new item. label May 17, 2023
@melvin-bot
Copy link

melvin-bot bot commented May 17, 2023

Current assignee @trjExpensify is eligible for the NewFeature assigner, not assigning anyone new.

@melvin-bot melvin-bot bot added Weekly KSv2 and removed Daily KSv2 labels May 17, 2023
@mountiny
Copy link
Contributor

PR merged, @rushatgabhane $1000 flat rate for the PR help

@mountiny mountiny added Awaiting Payment Auto-added when associated PR is deployed to production and removed Reviewing Has a PR in review labels May 17, 2023
@melvin-bot melvin-bot bot added the Reviewing Has a PR in review label May 17, 2023
@rushatgabhane
Copy link
Member

dropping a note for Tom to hire account "Satish Gabhane" - https://www.upwork.com/freelancers/~01212e8255b02ae924

context - https://expensify.slack.com/archives/C02NK2DQWUX/p1683614947522329

@mountiny mountiny removed the Reviewing Has a PR in review label May 17, 2023
@melvin-bot melvin-bot bot removed the Weekly KSv2 label May 18, 2023
@melvin-bot melvin-bot bot added the Weekly KSv2 label May 18, 2023
@melvin-bot melvin-bot bot changed the title Prevent creating new requests from within a settled expense report [HOLD for payment 2023-05-25] Prevent creating new requests from within a settled expense report May 18, 2023
@melvin-bot
Copy link

melvin-bot bot commented May 18, 2023

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

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

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

@melvin-bot melvin-bot bot added Weekly KSv2 and removed Weekly KSv2 labels May 22, 2023
@melvin-bot melvin-bot bot changed the title [HOLD for payment 2023-05-25] Prevent creating new requests from within a settled expense report [HOLD for payment 2023-05-29] [HOLD for payment 2023-05-25] Prevent creating new requests from within a settled expense report May 22, 2023
@melvin-bot
Copy link

melvin-bot bot commented May 22, 2023

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

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

@melvin-bot melvin-bot bot added Daily KSv2 and removed Weekly KSv2 labels May 24, 2023
@trjExpensify
Copy link
Contributor

Errr.. why are there two payment dates on this issue? 😕

@Julesssss
Copy link
Contributor Author

I've seen this on quite a few issues over the last 2 weeks.

@trjExpensify
Copy link
Contributor

So are we waiting on the 29th or is this due today?

@trjExpensify
Copy link
Contributor

trjExpensify commented May 25, 2023

In the meantime, offer sent to Satish on this job in prep @rushatgabhane 👍

@trjExpensify
Copy link
Contributor

PR hit prod 7 days ago. Paid and closing.

@Julesssss
Copy link
Contributor Author

Julesssss commented May 26, 2023

So are we waiting on the 29th or is this due today?

Yeah, the date was over a week ago.

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 Daily KSv2 Engineering Internal Requires API changes or must be handled by Expensify staff NewFeature Something to build that is a new item.
Projects
None yet
Development

No branches or pull requests

6 participants