-
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
QBO import main page #38400
QBO import main page #38400
Conversation
@eVoloshchak 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] |
Here is the copy from a real data for Let me know if you have any other questions 👍
|
@narefyev91 could you solve the merge conflict when you have time? 😄 @eVoloshchak could you start reviewing the PR when you have time? 😄 |
Sure - will resolve conflicts soon! |
Great! We need to ensure that the new screens are not accessible to users until the entire feature set is complete. Should we use a feature flag to prevent users from accessing these screens? I assume that if we aim to prevent users from accessing new pages, we would need a code similar to the one below?
|
# Conflicts: # src/SCREENS.ts # src/libs/Navigation/types.ts
# Conflicts: # src/libs/Navigation/AppNavigator/ModalStackNavigators.tsx
# Conflicts: # src/SCREENS.ts # src/libs/Navigation/types.ts
@hayata-suenaga also added a new sub-page for Chart of Accounts |
I'll re-review and re-test this tomorrow again 👍 |
# Conflicts: # src/libs/API/parameters/index.ts # src/libs/API/types.ts # src/types/onyx/Policy.ts
@hayata-suenaga @eVoloshchak pushed 2 more pages for Classes and Customers. Will be nice to get one more code review if possible. I think tomorrow i will finish last 2 pages - and we can check all of them together |
src/pages/workspace/accounting/qbo/QuickbooksChartOfAccountsPage.tsx
Outdated
Show resolved
Hide resolved
Reviewer Checklist
Screenshots/VideosAndroid: Native24-04-09-18-27-03.mp4Android: mWeb ChromeScreen.Recording.2024-04-09.at.18.18.54.moviOS: NativeScreen.Recording.2024-04-09.at.18.20.49.moviOS: mWeb SafariScreen.Recording.2024-04-09.at.18.11.53.movMacOS: Chrome / SafariScreen.Recording.2024-04-09.at.17.51.08.movMacOS: DesktopScreen.Recording.2024-04-09.at.18.02.53.mov |
src/pages/workspace/accounting/qbo/QuickbooksChartOfAccountsPage.tsx
Outdated
Show resolved
Hide resolved
…ge.tsx Co-authored-by: Eugene Voloshchak <[email protected]>
Co-authored-by: Eugene Voloshchak <[email protected]>
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.
LGTM!
# Conflicts: # src/pages/workspace/accounting/WorkspaceAccountingPage.tsx # src/types/onyx/Policy.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.
looks 🟢 to me 😄
accessibilityLabel={translate('workspace.qbo.accounts')} | ||
isOn={isSwitchOn} | ||
onToggle={() => | ||
Policy.updatePolicyConnectionConfig( |
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.
ah I didn't know you actually wrote the code to call the API
anyway, these screens are behind the beta, so I think we're okay doing so
const isSwitchOn = Boolean(enableNewCategories && enableNewCategories !== CONST.INTEGRATION_ENTITY_MAP_TYPES.NONE); | ||
|
||
return ( | ||
<AdminPolicyAccessOrNotFoundWrapper policyID={policyID}> |
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.
nice!
✋ 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/hayata-suenaga in version: 1.4.62-0 🚀
|
1 similar comment
🚀 Deployed to staging by https://github.com/hayata-suenaga in version: 1.4.62-0 🚀
|
🚀 Deployed to staging by https://github.com/hayata-suenaga in version: 1.4.62-0 🚀
|
🚀 Deployed to production by https://github.com/thienlnam in version: 1.4.62-17 🚀
|
Details
Initial implementation for QBO Import main page. Current PR for now blocked by this one PR. But for now code can be started to be reviews from C+ cc @hayata-suenaga. Also will be nice to simulate somehow syncClasses, syncCustomers, syncLocations, syncAccounts, syncTaxes - from API side - to get test data
Fixed Issues
$ #37777
PROPOSAL:
Tests
Offline tests
QA Steps
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
andorid.mov
Android: mWeb Chrome
android-web.mov
iOS: Native
ios.mov
iOS: mWeb Safari
MacOS: Chrome / Safari
MacOS: Desktop