-
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
[Form Provider Refactor] BaseGetPhysicalCard #33360
[Form Provider Refactor] BaseGetPhysicalCard #33360
Conversation
Hey! I see that you made changes to our Form component. Make sure to update the docs in FORMS.md accordingly. Cheers! |
@rushatgabhane 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] |
Cc. @luacmartins. I think it's the last Form.js usage in our codebase. As soon as we will merge this PR, we will be able to delete the mentioned file. |
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!
Hello @rushatgabhane will you have some time to review this PR today? |
Reviewer Checklist
Screenshots/VideosAndroid: mWeb Chrome |
I kept the logic from the original component
We can consider adding logic that prevents saving the draft when the field has an error. @luacmartins WDYT?
I have no idea, maybe @luacmartins can say something more. But anyway, I would like to merge the current PR, so we will be able to remove the old Form component, and then we can address non-blocking issues. |
Bump @luacmartins |
Sorry, I was ooo until today.
I don't think this is necessary. It's up to the user to fix this when they are navigated to the page again.
It seems like we have extra horizontal padding on the inputs. I'm ok with merging this PR to unblock removing the old Form component before we introduce another usage, but can we please create a follow up PR to fix the padding? |
✋ 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/luacmartins in version: 1.4.23-0 🚀
|
@rushatgabhane @luacmartins Can we skip the step 7 and 8? |
@kavimuru yes, you can skip steps 7 and 8. Thanks for checking! |
🚀 Deployed to production by https://github.com/thienlnam in version: 1.4.23-4 🚀
|
Details
Fixed Issues
$ #33356
Tests
On Web, add this mock data in browser console:
On remaining platforms, add this useEffect on WalletPage.js:
Offline tests
Same as above
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 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
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
Android: Native
android.native_H.265.mp4
Android: mWeb Chrome
android.web_H.265.mp4
iOS: Native
ios.native_H.265.mp4
iOS: mWeb Safari
ios.web_H.265.mp4
MacOS: Chrome / Safari
MacOS: Desktop
desktop_H.265.mp4