-
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
[HOLD] Refactor Workspace pages that use fetchFreePlanVerifiedBankAccount #12331
Conversation
Don't review just yet. Need to clean up the some of the props and need to finish reimburse page |
Why is this issue on hold? Also when do you expect that conflicts will be resolved? |
Its no longer, but I'm going to close this for another PR. I removed the WorkPageWithSections and we decided that wasn't necessary |
PR coming up soon, as soon as I fix the ReimbursementAccountPage one |
Gotcha, thanks for closing the loop! |
Closing for #12586 |
@Expensify/pullerbear @nkuoch @MariaHCD
Replace all the uses of
BankAccounts.fetchFreePlanVerifiedBankAccount
inWorkspacePageWithSections
. After looking and discussing the approach here. It makes sense to just get rid ofWorkspacePageWithSections
as a whole, as its only point is to pretty much callfetchFreePlanVerifiedBankAccount
WorkspacePageWithSections
Details
Fixed Issues
WorkspacePageWithSections
case: https://github.com/Expensify/Expensify/issues/226858Tests
QA Steps
We need to test first with an account with a workspace that no VBBA. And second with an account with workspaces that has a VBBA. So please perform these tests without one setup, then again with one setup.
(You can follow these instructions to setup a VBBA https://stackoverflow.com/c/expensify/questions/342 )
WorkSpaceSettingsPage:
WorkspaceBillsPage:
WorkspaceCardPage:
WorkspaceInvoicesPage:
WorkspaceReimbursePage:
WorkspaceTravelPage
PR Review Checklist
PR Author Checklist
### Fixed Issues
section aboveTests
sectionQA steps
sectiontoggleReport
and notonIconClick
)src/languages/*
filesWaiting for Copy
label for a copy review on the original GH to get the correct copy.STYLE.md
) were followedAvatar
, I verified the components usingAvatar
are working as expected)/** comment above it */
this
properly so there are no scoping issues (i.e. foronClick={this.submit}
the methodthis.submit
should be bound tothis
in the constructor)this
are necessary to be bound (i.e. avoidthis.submit = this.submit.bind(this);
ifthis.submit
is never passed to a component event handler likeonClick
)StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)PR Reviewer Checklist
The reviewer will copy/paste it into a new comment and complete it after the author checklist is completed
### Fixed Issues
section aboveTests
sectionQA steps
sectiontoggleReport
and notonIconClick
).src/languages/*
filesWaiting for Copy
label for a copy review on the original GH to get the correct copy.STYLE.md
) were followedAvatar
, I verified the components usingAvatar
have been tested & I retested again)/** comment above it */
this
properly so there are no scoping issues (i.e. foronClick={this.submit}
the methodthis.submit
should be bound tothis
in the constructor)this
are necessary to be bound (i.e. avoidthis.submit = this.submit.bind(this);
ifthis.submit
is never passed to a component event handler likeonClick
)StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)Screenshots
Web
Mobile Web - Chrome
Mobile Web - Safari
Desktop
iOS
Android