-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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] mWeb - Chat - Long display name is copied along with ellipsis and "New messages" text in chat header #30681
Comments
Triggered auto assignment to @garrettmknight ( |
Job added to Upwork: https://www.upwork.com/jobs/~018617982cf69dd0f6 |
Bug0 Triage Checklist (Main S/O)
|
Triggered auto assignment to Contributor-plus team member for initial proposal review - @situchan ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.mWeb - Chat - Long display name is copied along with ellipsis and "New messages" text in chat header What is the root cause of that problem?We are not applying dataSet={{[CONST.SELECTION_SCRAPER_HIDDEN_ELEMENT]: true}} to .... in DisplayNamesWithTooltip and selectable={false}. What changes do you think we should make in order to solve the problem?We should apply We are already using this prop and dataSet in multiple places. Result |
ProposalPlease re-state the problem that we are trying to solve in this issue.On mWeb, when copying long chat name, ellipsis and What is the root cause of that problem?In What changes do you think we should make in order to solve the problem?Setting This way we will have consistent behaviour in native apps and web. Note then on Android App it's not possible to select Display Name like that in order to copy it. If we want to add such feature, we should add We should handle case when
What alternative solutions did you explore? (Optional)Make a PR directly to necolas/react-native-web N/A Reminder: Please use plain English, be brief and avoid jargon. Feel free to use images, charts or pseudo-code if necessary. Do not post large multi-line diffs or write walls of text. Do not create PRs unless you have been hired for this job. |
📣 @mpiniarski! 📣
|
@kbecciv I just tested on chrome mweb and the copy/paste didn't include the ..., but it also didn't include the whole name. Can you point me to the test this is coming from? Thanks! |
@garrettmknight, can reproduce on mWeb chrome. WhatsApp.Video.2023-11-03.at.20.13.36.mp4 |
@garrettmknight This issue is associated with the following PR: #30476 |
Issue is reproducible Screen_Recording_20231106_225954_Chrome.mp4 |
Ok, got it - so you have to manually select the ellipsis? Since you're manually attempting to select the ellipsis, that doesn't seem unintended. I suppose the 'New Message' part is but that's an extreme edge case. If you force tap/long press to select the name and copy/paste, it only pastes the name without an ellipsis and "New Message" so we're good there. @kbecciv can you point me to the test for this one so we can clarify that this isn't a relevant bug? |
@garrettmknight, ellipsis is still copied without manually attempting to select it. Pls check the video. WhatsApp.Video.2023-11-06.at.23.47.06.mp4 |
Maybe I'm missing the reproducible step there, but it looks like you're doing the same thing and getting different results - can you explain how the third attempt differed from the first two? |
@garrettmknight, I'm just trying to copy the display name, every time I'm trying to do the same thing but results are different. |
Got it - I think that's unexpected, but an edge case. |
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.3.94.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):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:
Issue found when executing PR #30476
Action Performed:
Expected Result:
Only the display name, which is the email, is copied.
Actual Result:
The display name is copied along with the ellipsis and 'New messages'.
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Android: Native
Android: mWeb Chrome
Bug6259302_1698838376654.Screen_Recording_20231101_084255_Chrome.mp4
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
MacOS: Desktop
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @kbeccivThe text was updated successfully, but these errors were encountered: