-
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
Request Physical Card Follow Up #31782
Request Physical Card Follow Up #31782
Conversation
@allroundexperts 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] |
@allroundexperts I'll add the screen recordings soon |
5396fbd
to
b69b20f
Compare
@allroundexperts @grgia |
@allroundexperts @grgia |
@allroundexperts could you prioritize this clean up PR today? |
On it today @grgia |
@pac-guerreiro The following is still happening. Can you please check? Setting network mode to slow 3g might help you to debug this better. Screen.Recording.2023-12-04.at.3.17.00.AM.mov |
Thanks for the tip, I finally understood what was the real problem you were showing me. From my research, the root cause of the problem is setting the mock data using an useEffect because:
Besides, I noticed from your and mine network logs that each time we're entering the wallet page we're fetching the data from the API twice, which only aggravates this weird behaviour |
Hi @pac-guerreiro! Screen.Recording.2023-12-05.at.5.52.49.AM.mov |
That is caused by the mock data getting replaced with the data from the API. You can confirm this by manually inserting the mock data on chrome console, and then the empty page becomes the card page. |
@allroundexperts can we get an update here please? 🙇♂️ |
@pac-guerreiro If both of these issues are caused by setting mock data in the |
@allroundexperts regarding the two original issues, I guess only the first one occurs because of how the mock data is set. The second one regarding the back button behaviour is relevant. CC: @grgia |
@pac-guerreiro @allroundexperts |
From the initial 2 issues that this PR aims to fix, the first one seems to be caused by how the mock data is set and shouldn't be reproducible in production, the second one is fixed. |
@pac-guerreiro what does this PR aim to fix in that case? |
@grgia This PR aims to fix the second issue - |
Reviewer Checklist
Screenshots/VideosAndroid: NativeScreen.Recording.2023-12-19.at.3.19.27.PM.movAndroid: mWeb ChromeScreen.Recording.2023-12-19.at.3.17.45.PM.moviOS: NativeiOS: mWeb SafariScreen.Recording.2023-12-19.at.2.49.14.PM.movMacOS: Chrome / SafariScreen.Recording.2023-12-19.at.2.46.18.PM.movMacOS: DesktopScreen.Recording.2023-12-19.at.2.48.04.PM.mov |
Having issues with my iOS simulator. I've tested this on all platforms except native iOS. I think this change is not related to iOS in particular so I am approving the PR! |
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.
Looks good!
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!
Great work on this follow up @pac-guerreiro ! |
✋ 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.4.15-0 🚀
|
🚀 Deployed to production by https://github.com/jasperhuangg in version: 1.4.15-5 🚀
|
Details
This PR fixes two issues reported by @allroundexperts while he was reviewing the Request Physical Card flow:
Fixed Issues
$ #31557
PROPOSAL:
Tests
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)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
Android: Native
Screen.Recording.2023-11-27.at.20.47.44.mp4
Android: mWeb Chrome
Screen.Recording.2023-11-27.at.19.01.28.mp4
iOS: Native
Screen.Recording.2023-11-27.at.19.24.49.mp4
iOS: mWeb Safari
Screen.Recording.2023-11-27.at.19.29.29.mp4
MacOS: Chrome / Safari
Screen.Recording.2023-11-27.at.16.19.03.mp4
MacOS: Desktop
Screen.Recording.2023-11-27.at.18.43.26.mp4