-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Fix adding invalid contact method through URL #25814
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! |
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
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 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
properly so there are no scoping issues (i.e. foronClick={this.submit}
the methodthis.submit
should be bound tothis
in the constructor)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
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