๐Ÿท๏ธ Bars Tag List Component

: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 Likes

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 Likes

@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 Likes

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 Likes

Just to summarise a few changes that have occurred recently:

  • Iโ€™ve added support for Right Sidebar Blocks too
  • Iโ€™ve partially migrated it to Glimmer (the widget invokes a Glimmer Template)
  • Iโ€™ve added caching to prevent frequent calls to tags.json (which it was calling with each page change!) - if you want to see a new tag you must refresh your browser. This will alleviate:
    • burden on the server
    • the visible refresh.
4 Likes

Is there a reason this is categorized as a Plugin? Isnโ€™t this a Theme Component?

1 Like

Itโ€™s a hangover from the Layouts plugin days for which it used to be an extension. Iโ€™ll flag it to be moved.

3 Likes

I moved it! :rocket:

2 Likes

The link doesnโ€™t work :smiling_face_with_tear:

1 Like

Yeah, I havenโ€™t got around to fixing the OP up yet, too busy with resolving deprecations on about 10 repos :slight_smile:

3 Likes

As part of a migration to remove all legacy Layouts and Discourse Widget code, this has been fully migrated to Glimmer, relocated and the Component renamed, you might need to update your Bars or RSB config:

Repo now at: https://github.com/merefield/discourse-tc-bars-tag-list-component

Name of Component: tag-list-component