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-11-13] [HOLD E/E #326097] [Wave 6: Workspace Chats] Update how GBR is determined for IOU/expense reports #29595

Closed
puneetlath opened this issue Oct 13, 2023 · 20 comments
Assignees
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Daily KSv2 NewFeature Something to build that is a new item.

Comments

@puneetlath
Copy link
Contributor

In https://github.com/Expensify/Expensify/issues/326097 we are adding a new hasOutstandingChildIOU field. We need to update the way ReportUtils.isWaitingForIOUActionFromCurrentUser determines which reports to show the GBR on. It should be based on the hasOutstandingChildIOU field.

This is described in the workspace chats design doc here.

@puneetlath puneetlath added Daily KSv2 NewFeature Something to build that is a new item. labels Oct 13, 2023
@puneetlath puneetlath self-assigned this Oct 13, 2023
@melvin-bot
Copy link

melvin-bot bot commented Oct 13, 2023

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

@melvin-bot melvin-bot bot added Weekly KSv2 and removed Daily KSv2 labels Oct 13, 2023
@waterim
Copy link
Contributor

waterim commented Oct 16, 2023

Hello, Im Artem from Callstack and would like to help with this one!

@greg-schroeder
Copy link
Contributor

FYI @waterim, from Slack: https://expensify.slack.com/archives/C02MW39LT9N/p1697583395704569?thread_ts=1697503628.240919&cid=C02MW39LT9N

It would be nice if we could clean up/centralize the GBR (green dot) logic while we’re doing this. To ensure that:

  1. the green dot always makes the chat go to the top of the list under pinned chats (no matter how the green dot is being set, via mention, outstanding IOU or something else)
  2. the green dot always makes a chat visible in focus mode

@puneetlath
Copy link
Contributor Author

Reminder: we also need to add this new field to the typescript types for reports.

@puneetlath
Copy link
Contributor Author

@waterim FYI we've started sending the hasOutstandingChildRequest field on staging. Right now it only is being sent in Most Recent mode, not in #focus mode. So you should be able to test your PR with the back-end in most recent mode to make sure things are working as expected.

@waterim
Copy link
Contributor

waterim commented Oct 20, 2023

@puneetlath nice to hear!
testing

@melvin-bot melvin-bot bot added Reviewing Has a PR in review Weekly KSv2 and removed Weekly KSv2 labels Oct 24, 2023
@melvin-bot melvin-bot bot added Weekly KSv2 and removed Weekly KSv2 labels Oct 31, 2023
Copy link

melvin-bot bot commented Nov 2, 2023

⚠️ Looks like this issue was linked to a Deploy Blocker here

If you are the assigned CME please investigate whether the linked PR caused a regression and leave a comment with the results.

If a regression has occurred and you are the assigned CM follow the instructions here.

If this regression could have been avoided please consider also proposing a recommendation to the PR checklist so that we can avoid it in the future.

Copy link

melvin-bot bot commented Nov 3, 2023

⚠️ Looks like this issue was linked to a Deploy Blocker here

If you are the assigned CME please investigate whether the linked PR caused a regression and leave a comment with the results.

If a regression has occurred and you are the assigned CM follow the instructions here.

If this regression could have been avoided please consider also proposing a recommendation to the PR checklist so that we can avoid it in the future.

Copy link

melvin-bot bot commented Nov 3, 2023

⚠️ Looks like this issue was linked to a Deploy Blocker here

If you are the assigned CME please investigate whether the linked PR caused a regression and leave a comment with the results.

If a regression has occurred and you are the assigned CM follow the instructions here.

If this regression could have been avoided please consider also proposing a recommendation to the PR checklist so that we can avoid it in the future.

@melvin-bot melvin-bot bot added Weekly KSv2 Awaiting Payment Auto-added when associated PR is deployed to production and removed Weekly KSv2 labels Nov 6, 2023
@melvin-bot melvin-bot bot changed the title [HOLD E/E #326097] [Wave 6: Workspace Chats] Update how GBR is determined for IOU/expense reports [HOLD for payment 2023-11-13] [HOLD E/E #326097] [Wave 6: Workspace Chats] Update how GBR is determined for IOU/expense reports Nov 6, 2023
Copy link

melvin-bot bot commented Nov 6, 2023

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

@melvin-bot melvin-bot bot removed the Reviewing Has a PR in review label Nov 6, 2023
Copy link

melvin-bot bot commented Nov 6, 2023

The solution for this issue has been 🚀 deployed to production 🚀 in version 1.3.95-9 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-11-13. 🎊

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:

  • @waterim does not require payment (Contractor)

Copy link

melvin-bot bot commented Nov 6, 2023

BugZero Checklist: The PR adding this new feature has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:

  • [@waterim] Please propose regression test steps to ensure the new feature will work correctly on production in further releases.
  • [@puneetlath] Link the GH issue for creating/updating the regression test once above steps have been agreed upon.

@puneetlath
Copy link
Contributor Author

We should add regression tests for this. I'll propose them.

@puneetlath
Copy link
Contributor Author

Also, @akinwale was the C+

@waterim
Copy link
Contributor

waterim commented Nov 7, 2023

Where to add these steps?

@puneetlath
Copy link
Contributor Author

I'll take care of it don't worry. The automation wrongly tagged you for that.

@puneetlath
Copy link
Contributor Author

Actually, we already have a separate issue for handling that here: https://github.com/Expensify/Expensify/issues/319016

So all that is left to happen on this issue is paying @akinwale out next week.

@puneetlath
Copy link
Contributor Author

@akinwale offer here: https://www.upwork.com/nx/wm/offer/27646277

Ping me on this issue when you've accepted please.

@akinwale
Copy link
Contributor

@akinwale offer here: https://www.upwork.com/nx/wm/offer/27646277

Ping me on this issue when you've accepted please.

@puneetlath Accepted. Thanks!

@melvin-bot melvin-bot bot added Daily KSv2 and removed Daily KSv2 labels Nov 13, 2023
@puneetlath
Copy link
Contributor Author

All paid. Thanks everyone!

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 NewFeature Something to build that is a new item.
Projects
No open projects
Development

No branches or pull requests

4 participants