🏷️ バーズ タグ リスト コンポーネント

:eyeglasses: Overview

The Tag List Widget allows you to display tags from Discourse in a sidebar using my Bars! :cocktail: :beers: or the Right Sidebar Blocks Theme Components.

:link: Quick Links

:octopus: Get the code
:gear: use tag-list-component for component name in Bars!

:gear: Settings

The widget allows for some configurability with settings such as:

  • :see_no_evil: Hiding specific tags
  • :page_with_curl: Changing display styles (row or column)
  • :hash: Showing count
  • :bar_chart: Change sorting type



Install this Component

「いいね!」 12

How’s mobiles? Normally something like 80 % or more are using mobiles and for them sidebars are useless. Will they see something or is this only for desktops and tablets?

「いいね!」 2

@Jagster Yes this will work on mobile :grinning:

The Layouts Plugin can be configured to work on mobile. Here’s some more info from the documentation about how to set that up:

「いいね!」 4

As our british friends say: splendid indeed :laughing:

Now I have to give a spin. My users are… not so tech savvy so they need all possible help and info.

「いいね!」 5

最近あった変更点をいくつか要約します。

  • サイドバーブロックにも対応しました。
  • Glimmerへの部分的な移行を行いました(ウィジェットはGlimmerテンプレートを呼び出します)。
  • tags.jsonへの頻繁な呼び出しを防ぐためにキャッシュを追加しました(ページ変更ごとに呼び出していました!) - 新しいタグを表示するにはブラウザを更新する必要があります。これにより、以下の軽減が期待できます。
    • サーバーへの負荷
    • 表示上のリフレッシュ
「いいね!」 5

すべてのレガシーレイアウトとDiscourseウィジェットコードを削除する移行の一環として、これはGlimmerに完全に移行され、場所が変更され、コンポーネントの名前が変更されました。BarsまたはRSBの設定を更新する必要がある場合があります。

リポジトリは現在次の場所にあります: https://github.com/merefield/discourse-tc-bars-tag-list-component

コンポーネントの名前: tag-list-component

「いいね!」 3