Search existing topics when hyperlinking

Hi everyone, if I may give you a suggestion.

When in editor and hyperlinking a word in a post, it would be a great idea to write a word/keys and dynamically search for matching topics. Because I’m finding myself linking references to other topics.

I saw a similar feature on some wordpress plugins, to easily put anchors and relate content.

20

11 « J'aime »

This is a duplicate of some other requests:
:lock: Insert internal link like Wordpress
:lock: Fast way to link to existing topic?
:unlock: https://meta.discourse.org/t/how-about-mentioning-topic-feature/7350

You can kind of do something similar when composing by opening the header search, typing your query, using the down arrow to select the topic you want, and then hitting a to insert the link into the composer (totally recognize that it’s a power-user feature, and something in the hyperlink modal would be much more discoverable).

7 « J'aime »

:confetti_ball: This feature has been added to core just a few minutes ago.

17 « J'aime »

I hate to be “that guy” but I think category and tags need to appear there as well?

4 « J'aime »

Also the closed icon/solved icon and so on like search shows. Basically the same as search, minus the excerpt in one line.

3 « J'aime »

This has been updated, with support for categories, tags and topic status (closed/solved/pinned and so on).

11 « J'aime »

C’est l’une des fonctionnalités les plus utiles de Discourse, permettant une liaison beaucoup plus facile entre les sujets.

Une question : quelle serait la difficulté de mettre en œuvre une recherche inter-sites dans cette fonctionnalité ? Par exemple, rechercher également sur un site d’aide externe et permettre la recherche de ce contenu ainsi que la liaison vers celui-ci.

1 « J'aime »

Actuellement, ce n’est pas configuré pour être étendu afin d’inclure d’autres résultats de recherche. Je suppose qu’un plugin pourrait étendre cette route et retourner d’autres résultats, mais ce n’est probablement pas un changement trivial.

Je ne pensais pas que ce serait le cas. La technologie d’indexation peut-elle être redirigée vers un site différent dans un plugin ?