-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
Feat/44315 toggle card continuous reconciliation be integration #47406
Feat/44315 toggle card continuous reconciliation be integration #47406
Conversation
@mountiny I couldn't test it properly - I don't know how to connect with accounting. Is it possible to connect somehow just for testing purposes? But the request is sent, I got an empty array as onyxData response (but maybe bc I'm not connected correctly). |
@bondydaa Sorry for the ping, handling this with Maria as part of the workspace feeds project |
I think you need to create a real free trial account for the QBO to connect And the empty response is expected if you do not have the connection |
Sorry, we had a misunderstanding @DylanDylann is still going to review this |
This comment was marked as outdated.
This comment was marked as outdated.
const [bankAccountList] = useOnyx(ONYXKEYS.BANK_ACCOUNT_LIST); | ||
|
||
const paymentBankAccountID = cardSettings?.paymentBankAccountID ?? 0; | ||
const bankAccountTitle = bankAccountList?.[paymentBankAccountID]?.title ?? ''; | ||
|
||
const policyID = policy?.id ?? '-1'; | ||
const {connection} = route.params; | ||
const autoSync = !!policy?.connections?.[connection]?.config?.autoSync?.enabled; | ||
const connectionName = AccountingUtils.getConnectionNameFromRouteParam(connection) as ConnectionName; | ||
const autoSync = !!policy?.connections?.[connectionName]?.config?.autoSync?.enabled; | ||
|
||
// eslint-disable-next-line rulesdir/prefer-early-return |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's fix this eslint
Reviewer Checklist
Screenshots/VideosMacOS: Chrome / SafariScreen.Recording.2024-08-16.at.15.54.44.mov |
…conciliation-be-integration # Conflicts: # src/libs/API/parameters/index.ts # src/libs/actions/Card.ts
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I believe there is a small mistake in the failureData
src/libs/actions/Card.ts
Outdated
{ | ||
onyxMethod: Onyx.METHOD.MERGE, | ||
key: `${ONYXKEYS.COLLECTION.EXPENSIFY_CARD_CONTINUOUS_RECONCILIATION_CONNECTION}${workspaceAccountID}`, | ||
value: null, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be null OR the previous value if the shouldUseReconciliation was true, right?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, Maria already approved so going to merge this now
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
🚀 Deployed to staging by https://github.com/mountiny in version: 9.0.22-0 🚀
|
🚀 Deployed to staging by https://github.com/mountiny in version: 9.0.22-1 🚀
|
🚀 Deployed to production by https://github.com/chiragsalian in version: 9.0.22-9 🚀
|
Details
Fixed Issues
$ #44315
PROPOSAL:
Tests
PREREQUISITES: workspaceFeed beta and Expensify Card enabled
[Skip steps 6-7 if auto-sync enabled]
Offline tests
QA Steps
PREREQUISITES: workspaceFeed beta and Expensify Card enabled
[Skip steps 6-7 if auto-sync enabled]
PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)myBool && <MyComponent />
.src/languages/*
files and using the translation methodWaiting for Copy
label for a copy review on the original GH to get the correct copy.STYLE.md
) were followedAvatar
, I verified the components usingAvatar
are working as expected)/** comment above it */
this
are necessary to be bound (i.e. avoidthis.submit = this.submit.bind(this);
ifthis.submit
is never passed to a component event handler likeonClick
)StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG)
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)Design
label so the design team can review the changes.ScrollView
component to make it scrollable when more elements are added to the page.main
branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTest
steps.Screenshots/Videos
Android: Native
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
MacOS: Desktop