-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
[HOLD for payment 2022-06-02] [$500] If you search a non existing emoji and press enter, then after deleting the search term it won't fetch emojis again - reported by @Tushu17 #8287
Comments
Triggered auto assignment to @flaviadefaria ( |
Proposal: App/src/components/EmojiPicker/EmojiPickerMenu/index.js Lines 152 to 159 in 6e9d429
if (this.searchInput && !this.searchInput.isFocused()) {
this.setState({selectTextOnFocus: false});
this.searchInput.value = '';
this.searchInput.focus();
+ this.filterEmojis(this.searchInput.value);
// Re-enable selection on the searchInput
this.setState({selectTextOnFocus: true});
}
|
Triggered auto assignment to @Luke9389 ( |
Triggered auto assignment to @jliexpensify ( |
Posted - I changed the title to fit in with Upwork's character limit, but kept the original title in this GH. Internal - https://www.upwork.com/ab/applicants/1508261111247921152/job-details |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @Santhosh-Sellavel ( |
Current assignee @Luke9389 is eligible for the Exported assigner, not assigning anyone new. |
ProposalNeed to remove this line
it will also solve one more problem. As of now when we press enter and type something the previous search term get's cleared instead it should stay and user should be able to modify it. Before :- Before.mp4Problem: if the user mistyped and presses enter then the user will just correct the typo but the search term is getting cleared so the user has to type the whole search term again which is not a good ux. After removing the line 154:- After.mp4 |
@Puneet-here |
we can pass App/src/components/EmojiPicker/EmojiPickerMenu/index.js Lines 435 to 439 in 9a8291b
|
Will review this ASAP (today or by tomorrow). |
20220518_092019.mp4
|
Got it, OK. Thanks |
I think I actually like @Puneet-here's idea to just take that line out. |
Hey what is the status of this issue? |
Especially when searching emojis we're gonna type 2- 5 characters not more than 10 - 15 characters. Moreover, we are not clear on everything on each backspace, only after the user press enter and backspace. Considering we are not searching for anything important like a contact etc. Clearing doesn’t sound strange at all to me. |
I don't think we should clear the search term even if the search term isn't 10-15 character long. Why we wanna clear it when we should be keeping the search term there as the inputs are expected to work like that? I don't think these are fair points for why we should clear the search term. We can solve this issue and improve something then why should we go with a workaround to solve only the issue? |
I had started a slack 🧵 regarding the confusion here about clearing or keeping the invalid search input and modifying it. So Let's go with @Puneet-here proposal here! Thanks! |
Ok, go ahead and start your PR @Puneet-here 👍 |
I have raised the PR. Thanks. |
Hi @JmillsExpensify, the previous job has expired can you please open a new one. |
@Puneet-here I am not seeing any PR mentioned this issue |
Hmm strange, didn't notice that the PR didn't get mentioned here. Here's the PR |
Yeah, that's weird. 🤔 |
I think this is happening with all the recent PRs |
Here you go! https://www.upwork.com/jobs/~019a6d1271f2483032 cc @Santhosh-Sellavel |
Thank you @JmillsExpensify, I have applied to the job. |
@Puneet-here @Santhosh-Sellavel offers sent. @Tushu17 Can you apply as well for reporting? Thank you! |
@JmillsExpensify Applied, Thanks. |
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.1.67-0 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue: If no regressions arise, payment will be issued on 2022-06-02. 🎊 |
Almost through the regression hold. Will circle back here in a couple of days for payment. |
Lol, We didn’t assign this to @Puneet-here. |
Thanks! Payments issued via Upwork to all contributors. Have a great weekend. |
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Action Performed:
Expected Result:
It should show emojis after clearing the search term.
Actual Result:
It shows 'No result found'
Workaround:
unknown
Platform:
Where is this issue occurring?
Version Number: 1.1.44-4
Reproducible in staging?: Y
Reproducible in production?: Y
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
Sec-Rec01.1.1.mp4
Expensify/Expensify Issue URL:
Issue reported by: @Tushu17
Slack conversation: https://expensify.slack.com/archives/C01GTK53T8Q/p1647102086741009
View all open jobs on GitHub
The text was updated successfully, but these errors were encountered: