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-03-23] [$1000] Emoji reaction is not highlighted when holding it down #15813

Closed
4 of 6 tasks
kavimuru opened this issue Mar 10, 2023 · 37 comments
Closed
4 of 6 tasks
Assignees
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2 External Added to denote the issue can be worked on by a contributor

Comments

@kavimuru
Copy link

kavimuru commented Mar 10, 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!


Action Performed:

  1. Open any chat
  2. Open report context menu by long press any message
  3. Hold down any emoji reaction (except the "add reaction")
  4. Notice there is no highlight applied to it

Expected Result:

Emoji is highlighted when holding it down

Actual Result:

There is no highlight feedback when holding down the emoji reaction

Workaround:

unknown

Platforms:

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

  • Android / native
  • Android / Chrome
  • iOS / native
  • iOS / Safari
  • MacOS / Chrome / Safari
  • MacOS / Desktop

Version Number: 1.2.81-1
Reproducible in staging?: y
Reproducible in production?: new feature
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
Notes/Photos/Videos:

331849.t.mp4
az_recorder_20230309_211853.1.mp4

Expensify/Expensify Issue URL:
Issue reported by: @bernhardoj
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1678364806835089

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~017db27f3eed1ec8c0
  • Upwork Job ID: 1634195327303356416
  • Last Price Increase: 2023-03-10
@kavimuru kavimuru added Daily KSv2 Bug Something is broken. Auto assigns a BugZero manager. labels Mar 10, 2023
@melvin-bot melvin-bot bot locked and limited conversation to collaborators Mar 10, 2023
@MelvinBot
Copy link

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

@MelvinBot
Copy link

MelvinBot commented Mar 10, 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

@zanyrenney
Copy link
Contributor

@stitesExpensify is this perhaps one of the polish issues? I don't know if this is a bug yet, seems like polish.

@stitesExpensify
Copy link
Contributor

I would say that this is a bug! I don't know that the issue is really when "holding it down" specifically, but more that there is no highlight state in general when clicking/tapping the quick emojis

@zanyrenney
Copy link
Contributor

Thanks @stitesExpensify

@zanyrenney zanyrenney added the External Added to denote the issue can be worked on by a contributor label Mar 10, 2023
@melvin-bot melvin-bot bot unlocked this conversation Mar 10, 2023
@melvin-bot melvin-bot bot changed the title Emoji reaction is not highlighted when holding it down [$1000] Emoji reaction is not highlighted when holding it down Mar 10, 2023
@MelvinBot
Copy link

Job added to Upwork: https://www.upwork.com/jobs/~017db27f3eed1ec8c0

@MelvinBot
Copy link

Current assignee @zanyrenney is eligible for the External assigner, not assigning anyone new.

@MelvinBot
Copy link

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

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

Triggered auto assignment to @amyevans (External), see https://stackoverflow.com/c/expensify/questions/7972 for more details.

@bernhardoj
Copy link
Contributor

Proposal

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

The emoji reaction does not give a highlight feedback when we hold it down.

What is the root cause of that problem?

We don't update the background style when it is being hold down. We only change it while hovering it, but this only work on web.

<Pressable
style={({hovered}) => [
styles.emojiReactionBubble,
StyleUtils.getEmojiReactionBubbleStyle(hovered, hasUserReacted, props.sizeScale),
]}

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

Add pressed state alongside with hovered and pass it to the style utils, the same thing we did here for add emoji reaction.

<Pressable
ref={ref}
style={({
hovered,
pressed,
}) => [
styles.emojiReactionBubble,
StyleUtils.getEmojiReactionBubbleStyle(hovered || pressed, false, props.sizeScale),
]}

@parasharrajat
Copy link
Member

parasharrajat commented Mar 10, 2023

@bernhardoj 's proposal looks good to me.

cc: @amyevans

🎀 👀 🎀 C+ reviewed

@stitesExpensify
Copy link
Contributor

cc @amyevans 😄 ^

@parasharrajat
Copy link
Member

Oops 😬

@amyevans amyevans removed the Help Wanted Apply this label when an issue is open to proposals by contributors label Mar 10, 2023
@MelvinBot
Copy link

📣 @bernhardoj You have been assigned to this job by @amyevans!
Please apply to this job in Upwork and leave a comment on the Github issue letting us know when we can expect a PR to be ready for review 🧑‍💻
Keep in mind: Code of Conduct | Contributing 📖

@melvin-bot melvin-bot bot added the Reviewing Has a PR in review label Mar 11, 2023
@bernhardoj
Copy link
Contributor

PR is ready for review.

cc: @parasharrajat

@melvin-bot melvin-bot bot removed the Daily KSv2 label Mar 16, 2023
@melvin-bot melvin-bot bot added Daily KSv2 Overdue and removed Weekly KSv2 labels Mar 22, 2023
@zanyrenney
Copy link
Contributor

Payment due tomorrow.

@melvin-bot melvin-bot bot added Overdue and removed Overdue labels Mar 22, 2023
@zanyrenney
Copy link
Contributor

zanyrenney commented Mar 27, 2023

chatting to @amyevans about this one IRL. #15813 (comment) @parasharrajat please can you complete these tasks for the issue before we move ahead with payment?

@zanyrenney
Copy link
Contributor

We don't need a regression test for this one.

@melvin-bot melvin-bot bot removed the Overdue label Mar 27, 2023
@zanyrenney
Copy link
Contributor

hey @parasharrajat bump on the comment above so we can progress with payment.

@parasharrajat
Copy link
Member

parasharrajat commented Mar 29, 2023

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:

[@parasharrajat / @amyevans] The PR that introduced the bug has been identified. Link to the PR: This was missed from the initial implementation #15210

[@parasharrajat / @amyevans] The offending PR has been commented on, pointing out the bug it caused and why, so the author and reviewers can learn from the mistake. https://github.com/Expensify/App/pull/15210/files#r1152227805

[@parasharrajat / @amyevans] A discussion in #expensify-bugs has been started about whether any other steps should be taken (e.g. updating the PR review checklist) in order to catch this type of bug sooner. Link to discussion: No discussion needed. It was missed during testing.

[@parasharrajat] If we decide to create a regression test for the bug, please propose the regression test steps to the appropriate location to ensure the same bug will not reach production again.

#15813 (comment)

@parasharrajat
Copy link
Member

Regression Test Step

  1. Open any chat on Android/iOS.
  2. Long press on any existing message in the chat. If there is no message send one first.
  3. In the opened context menu, press and hold the quick reaction emojis.
  4. Observe that it remains highlighted during the long press.

Do you agree 👍 or 👎 ?

@parasharrajat
Copy link
Member

@zanyrenney Done. Please invite me to the job or send the offer directly. Thanks.

@melvin-bot melvin-bot bot added the Overdue label Apr 3, 2023
@MelvinBot
Copy link

@amyevans, @parasharrajat, @bernhardoj, @zanyrenney Huh... This is 4 days overdue. Who can take care of this?

@zanyrenney
Copy link
Contributor

Thanks @parasharrajat - let me invite you now!

@melvin-bot melvin-bot bot removed the Overdue label Apr 5, 2023
@zanyrenney
Copy link
Contributor

That's all sent Rajat @parasharrajat , please accept as @bernhardoj is already hired so that's the final step before payment!

@zanyrenney
Copy link
Contributor

pending waiting on youaccepting @parasharrajat - then payment will be coming your way.

@melvin-bot melvin-bot bot added the Overdue label Apr 10, 2023
@MelvinBot
Copy link

@amyevans, @parasharrajat, @bernhardoj, @zanyrenney Whoops! This issue is 2 days overdue. Let's get this updated quick!

1 similar comment
@MelvinBot
Copy link

@amyevans, @parasharrajat, @bernhardoj, @zanyrenney Whoops! This issue is 2 days overdue. Let's get this updated quick!

@zanyrenney
Copy link
Contributor

Both have been paid now, closing!

@melvin-bot melvin-bot bot removed the Overdue label Apr 11, 2023
@parasharrajat
Copy link
Member

@zanyrenney Is it eligible for the bonus?

@parasharrajat
Copy link
Member

Bump @zanyrenney

1 similar comment
@parasharrajat
Copy link
Member

Bump @zanyrenney

@zanyrenney
Copy link
Contributor

merge bonus given @bernhardoj @parasharrajat

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2 External Added to denote the issue can be worked on by a contributor
Projects
None yet
Development

No branches or pull requests

7 participants