-
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
[Step 3] Remove CARD_LIST key from NewDot #24637
Conversation
@mananjadhav 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] |
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 change looks good. I will check if there's any other place where've left out this change.
@hayata-suenaga 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] |
Reviewer Checklist
Screenshots/Videos |
I am kind of stuck on Android build, as it's taking ages to complete. I'll upload the screenshot as soon as it is ready. |
@grgia This is complete from my end. 🎀 👀 🎀 C+ reviewed. |
selectedMethodID, | ||
translate, | ||
} = props; | ||
const {actionPaymentMethodType, activePaymentMethodID, bankAccountList, fundList, filterType, network, onPress, payPalMeData, shouldShowSelectedState, selectedMethodID, translate} = |
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.
non blocker: I can't remember if we formally added it, but we have a new style guide to de-structure props inside the function input.
unction PaymentMethodList({actionPaymentMethodType, activePaymentMethodID, ...})
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.
Good to know moving forward! Will merge this for now
✋ 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/grgia in version: 1.3.56-0 🚀
|
Gonna check this one off I'm able to see my debit card in NewDot so the migration to |
🚀 Deployed to production by https://github.com/roryabraham in version: 1.3.56-24 🚀
|
Details
Now that Web is sending user card info to fundList, we can remove the cardList key entirely from App.
App PR that added dual support for
cardList
andfundList
- #23242Web PR to send data to fundList- https://github.com/Expensify/Web-Expensify/pull/38226
Fixed Issues
$ #23559
Tests
ONYXKEYS.CARD_LIST
WEB:
For each of the following cases:
Test cardList card
ending in4242
appearsCase 1: user has fundList data
Case 2: user has fundList data with errors set
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 methodWaiting 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)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
Web
Cleared cache, logged in and out. Note ONLY fundList key:Mobile Web - Chrome
Mobile Web - Safari
Desktop
iOS
Android
Emulator not working :(