QBO import main page#38400
QBO import main page#38400hayata-suenaga merged 39 commits intoExpensify:mainfrom narefyev91:qbo-import-main-page
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 <copyreading@gmail.com>
Co-authored-by: Eugene Voloshchak <copyreading@gmail.com>
# Conflicts: # src/pages/workspace/accounting/WorkspaceAccountingPage.tsx # src/types/onyx/Policy.ts
| accessibilityLabel={translate('workspace.qbo.accounts')} | ||
| isOn={isSwitchOn} | ||
| onToggle={() => | ||
| Policy.updatePolicyConnectionConfig( |
There was a problem hiding this comment.
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}> |
|
✋ 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 Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)myBool && <MyComponent />.src/languages/*files and using the translation methodSTYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))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
andorid.mov
Android: mWeb Chrome
android-web.mov
iOS: Native
ios.mov
iOS: mWeb Safari
MacOS: Chrome / Safari
MacOS: Desktop