-
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
Fix/improve chart of accounts import page #41547
Conversation
src/languages/es.ts
Outdated
@@ -1913,8 +1913,8 @@ export default { | |||
customers: 'Clientes/Proyectos', | |||
displayedAs: 'Mostrado como', | |||
accountsDescription: 'Los planes de cuentas se importan como categorías cuando está conectado con una integración de contaduría, esto no se puede desactivar.', |
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.
maybe you forgot to update this translation?
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 think the existing Spanish translation is already pretty close to what the new English copy says
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.
Don't have the Spanish understanding, but when I pasted this key in Google translate, it showed the old English copy. (noob feedback, don't see words like Expensify and Quickbooks Online)
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.
Lol, I guess that shows from where the Spanish translation came from. I'll see if I can come up with something closer to the current english translation.
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 updated the translation
@aldo-expensify @hayata-suenaga By any chance does this need C+ review? |
src/pages/workspace/accounting/qbo/import/QuickbooksChartOfAccountsPage.tsx
Outdated
Show resolved
Hide resolved
@mananjadhav yes we want to have your review for this PR 🙇 😄 |
<View style={[styles.flex1, styles.alignItemsEnd, styles.pl3]}> | ||
<Switch | ||
accessibilityLabel={translate('workspace.accounting.accounts')} | ||
isOn={true} |
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.
Can we fix this lint error?
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.
Fixed
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.
Small comments, rest of it looks good.
This is ready for review again. |
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.
Code changes look fine, working on the checklist now.
Reviewer Checklist
Screenshots/Videos |
@Julesssss 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] |
🎯 @mananjadhav, thanks for reviewing and testing this PR! 🎉 An E/App issue has been created to issue payment here: #41642. |
accessibilityLabel={translate('workspace.accounting.accounts')} | ||
isOn | ||
disabled | ||
onToggle={() => {}} |
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.
@aldo-expensify, are you going to update this line in your PR 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.
What update does it need? I think onToggle
is mandatory and this toggle is permanently disabled, so it doesn't have to do anything.
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 this is the switch for importing Chats of accounts
! and Switch doesn't accept undefined
...
anyway, thank you for reminding me of that 🙇
🚀 Deployed to production by https://github.com/marcaaron in version: 1.4.71-6 🚀
|
Details
Implements new design:
In the main import page, the value of "Chart of accounts" shows "Imported, displayed as categories" always now:
Fixed Issues
New design proposed here: https://expensify.slack.com/archives/C036QM0SLJK/p1714692855908009?thread_ts=1714400674.229349&cid=C036QM0SLJK
PROPOSAL:
Tests
Import
pageOffline tests
QA Steps
Import
pagePR 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