-
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 33725][$500] Web - Chat - Two Messages can not be selected when they are divided by reply #35946
Comments
Job added to Upwork: https://www.upwork.com/jobs/~0135be761efeca8eb4 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @mananjadhav ( |
Triggered auto assignment to @Christinadobrzyn ( |
We think that this bug might be related to #vip-vsp |
testing this, sometimes you can highlight the chat. So I don't know if we want to fix this now - asking https://expensify.slack.com/archives/C066HJM2CAZ/p1707253470143849 2024-02-06_13-56-16.mp4 |
I think we can broaden the scope of this OP to allow for users to highlight an entire chat thread regardless of breaks in the chat - asking the team for a review - https://expensify.slack.com/archives/C066HJM2CAZ/p1707429247200849 |
@Christinadobrzyn Any updates on the discussion? I can't access the slack thread. |
no response from the team yet, I'll keep monitoring our decision |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
Gonna try the BZ room to see if I can get an answer - https://expensify.slack.com/archives/C01SKUP7QR0/p1707868596042429 Also asking QA if they know what is expected here - https://expensify.slack.com/archives/C9YU7BX5M/p1707868718740389 |
Talking this over with QA @isagoico we both agree this should be fixed to mimic the highlight abilities of Slack or GH Expected behaviour: You should be able to highlight an entire 'area' of a chat without it glitching or being disrupted by a 'reply to chat thread'. So the behaviour should be more like this: 2024-02-14_09-14-34.mp4instead of how it is now where the highlighted area 'jumps' around and isn't consistent. 2024-02-14_09-16-13.mp4Let me know your thoughts @mananjadhav |
@Christinadobrzyn I think you meant @mananjadhav |
Okay I get what you mean @Christinadobrzyn. This is now open for proposals. |
ProposalProblem StatementThe issue at hand is that text selection within the chat messages is being reset when trying to copy the text of an entire chat thread Root CauseThe root cause of this problem is our use of Changing this to Screen.Recording.2024-02-28.at.9.39.32.PM.movProposed SolutionTo address this issue, we should stop using Instead, let's just use a normal We can reverse the ordering of the flatlist items ( (See These changes fix the issue as you can see in my recording. This may not be the most optimal solution but I do believe I'm on the right path. Screen.Recording.2024-02-28.at.10.01.41.PM.movAs these are no minor changes, and could have other implications (also took quite awhile to finally uncover) - i propose the bounty be raised on this ticket |
@mananjadhav @Christinadobrzyn 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! |
Thanks @mananjadhav! We're accepting and reviewing proprosals |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
This one's tricky. First, the text with the reply count in between messages is not meant to be selected or copied because of these lines. Both have App/src/pages/home/report/ReportActionItemThread.tsx Lines 61 to 64 in 20ca041
App/src/pages/home/report/ReportActionItemThread.tsx Lines 67 to 71 in 20ca041
The App/src/libs/SelectionScraper/index.ts Lines 91 to 97 in 20ca041
This pattern has been used in multiple places in the code base e.g. #26694. Secondly, if you inspect the HTML, you'll notice that the After tinkering a bit on codepen, I found that even if there's a All that being said, I believe the order in which the messages are rendered or the HTML produced could be interfering with the selection behavior - unless maybe this worked at some point and is now broken. I thought about changing the message order or playing around with how the HTML is generated, but I felt like this could have some unintended side effects. Either way, I'm letting this one go, so hopefully this provides some context to the next person who decides to take a crack at it. |
hi @mananjadhav could you take a peek at the proposals we have so far? Thanks! |
This is still on hold for - #33725 |
@mananjadhav do you think we're still on hold for #33725? I just retested and this is still happening |
Yes . We're still held on the linked issue. |
On hold for - #33725 |
1 similar comment
On hold for - #33725 |
Hey @mananjadhav does this still need to be on hold for #33725? |
on hold for #33725 Just a heads up - I'm going to be ooo until June 24th. I'm not going to assign anyone new but if you need a new BZ teammate for any reason please feel free to ask for one to be assigned here. |
on hold for #33725 |
on hold for #33725 |
1 similar comment
on hold for #33725 |
on hold for #33725 |
still on hold for #33725 |
still on hold for #33725 |
still on hold for #33725 |
I'm going to close this for now - If we get a customer reporting, we can reopen. |
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: 1.4.37-0
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): gocemate@gmail.com
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:
Action Performed:
Expected Result:
Messages should be selected in a consistent manner where there is no 'jumping' or 'flashing' of the highlighted area. The highlighted area shouldn't be disrupted by 'reply to threads' in the chat.
Actual Result:
The highlighted area is no consistently selected when you drag the curser over it.
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6369709_1707245548612.Recording__2115.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: