-
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
[$250] Emoji - Inconsistency between Android and mWeb emojis are not highlighted on android during search #42762
Comments
Triggered auto assignment to @lschurr ( |
@lschurr FYI I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors |
We think that this bug might be related to #vip-vsp |
ProposalPlease re-state the problem that we are trying to solve in this issue.There is an inconsistency on how we highlight the first emoji when searching. What is the root cause of that problem?On web, we have a logic to highlight the first emoji when searching, however, this logic doesn't present for native.
The way it works is, if we are searching, we set
we reset it whenever the user uses keyboard to move to other emojis, App/src/components/EmojiPicker/EmojiPickerMenu/index.tsx Lines 78 to 80 in e177a69
or when the user hover over an emoji, App/src/components/EmojiPicker/EmojiPickerMenu/index.tsx Lines 272 to 274 in e177a69
both of these things don't exist in native. What changes do you think we should make in order to solve the problem?We can just copy the logic from web file to native file. We set highlightFirstEmoji when searching and clear it otherwise. We don't need to clear it when hovering or using keyboard key because both things don't exist in native. Or, we can just the highlight condition to
Why? When we are not searching, we are showing a Frequently used header. The header takes the 0 to 7 index, so the first emoji index will be 8. If we are searching, the header is hidden, thus the first emoji index will be 0. Let me know which one we want to do. |
Job added to Upwork: https://www.upwork.com/jobs/~01fb05f9d997d92b6c |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @ishpaul777 ( |
@lschurr, @ishpaul777 Huh... This is 4 days overdue. Who can take care of this? |
Will review today 🙇♂️ |
@bernhardoj's Proposal LGTM!
makes sense to me 👍 🎀 👀 🎀 C+ reviewed |
Triggered auto assignment to @techievivek, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
📣 @ishpaul777 🎉 An offer has been automatically sent to your Upwork account for the Reviewer role 🎉 Thanks for contributing to the Expensify app! |
📣 @bernhardoj 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
@techievivek @ishpaul777 While working on the PR, I'm questioning whether we should do this or not. In web, we can use keyboard to navigate and select the emoji, so it makes sense to highlight the first emoji so the user can press Enter to select it, but on native, we don't support keyboard control, so even if we highlight it, pressing Enter will do nothing. Do we still want to do it? |
hey @bernhardoj I am not 100% sure whats should expected behaviour i lean on @techievivek for a decision here. |
@lschurr, @techievivek, @bernhardoj, @ishpaul777 Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
@techievivek could you take a look here? |
@lschurr @techievivek @bernhardoj @ishpaul777 this issue was created 2 weeks ago. Are we close to approving a proposal? If not, what's blocking us from getting this issue assigned? Don't hesitate to create a thread in #expensify-open-source to align faster in real time. Thanks! |
we are awaiting input from @techievivek |
Yeah, I don't know why it needs to be highlighted. It makes sense for web but not for mobile. Let's confirm with design team on this behaviour. Thanks., |
Triggered auto assignment to @dannymcclain ( |
Hi, @dannymcclain. Can you check the GH and confirm if we really need to fix the behavior here? i.e., we currently highlight search results on the web but not on mobile. Do we need to highlight the search results on phone as well? |
I think we highlight the emoji on desktop because you can use your keyboard ( |
Great, thanks for confirming. We were on same boat so closing this out. |
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
Version Number: 1.4.77-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: N/A
Email or phone of affected tester (no customers): PR passed?
Issue reported by: Applause - Internal Team
Issue found when executing PR #42407
Action Performed:
Expected Result:
Emoji should be highlighted on Android
Actual Result:
Inconsistency between Android and mWeb emojis are not highlighted on android during search
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6495091_1716986811031.WhatsApp_Video_2024-05-29_at_17.38.39.mp4
Bug6495091_1716986811024.WhatsApp_Video_2024-05-29_at_17.38.23.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: