Skip to content
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-12-14] [$500] Web - Emojis - Flags category is missing on Emoji picker screen #31717

Closed
1 of 6 tasks
kbecciv opened this issue Nov 22, 2023 · 22 comments
Closed
1 of 6 tasks
Assignees
Labels
Bug Something is broken. Auto assigns a BugZero manager. External Added to denote the issue can be worked on by a contributor Reviewing Has a PR in review Weekly KSv2

Comments

@kbecciv
Copy link

kbecciv commented Nov 22, 2023

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.4.2.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: Applause - Internal Team
Slack conversation:

Action Performed:

  1. Go to stsaging.new.expensify.com
  2. Navigate to any conversation
  3. Open emoji picker and check emoji categories

Expected Result:

Flags category should be ordered in the list of emoji categories

Actual Result:

Flags category is missing on Emoji picker screen

Workaround:

Unknown

Platforms:

Which of our officially supported platforms is this issue occurring on?

  • Android: Native
  • Android: mWeb Chrome
  • iOS: Native
  • iOS: mWeb Safari
  • MacOS: Chrome / Safari
  • MacOS: Desktop

Screenshots/Videos

Add any screenshot/video evidence

image (26)

View all open jobs on GitHub

@kbecciv kbecciv added External Added to denote the issue can be worked on by a contributor Daily KSv2 Bug Something is broken. Auto assigns a BugZero manager. labels Nov 22, 2023
@melvin-bot melvin-bot bot changed the title Web - Emojis - Flags category is missing on Emoji picker screen [$500] Web - Emojis - Flags category is missing on Emoji picker screen Nov 22, 2023
Copy link

melvin-bot bot commented Nov 22, 2023

