Add /groups to top nav

AI-generated summary

A theme component by alehandrof adds the top navigation bar to the groups page, similar to the existing /users navigation. The component is now broken due to recent changes on the group page, and alehandrof plans to fix it upon return. david notes that using the official JavaScript plugin API would make it more resilient and moves the discussion to the #theme:broken-theme category. Eduardo_Braga asks about the availability of the groups option. alehandrof clarifies a previous post, and sam points out that the change can be made using the client-side API in a theme component without requiring a plugin. alehandrof then archives the theme on GitHub, indicating the topic can be closed.

Location

Repo: GitHub - alehandrof/discourse-group-nav: Add group nav for Discourse (theme component) · GitHub

About

This theme component adds the full nav bar on both mobile and desktop on the groups page:

It’s based on the component that does the same thing with /users. So much so, that I’m not really sure how this works :slight_smile:

Install guide

How to install a theme or theme component

「いいね!」 14

FYI - This theme component is now broken due to the recent changes on the group page. I’m at a conference right now, but I’ll look at repairing it when I get back. If any one else wants to take a stab at it, go ahead :slight_smile:

「いいね!」 4

混乱を避けるため、この件は(まさに新設された!)#customization:theme:broken-theme カテゴリに移動しました。とはいえ、やはり修正していただければ幸いです。公式の JavaScript プラグイン API を使用すれば、将来的により堅牢になります(/user 版の同等箇所についても同様です)。

「いいね!」 2

Is the option to add groups available?

このプラグインは、以下の古いテーマが提供していた機能を置き換えます: Custom Top Navigation Links

「いいね!」 2

注意:技術的な理由によりプラグインが必要というわけではありません。この変更は、テーマコンポーネント内でクライアントサイド API のみを使用して行うことができます。

「いいね!」 3

おっと!私が投稿したのは、全く逆の意味でした。

“この新しいテーマコンポーネント は、この古いテーマが提供していた機能を置き換えるものです。”

すみません、再確認せずに急いで投稿してしまいました :flushed_face:

このトピックをクローズしていただいても構いません。私はすでに GitHub でこのテーマをアーカイブしました。

「いいね!」 2