[CP Stag] Fix: crash on click of Error message CTA#30536
[CP Stag] Fix: crash on click of Error message CTA#30536luacmartins merged 10 commits intoExpensify:mainfrom
Conversation
|
Hey! I see that you made changes to our Form component. Make sure to update the docs in FORMS.md accordingly. Cheers! |
|
@abdulrahuman5196 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] |
|
@luacmartins all yours! |
|
Testing now |
|
@ishpaul777 I still see this error in some other places, e.g. |
|
NVM wrong branch 🤦 |
Reviewer Checklist
Screenshots/VideosAndroid: NativeAndroid: mWeb Chromechrome.moviOS: Nativeios.moviOS: mWeb Safarisafari.movMacOS: Chrome / Safariweb.movMacOS: Desktopdesktop.mov |
|
LGTM and tests well. Thanks for the quick fix! |
[CP Stag] Fix: crash on click of Error message CTA (cherry picked from commit 533a373)
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
|
🚀 Cherry-picked to staging by https://github.com/marcaaron in version: 1.3.92-4 🚀
@Expensify/applauseleads please QA this PR and check it off on the deploy checklist if it passes. |
|
🚀 Deployed to production by https://github.com/Beamanator in version: 1.3.92-4 🚀
|
|
🚀 Deployed to staging by https://github.com/luacmartins in version: 1.3.94-0 🚀
|
1 similar comment
|
🚀 Deployed to staging by https://github.com/luacmartins in version: 1.3.94-0 🚀
|
|
🚀 Deployed to production by https://github.com/Beamanator in version: 1.3.94-2 🚀
|

Details
This PR fixed the crash on click of Error message CTA #30510
Fixed Issues
$ #30510
PROPOSAL: #30510 (comment)
Tests
1 Navigate to Profile -> Personal Details -> Legal Name page
2 Focus on any input and then unfocus it.
3 click on error message "fix the error" link appears above green button. Verify first Input with error gets focussed
4. Naviagte to Contact Methods -> New Contact Method
5. Repeat step 2 and 3
Offline tests
QA Steps
1 Navigate to Profile -> Personal Details -> Legal Name page
2 Focus on any input and then unfocus it.
3 click on error message "fix the error" link appears above green button. Verify first Input with error gets focussed
4. Naviagte to Contact Methods -> New Contact Method
5. Repeat step 2 and 3
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)/** comment above it */thisproperly so there are no scoping issues (i.e. foronClick={this.submit}the methodthis.submitshould be bound tothisin the constructor)thisare necessary to be bound (i.e. avoidthis.submit = this.submit.bind(this);ifthis.submitis never passed to a component event handler likeonClick)StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG))Avataris modified, I verified thatAvataris working as expected in all cases)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
Screen.Recording.2023-10-28.at.1.18.28.AM.mov
Android: mWeb Chrome
Record_2023-10-28-01-26-37.mp4
iOS: Native
Simulator.Screen.Recording.-.iPhone.15.Pro.-.2023-10-28.at.00.42.02.mp4
iOS: mWeb Safari
RPReplay_Final1698434302.MP4
MacOS: Chrome / Safari
Screen.Recording.2023-10-28.at.12.38.16.AM.mov
MacOS: Desktop
Screen.Recording.2023-10-28.at.1.13.40.AM.mov