-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Show an error on the More Features page if the admin tries to disconnect the Accounting feature while there is an active accounting connection while the device is offline #41446
Conversation
@thesahindia @ One of you needs to 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] |
@thesahindia because @s77rt is doing most of the PR reviews for the QBO project, I'm assigning them to this PR 🙇 |
@@ -158,10 +161,12 @@ function WorkspaceMoreFeaturesPage({policy, route}: WorkspaceMoreFeaturesPagePro | |||
pendingAction={item.pendingAction} | |||
onToggle={item.action} | |||
disabled={item.disabled} | |||
errors={item.errors} | |||
onCloseError={() => Policy.clearPolicyErrorField(policy?.id ?? '', 'areConnectionsEnabled')} |
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.
onCloseError={() => Policy.clearPolicyErrorField(policy?.id ?? '', 'areConnectionsEnabled')} | |
onCloseError={item.onCloseError} |
Move the function to integrateItems.
Should this be put on hold for https://github.com/Expensify/Web-Expensify/pull/41830? Currently the API response does not contain any onyx data (error not added to policy error fields) |
Co-authored-by: Abdelhafidh Belalia <16493223+s77rt@users.noreply.github.com>
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.
Tested well
Screen.Recording.2024-05-01.at.8.03.30.PM.mov
I will skip holding since we are trying to work fast. Without the backend PR it behaves like this: Screen.Recording.2024-05-01.at.8.07.40.PM.movwhich is the same than our current behaviour: Screen.Recording.2024-05-01.at.8.10.23.PM.mov |
Reviewer Checklist
Screenshots/VideosAndroid: NativeAndroid: mWeb ChromeiOS: NativeiOS: mWeb SafariMacOS: Chrome / SafariMacOS: Desktop |
✋ 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 production by https://github.com/marcaaron in version: 1.4.70-5 🚀
|
Details
Fixed Issues
$ https://github.com/Expensify/Expensify/issues/390465
PROPOSAL: N/A
Tests / QA Steps
Tested with this Web-E PR
Offline tests
N/A
PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)myBool && <MyComponent />
.src/languages/*
files and using the translation methodSTYLE.md
) were followedAvatar
, I verified the components usingAvatar
are working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG)
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)Design
label and/or tagged@Expensify/design
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