-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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 2024-09-09][$250] Mention - Mention list takes 2-3 seconds to remove after sending a message #45485
Comments
Triggered auto assignment to @sakluger ( |
We think that this bug might be related to #vip-vsp |
@sakluger 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 |
Job added to Upwork: https://www.upwork.com/jobs/~012c64667ec4d95daf |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @ishpaul777 ( |
Awaiting proposals |
Still no proposals. |
we are looking for proposals |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
ProposalPlease re-state the problem that we are trying to solve in this issue.The mention list is not removed immediately after sending a message. The mention list is removed after 2-3 seconds on Android. What is the root cause of that problem?
In the video below you can see how the mention list disappears with 2-3 seconds of delay, while the RNMarkdownTextInput text disappears immediately. Screen.Recording.2024-07-26.at.4.11.57.PM.movAfter commenting setNativeProps, the TextInput text/value and the suggestions disappear together after a delay of 2-3 seconds. Screen.Recording.2024-07-26.at.4.08.46.PM.movWhat changes do you think we should make in order to solve the problem?The solution consists of the following steps:
You can find here my detailed explanation of why we use setNativeProps to clear the value of the TextInput. What alternative solutions did you explore? (Optional)An alternative approach is useAnimatedStyle or useAnimatedProp to hide the Suggestions.
I don't believe it will work, because the logic runs asynchronously on the JS thread, which causes this delay of 2-3 seconds. https://docs.swmansion.com/react-native-reanimated/docs/core/useSharedValue/#remarks
|
Proposal
|
Thanks for your proposal @fabOnReact, it looks promising 👍, would you be able to provide a testing branch so i can test this quickly |
@sakluger, @ishpaul777 Whoops! This issue is 2 days overdue. Let's get this updated quick! |
not overdue, just waiting for test branch to test proposal solution |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
@sakluger @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! |
Hey guys, I'm back. I'll add this to my list and start working on this soon. |
Issue not reproducible during KI retests. (First week) |
not overdue, @perunt Any updates? |
@ishpaul777 the original issue was that the suggestion didn't hide immediately. However, we later agreed that this was expected behavior. Now, the actual issue is the inconsistent behavior between platforms. Is my understanding correct? |
thats correct @perunt |
Nice! I made kind of a one-line fix for that. The problem was that the gesture handler was checking if the view was translucent, so to avoid it, I added a transparent color to that view |
Deployed 3 days ago, automation failed Can we add Awaiting payment label |
Issue not reproducible during KI retests. (Second week) |
Sorry for the delay in handling payment. @ishpaul777 as far as payment goes, I could use your advice. While I do think that you (@ishpaul777) are due payment for your review, I don't think any other payment is due here. Android should have been tested and included on the original PR, so I don't think we should pay for the follow-up PR that was created to align the behavior. What do you think? |
Yes thats correct, btw @perunt is a agency member (Margelo, i guess) so no payments anyways. |
Ah, good call. @ishpaul777 here is the Upwork offer for you: https://www.upwork.com/nx/wm/offer/103906016 |
@ishpaul777 can you let me know once you've accepted the offer? |
thanks! I accepted the offer |
Thanks! All paid. We already have a regression test for this which is how this was caught. So I think we're fine to close the issue. |
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: 9.0.7-4
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?/runs/view/22744&group_by=cases:section_id&group_order=asc&group_id=306201
Email or phone of affected tester (no customers): shussain+andmob2@applausemail.com
Issue reported by: Applause - Internal Team
Action Performed:
Expected Result:
After sending the message without selecting the user from the list, the mention list should be immediately removed
Actual Result:
Mention list takes 2-3 seconds to remove after sending a message
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6543739_1721125677358.WhatsApp_Video_2024-07-16_at_15.25.50.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @ishpaul777The text was updated successfully, but these errors were encountered: