Fix form default behavior#36401
Conversation
|
@alitoshmatov 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] |
|
Hey! I see that you made changes to our Form component. Make sure to update the docs in FORMS.md accordingly. Cheers! |
|
@cubuspl42 This is the second PR we need to address. |
|
|
Again, would you please add some context in the "Details" section? PRs and issue graphs are being navigated by humans after being merged, for various reasons. |
|
Conflicts ⚔️ |
|
Conflicts, TypeScript Checks, threads |
|
Should I review this? |
|
@alitoshmatov No need |
|
@cubuspl42 Actually, the hook wasn't working properly. So I split the FormElement component for web and native devices instead. |
|
Linter! |
|
First, merge You link #36439 as fixed, but you don't include its testing steps in the "Tests" section. Once you do that, ensure that they pass. I repeated them and they don't pass for me. |
|
Depending on how difficult it is to fix that, we could consider merging this PR and create a follow-up. Also, it's possible that the "Actions performed" in #36439 are not precise or I misunderstood them. Specifically, I'm talking about...
|
|
@cubuspl42 I am not doing submit on RatePage as it is highly customized component, and on mobile devices, there is no Enter button present too. |
|
We're not fixing #36439 as described, as we haven't achieved the expected behavior. You can challenge the expected behavior on the issue. If this isn't a regression from the original PR, you could try using this as a trading card. If this is a regression from the original PR, I would assume a follow-up PR is necessary. |
|
@shubham1206agra Thank you for clarifying! |
|
I just noticed you still need to provide testing videos. Please fix this.
What's the actual expected behavior? Shouldn't the empty waypoint be accepted, taking us back to the Request Money page / Distance tab? Also, if I input a waypoint manually and hit Enter, nothing happens. Wasn't that supposed to work? I'm testing on macOS/Web. |
No since you got the behavior removed in the original PR. |
|
Yeah, I remember now. There were some issues on Android Web, and I made a call to remove that support. |
Reviewer Checklist
Screenshots/VideosAndroid: NativeiOS: Native |
|
@shubham1206agra just passing |
|
No refresh issue is fixed by other files 😄 |
MonilBhavsar
left a comment
There was a problem hiding this comment.
@luacmartins do you want to take one final look and merge
just applied it on |
|
@getusha What do you mean? Can you clarify? |
|
@shubham1206agra seems like
without the changes in this PR |
|
@shubham1206agra Are we good to merge this? I can see that there are some concerns brought up by @getusha |
|
It's good to merge from my side. |
|
✋ 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.46-0 🚀
|
|
🚀 Deployed to production by https://github.com/roryabraham in version: 1.4.46-2 🚀
|




Details
Fixed Issues
$ #36363
$ #36439
$ #31433
Tests
Offline tests
Same as Tests
QA Steps
Same as Tests
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)myBool && <MyComponent />.src/languages/*files and using the translation methodWaiting for Copylabel for a copy review on the original GH to get the correct copy.STYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))Avataris modified, I verified thatAvataris working as expected in all cases)Designlabel so the design team can review the changes.ScrollViewcomponent to make it scrollable when more elements are added to the page.mainbranch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTeststeps.Screenshots/Videos
Android: Native
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
MacOS: Desktop