Expensify / App

Welcome to New Expensify: a complete re-imagination of financial collaboration, centered around chat. Help us build the next generation of Expensify by sharing feedback and contributing to the code.
https://new.expensify.com
MIT License
2.99k stars 2.5k forks source link

Add sync functionality in Xero connection #41562

Closed ShridharGoel closed 1 day ago

ShridharGoel commented 2 weeks ago

Details

Add sync functionality in Xero connection.

Fixed Issues

$ https://github.com/Expensify/App/issues/41320 PROPOSAL: https://github.com/Expensify/App/issues/41320#issuecomment-2085354319

Tests

  1. Enable accounting.
  2. Go to accounting page.
  3. Connect Xero.
  4. Use the sync connection option.
  5. Check that "Other integrations" doesn't show Xero while sync is happening.
  6. As of now, no API call should happen when sync is done for Xero.
  7. Do the same for Quickbooks, API call should happen.

QA Steps

  1. Enable accounting.
  2. Go to accounting page.
  3. Connect Xero.
  4. Use the sync connection option.
  5. Check that "Other integrations" doesn't show Xero while sync is happening.
  6. As of now, no API call should happen when sync is done for Xero.
  7. Do the same for Quickbooks, API call should happen.

PR Author Checklist

Screenshots/Videos

Android: Native
Android: mWeb Chrome https://github.com/Expensify/App/assets/35566748/b6f23505-fb93-47b0-a728-c04892756e97
iOS: Native https://github.com/Expensify/App/assets/35566748/a6368483-3fe7-403b-951c-5992efa4818c
iOS: mWeb Safari https://github.com/Expensify/App/assets/35566748/42526c90-f86d-432c-9153-fc12e84dcf98
MacOS: Chrome / Safari https://github.com/Expensify/App/assets/35566748/abe37704-d10f-4ded-825f-cc6ea775e41f
MacOS: Desktop https://github.com/Expensify/App/assets/35566748/2e5d5d84-b117-4ad7-8932-bee32edb2a12
melvin-bot[bot] commented 2 weeks ago

@mananjadhav Please copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button]

mananjadhav commented 1 week ago

@ShridharGoel Can you fix the lint issues?

mananjadhav commented 1 week ago

@ShridharGoel The PR for the Sync command on the backend is on staging. Can you please add the code for sync and finish the PR?

Let me know once it's done and ready for review.

mananjadhav commented 1 week ago

Reviewer Checklist

Screenshots/Videos

Android: Native https://github.com/Expensify/App/assets/3069065/f298c8b0-0fca-4ee1-bf18-f17412635be5
Android: mWeb Chrome https://github.com/Expensify/App/assets/3069065/404883de-82c6-4eca-89e8-ff6170588b79
iOS: Native https://github.com/Expensify/App/assets/3069065/17686746-49fe-46be-b6d7-c51eed4b5cfd
iOS: mWeb Safari https://github.com/Expensify/App/assets/3069065/18ffd9b4-20f9-411e-9b1f-d36a0aa9dfa2
MacOS: Chrome / Safari https://github.com/Expensify/App/assets/3069065/d75b9cab-ce26-4052-a558-c38cb1e4526c
MacOS: Desktop https://github.com/Expensify/App/assets/3069065/c58a0f2d-c89f-46b5-a386-83595c663844
hayata-suenaga commented 1 week ago

just double checking, have Spanish translations been approved, right?

hungvu193 commented 3 days ago

Reviewing shortly 👀

hayata-suenaga commented 3 days ago

@hungvu193, I think this PR has been already been reviewed by another C+ 🤔

hungvu193 commented 3 days ago

@hungvu193, I think this PR has been already been reviewed by another C+ 🤔

ah yeah, I only re-verify while Manan was out as we discuss here

lakchote commented 2 days ago

@ShridharGoel there are conflicts, please solve them when you can. Thanks.

ShridharGoel commented 2 days ago

@lakchote Will update in a few hours.

lakchote commented 2 days ago

@lakchote Will update in a few hours.

Any update? Thanks!

mananjadhav commented 2 days ago

@ShridharGoel I can see lint errors. Can you please fix them? Also while we might have the merge freeze? Can you check this thread on priority for potential merge conflicts? We're aiming to merge this asap as it is blocking some of our testing flows.

ShridharGoel commented 2 days ago

@mananjadhav Sure.