Linking to designs from issue and design comments is broken - reference parser needed
Summary
When we implemented markdown for Designs, this part of the functionality was left out in the MVC but it is now critical to using and linking between designs.
Steps to reproduce
- Paste the full URL to a Design into an issue, MR or design comment
Example:https://gitlab.com/gitlab-org/gitlab/-/issues/216880/designs/Scrolled_view_-_Title_+_Details.png
- The rendered markdown breaks:
Example of broken Design Comment:
- Link to live Design: #216880 (closed)Scrolled_view_-_Title_+_Details.png
What is the current bug behavior?
- See step 3 above.
What is the expected correct behavior?
- Should render to
#216880[Screen_Shot_2020-05-08_at_11.55.35_AM.png] (comment 339179144)
Possible fixes
- Re-implement the changes that @alexkalderimis shelved in his MR during the design markdown MVC
- Ensure this works on descriptions/comments for all of issues, MRs and Design Comments
cc @alexkalderimis @dsatcher @mnearents @jeremy @gweaver @mikelong
Edited by Alex Kalderimis