UX: Topic recommendations tweaks. (#22880)

This PR updates how we display related and suggested topics on mobile and desktop. It adds a new `PluginOutlet` specifically designed for adding new topic lists, which automatically work if following the same conventions as the ones inside `<MoreTopics />`.

While we display lists side by side on desktop, we only display one in mobile. You can switch to another one by clicking on the nav pills, and we'll automatically save your preference for next time.
This commit is contained in:
Roman Rizzi
2023-07-31 18:33:21 -03:00
committed by GitHub
parent 318bdbdb46
commit e7fb4be23e
17 changed files with 511 additions and 349 deletions

View File

@@ -301,10 +301,12 @@ en:
related_messages:
title: "Related Messages"
pill: "Related Messages"
see_all: 'See <a href="%{path}">all messages</a> from @%{username}...'
suggested_topics:
title: "Suggested Topics"
title: "New & Unread Topics"
pill: "Suggested"
pm_title: "Suggested Messages"
about: