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

[$500] Web - Chat - "Fire" is missing from the suggested emojis #35199

Closed
1 of 6 tasks
kbecciv opened this issue Jan 25, 2024 · 12 comments
Closed
1 of 6 tasks

[$500] Web - Chat - "Fire" is missing from the suggested emojis #35199

kbecciv opened this issue Jan 25, 2024 · 12 comments
Assignees
Labels
Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2 External Added to denote the issue can be worked on by a contributor Help Wanted Apply this label when an issue is open to proposals by contributors

Comments

@kbecciv
Copy link

kbecciv commented Jan 25, 2024

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.31.1
Reproducible in staging?: y
Reproducible in production?: y
If this was caught during regression testing, add the test name, ID and link from TestRail: https://expensify.testrail.io/index.php?/tests/view/4237630&group_by=cases:section_id&group_id=292106&group_order=asc
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. Send any text in a chat
  2. Hover over the text

Expected Result:

"Fire" emoji should be visible.

Actual Result:

"Fire" is missing from the suggested emojis. It's still available if you right click a message.

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

Bug6355175_1706219360659.bandicam_2024-01-25_20-38-18-598.mp4

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~01bb30dd161d0ef71b
  • Upwork Job ID: 1750641036398268416
  • Last Price Increase: 2024-01-25
@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 Jan 25, 2024
Copy link

melvin-bot bot commented Jan 25, 2024

Job added to Upwork: https://www.upwork.com/jobs/~01bb30dd161d0ef71b

@melvin-bot melvin-bot bot changed the title Web - Chat - "Fire" is missing from the suggested emojis [$500] Web - Chat - "Fire" is missing from the suggested emojis Jan 25, 2024
@melvin-bot melvin-bot bot added the Help Wanted Apply this label when an issue is open to proposals by contributors label Jan 25, 2024
Copy link

melvin-bot bot commented Jan 25, 2024

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

Copy link

melvin-bot bot commented Jan 25, 2024

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

@kbecciv
Copy link
Author

kbecciv commented Jan 25, 2024

We think that this bug might be related to #vip-vsb
CC @quinthar

@Nodebrute
Copy link
Contributor

Nodebrute commented Jan 25, 2024

Proposal

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

The fire emoji is missing in mini context menu

What is the root cause of that problem?

We are slicing the fire emoji here

{CONST.QUICK_REACTIONS.slice(0, 3).map((emoji: Emoji) => (

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

Change 3 to 4 to add fire emoji

{CONST.QUICK_REACTIONS.slice(0, 3).map((emoji: Emoji) => (

CONST.QUICK_REACTIONS.slice(0, 4)

What alternative solutions did you explore? (Optional)

If we don't want to add fire emoji then we can remove it from another menu too for consistency

@ZhenjaHorbach
Copy link
Contributor

ZhenjaHorbach commented Jan 25, 2024

Proposal

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

Web - Chat - "Fire" is missing from the suggested emojis

What is the root cause of that problem?

Actually, judging by this ticket, it looks as expected
#34031
Here we have updated the styles and we have only 3 emojis on the designs
So after this ticket we have a mismatch between 2 places

But decision about this ticket depends on the design team

We have 2 places where we use QUICK_REACTIONS

{CONST.QUICK_REACTIONS.slice(0, 3).map((emoji: Emoji) => (

Screenshot 2024-01-26 at 00 30 48

{CONST.QUICK_REACTIONS.map((emoji: Emoji) => (

Screenshot 2024-01-26 at 00 31 33

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

So to fix this issue we have 2 ways

1. Return 4 emojis

For this we need delete slice like in second place

{CONST.QUICK_REACTIONS.slice(0, 3).map((emoji: Emoji) => (

As a result code will look like :

{CONST.QUICK_REACTIONS.map((emoji: Emoji) => (

2. Make 3 emojis in all places

For this we need delete slice like in second place

{CONST.QUICK_REACTIONS.slice(0, 3).map((emoji: Emoji) => (

And delete fourth emoji from QUICK_REACTIONS

App/src/CONST.ts

Lines 1666 to 1669 in ac94dc5

{
name: 'fire',
code: '🔥',
},

What alternative solutions did you explore? (Optional)

NA

@laurenreidexpensify
Copy link
Contributor

cc @Expensify/design

@shawnborton
Copy link
Contributor

Hmm yeah, cc @dubielzyk-expensify @JmillsExpensify in case this was related to some of the mini menu improvements that were made recently. Was it intentional to remove the fire emoji?

@mananjadhav
Copy link
Collaborator

And also what would be the expected behavior? Do we want to maintain consistency? or do nothing?

@dannymcclain
Copy link
Contributor

Hmm yeah, cc @dubielzyk-expensify @JmillsExpensify in case this was related to some of the mini menu improvements that were made recently. Was it intentional to remove the fire emoji?

I don't think this is a bug. I think this is an intended update as part of the comment action menu updates we recently rolled out. Here's a mock from the Figma file/design doc:

image

@dubielzyk-expensify
Copy link
Contributor

Like Danny said, yep it's part of us reducing the amount of cognetive load and therefor less items. One had to go sadly. I think at a later stage we'll allow to chose your favorite 3 like Slack does or just put the most commonly used

@melvin-bot melvin-bot bot added the Overdue label Jan 28, 2024
@mananjadhav
Copy link
Collaborator

@laurenreidexpensify Based on the comments above, best we close this one out?

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. Daily KSv2 External Added to denote the issue can be worked on by a contributor Help Wanted Apply this label when an issue is open to proposals by contributors
Projects
None yet
Development

No branches or pull requests

8 participants