-
Notifications
You must be signed in to change notification settings - Fork 3.5k
fix: Continuous Reconciliation toggle is not greyed when clicking off… #74064
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
base: main
Are you sure you want to change the base?
Conversation
src/pages/workspace/accounting/reconciliation/CardReconciliationPage.tsx
Outdated
Show resolved
Hide resolved
src/pages/workspace/accounting/reconciliation/CardReconciliationPage.tsx
Outdated
Show resolved
Hide resolved
src/pages/workspace/expensifyCard/WorkspaceSettlementAccountPage.tsx
Outdated
Show resolved
Hide resolved
Codecov Report✅ Changes either increased or maintained existing code coverage, great job!
|
|
@jayeshmangwani 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] |
src/pages/workspace/accounting/reconciliation/CardReconciliationPage.tsx
Outdated
Show resolved
Hide resolved
src/pages/workspace/expensifyCard/WorkspaceSettlementAccountPage.tsx
Outdated
Show resolved
Hide resolved
|
@daledah, if the Card.reconciliation.mov |
heyjennahay
left a comment
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.
Product review LGTM
bug-resize.mp4@jayeshmangwani i can reproduce this bug on staging |
|
@daledah You’re trying to change it from the dev. Try testing it in both staging app, open the staging app in both tabs. |
|
@daledah , I’m facing an issue on mWeb Chrome, can you please confirm if it’s happening for you too, or if it’s just my emulator? Steps:
mweb-chrome-bug.mov |
|
i'll try to give an update soon |
@jayeshmangwani i still can't reproduce this bug Screen.Recording.2025-11-13.at.15.20.22.mov |
|
@daledah Thats fine, I’m too unable to reproduce the issue now when testing in the same environment. Could you please check and confirm whether this bug #74064 (comment) is reproducing for you? |
@jayeshmangwani sure, I can reproduce this bug #74064 (comment) and am trying to find a solution for it |
|
@jayeshmangwani Can you reproduce this bug on the main branch? I’ve tried several times, but it only works intermittently. |
|
friendly bump here @jayeshmangwani |
|
Sorry @daledah, I missed your ping. I’m able to reproduce the issue on our PR only, not on the main branch |
|
@jayeshmangwani i fixed this bug |
|
@daledah Please fix the ESLint here. |
| // When the accounting feature is not enabled, or if the connections data already exists, | ||
| // there is no need to fetch the connections data. | ||
| if (!isConnectionDataFetchNeeded || !props.policy?.id) { | ||
| setIsFetchingData(false); |
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.
@daledah , why do we need to add setIsFetchingData here?
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.
@jayeshmangwani isFetchingData wasn't reset when the conditions changed (going offline or data already fetched) and the API call completed => the page stuck showing a loading indicator
Explanation of Change
Fixed Issues
$ #72737
PROPOSAL: #72737 (comment)
Tests
Preconditions:
Have one workspace with the Expensify card and Accounting features enabled.
The Expensify card has set up a business bank account.
An accounting system has been set up in the workspace.
Offline tests
Same as tests
QA Steps
Same as tests
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectioncanBeMissingparam foruseOnyxtoggleReportand notonIconClick)src/languages/*files and using the translation methodSTYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))npm run compress-svg)Avataris modified, I verified thatAvataris working as expected in all cases)Designlabel and/or tagged@Expensify/designso the design team can review the changes.ScrollViewcomponent to make it scrollable when more elements are added to the page.mainbranch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTeststeps.Screenshots/Videos
Android: Native
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
MacOS: Desktop