Skip to content
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] Thread - Copy link of parent message & tap on link, parent message is not highlighted #36057

Closed
3 of 6 tasks
lanitochka17 opened this issue Feb 7, 2024 · 47 comments
Closed
3 of 6 tasks
Assignees
Labels
Bug Something is broken. Auto assigns a BugZero manager. External Added to denote the issue can be worked on by a contributor Reviewing Has a PR in review Weekly KSv2

Comments

@lanitochka17
Copy link

lanitochka17 commented Feb 7, 2024

HOLD on #30269

If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!


Version Number: 1.4.38
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:

Action Performed:

  1. Go to https://staging.new.expensify.com/
  2. Tap on a report
  3. Send the message
  4. Long press and copy link
  5. Paste it in compose and send the message
  6. Tap on the link
  7. Note the message is highlighted
  8. Long press the message and select reply in thread
  9. Send a reply
  10. Long press parent message and copy link
  11. Paste it in compose and send the message
    12.Tap on the link
  12. Note the parent message is not highlighted

Expected Result:

In thread page, copy link of parent message and tap on link, parent message must be highlighted

Actual Result:

In thread page, copy link of parent message and tap on link, parent message is not highlighted

Workaround:

Unknown

Platforms:

Which of our officially supported platforms is this issue occurring on?

  • Android: Native
  • Android: mWeb Chrome
  • iOS: Native
  • iOS: mWeb Safari
  • MacOS: Chrome / Safari
  • MacOS: Desktop

Screenshots/Videos

Add any screenshot/video evidence

Bug6370728_1707329622189.req.mp4

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~01ed16923747a7ed62
  • Upwork Job ID: 1755300519347654656
  • Last Price Increase: 2024-04-15
  • Automatic offers:
    • FitseTLT | Contributor | 0
    • abdulrahuman5196 | Contributor | 0
@lanitochka17 lanitochka17 added External Added to denote the issue can be worked on by a contributor Daily KSv2 Bug Something is broken. Auto assigns a BugZero manager. labels Feb 7, 2024
@melvin-bot melvin-bot bot changed the title Thread - Copy link of parent message & tap on link, parent message is not highlighted [$500] Thread - Copy link of parent message & tap on link, parent message is not highlighted Feb 7, 2024
Copy link

melvin-bot bot commented Feb 7, 2024

Job added to Upwork: https://www.upwork.com/jobs/~01ed16923747a7ed62

@melvin-bot melvin-bot bot added the Help Wanted Apply this label when an issue is open to proposals by contributors label Feb 7, 2024
Copy link

melvin-bot bot commented Feb 7, 2024

Triggered auto assignment to Contributor-plus team member for initial proposal review - @situchan (External)

Copy link

melvin-bot bot commented Feb 7, 2024

