-
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
Any whitespace should be trimmed from these places to avoid bugs #4155
Comments
Triggered auto assignment to @trjExpensify ( |
Proposal :Inside, the line :- |
This proposal can fix #4156 as well |
@aman-atg I think it'll be a good idea do an audit, and fix it in a combined issue. |
@rushatgabhane Agreed, I'll see where else this issue is occurring and update #4155. |
Updated Proposal :For Search PageLine 131 in 683bcf4
this.state.searchValue.trim(), For Profile PageApp/src/pages/settings/Profile/ProfilePage.js Lines 196 to 197 in 683bcf4
const isButtonDisabled = (this.props.myPersonalDetails.firstName === this.state.firstName.trim())
&& (this.props.myPersonalDetails.lastName === this.state.lastName.trim()) Finally for Emoji Picker
const normalizedSearchTerm = searchTerm.toLowerCase().trim(); |
Triggered auto assignment to @johnmlee101 ( |
I like the idea of an audit and combined issue to clean this up! Assigning to |
Yeah seems like |
Triggered auto assignment to @marklouisdeshaun ( |
Proposal: |
Hi @marklouisdeshaun, I've submitted the proposal on upwork. |
@johnmlee101, @aman-atg, @marklouisdeshaun Whoops! This issue is 2 days overdue. Let's get this updated quick! |
Just merged the PR |
Not overdue |
PR merged |
Contributor has been paid, the contract has been completed, and the Upwork post has been closed. |
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
Action Performed:
Places where extra whitespace is causing trouble :-
Search Page
Profile Page
Emoji Picker
Expected Result:
Actual Result:
Workaround:
Remove whitespace manually
Platform:
Where is this issue occurring?
Web ✔️
iOS ✔️
Android ✔️
Desktop App ✔️
Mobile Web ✔️
Version Number:
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
Expensify/Expensify Issue URL:
View all open jobs on Upwork
The text was updated successfully, but these errors were encountered: