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-09-26] [$250] Update UpdatePolicyConnectionConfiguration to be 1:1:1 - Part 5 #47523

Closed
dangrous opened this issue Aug 15, 2024 · 24 comments
Assignees
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Bug Something is broken. Auto assigns a BugZero manager. External Added to denote the issue can be worked on by a contributor Weekly KSv2

Comments

@dangrous
Copy link
Contributor

dangrous commented Aug 15, 2024

Problem

Our UpdatePolicyConnectionConfiguration API command is not 1:1:1 - it is the same API call for all related user actions, when it should be split up for each connection (QBO, Xero, etc.) and configuration setting (autoSyncVendor, enableNewCategories, etc.). At the end of this we should not call that function anywhere.

This is polish for the Collect QBO project.

Solution

When we created the NetSuite commands, we followed the correct pattern, and so need to do so here too.

This requires backend and frontend work in tandem (to create the commands and then to use them), so we're looking for a contributor(s) to handle the frontend. You can see an example PR here - there is some extra prep work there that you can ignore, but adjusting all calls like this is what we're going for:

- Connections.updatePolicyConnectionConfig(policyID, CONST.POLICY.CONNECTIONS.NAME.QBO, CONST.QUICK_BOOKS_CONFIG.REIMBURSABLE_EXPENSES_ACCOUNT, row.value);
+ QuickbooksOnline.updateQuickbooksOnlineReimbursableExpensesAccount(policyID, row.value);

Here is a list of the commands handled in this issue:

  • UpdateQuickbooksOnlineReceivableAccount
  • UpdateQuickbooksOnlineExportDate
  • UpdateQuickbooksOnlineNonReimbursableExpensesAccount
  • UpdateQuickbooksOnlineCollectionAccountID

If there are others that follow the same pattern as UpdateQuickbooksOnlineExport (same object, different keys) we will need to split those as well.

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~01f77142563137f66e
  • Upwork Job ID: 1825578111419953725
  • Last Price Increase: 2024-08-19
  • Automatic offers:
    • hoangzinh | Contributor | 103590171
Issue OwnerCurrent Issue Owner: @
Issue OwnerCurrent Issue Owner: @hoangzinh
@dangrous dangrous added the Daily KSv2 label Aug 15, 2024
@dangrous dangrous self-assigned this Aug 16, 2024
@melvin-bot melvin-bot bot added the Overdue label Aug 19, 2024
@hoangzinh
Copy link
Contributor

Hi @dangrous, I can help to work on this issue.

@dangrous
Copy link
Contributor Author

@rushatgabhane can you comment here so I can assign you as C+ before assigning @hoangzinh?

@melvin-bot melvin-bot bot removed the Overdue label Aug 19, 2024
@rushatgabhane
Copy link
Member

hello

@dangrous dangrous added the External Added to denote the issue can be worked on by a contributor label Aug 19, 2024
Copy link

melvin-bot bot commented Aug 19, 2024

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

@melvin-bot melvin-bot bot changed the title Update UpdatePolicyConnectionConfiguration to be 1:1:1 - Part 5 [$250] Update UpdatePolicyConnectionConfiguration to be 1:1:1 - Part 5 Aug 19, 2024
@melvin-bot melvin-bot bot added the Help Wanted Apply this label when an issue is open to proposals by contributors label Aug 19, 2024
Copy link

melvin-bot bot commented Aug 19, 2024

Current assignee @rushatgabhane is eligible for the External assigner, not assigning anyone new.

@melvin-bot melvin-bot bot removed the Help Wanted Apply this label when an issue is open to proposals by contributors label Aug 19, 2024
Copy link

melvin-bot bot commented Aug 19, 2024

📣 @hoangzinh 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app!

Offer link
Upwork job
Please accept the offer and leave a comment on the Github issue letting us know when we can expect a PR to be ready for review 🧑‍💻
Keep in mind: Code of Conduct | Contributing 📖

Copy link

melvin-bot bot commented Aug 22, 2024

@dangrous, @hoangzinh, @rushatgabhane Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!

@hoangzinh
Copy link
Contributor

Not overdue. PR is still in progress

@melvin-bot melvin-bot bot removed the Overdue label Aug 23, 2024
@dangrous
Copy link
Contributor Author

fyi @hoangzinh backend pr is now deployed so you should be able to test!

@hoangzinh
Copy link
Contributor

Thanks for the heads up @dangrous.

@hoangzinh
Copy link
Contributor

Hi @dangrous I tried to test but it's retuning 404 error. Is it because staging has not been deployed successfully yet?
Screenshot 2024-08-26 at 17 32 57

@dangrous
Copy link
Contributor Author

Noted in Slack but for the GitHub record - QBO backend PR not yet on staging, should be there today!

@dangrous
Copy link
Contributor Author

on staging! should be ready to test.

Copy link

melvin-bot bot commented Aug 29, 2024

@dangrous, @hoangzinh, @rushatgabhane Whoops! This issue is 2 days overdue. Let's get this updated quick!

@hoangzinh
Copy link
Contributor

Not overdue. PR is still in progress. I'm doing recordings for the PR. Can complete the PR in this week

@melvin-bot melvin-bot bot added Reviewing Has a PR in review Weekly KSv2 and removed Overdue Daily KSv2 labels Aug 30, 2024
Copy link

melvin-bot bot commented Sep 18, 2024

⚠️ 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.

@dangrous dangrous added the Bug Something is broken. Auto assigns a BugZero manager. label Sep 19, 2024
Copy link

melvin-bot bot commented Sep 19, 2024

Triggered auto assignment to @greg-schroeder (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details. Please add this bug to a GH project, as outlined in the SO.

@melvin-bot melvin-bot bot added Daily KSv2 and removed Weekly KSv2 labels Sep 19, 2024
@dangrous
Copy link
Contributor Author

@greg-schroeder just grabbing you for eventual payment; this hasn't hit prod yet but should shortly!

@greg-schroeder
Copy link
Contributor

Consider me grabbed

@greg-schroeder
Copy link
Contributor

Deployed 9/19, regression period should go to 9/26 I believe

@greg-schroeder greg-schroeder added Weekly KSv2 Awaiting Payment Auto-added when associated PR is deployed to production and removed Daily KSv2 Reviewing Has a PR in review labels Sep 23, 2024
@greg-schroeder greg-schroeder changed the title [$250] Update UpdatePolicyConnectionConfiguration to be 1:1:1 - Part 5 [HOLD for payment 2024-09-26] [$250] Update UpdatePolicyConnectionConfiguration to be 1:1:1 - Part 5 Sep 23, 2024
@greg-schroeder
Copy link
Contributor

@dangrous @hoangzinh Is this comment accurate?

@dangrous
Copy link
Contributor Author

Nope, no blocker! It was a sync issue but not specific to this PR. (Correct me if I'm wrong @hoangzinh @rushatgabhane )

@greg-schroeder
Copy link
Contributor

Sounds good! All set for tomorrow:

Payment summary:

Contributor: @hoangzinh - $250 - To be paid via Upwork 9/26
C+: @rushatgabhane - $250 - You can make a manual request via ND

@garrettmknight
Copy link
Contributor

$250 approved for @rushatgabhane

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. External Added to denote the issue can be worked on by a contributor Weekly KSv2
Projects
No open projects
Status: Done
Development

No branches or pull requests

5 participants