Triggered auto assignment to @trjExpensify (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details.

@lanitochka17
Copy link
Author

We think that this bug might be related to #vip-vsp
CC @quinthar

@FitseTLT
Copy link
Contributor

FitseTLT commented Feb 7, 2024

Proposal

Please re-state the problem that we are trying to solve in this issue.

Thread - Copy link of parent message & tap on link, parent message is not highlighted

What is the root cause of that problem?

We haven't passed linkedReportActionID for ReportActionItemParentAction
as in here

linkedReportActionID={linkedReportActionID}
displayAsGroup={displayAsGroup}

What changes do you think we should make in order to solve the problem?

We should pass linkedReportActionID for ReportActionItemParentAction here

<ReportActionItemParentAction
shouldHideThreadDividerLine={shouldDisplayParentAction && shouldHideThreadDividerLine}
reportID={report.reportID}
index={index}

and then we should pass it to the ReportActionItem here too
<ReportActionItem
// @ts-expect-error TODO: Remove this once ReportActionItem (https://github.com/Expensify/App/issues/31982) is migrated to TypeScript.
onPress={() => Navigation.navigate(ROUTES.REPORT_WITH_ID.getRoute(ancestor.report.reportID))}
report={ancestor.report}
action={ancestor.reportAction}
displayAsGroup={false}
isMostRecentIOUReportAction={false}
shouldDisplayNewMarker={ancestor.shouldDisplayNewMarker}
index={index}

What alternative solutions did you explore? (Optional)

@trjExpensify
Copy link
Contributor

Hm.. I don't see a Copy link menu item in the comment action menu. Leads me to think this might be new and related to comment linking, requiring a beta or something. CC: @roryabraham @marcaaron any ideas?

@roryabraham
Copy link
Contributor

Yep, it's behind a beta. Putting this on HOLD for #30269

@roryabraham roryabraham changed the title [$500] Thread - Copy link of parent message & tap on link, parent message is not highlighted [HOLD #30269][$500] Thread - Copy link of parent message & tap on link, parent message is not highlighted Feb 9, 2024
@roryabraham roryabraham added Weekly KSv2 and removed Help Wanted Apply this label when an issue is open to proposals by contributors Daily KSv2 labels Feb 9, 2024
@trjExpensify
Copy link
Contributor

Excellent, glad I asked! :)

@melvin-bot melvin-bot bot added the Overdue label Feb 19, 2024
@trjExpensify
Copy link
Contributor

Still held on #30269

@melvin-bot melvin-bot bot removed the Overdue label Feb 19, 2024
@melvin-bot melvin-bot bot added the Overdue label Feb 27, 2024
@situchan
Copy link
Contributor

Same

@melvin-bot melvin-bot bot removed the Overdue label Feb 28, 2024
@melvin-bot melvin-bot bot added the Overdue label Mar 7, 2024
@trjExpensify
Copy link
Contributor

Still held on comment linking.

@melvin-bot melvin-bot bot removed the Overdue label Mar 8, 2024
@melvin-bot melvin-bot bot added the Overdue label Mar 18, 2024
@trjExpensify
Copy link
Contributor

Still held on comment linking.

@kavimuru
Copy link

Now we are seeing "Hmm it's not here" message appears.

ggm.mp4

@nkdengineer
Copy link
Contributor

@roryabraham Do you have any feedback about comment and comment ?

@roryabraham
Copy link
Contributor

What behavior is expected below?
We should navigate user to the parent report and highlight the parent message
User should stay in the thread report and hightlight the parent message
I wonder this because currently, in staging, when I click on the parent message in thread report, we are navigating user to parent report

I think the expected behavior is that we navigate the user to the parent report and highlight the parent message

@nkdengineer
Copy link
Contributor

I have a proposal to fix it here. Should I re-post it in here as the issue #39737 is closed ?

@roryabraham
Copy link
Contributor

roryabraham commented Apr 16, 2024

we should create a new issue, I'll report it in #expensify-bugs

@nkdengineer
Copy link
Contributor

we should create a new issue

We can re-open this #39737

@melvin-bot melvin-bot bot added Reviewing Has a PR in review Weekly KSv2 and removed Daily KSv2 labels Apr 17, 2024
@nkdengineer
Copy link
Contributor

@roryabraham The PR #40344 can fix the bug #39737 so we do not need to reopen #39737

@melvin-bot melvin-bot bot removed the Weekly KSv2 label May 10, 2024
Copy link

melvin-bot bot commented May 10, 2024

This issue has not been updated in over 15 days. @trjExpensify, @FitseTLT, @abdulrahuman5196, @roryabraham 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!

@melvin-bot melvin-bot bot added the Monthly KSv2 label May 10, 2024
@trjExpensify
Copy link
Contributor

trjExpensify commented May 10, 2024

PR has conflicts, let's get those addressed and wrap this up next week!

@trjExpensify trjExpensify added Weekly KSv2 and removed Monthly KSv2 labels May 10, 2024
@FitseTLT
Copy link
Contributor

Yep @trjExpensify The conflictingPR has overlapped with ours and fixed it while our pr was on a review stage.

@trjExpensify
Copy link
Contributor

Sorry, do you mind restating that?

@FitseTLT
Copy link
Contributor

FitseTLT commented May 14, 2024

@trjExpensify The conflict you mentioned here was caused by a PR doing exactly what our pr (linked to this issue) was doing, so I had to close the pr.

@trjExpensify
Copy link
Contributor

Oh, so if I'm following you, we can close this issue then right?

@FitseTLT
Copy link
Contributor

Oh, so if I'm following you, we can close this issue then right?

Yep. We can close it but I had already raised the pr so payment is due.

@trjExpensify
Copy link
Contributor

Alright, so I think we can pay 50% for the work completed to date.

@FitseTLT
Copy link
Contributor

Alright, so I think we can pay 50% for the work completed to date.

Agree

@trjExpensify
Copy link
Contributor

Cool, payment summary as follows:

Offers sent!

@FitseTLT
Copy link
Contributor

offer Accepted @trjExpensify

@trjExpensify
Copy link
Contributor

Settled up with you both, closing!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something is broken. Auto assigns a BugZero manager. External Added to denote the issue can be worked on by a contributor Reviewing Has a PR in review Weekly KSv2
Projects
No open projects
Archived in project
Development

No branches or pull requests

8 participants