Fix: Using trim() for better UX#4190
Conversation
|
CLA Assistant Lite bot All contributors have signed the CLA ✍️ ✅ |
|
I have read the CLA Document and I hereby sign the CLA |
|
✋ 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 in version: 1.0.80-3🚀
|
Desktop - Profile - Save button always enabled and able to save with space in nameExpected Result:Save button will not be activated Actual Result:Save button always enabled and able to save name with spaces Actions Performed:
Platform:iOS Build:1.0.81-0 Notes/Images/Video:Bug5171703_Recording__995.mp4 |
|
@isagoico Still trying to figure out if there's any other reason. New Changes
App/src/pages/settings/Profile/ProfilePage.js Lines 175 to 176 in f99dea6
firstName: firstName.trim(),
lastName: lastName.trim(),@johnmlee101 Please review the proposed changes |
|
@isagoico Thanks for testing.
I think changing the text should |
|
So, let me see if I get this. The user is allowed to save the name that contains whitespace if the user changes the text? We thought it was a bug. |
Yes, you're right it's a bug and the new proposed changes will hopefully fix it. Earlier, it was thought that only disabling the Save Button will fix it. |
|
Oh thanks a lot for the clarification 🙇♀️ we'll wait for the fixes so we can retest this then |
|
@aman-atg are you working on a fix for this? |
@johnmlee101 |
|
I think that makes sense! Can you spin up a PR and link both the original issue and this PR to it? |
|
🚀 Deployed to production in version: 1.0.81-4🚀
|




Details
Comment
Fixed Issues
#4155 and #4156
Tests || QA Steps
Search Page
Profile
Emoji picker Menu
Tested On
Screenshots
Web
Search
Profile
Emoji Picker
Mobile Web
Profile
Search
Desktop
iOS
Android
Profile
Search