cidgoh / DataHarmonizer

A standardized browser-based spreadsheet editor and validator that can be run offline and locally, and which includes templates for SARS-CoV-2 and Monkeypox sampling data. This project, created by the Centre for Infectious Disease Genomics and One Health (CIDGOH), at Simon Fraser University, is now an open-source collaboration with contributions from the National Microbiome Data Collaborative (NMDC), the LinkML development team, and others.
MIT License
91 stars 23 forks source link

Transform URLs in help popup into clickable links #388

Closed pkalita-lbl closed 8 months ago

pkalita-lbl commented 1 year ago

If a slot has a description that contains a URL, it would be nice if that URL was rendered as a clickable link when it is shown in the help popup. For example:

Untitled
ssarrafan commented 1 year ago

@pkalita-lbl would it be possible to get this done Monday or Tuesday of next week as a fix?

pkalita-lbl commented 1 year ago

I'm working on https://github.com/microbiomedata/nmdc-server/issues/945 right now. Is this also a high priority?

ddooley commented 1 year ago

Sounds like good functionality. Only thought was whether one might want to also allow [title](url) style markup links.

pkalita-lbl commented 1 year ago

If we go that far should we just support markdown in general? There are plenty of performant, off-the-shelf parsers out there.

kennethbruskiewicz commented 8 months ago

Closing issue due to #405, which converts [title](url) to HTML anchors, e-mail addresses to mailto:<email>, and free-standing non-Markdown links in our out of parens (<url>) to HTML anchors, using markdown-it and linkify-it to include sanitation.