-
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
[HOLD for payment 2023-11-06] [$500] No background color displayed on emoji on search #30012
Comments
Triggered auto assignment to @dylanexpensify ( |
Job added to Upwork: https://www.upwork.com/jobs/~0136219e9671ca8f96 |
Bug0 Triage Checklist (Main S/O)
|
Triggered auto assignment to Contributor-plus team member for initial proposal review - @ntdiary ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.When searching in What is the root cause of that problem?We're showing focused emoji only when
But when the search input gets focused, this value is set to false What changes do you think we should make in order to solve the problem?We need to set
This works as expected Result30012.mp4What alternative solutions did you explore? (Optional) |
ProposalPlease re-state the problem that we are trying to solve in this issue.When searching for emojis, the first result is selected, but we don't see it. What is the root cause of that problem?This happens because we select the first emoji by default here: But The selected emoji will only show highlight when What changes do you think we should make in order to solve the problem?Since the user is using the keyboard (typing) and we are also highlighting the first emoji. To show the highlight, we should add setIsUsingKeyboard(true); here. What alternative solutions did you explore? (Optional)Showing blue borders when using the keyboards seems to mirror the accessibility navigation. There are now two ways to highlight emojis: Screencast.from.20-10-23.01.09.37.AM.IST.webmWe should stick to one type of highlight (changing the background). It looked cleaner. |
ProposalPlease re-state the problem that we are trying to solve in this issue.When we search on the emoji picker menu, pressing enter will select the first emoji, but there is no highlight on the emoji itself to indicate that it is going to be selected. What is the root cause of that problem?When we search, it will set the highlighted index to be 0.
However, the emoji item will be highlighted (blue outline) only if But the first emoji item is still selected because we set an ENTER key listener here. App/src/components/EmojiPicker/EmojiPickerMenu/index.js Lines 303 to 311 in 69cf29e
What changes do you think we should make in order to solve the problem?I think it's better to set the highlighted index to -1 instead of 0 when we search. Then, we can also safely remove the ENTER key listener because navigating through the emojis with the keyboard will |
@ntdiary, @dylanexpensify Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
under review. |
At the moment there is no very satisfactory proposal, I have also left a question here to get some inputs. |
I think we should handle it as a regression from this issue #29004, we did not notice this behaviour changed and we want to keep it |
@dylanexpensify can you pay @dhanashree-sawant for reporting this and we will hande a fix in the linked issue |
Yes! @dhanashree-sawant please apply https://www.upwork.com/jobs/~01bf495fd961ad294a |
Hi @dylanexpensify, if possible, can you send me invite or offer for the job? |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.3.92-4 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 2023-11-06. 🎊 After the hold period is over and BZ checklist items are completed, please complete any of the applicable payments for this issue, and check them off once done.
For reference, here are some details about the assignees on this issue:
|
BugZero Checklist: The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:
|
Payment coming up! |
@dhanashree-sawant invited! |
Thanks @dylanexpensify I have accepted the invite. |
invite sent! |
@ntdiary, @dylanexpensify Whoops! This issue is 2 days overdue. Let's get this updated quick! |
1 similar comment
@ntdiary, @dylanexpensify Whoops! This issue is 2 days overdue. Let's get this updated quick! |
done! |
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Version Number: 1.3.87.0
Reproducible in staging?: y
Reproducible in production?: y
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: @dhanashree-sawant
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1697723567806059
Action Performed:
Expected Result:
App should display background color to first emoji on search as we select first emoji on enter click after search
Actual Result:
App does not display background color to first emoji on search
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Android: Native
Android.native.no.bg.emoji.mp4
Android: mWeb Chrome
Android.chrome.no.bg.emoji.mp4
iOS: Native
ios.native.no.bg.emoji.mov
iOS: mWeb Safari
ios.safari.no.bg.emoji.mov
MacOS: Chrome / Safari
mac.chrome.no.bg.emoji.mov
Recording.5085.mp4
MacOS: Desktop
mac.desktop.no.bg.emoji.mov
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: