You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Any whitespace should be trimmed from these places to avoid bugs #4155
Inside, src/pages/home/report/EmojiPickerMenu/index.js on line 277
the line :- const normalizedSearchTerm = searchTerm.toLowerCase();can be changed to const normalizedSearchTerm = searchTerm.toLowerCase().trim();
which will take care of all the whitespaces.
changed the title [-]Any whitespace should be removed while searching for emojies [/-][+]Any whitespace should be trimmed from these places to avoid bugs[/+]on Jul 21, 2021
Activity
MelvinBot commentedon Jul 20, 2021
Triggered auto assignment to @trjExpensify (
AutoAssignerTriage), see https://stackoverflow.com/c/expensify/questions/4749 for more details.aman-atg commentedon Jul 20, 2021
Proposal :
Inside,
src/pages/home/report/EmojiPickerMenu/index.json line 277the line :-
const normalizedSearchTerm = searchTerm.toLowerCase();can be changed toconst normalizedSearchTerm = searchTerm.toLowerCase().trim();which will take care of all the whitespaces.
aman-atg commentedon Jul 20, 2021
This proposal can fix #4156 as well
rushatgabhane commentedon Jul 21, 2021
@aman-atg I think it'll be a good idea do an audit, and fix it in a combined issue.
aman-atg commentedon Jul 21, 2021
@rushatgabhane Agreed, I'll see where else this issue is occurring and update #4155.
[-]Any whitespace should be removed while searching for emojies [/-][+]Any whitespace should be trimmed from these places to avoid bugs[/+]aman-atg commentedon Jul 21, 2021
Updated Proposal :
For Search Page
App/src/pages/SearchPage.js
Line 131 in 683bcf4
For Profile Page
App/src/pages/settings/Profile/ProfilePage.js
Lines 196 to 197 in 683bcf4
isButtonDisabledremainsfalsewhen only whitespaces are added to either nameFinally for Emoji Picker
App/src/pages/home/report/EmojiPickerMenu/index.js
Line 277 in 683bcf4
MelvinBot commentedon Jul 22, 2021
Triggered auto assignment to @johnmlee101 (
Engineering), see https://stackoverflow.com/c/expensify/questions/4319 for more details.trjExpensify commentedon Jul 22, 2021
I like the idea of an audit and combined issue to clean this up! Assigning to
Engineeringfor review. 👍9 remaining items
aman-atg commentedon Jul 22, 2021
Hi @marklouisdeshaun, I've submitted the proposal on upwork.
MelvinBot commentedon Jul 26, 2021
@johnmlee101, @aman-atg, @marklouisdeshaun Whoops! This issue is 2 days overdue. Let's get this updated quick!
johnmlee101 commentedon Jul 26, 2021
Just merged the PR
marklouisdeshaun commentedon Jul 30, 2021
Not overdue
marklouisdeshaun commentedon Aug 6, 2021
PR merged
marklouisdeshaun commentedon Aug 6, 2021
Contributor has been paid, the contract has been completed, and the Upwork post has been closed.