Skip to content

Improve event note display in dashboard and project activity views

Ramya Authappan requested to merge github/fork/mr-vinn/note-trunc-link into master

Created by: mr-vinn

Fixes #3910

This change improves the event note display in dashboard and project activity views:

  • Preserve link href values when the link text is truncated.
  • Display inline code in the first line of a note.
  • Only display "..." when the note contents are truncated.
  • If the note starts with a code block, display the first line instead of an empty <pre/> element.

Examples

Old

truncated_link_old

inline_code_old

plain_old

code_block_old

New

truncated_link_new

inline_code_new

plain_new

code_block_new

Merge request reports

Loading