App: [On Hold Payment 4/29] [$500] [Mentions v2] Parse when displaying reportAction

ReportActions that contains room mentions can have it in two different ways:

  1. <mention-report>#room-name</mention-report> for optimistic mentions
  2. <mention-report reportID="1234"/>

For the first case we want to display the #room-name, and if we can find the report in onyx based on the reportName and policyID we will make it clickable and make it redirect the user to the report, otherwise the tag wonโ€™t be clickable.

For the second case we will look for the reportName using the reportID in the tag, display the report name and make the click event redirect the user to the report.

Details can be found here in the Mentions v2 design doc.

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~010ad216abc2940394
  • Upwork Job ID: 1783160417124728832
  • Last Price Increase: 2024-04-24

About this issue

  • Original URL
  • State: closed
  • Created 3 months ago
  • Comments: 17 (10 by maintainers)

Most upvoted comments

Hi, Iโ€™m Marcin from Software Mansion and I would like to work on this issue ๐Ÿ˜ƒ

Hi! We were in the internal review process, but the PR is already available for review ๐Ÿš€