•  
      request #25686 Links and references should be clickable in Planning and Kanban
    Infos
    #25686
    Joris MASSON (jmasson)
    2022-03-11 11:33
    2022-03-04 13:00
    27218
    Details
    Links and references should be clickable in Planning and Kanban

    Given an artifact with a Text field written in HTML (or Markdown) format, when the text field is added to the Cards semantic, when I browse it in Kanban or Planning view, all HTML tags are stripped. As a result, I cannot click on links or Tuleap references, which has been frustrating users for a long time (as long as card fields have existed in fact).

    We should allow only Anchor tags (links) to be properly parsed, instead of removing them.

    Stripping HTML tags was done for two reasons:

    1. A technical reason. When users type text in the "filter" box in Kanban or Planning, the searched text is highlighted in card fields. Historically, this highlighting could not handle HTML, so if a user typed a in the search field, it would break up HTML tags as well, leading to a soup of broken HTML tags (<<span class="highlight">a</span> href="https://example.com">Link</<span class="highlight">a</span>>).
    2. A design reason. If we allow all tags, users might include large images, lists, or titles in their HTML, which will completely break up the Card design. Allowing only Anchor tags (links) however should preserve it, as they display inline.
    Agile Dashboard
    All
    Empty
    • [ ] enhancement
    • [ ] internal improvement
    Empty
    Stage
    Joris MASSON (jmasson)
    Closed
    2022-03-11
    Attachments
    Empty
    References
    Referencing request #25686
    Referenced by request #25686

    Artifact Tracker v5

    rel #25338 13.7

    Follow-ups

    User avatar
    Joris MASSON (jmasson)2022-03-11 11:33

    References are not always interpreted by backend, that will need its own request. This one is closed.


    • Status changed from Under implementation to Closed
    • Close date set to 2022-03-11
    User avatar
    Joris MASSON (jmasson)2022-03-04 13:01

    gerrit #25179 is under review. Other patches will probably be needed


    • Is an Enhancement or an internal improvement? cleared values: internal improvement