-
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
[$500] Task message preview when copied is not copying exact content #27072
Comments
Triggered auto assignment to @conorpendergrast ( |
Bug0 Triage Checklist (Main S/O)
|
Job added to Upwork: https://www.upwork.com/jobs/~015b94ed2d509c9a78 |
Current assignee @conorpendergrast is eligible for the External assigner, not assigning anyone new. |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @jjcoffee ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.Copied task message is different than what it looks like. What is the root cause of that problem?
App/src/pages/home/report/ContextMenu/ContextMenuActions.js Lines 188 to 190 in 5c13816
While in task preview, it is formatted to also include task assignee: App/src/components/ReportActionItem/TaskPreview.js Lines 73 to 74 in 5c13816
What changes do you think we should make in order to solve the problem?Add consistent copyable content by including task assignee in the ContextMenuActions, e.g.:
What alternative solutions did you explore? (Optional)N/A |
ProposalPlease re-state the problem that we are trying to solve in this issue.Task message preview when copied is not copying exact content What is the root cause of that problem?We don't have any special case for task preview here. So the content is obtained from the originalMessage of the action App/src/pages/home/report/ContextMenu/ContextMenuActions.js Lines 195 to 212 in 5c13816
What changes do you think we should make in order to solve the problem?We should create a function in And then here, we can add a case for task preview
App/src/pages/home/report/ContextMenu/ContextMenuActions.js Lines 195 to 212 in 5c13816
What alternative solutions did you explore? (Optional) |
ProposalPlease re-state the problem that we are trying to solve in this issue.Task message preview when copied is not copying exact content What is the root cause of that problem?The file App/src/pages/home/report/ContextMenu/ContextMenuActions.js Lines 186 to 190 in 5c13816
If the report is a task text, the However, the task title is displayed by the App/src/components/ReportActionItem/TaskPreview.js Lines 69 to 74 in 5c13816
What changes do you think we should make in order to solve the problem?Since the
Then use the function in
What alternative solutions did you explore? (Optional)Simply the set the
|
I'm on parental leave; re-assigning! |
@isabelastisser Could you confirm the expected result here? I'd imagine it's more useful to only copy the task title, rather than the assignee as well. |
Closing, this is a regression from this PR #24630 and already reported. |
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 content copied should be as it is.
for assigned task, in preview it shows email but it doesn't in copied content
Actual Result:
Copied content is different than what it looks like,
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.66-3
Reproducible in staging?: Yes
Reproducible in production?: Yes
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
Screen.Recording.2023-08-30.at.7.40.27.AM.mov
Recording.431.mp4
Expensify/Expensify Issue URL:
Issue reported by: @BhuvaneshPatil
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1693362042758229
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: