-
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 on #16506] [$1000] Double-tapping on an existing emoji reaction sends multiple API requests #17978
Comments
Triggered auto assignment to @twisterdotcom ( |
Bug0 Triage Checklist (Main S/O)
|
Job added to Upwork: https://www.upwork.com/jobs/~01f007b9fd26168fd7 |
Current assignee @twisterdotcom is eligible for the External assigner, not assigning anyone new. |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @mollfpr ( |
Triggered auto assignment to @yuwenmemon ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.Double-tapping on an existing emoji reaction sends multiple API requests What is the root cause of that problem?The emoji reaction button is based on Pressable component. Currently we don't neither disable button nor prevent user click multiple time that button. What changes do you think we should make in order to solve the problem?We have general solution here #18122 I have tried I think we can go with debounce. I tried with debounce 250ms here and it works well Screen.Recording.2023-06-04.at.21.26.41.mov |
Thanks @hoangzinh! @yuwenmemon @twisterdotcom #18122 is about creating a new button component and preventing multiple clicks. So it makes sense to hold this and try the above proposal. |
Sounds good - place a hold on this and switched it to Weekly |
Still on hold. |
I don't have my android phone with me at the moment. I see #18122 hit production. @mollfpr or @yuwenmemon - can you test and see if we can just close this? |
How are we doing here? |
Sorry for the delay! @hoangzinh I just try replacing |
@mollfpr I will try to update my proposal again. Last time, I also weren't success on applying |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
No Melv. @hoangzinh is on the case. |
I have updated my proposal here #17978 (comment) |
I think that we should put this on hold for now https://expensify.slack.com/archives/C049HHMV9SM/p1685714808977889?thread_ts=1685548338.234339&cid=C049HHMV9SM |
Issue is still on HOLD |
Still on HOLD |
Still on hold. |
I can't reproduce this anymore. Can anyone else? |
Yeah I just retested and this issue is for sure no longer reproducible. |
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
Action Performed:
Expected result:
The emoji reaction should toggle between added and removed. Only one API request should be sent per click
Actual result:
The emoji reaction remains added after double-clicking. Multiple API requests are sent per click
Workaround:
Can the user still use Expensify without this being fixed? Have you informed them of the workaround?
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number: 1.3.5
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
Notes/Photos/Videos: Any additional supporting documentation
az_recorder_20230425_125454.1.mp4
Screen_Recording_20230423_133244_New.Expensify.mp4
Expensify/Expensify Issue URL:
Issue reported by: @Nathan-Mulugeta
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1682247959692439
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: