Skip to content

URL does not get highlighted properly in Expensify.cash #1234

Description

@roryabraham

If you haven’t already, check out our contributing guidelines for onboarding!


Platform

All platforms:

  1. Web
  2. macOS Desktop
  3. Android
  4. iOS
  5. Mobile web

Version

1.0.1-341

Action Performed (reproducible steps):

  1. Paste the following into an Expensify.cash chat:
Check out [this link](https://www.expensify.com/_devportal/tools/logSearch/#query=request_id:(%22Ufjjim%22)+AND+timestamp:[2021-01-08T03:48:10.389Z+TO+2021-01-08T05:48:10.389Z]&index=logs_expensify-008878)!
  1. Send the message.

Expected Result

The link is created properly and looks like this:

image

Actual Result

The URL is not properly highlighted and the link is not created properly.

image

Solution notes

The code that processes markdown is actually not in Expensify/Expensify.cash, but Expensify/expensify-common.

Add a unit test for this URL in ExpensiMark-test.js and then fix ExpensiMark to handle the URL properly.

A solution will not be considered complete unless it:

  1. Creates an automated unit test to cover this URL and potentially others like it,
  2. Provides videos of the working URL on all 5 platforms of Expensify.cash (Web, macOS Desktop, iOS, Android, mobile web). These must be video screen recordings and not static screenshots, so that we know that the correct URL was used to create the link, and that the link was created properly.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions