Discourse Bars ๐Ÿป ๐Ÿธ (์‚ฌ์ด๋“œ๋ฐ” ํ”„๋ ˆ์ž„์›Œํฌ)

So this was nothing to do with โ€œBarsโ€, great.

the settings description describes the options.

Basically anything on the Discovery page is โ€œdiscoveryโ€ except for โ€œcategoriesโ€, โ€œtagโ€ and a specific โ€œcategoryโ€ which are covered by those terms.

1๊ฐœ์˜ ์ข‹์•„์š”

My sincere apologies if I am being slow on this :pray:

I can see in the README.md this lineโ€ฆ

  • Supports setups for each of: discovery, topic, tag, category OR categories.

In case it is helpful to others, a search on the term discovery provides this helpful reference about โ€œdiscoveryโ€:

3๊ฐœ์˜ ์ข‹์•„์š”

Yes, this is a good point you raise. And I can see how this might create confusion.

This nomenclature, whilst itโ€™s talked about every so often on Meta, especially by developers (as its referenced a lot in code), is missing from Understanding Discourse for new users and something that is only picked up upon by new people if they engage in discussions specifically related to that functionality.

@JammyDodger do we need to think about addressing that in that guide? Where does someone learn about โ€œDiscoveryโ€ routes?

4๊ฐœ์˜ ์ข‹์•„์š”

Iโ€™m not sure itโ€™s used very often as a โ€˜front endโ€™ term for users. I think I only ever see it in theme components/dev. Iโ€™m not sure where the best place to put it would be? It feels more like an โ€˜adminโ€™ word, though Iโ€™m not sure if thereโ€™s a guide for that.

5๊ฐœ์˜ ์ข‹์•„์š”

For now Iโ€™ve added footnotes to the OP of this Topic, thanks

6๊ฐœ์˜ ์ข‹์•„์š”

https://github.com/merefield/discourse-tc-bars/commit/65d0d90c743c6c3303cfa1bfcd90584f7672a16e

  • Supports all bars
  • Can switch either off with settings.
  • Refresh browser to reset dismiss.

(still needs a bit of work on Topic page!)

6๊ฐœ์˜ ์ข‹์•„์š”

Topic behaviour has been improved with collapse and dismiss.

3๊ฐœ์˜ ์ข‹์•„์š”

New release:

  • introduces a new widget bars-custom-html which now provides the default example settings and allows you to create widgets that are just custom html.
  • adopts the params system from RSB[1] so should be compatible with some of the same widgets
  • is a breaking change which may require re-installation or fiddling with any existing settings as params will be missing for any settings you have already created.

https://github.com/merefield/discourse-tc-bars/pull/1/files

@ckshen you were looking for Custom HTML support?


  1. credit to @pmusaraj for that work โ†ฉ๏ธŽ

6๊ฐœ์˜ ์ข‹์•„์š”

Hello! Please tell me how to add a frame from Twitch to โ€œDโ€, for example

This is aimed at developers. If you need help with creating a specific widget:

5๊ฐœ์˜ ์ข‹์•„์š”

Thanks for the feature! We used to use the layout plugin to put the map on topic lists. Having the option definitely gives us the possibilities to implement something similar. We will have to think through how to implement it.

2๊ฐœ์˜ ์ข‹์•„์š”

Feel free to PR to Locations to add support and I will review. Or you can fund me to do it.

2๊ฐœ์˜ ์ข‹์•„์š”

Fix for route transitions.

https://github.com/merefield/discourse-tc-bars/commit/74627b5da67b5ff03696244bdc5e814c6c112e30

2๊ฐœ์˜ ์ข‹์•„์š”

Small feature, you can now selectively minimise a bar by default (though it currently has global impact to all routes)

https://github.com/merefield/discourse-tc-bars/commit/ca5272ecb6b35d1e403e6f8176caec584e768445

2๊ฐœ์˜ ์ข‹์•„์š”

This now works with Bars:

(you are recommended to use the top bar!!)

https://github.com/merefield/discourse-tc-team-timezones

3๊ฐœ์˜ ์ข‹์•„์š”

Updated last post, the plugin is now a theme component :rocket:

4๊ฐœ์˜ ์ข‹์•„์š”

Currently this Theme Component is incompatible with โ€œPowered by Discourseโ€, so if you want to use it, be sure to turn off:

image

Iโ€™m incredibly busy atm so fix may take a little time or PR welcome โ€ฆ

3๊ฐœ์˜ ์ข‹์•„์š”

From what I see, you only need a small CSS change

From:

grid-template-areas: "leftsidebar sidebar content rightsidebar"

To

grid-template-areas:
        "leftsidebar sidebar content rightsidebar"
        "leftsidebar sidebar below-content rightsidebar";

Is there actually another issue Iโ€™m not aware of? :thinking:

(I can PR, but you emphasize the word incompatible, I wonder If I miss something)

4๊ฐœ์˜ ์ข‹์•„์š”

Yes, itโ€™s just the grid css.

thanks for looking at this :+1: :pray:

but does that take care of both scenarios (On or Off?) - that was my main fear โ€ฆ and Iโ€™m knee deep elsewhere so didnโ€™t want to get embroiled in this right now โ€ฆ :sweat_smile:

1๊ฐœ์˜ ์ข‹์•„์š”

I made a PR:
https://github.com/merefield/discourse-tc-bars/pull/2
Let me know what you think. :+1:

5๊ฐœ์˜ ์ข‹์•„์š”