Triggered auto assignment to @puneetlath (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details.

Copy link

melvin-bot bot commented Nov 22, 2023

Job added to Upwork: https://www.upwork.com/jobs/~012c3f161bd9db1ab3

@melvin-bot melvin-bot bot added the Help Wanted Apply this label when an issue is open to proposals by contributors label Nov 22, 2023
Copy link

melvin-bot bot commented Nov 22, 2023

Bug0 Triage Checklist (Main S/O)

  • This "bug" occurs on a supported platform (ensure Platforms in OP are ✅)
  • This bug is not a duplicate report (check E/App issues and #expensify-bugs)
    • If it is, comment with a link to the original report, close the issue and add any novel details to the original issue instead
  • This bug is reproducible using the reproduction steps in the OP. S/O
    • If the reproduction steps are clear and you're unable to reproduce the bug, check with the reporter and QA first, then close the issue.
    • If the reproduction steps aren't clear and you determine the correct steps, please update the OP.
  • This issue is filled out as thoroughly and clearly as possible
    • Pay special attention to the title, results, platforms where the bug occurs, and if the bug happens on staging/production.
  • I have reviewed and subscribed to the linked Slack conversation to ensure Slack/Github stay in sync

Copy link

melvin-bot bot commented Nov 22, 2023

Triggered auto assignment to Contributor-plus team member for initial proposal review - @c3024 (External)

@s-alves10
Copy link
Contributor

Proposal

Please re-state the problem that we are trying to solve in this issue.

Flags category is missing in EmojiPicker on Windows web

What is the root cause of that problem?

We intentionally disabled the flags category in this PR since Windows doesn't support them.

What changes do you think we should make in order to solve the problem?

Now that we have new emoji fonts for Windows, flags are shown as below
image

If this is acceptable, we can update the code

const filteredEmojis =
getOperatingSystem() === CONST.OS.WINDOWS
? EmojiUtils.mergeEmojisWithFrequentlyUsedEmojis(emojiAssets.slice(0, flagHeaderIndex))
: EmojiUtils.mergeEmojisWithFrequentlyUsedEmojis(emojiAssets);

to

        const filteredEmojis = EmojiUtils.mergeEmojisWithFrequentlyUsedEmojis(emojiAssets);

What alternative solutions did you explore? (Optional)

@aimane-chnaif
Copy link
Contributor

This is not worth fixing. Flags are also different.

@s-alves10
Copy link
Contributor

@aimane-chnaif

When a iphone user sends a flags emoji to a Windows user, the Windows user is still able to see the flags emoji(as in the screenshot in my proposal).

A user can receive flags emoji, but can't send flags emoji. I think this is worth fixing

cc @c3024 @puneetlath

@puneetlath
Copy link
Contributor

Now that we have new emoji fonts for Windows

What do you mean by this @s-alves10?

@s-alves10
Copy link
Contributor

s-alves10 commented Nov 25, 2023

I mean we recently introduced a new emoji fonts for Windows
https://github.com/Expensify/App/blob/main/assets/fonts/web/seguiemj.ttf

I guess that the the flags category was disabled since the Windows fonts doesn't support them

@melvin-bot melvin-bot bot added the Overdue label Nov 28, 2023
Copy link

melvin-bot bot commented Nov 29, 2023

@puneetlath, @c3024 Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!

@c3024
Copy link
Contributor

c3024 commented Nov 30, 2023

A user can receive flags emoji, but can't send flags emoji. I think this is worth fixing

I think this makes sense.

I think users likely search for flags with country name so even though it just shows letters for most flags on Windows, it kinda serves the purpose. The user on the other side can see the sent flag emojis.

New_Expensify_-_Google_Chrome_2023-11-30_20-46-05-2023-11-30.15_18_11.245.mp4
Screenshot 2023-11-30 at 8 48 09 PM

So, I think this is worth fixing. Shall we proceed with fixing this issue? @puneetlath

@melvin-bot melvin-bot bot removed the Overdue label Nov 30, 2023
@aimane-chnaif
Copy link
Contributor

It's a bit confusing for users since it looks like bolded text in header.
Maybe @Expensify/design can confirm if it should be fixed or not worth

@c3024
Copy link
Contributor

c3024 commented Nov 30, 2023

I think the confusion majorly arises when a non-Windows user sends a flag emoji to a Windows user. The Windows user sees letters and it could be misunderstood as a text message.

But this behaviour already exists. Non-windows users can send flag emojis to Windows users now.

If we allow sending flag emojis from Windows devices, the Windows user selects a flag emoji and sends it. So, showing the letters in place of flag emoji for the Windows user sending the flag emoji then will not be confusing.

@shawnborton
Copy link
Contributor

Sorry, what exactly is the bug? Is it the emoji picker missing a section for flags, or the fact that flags don't render as flags on Windows?

@c3024
Copy link
Contributor

c3024 commented Nov 30, 2023

Emoji picker missing the section for flags.

@shawnborton
Copy link
Contributor

Got it. I don't feel too strongly, we already have a flag icon in our library as I thought we already had this section in place. So if we do decide to add it, we at least already have the icon for that section. Might need to make the picker wider on desktop though to account for the extra tab item.

Curious if @puneetlath thinks this is worth fixing or not though.

@puneetlath
Copy link
Contributor

I think I'm cool re-adding support for it. It removes some platform specific code and just makes things more consistent, so I say we go for it.

@melvin-bot melvin-bot bot removed the Help Wanted Apply this label when an issue is open to proposals by contributors label Dec 1, 2023
@melvin-bot melvin-bot bot added the Reviewing Has a PR in review label Dec 2, 2023
@melvin-bot melvin-bot bot added Weekly KSv2 and removed Daily KSv2 labels Dec 2, 2023
@s-alves10
Copy link
Contributor

@c3024

PR is ready for review #32396

@s-alves10
Copy link
Contributor

Pay day here would be 14 Dec. @puneetlath

@puneetlath
Copy link
Contributor

Ah thanks. Not sure why the automation didn't work.

@s-alves10 @c3024 sent you both offers.

@puneetlath puneetlath changed the title [$500] Web - Emojis - Flags category is missing on Emoji picker screen [HOLD for payment 2023-12-14] [$500] Web - Emojis - Flags category is missing on Emoji picker screen Dec 13, 2023
@s-alves10
Copy link
Contributor

@puneetlath Accepted. Thanks

@puneetlath
Copy link
Contributor

All paid.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something is broken. Auto assigns a BugZero manager. External Added to denote the issue can be worked on by a contributor Reviewing Has a PR in review Weekly KSv2
Projects
None yet
Development

No branches or pull requests

6 participants