Skip to content

Show comments inline for GFM links

What does this MR do and why?

Inline preview of comments in GFM (#29663 (closed))

inl

How to test

  1. enable inline_note_previews feature flag
  2. On an issue (description or a comment), add a link to a comment
  3. Click the link to the comment
  4. Comment expands below your text
  5. Click link again to collapse comment

Other notes

  1. Missing some small layout things (like user avatar)
  2. Link as toggle is a bit weird UI-wise

Tried using popovers and had some issues:

  1. Doesn't truncate, could lead to giant popovers
  2. circular popovers
  3. diagrams and things didn't render nicely

Screen_Recording_2022-11-23_at_2.17.21_pm

Edited by Simon Knox

Merge request reports

Loading