Fix adding invalid contact method through URL#25814
Fix adding invalid contact method through URL#25814AndrewGable merged 4 commits intoExpensify:mainfrom makiour:makiour@issue24521
Conversation
|
@eVoloshchak 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/VideosWebScreen.Recording.2023-08-28.at.14.45.51.movMobile Web - Chromescreen-20230828-145238.mp4Mobile Web - SafariScreen.Recording.2023-08-28.at.14.55.00.movDesktopScreen.Recording.2023-08-28.at.14.58.33.moviOSScreen.Recording.2023-08-28.at.16.01.41.movAndroidScreen.Recording.2023-08-28.at.14.50.13.mov |
src/pages/settings/Profile/Contacts/ContactMethodDetailsPage.js
Outdated
Show resolved
Hide resolved
src/pages/settings/Profile/Contacts/ContactMethodDetailsPage.js
Outdated
Show resolved
Hide resolved
|
|
cc: @makiour |
|
Thank you for your comments @eVoloshchak! I have also updated the tests description. Concerning IOS, I have added a full test when I pushed the PR using the same command you mentioned. I am facing an issue with Android as I am getting lot of errors trying to run the emulator. I would really appreciate if you can help in the Android testing when doing Reviewer checklist! Please feel free to add any comments! |
|
It seems like @AndrewGable is OOO. Can we take this into account as well! |
|
Conflicts, I will review once they are resolved. |
|
Is there anything I should do from my end? As I finished all implementation within 3 days and was just waiting for review? |
|
I will fix them! These are recent conflicts, I will handle them ASAP. |
|
Can you check now @AndrewGable? Thank you so much! |
|
@AndrewGable looks like this was merged without a test passing. Please add a note explaining why this was done and remove the |
|
Checklist test must have been running, tests were green when I merged. |
|
✋ 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/AndrewGable in version: 1.3.65-0 🚀
|
|
🚀 Deployed to production by https://github.com/mountiny in version: 1.3.65-7 🚀
|
|
🚀 Deployed to staging by https://github.com/AndrewGable in version: 1.3.66-0 🚀
|
|
🚀 Deployed to production by https://github.com/Beamanator in version: 1.3.66-3 🚀
|



Details
Contact method can be set to any invalid string from URL.
Fixed Issues
$ #24521
PROPOSAL: #24521 (comment)
Tests
Change "XXX" With any string, numbers you want
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)/** 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
Web
Screencast.from.24.2023.+01.04.25.38.webm
Mobile Web - Chrome
WhatsApp.Video.2023-08-24.at.04.28.33.mp4
Mobile Web - Safari
WhatsApp.Video.2023-08-24.at.04.28.36.mp4
Desktop
Screencast.from.24.2023.+01.04.33.59.webm
iOS
Screencast.from.24.2023.+01.04.40.49.webm
Android