-
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
[$500] Chat - When pressing the left/right arrow keys after typing '@', the text selection does not move #39102
Comments
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open `StagingDeployCash` deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:
|
Triggered auto assignment to @stitesExpensify ( |
Production: Recording.1497.mp4 |
@stitesExpensify 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 |
We think that this bug might be related to #vip-vsp |
@lanitochka17 You might be confused here. The staging behaviour is correct indeed. |
Hi @stitesExpensify , I saw your #38383 (comment) here but I think I agree with @shubham1206agra that this should be the expected behaviour. I tried to search old issues to find a regression test to support my point but couldn't find such one. @lanitochka17 Are you able to search our existing regression tests to see if we have any tests related to this case? |
I think QA expects the mention highlight to move along with the text selection (as stated by @stitesExpensify in #38383 (comment)) just like emoji, but because on prod we can't move the selection at all, QA put a deploy blocker. The highlight of the mention/emoji is based on the
the
For mention suggestion, the App/src/pages/home/report/ReportActionCompose/SuggestionMention.tsx Lines 225 to 234 in 5a8cb7f
We can update it to always use
But this will cause this issue again where the suggestion won't show if we type And that's because we check whether the cursor is before a mention code (@) App/src/pages/home/report/ReportActionCompose/SuggestionMention.tsx Lines 264 to 266 in 5a8cb7f
We should remove it as we already update the If we want to fix it, I can create a proposal. |
@bernhardoj I got your point. Hmm, I just feel that it also makes sense to capture valid prefix as longer as possible. But, yes, it's definitely better to make the behaviour consistent between emoji and mention. |
@eh2077 I'll look again, but so far I don't see any TC related to this issue. |
@stitesExpensify I'm happy to be the C+ of this issue if it's going to be external. |
Job added to Upwork: https://www.upwork.com/jobs/~013f02f19e8b3faf16 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @s77rt ( |
I can't do the test yet because, on the latest Screen.Recording.2024-04-05.at.11.32.38.mov |
@bernhardoj I believe the latest main is ready for you to start working on the PR. |
Yeah, it works now, thanks for the bump! |
PR is ready cc: @eh2077 |
This issue has not been updated in over 15 days. @stitesExpensify, @bernhardoj, @eh2077 eroding to Monthly issue. P.S. Is everyone reading this sure this is really a near-term priority? Be brave: if you disagree, go ahead and close it out. If someone disagrees, they'll reopen it, and if they don't: one less thing to do! |
@stitesExpensify Can you help to add BZ here to handle the payment? I think it's due for payment. Maybe add a |
Triggered auto assignment to @kadiealexander ( |
Hi @kadiealexander ! The work here is done, we just need to pay :) |
@stitesExpensify, @bernhardoj, @kadiealexander, @eh2077 Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
@kadiealexander This issue is due for payment. Can you help with it? |
Checklist
|
@stitesExpensify, @bernhardoj, @kadiealexander, @eh2077 Whoops! This issue is 2 days overdue. Let's get this updated quick! |
@stitesExpensify, @bernhardoj, @kadiealexander, @eh2077 Eep! 4 days overdue now. Issues have feelings too... |
Not overdue, this is waiting for payment. |
Payouts due:
Upwork job is here. |
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
Issue found when validating #38383
Version Number: 1.4.57-2
Reproducible in staging?: Y
Reproducible in production?: N
If this was caught during regression testing, add the test name, ID and link from TestRail: N/A
Email or phone of affected tester (no customers): [email protected]
Issue reported by: Applause - Internal Team
Action Performed:
1, Open any chat
2, Type a mention to open up the mention suggestion
3, Press the left/right arrow key
4, Observe that the text selection does not move to the left/right
Expected Result:
when right left arrows are pressed, suggestions highlights should reflect the change corresponding to cursor movement in the compose box as it does with emojis
Actual Result:
when right left arrows are pressed, suggestions highlights are not changing corresponding to cursor movement in the compose box. But it does with emojis.
NOTE: Emoji behavior also shown in the video
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Screen.Recording.2024-03-27.at.11.47.04.PM.mp4
Recording.1496.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: