-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
feat: update the workspace connected bank account page for clarity and consistency #48443
feat: update the workspace connected bank account page for clarity and consistency #48443
Conversation
success | ||
innerStyles={[styles.pr2, styles.pl4, styles.h13]} | ||
/> | ||
{!personalBankAccount.plaidAccountID && ( |
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.
Shouldn't this be the other way around? According to #47578 (comment)
I don't think the note needs to be visible if they haven't ever added a personal bank account
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.
yeah, that makes sense. Will update the PR
@BhuvaneshPatil is |
@Ollyws I tried adding personal account but was unsuccessful at it. |
@BhuvaneshPatil, sure. |
Screen.Recording.2024-09-04.at.7.36.39.PM.mov |
Yeah |
^ @Ollyws |
</View> | ||
)} | ||
<View style={styles.mt3}> | ||
<MenuItem |
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.
Just curious, why are we changing this from Button
to MenuItem
?
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.
and also why wrap it in a view?
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.
- As per design we don't want that button to be highlighted, so to be consistent with other option I have used
MenuItem
- I have used view as kind of wrapper/container as we have done for other
MenuItem
and apply margin
Reviewer Checklist
Screenshots/Videos |
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.
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
@francoisl I can see the changes on staging but we didn't get the notification here. |
Yes |
Details
New Design changes
Fixed Issues
$ #47578
PROPOSAL: #47578 (comment)
Tests
Offline tests
Connect bank account for workspace page can't be opened if we are offline
QA Steps
Same as above
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
Screen.Recording.2024-09-03.at.8.18.42.AM.mov
iOS: mWeb Safari
Screen.Recording.2024-09-03.at.8.26.24.AM.mov
MacOS: Chrome / Safari
Screen.Recording.2024-09-03.at.8.17.20.AM.mov
MacOS: Desktop