mozilla / experimenter

A web application for managing user experiments for Mozilla Firefox.
https://experimenter.services.mozilla.com
Mozilla Public License 2.0
120 stars 186 forks source link

Auto link URLs in Hypothesis text in summary #4018

Closed pdehaan closed 3 years ago

pdehaan commented 3 years ago

If you have a detailed hypothesis with various links to UI specs or tech docs or whimsical GIFs, the text appears as plain text (with linebreaks removed, see #4017), meaning you need to scan the text, manually copy links (like a chump) and then open a new tab, paste the text link to see the content.

There should be several npm modules which auto-link text (linkify-urls or linkify-it or probably dozens of others), and I'm sure PyPI has some too, depending on where the logic would need to be injected (but probably best to do it at render time vs preprocessing).

Mozilla_Experimenter Ref: https://stage.experimenter.nonprod.dataops.mozgcp.net/experiments/nimbus/lorem-ipsum-hypothesis-test/request-review

┆Issue is synchronized with this Jira Task ┆Issue Number: EXP-610

data-sync-user commented 3 years ago

➤ Les Orchard commented:

Decide if we want to do this, and then whether it's better done on the backend or just in frontend client