#3912 closed enhancement (fixed)
Make inserting links in user notes more user friendly
Reported by: | keesiemeijer | Owned by: | coffee2code |
---|---|---|---|
Milestone: | Priority: | normal | |
Component: | Developer Hub | Keywords: | has-patch has-screenshots |
Cc: |
Description
To make inserting links in user notes more user friendly the link Quicktag button should be added to the note editors.
The following patch adds the link button. The search panel and checkbox to open links in a new tab in the modal window are hidden with CSS. I've also disabled the search query even though the search panel is hidden.
Attachments (6)
Change History (11)
#1
follow-up:
↓ 2
@
6 years ago
Hmm, interesting that we'd hide the search panel (is it already hidden, we're just disabling the query?). We regularly remove third-party links from contributor notes to prevent linking outside resources that haven't been vetted.
I would think the search panel would be useful considering maybe the only relevant links I can think of in a note would be for linking to other elements in the Code Reference.
#2
in reply to:
↑ 1
@
6 years ago
- Keywords has-screenshots added
Replying to DrewAPicture:
No, I've hidden it with CSS and for good measure disabled the query as well. The query is expensive and the order of the results is different than the normal search results. It felt cluttered. But as you say, it could still be useful.
To have the same results (order) as a normal search we could set suppress_filters
to false, but that would make the query even more expensive.
I've also just noticed we should restrict the post type to reference or handbook posts.
I will follow up with some screenshots of the differences.
#3
@
6 years ago
Yeah, let's skip the query and hide the modal for now. It would be nice to have smart linking in some form in the future but for now, making links easier to add would be a good addition.
#4
@
4 years ago
- Owner set to coffee2code
- Resolution set to fixed
- Status changed from new to closed
In 9716:
#5
@
4 years ago
Thanks @keesiemeijer!
As Drew recommended, I went with the original patch implementing only the basic link form in the modal.
We can revisit including the search panel and search filters in a separate ticket if we want to pursue it later.
Add link button