How to change the order of 'Suggested' and 'Related'?

AI-generated summary

The discussion revolves around changing the order of ‘Suggested’ and ‘Related’ sections under a main topic. Initially, fokx inquired about how to make ‘Related’ appear first by default. Arkshine explained that clicking on ‘Related’ saves it as a preference in the browser, but this doesn’t apply to first-time visitors.

After clarifying the question, Arkshine found a potential solution using a theme component, which Falco suggested would be better as an option under the DiscourseAI plugin. Arkshine agreed, having considered this after reviewing the Discourse AI source code.

The conversation also led to an updated feature request, shared by matenauta, to make ‘Related topics as default’: https://meta.discourse.org/t/related-topics-as-default/326928/3.

I find the ‘Related’ section under the main topic really useful as it uses AI to recommend related topics. So the question is how to show ‘Related’ first, instead of ‘Suggested’?
BTW, I think these two terms are quite blurry.

Thanks!

If you click on “Related”, it will be saved as your preference in your browser. The next time you visit any topic, “Related” will be selected by default. :+1:

Thanks, I know that. The current question is how to make ‘Related’ default when a user visit for the first time?

Oh, I see; your initial message was a bit unclear. :smile:

Unfortunately, it seems that there is no straightforward solution.
However, I can see a way to do it with a theme component. I will back to you later!

That would be better as an option under the DiscourseAI plugin.

Yes, of course! :smile:

This was my thought after looking at the Discourse AI source code (since it’s designed to allow this customization). I should have said it.

I wanted to provide an immediate solution, as it does not guarantee a setting will be implemented (even though it’s reasonable here!)

Updated feature request is here:

Please, be free to mix or move my posts about it.