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

Deprecate the hasOutstandingIOU key on reports #32565

Closed
mountiny opened this issue Dec 6, 2023 · 15 comments
Closed

Deprecate the hasOutstandingIOU key on reports #32565

mountiny opened this issue Dec 6, 2023 · 15 comments
Assignees
Labels
Improvement Item broken or needs improvement. Internal Requires API changes or must be handled by Expensify staff Monthly KSv2 Reviewing Has a PR in review

Comments

@mountiny
Copy link
Contributor

mountiny commented Dec 6, 2023

Problem

We have been using the hasOutstandingIOU key to indicate that there is some active (ie processing or open) report linked to chat report or as a property on the money request report to indicate the same.

In case of IOU/expense report its however redundant as we know the state and status and total so we can derive if the report is active

In case of the parent chat reports (DM in case of IOU and workspace chat in case of expense report) we now have the hasChildOutstandingRequest property which indicates there is action required from the user.

The hasOutstandingIOU property now became redundant so we can remove it

Solution

Lets remove this key from the App

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~010ccb3eb4568689c3
  • Upwork Job ID: 1732700650759397376
  • Last Price Increase: 2023-12-07
@rezkiy37
Copy link
Contributor

rezkiy37 commented Dec 6, 2023

Hi, I’m Michael (Mykhailo) from Callstack and I would like to work on this issue.

Copy link

melvin-bot bot commented Dec 7, 2023

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

Copy link

melvin-bot bot commented Dec 7, 2023

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

@mountiny
Copy link
Contributor Author

mountiny commented Dec 7, 2023

PRs to deprecate this in backend are ready and on hold for the app changes first

@rezkiy37
Copy link
Contributor

rezkiy37 commented Dec 7, 2023

Gut!
I am preparing a PR today.

@rezkiy37
Copy link
Contributor

rezkiy37 commented Dec 7, 2023

Still testing, just resolved unit tests. Going to open the PR tomorrow.

@melvin-bot melvin-bot bot added Reviewing Has a PR in review Weekly KSv2 and removed Daily KSv2 Weekly KSv2 labels Dec 8, 2023
@cubuspl42
Copy link
Contributor

Review in progress

@mountiny
Copy link
Contributor Author

Merged

@mountiny
Copy link
Contributor Author

Payment handled here #32281

@cubuspl42
Copy link
Contributor

@mountiny Do we hold on anything in such case, or are we good to close this one?

@mountiny
Copy link
Contributor Author

I need to clean this up in the backend but your payment can be handled already

@rezkiy37
Copy link
Contributor

rezkiy37 commented Jan 9, 2024

@mountiny, just carious any updates on this issue?

@mountiny
Copy link
Contributor Author

mountiny commented Jan 9, 2024

I need to follow through on the PRs which were created in the backend as HOLD now

@melvin-bot melvin-bot bot added Weekly KSv2 and removed Weekly KSv2 labels Jan 16, 2024
@greg-schroeder greg-schroeder changed the title [wave6] Deprecate the hasOutstandingIOU key on reports [HIGH] Deprecate the hasOutstandingIOU key on reports Jan 31, 2024
@puneetlath puneetlath changed the title [HIGH] Deprecate the hasOutstandingIOU key on reports Deprecate the hasOutstandingIOU key on reports Feb 6, 2024
@melvin-bot melvin-bot bot added Monthly KSv2 and removed Weekly KSv2 labels Feb 9, 2024
Copy link

melvin-bot bot commented Feb 9, 2024

This issue has not been updated in over 15 days. @mountiny, @rezkiy37 eroding to Monthly issue.

P.S. Is everyone reading this sure this is really a near-term priority? Be brave: if you disagree, go ahead and close it out. If someone disagrees, they'll reopen it, and if they don't: one less thing to do!

@mountiny
Copy link
Contributor Author

mountiny commented Feb 9, 2024

This was done already

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Improvement Item broken or needs improvement. Internal Requires API changes or must be handled by Expensify staff Monthly KSv2 Reviewing Has a PR in review
Projects
No open projects
Development

No branches or pull requests

3 participants