Discourse Bars 🍻 🍸 (μ‚¬μ΄λ“œλ°” ν”„λ ˆμž„μ›Œν¬)

:eyeglasses: κ°œμš”

μ»΄ν¬λ„ŒνŠΈ[1]λ₯Ό 상단 및 μ‚¬μ΄λ“œλ°” μœ„μ— λ ˆμ΄μ•„μ›ƒν•  수 μžˆλ„λ‘ ν•˜λŠ” ν…Œλ§ˆ μ»΄ν¬λ„ŒνŠΈμž…λ‹ˆλ‹€.

  • Route(경둜)와 Position(μœ„μΉ˜)λ³„λ‘œ β€œμœ„μ ―β€ 집합을 λͺ…ν™•νžˆ μ§€μ •ν•©λ‹ˆλ‹€.
  • discovery[2], topic(ν† ν”½), tag(νƒœκ·Έ)[3], category(μΉ΄ν…Œκ³ λ¦¬)[3:1], categories(μΉ΄ν…Œκ³ λ¦¬ λͺ©λ‘)[3:2] λ˜λŠ” tags-intersection(νƒœκ·Έ ꡐ차)[4] 각각에 λŒ€ν•œ 섀정을 μ§€μ›ν•©λ‹ˆλ‹€.
  • "λ°”(Bars)"λŠ” top(상단), left(쒌츑), right(우츑) λ˜λŠ” λŒ€μ²΄ 우츑 μœ„μΉ˜ 쀑 ν•˜λ‚˜λ₯Ό μ‚¬μš©ν•  수 μžˆμŠ΅λ‹ˆλ‹€.
  • 각 λ°”λŠ” μ ‘κΈ°(collapsed) λ˜λŠ” λ‹«κΈ°(dismissed)κ°€ κ°€λŠ₯ν•©λ‹ˆλ‹€ (닫은 μƒνƒœλ₯Ό μ΄ˆκΈ°ν™”ν•˜λ €λ©΄ λΈŒλΌμš°μ €λ₯Ό μƒˆλ‘œκ³ μΉ¨ν•΄μ•Ό ν•©λ‹ˆλ‹€). 기본적으둜 μ΅œμ†Œν™”(minimised) μƒνƒœλ‘œ μ„€μ •ν•  수 μžˆμŠ΅λ‹ˆλ‹€.
  • 곡식 μ‚¬μ΄λ“œλ°”λ₯Ό μ²˜λ¦¬ν•˜μ§€λ§Œ, Bars의 쒌츑 μ‚¬μ΄λ“œλ°”λ₯Ό μ‚¬μš©ν•  κ³„νšμ΄λΌλ©΄ 곡식 μ‚¬μ΄λ“œλ°”μ˜ λ“œλ‘­λ‹€μš΄(Dropdown) λͺ¨λ“œλ₯Ό μ‚¬μš©ν•˜λŠ” 것이 ꢌμž₯λ©λ‹ˆλ‹€.
  • 일뢀 큰 글씨λ₯Ό ν‘œμ‹œν•˜λŠ” κΈ°μ‘΄ μ˜ˆμ‹œ 섀정이 ν¬ν•¨λ˜μ–΄ 있으며, μ΄λŠ” 데λͺ¨ λͺ©μ μ΄κΈ°λ„ ν•˜κ³  μ˜ˆμ‹œ 섀정을 확인할 수 μžˆλ„λ‘ ν•˜κΈ° μœ„ν•¨μ΄κΈ°λ„ ν•©λ‹ˆλ‹€. 이 섀정듀을 μ‚­μ œν•˜κ³  μžμ‹ μ˜ μ»΄ν¬λ„ŒνŠΈ μ΄λ¦„μœΌλ‘œ κ΅μ²΄ν•˜μ„Έμš”.
  • ν•˜λ‚˜μ˜ μ»΄ν¬λ„ŒνŠΈ, bars-custom-html(μ˜ˆμ‹œ μ„€μ • μ°Έκ³ )이 κΈ°λ³Έ μ œκ³΅λ˜μ§€λ§Œ, κΈ°μ‘΄ ν…Œλ§ˆ μ»΄ν¬λ„ŒνŠΈ 및 ν”ŒλŸ¬κ·ΈμΈμ˜ λ§Žμ€ μ»΄ν¬λ„ŒνŠΈμ™€ ν˜Έν™˜λ©λ‹ˆλ‹€.
  • λͺ¨λ°”일 지원은 아직 κ΅¬ν˜„λ˜μ§€ μ•Šμ•˜μŠ΅λ‹ˆλ‹€.

:link: λΉ λ₯Έ 링크

:octopus: μ½”λ“œ κ°€μ Έμ˜€κΈ° https://github.com/merefield/discourse-tc-bars
:eyes: μ½”λ“œ 보기 GitHub - merefield/discourse-tc-bars: A Theme Component that allows you to lay out Components ("widgets") on top and side bars Β· GitHub
:question: μ„€μΉ˜ κ°€μ΄λ“œ Installing a theme or theme component

이 ν…Œλ§ˆ μ»΄ν¬λ„ŒνŠΈλ₯Ό 즐기고 κ³„μ‹ κ°€μš”? GitHubμ—μ„œ :star: ν•΄μ£Όμ„Έμš”! :pray:

μ˜ˆμ‹œ:

졜초 λ‘œλ“œ μ‹œ:

:warning: 이 TC에 λŒ€ν•΄ μ•Œμ•„λ‘˜ λͺ‡ κ°€μ§€ μ€‘μš”ν•œ 사항!

  • 이 ν…Œλ§ˆ μ»΄ν¬λ„ŒνŠΈλŠ” ν…Œλ§ˆ κ°œλ°œμ— λŒ€ν•œ 기술적 이해가 μžˆλŠ” 개발자 및 κ΄€λ¦¬μžλ₯Ό μœ„ν•œ κ²ƒμž…λ‹ˆλ‹€. Barsλ₯Ό μ‚¬μš©ν•˜μ—¬ μ‚¬μ΄λ“œλ°”λ₯Ό κ΅¬ν˜„ν•˜λŠ” 데 도움이 ν•„μš”ν•˜κ³  기술적 μ—­λŸ‰μ΄ μΆ©λΆ„ν•˜μ§€ μ•Šλ‹€λ©΄, μ €λ‚˜ Marketplace μ±„λ„μ˜ 개발자λ₯Ό κ³ μš©ν•  수 μžˆμŠ΅λ‹ˆλ‹€.

  • 이 ν…Œλ§ˆ μ»΄ν¬λ„ŒνŠΈλŠ” μ‚¬μ΄λ“œλ°”λ₯Ό μ§€μ›ν•˜λŠ” ν”„λ ˆμž„μ›Œν¬λ₯Ό μ œκ³΅ν•˜λŠ” 것이 λͺ©μ μž…λ‹ˆλ‹€. μ΅œμ’…μ μΈ μ‹œκ°μ  마무리(polish)λŠ” μΆ”κ°€ CSSλ₯Ό μ‚¬μš©ν•˜μ—¬ ν…Œλ§ˆμ—μ„œ 직접 μΆ”κ°€ν•΄μ•Ό ν•˜λ©°, 이 μ»΄ν¬λ„ŒνŠΈλŠ” 이λ₯Ό μ œκ³΅ν•˜μ§€ μ•ŠμŠ΅λ‹ˆλ‹€. κ·ΈλŸ¬λ‚˜ λ§Žμ€ μž‘μ—…μ„ λŒ€μ‹  μ²˜λ¦¬ν•˜μ—¬ κ³ λ €ν•  사항을 쀄여주고, μ΄μ „μ—λŠ” λΆˆκ°€λŠ₯ν–ˆλ˜ μž‘μ—…μ„ μˆ˜ν–‰ν•  수 μžˆλŠ” λŠ₯λ ₯을 λΆ€μ—¬ν•  μˆ˜λ„ μžˆμŠ΅λ‹ˆλ‹€ … :sweat_smile:

μ»΄ν¬λ„ŒνŠΈ κ³ λ € 사항

  • μ»΄ν¬λ„ŒνŠΈ 이름을 μ§€μ •ν•΄μ•Ό ν•©λ‹ˆλ‹€. μ»΄ν¬λ„ŒνŠΈ 이름은 μ‹€μ œλ‘œ ν…Œλ§ˆ, tc λ˜λŠ” ν”ŒλŸ¬κ·ΈμΈμ˜ component 디렉터리 λ‚΄ 파일λͺ…μ—μ„œ 접미사λ₯Ό μ œμ™Έν•œ 것과 λ™μΌν•©λ‹ˆλ‹€.

    • μ»΄ν¬λ„ŒνŠΈ 이름은 ν…Œλ§ˆ μ»΄ν¬λ„ŒνŠΈμ˜ 이름(μ—¬λŸ¬ 개의 Ember Glimmer μ»΄ν¬λ„ŒνŠΈλ₯Ό 포함할 수 있음)이 μ•„λ‹ˆλΌ, μ‹€μ œ Ember μ»΄ν¬λ„ŒνŠΈ 파일의 μ΄λ¦„μž…λ‹ˆλ‹€ :sweat_smile: . 예λ₯Ό λ“€μ–΄:

    λ”°λΌμ„œ layouts-tag-list

  • κΈ°μ‘΄ ν…Œλ§ˆ μ»΄ν¬λ„ŒνŠΈλ‚˜ ν”ŒλŸ¬κ·ΈμΈμ—μ„œ κ°€μ Έμ˜¬ 수 μžˆμŠ΅λ‹ˆλ‹€. κΈ°μ‘΄ μ»΄ν¬λ„ŒνŠΈκ°€ μž‘λ™ν•  수 μžˆμŠ΅λ‹ˆλ‹€. μ˜ˆμ‹œ:

  • μ»΄ν¬λ„ŒνŠΈλ₯Ό κ΅¬μΆ•ν•˜λ €λ©΄ μƒλ‹Ήν•œ μ „λ¬Έ 지식이 ν•„μš”ν•©λ‹ˆλ‹€.

    • ν•˜μ§€λ§Œ λ‹€λ₯Έ ν…Œλ§ˆ μ»΄ν¬λ„ŒνŠΈμ—μ„œ μžμ‹ μ˜ μ»΄ν¬λ„ŒνŠΈλ₯Ό ꡬ좕해 보고, 두 μ»΄ν¬λ„ŒνŠΈκ°€ λ™μΌν•œ ν…Œλ§ˆμ—μ„œ λͺ¨λ‘ ν™œμ„±ν™”λ˜μ–΄ μžˆλŠ”μ§€ 확인해 λ³΄μ„Έμš”.
  • μ»΄ν¬λ„ŒνŠΈλŠ” 자체 데이터λ₯Ό μ†Œμ‹±ν•΄μ•Ό ν•©λ‹ˆλ‹€ (μ΄λŸ¬ν•œ λ°©μ‹μœΌλ‘œ λ ˆμ΄μ•„μ›ƒμ„ κ΅¬μ„±ν•˜λŠ” 데 ν•„μš”ν•œ νŠΉμ • ν”ŒλŸ¬κ·ΈμΈ 아웃렛 λ•Œλ¬Έμ— ν”ŒλŸ¬κ·ΈμΈ 아웃렛을 ν†΅ν•œ λͺ¨λΈ νŒ¨μŠ€μ“°λ£¨λ₯Ό μ‚¬μš©ν•  수 μ—†μŠ΅λ‹ˆλ‹€).

    • κΈ°λ³Έμ μœΌλ‘œλŠ” Discourse μ½”μ–΄ λ˜λŠ” κΈ°μ‘΄ ν”ŒλŸ¬κ·ΈμΈμ΄ μ œκ³΅ν•˜λŠ” κΈ°μ‘΄ JSON API λ°μ΄ν„°λ§Œ μ‚¬μš©ν•  수 μžˆμŠ΅λ‹ˆλ‹€. ν˜„μž¬ APIμ—μ„œ μ†Œμ‹±ν•  수 μ—†λŠ” 맞좀 데이터가 ν•„μš”ν•˜λ©΄ μ €λ‚˜ #marketplace의 λˆ„κ΅°κ°€λ₯Ό κ³ μš©ν•˜μ—¬ 도움을 받을 수 μžˆμŠ΅λ‹ˆλ‹€.
  • μ‚¬μ΄λ“œλ°” 및 μ»΄ν¬λ„ŒνŠΈ 경계λ₯Ό μ·¨ν–₯에 맞게 μŠ€νƒ€μΌλ§ν•΄μ•Ό ν•  수 μžˆμŠ΅λ‹ˆλ‹€. (λ‹€μ‹œ ν•œλ²ˆ λ§ν•˜μ§€λ§Œ, 도움이 ν•„μš”ν•˜λ©΄ 개발자 κ³ μš©μ„ κ³ λ €ν•΄ λ³΄μ„Έμš”).

    • λ°•μŠ€ μ„€λ„μš°μ™€ ν…Œλ‘λ¦¬μ˜ μ „λž΅μ μΈ μ‚¬μš©μ€ λ””μžμΈμ„ 훨씬 λ©‹μ§€κ²Œ λ§Œλ“€ 수 μžˆμŠ΅λ‹ˆλ‹€ - 예술적으둜 μ ‘κ·Όν•˜μ„Έμš”!

μ™œ λ§Œλ“€μ—ˆλŠ”κ°€

  • Discourse μ½”μ–΄κ°€ Ember 5둜 μ—…λ°μ΄νŠΈλ˜λ©΄μ„œ, Pavilion의 ν”ŒλŸ¬κ·ΈμΈ Layoutsκ°€ Discourse λ ˆμ΄μ•„μ›ƒμ„ μ‘°μž‘ν•˜λŠ” 데 μ‚¬μš©ν•˜λ˜ 트릭이 더 이상 μž‘λ™ν•˜μ§€ μ•Šκ²Œ λ˜μ—ˆμŠ΅λ‹ˆλ‹€. 이제 비ꡐ적 μ‰¬μš΄ μ‚¬μš©μž μΈν„°νŽ˜μ΄μŠ€λ₯Ό 톡해 ν† ν”½ κ²½λ‘œμ—μ„œ μ‚¬μ΄λ“œλ°”λ₯Ό ν‘œμ‹œν•˜λŠ” μ‰¬μš΄ 방법이 μ—†μ—ˆμŠ΅λ‹ˆλ‹€.

  • λ˜ν•œ, EmberλŠ” μž‘μ—…ν•˜κΈ° 훨씬 λ‚˜μ€ Glimmer μ»΄ν¬λ„ŒνŠΈλ₯Ό λ„μž…ν–ˆμŠ΅λ‹ˆλ‹€. (LayoutsλŠ” Glimmer μ»΄ν¬λ„ŒνŠΈλ₯Ό λŒ€μ²΄ν•˜κΈ° μœ„ν•΄ λΉ„μΆ”μ²œ(deprecated)된 Widgets APIλ₯Ό μ‚¬μš©ν–ˆμŠ΅λ‹ˆλ‹€).

  • λ§ˆμ§€λ§‰μœΌλ‘œ, Discourse μ½”μ–΄ νŒ€μ΄ ν…Œλ§ˆ μ»΄ν¬λ„ŒνŠΈ 섀정을 μœ„ν•œ μƒˆλ‘œμš΄ JSON νŽΈμ§‘κΈ°λ₯Ό μ œκ³΅ν•˜μ—¬ 더 λ³΅μž‘ν•œ μ„€μ • 배포가 κ°€λŠ₯ν•΄μ‘ŒμŠ΅λ‹ˆλ‹€ :+1: :rocket:

  • Layouts ν”ŒλŸ¬κ·ΈμΈμ„ μˆ˜μ •ν•˜λŠ” 것(Layouts μ‹œλŒ€μ—λŠ” TCκ°€ μ‘΄μž¬ν•˜μ§€ μ•Šμ•˜μŠ΅λ‹ˆλ‹€)λ³΄λ‹€λŠ”, λŒ€λΆ€λΆ„μ˜ ν•„μš”ν•œ μž‘μ—…μ„ ν”„λ‘ νŠΈμ—”λ“œμ—μ„œλ§Œ 달성할 수 μžˆμœΌλ―€λ‘œ ν…Œλ§ˆ μ»΄ν¬λ„ŒνŠΈλ‘œ μž¬κ΅¬μΆ•ν•˜λŠ” 것이 ν•©λ¦¬μ μ˜€μŠ΅λ‹ˆλ‹€.

  • β€œBars” λ“±μž₯ :beers: :cocktail: Cheers!!

μ•Œλ €μ§„ 문제

  • 상단 λ°”κ°€ κ³ μ •λ˜μ§€ μ•ŠμŠ΅λ‹ˆλ‹€ (ν•΄κ²°ν•  수 μ—†μœΌλ©΄ ν•΄λ‹Ή 섀정을 μ œκ±°ν•  수 μžˆμŠ΅λ‹ˆλ‹€).

ν¬λ ˆλ”§

  • μˆ˜λ…„κ°„ μœ μš©ν•˜κ²Œ μ‚¬μš©λ˜μ—ˆμœΌλ‚˜ ν˜„μž¬λŠ” κΉ¨μ§„ Layouts ν”ŒλŸ¬κ·ΈμΈμ˜ 정신적 ν›„μ†μž‘μž…λ‹ˆλ‹€. @angusκ°€ μ œμž‘ν–ˆμŠ΅λ‹ˆλ‹€ (Cheers!).
  • Right Side Blocks의 params μ‹œμŠ€ν…œμ„ μ‚¬μš©ν•©λ‹ˆλ‹€ (κ°μ‚¬ν•©λ‹ˆλ‹€ @pmusaraj!).

  1. β€˜discovery’(경둜)λΌλŠ” μš©μ–΄λŠ” νŠΉμ • 토픽에 μ§„μž…ν•˜κΈ° 전에 이용 κ°€λŠ₯ν•œ 토픽을 탐색할 수 μžˆλŠ” μ£Όμš” ν† ν”½ λͺ©λ‘ νŽ˜μ΄μ§€(예: β€œμ΅œμ‹ β€, β€œμƒˆλ‘œμ›€β€)λ₯Ό κ°€λ¦¬ν‚΅λ‹ˆλ‹€. β†©οΈŽ

  2. κΈ°μˆ μ μœΌλ‘œλŠ” β€œdiscovery” κ²½λ‘œμ΄μ§€λ§Œ, μ„ νƒμ μœΌλ‘œ λ‹€λ₯΄κ²Œ μ·¨κΈ‰ν•  수 μžˆλ„λ‘ κ΅¬λΆ„λœ μ΄λ¦„μœΌλ‘œ λΆ„λ¦¬ν–ˆμŠ΅λ‹ˆλ‹€. β†©οΈŽ

  3. μ—¬κΈ°μ—μ„œ 더 μžμ„Έν•œ λ‚΄μš©μ„ λ³Ό 수 μžˆμŠ΅λ‹ˆλ‹€. λͺ¨λ“  Bars μ„€μΉ˜μžκ°€ μ‚¬μš©μž μ •μ˜ ν™ˆ νŽ˜μ΄μ§€λ₯Ό μ›ν•˜μ§€λŠ” μ•ŠμœΌλ―€λ‘œ(선택 μ‚¬ν•­μœΌλ‘œ μœ μ§€ν•˜κΈ° μœ„ν•΄), BarsλŠ” about.json에 ν•„μš”ν•œ μˆ˜μ •μžλ₯Ό μΆ”κ°€ν•˜μ§€ μ•ŠμŠ΅λ‹ˆλ‹€. λ”°λΌμ„œ ν™œμ„±ν™”ν•˜λ €λ©΄ μƒμœ„ ν…Œλ§ˆ λ˜λŠ” λ‹€λ₯Έ TCμ—μ„œ 이 μˆ˜μ •μžλ₯Ό 직접 μΆ”κ°€ν•΄μ•Ό ν•©λ‹ˆλ‹€. β†©οΈŽ β†©οΈŽ β†©οΈŽ

  4. Tags Intersection ν”ŒλŸ¬κ·ΈμΈμ„ μ°Έμ‘°ν•˜μ„Έμš”. β†©οΈŽ

48개의 μ’‹μ•„μš”

woah, this is cool! Nice work Robert. :rocket: Thanks for doing this and making it available! :slight_smile:

forked!

11개의 μ’‹μ•„μš”

I’m quite at the beginning of learning how to add custom widgets, but: I would love an option to add widgets in a non-scrolling footer in the mobile view.
Would this be possible with a future version of this component?

4개의 μ’‹μ•„μš”

No plans to add additional β€œbars” at this stage but maybe once things settle down and the TC is clearly stable …

… PR or sponsorship always welcome too :+1:

6개의 μ’‹μ•„μš”

This looks awesome - Thank You! Could you please provide an example for what the settings look like for including the Tag List Widget in one of the sidebars?

For example, from the instructions it seems this should work…

But the left sidebar still only shows the big-a…

3개의 μ’‹μ•„μš”

Two things:

First, here are similar settings from StarZen:

The component name is in fact the same as the file name in the Component (i’ll add that to the OP)

https://starzen.space

Secondly, it’s really silly, but you have to press Save and hit the tick after hitting Save.

It’s a double Save! :man_facepalming:

That’s the nature of cores current theme setting, not bars. I might add a note about that in the OP.

5개의 μ’‹μ•„μš”

Yes, I did the double Save :slight_smile:

Still, I must be missing something because the result is the same. Is there something else I can provide to help?

1개의 μ’‹μ•„μš”

Share your settings json (button at bottom of TC).

3개의 μ’‹μ•„μš”
[
	{
		"setting": "bar_components",
		"value": "[{\"component_name\":\"layouts-tag-list-widget\",\"route\":\"discovery\",\"position\":\"left\"},{\"component_name\":\"big-b\",\"route\":\"discovery\",\"position\":\"left\"},{\"component_name\":\"big-c\",\"route\":\"discovery\",\"position\":\"right-alt\"},{\"component_name\":\"big-d\",\"route\":\"discovery\",\"position\":\"right-alt\"},{\"component_name\":\"big-e\",\"route\":\"discovery\",\"position\":\"top\"},{\"component_name\":\"big-f\",\"route\":\"discovery\",\"position\":\"top\"},{\"component_name\":\"big-c\",\"route\":\"topic\",\"position\":\"right\"},{\"component_name\":\"big-d\",\"route\":\"topic\",\"position\":\"right\"},{\"component_name\":\"big-e\",\"route\":\"topic\",\"position\":\"top\"},{\"component_name\":\"big-a\",\"route\":\"categories\",\"position\":\"left\"},{\"component_name\":\"big-c\",\"route\":\"category\",\"position\":\"left\"},{\"component_name\":\"big-b\",\"route\":\"tag\",\"position\":\"right\"}]"
	},
	{
		"setting": "left_sidebar_width",
		"value": 300
	},
	{
		"setting": "right_sidebar_width",
		"value": 300
	},
	{
		"setting": "sticky_sidebars",
		"value": true
	},
	{
		"setting": "sidebar_sticky_top_position",
		"value": 60
	},
	{
		"setting": "sidebar_height",
		"value": 800
	},
	{
		"setting": "scrolly_sidebars",
		"value": false
	},
	{
		"setting": "top_bar_height",
		"value": 150
	},
	{
		"setting": "top_bar_sticky_top_position",
		"value": 60
	},
	{
		"setting": "sidebar_gap",
		"value": 5
	},
	{
		"setting": "rightalt_sidebar_gap",
		"value": 5
	}
]

Your component_name is still wrong, see my example and you might want to delete the rest.

Hmm… OK I deleted all but the first one, and changed the name to match yours (even though the component name is coming from the TC GitHub - merefield/discourse-tc-bars-tag-list-component: The Tag List Widget allows you to display tags from Discourse in a sidebar using Pavilion's Custom Layouts Plugin. Β· GitHub - where would I find that the correct component name is layouts-tag-list?)

However, changing the component name in the modal doesn’t seem to change it in the settings json, or remove the rest of the items, even after double save…

[
	{
		"setting": "bar_components",
		"value": "[{\"component_name\":\"layouts-tag-list-widget\",\"route\":\"discovery\",\"position\":\"left\"},{\"component_name\":\"big-b\",\"route\":\"discovery\",\"position\":\"left\"},{\"component_name\":\"big-c\",\"route\":\"discovery\",\"position\":\"right-alt\"},{\"component_name\":\"big-d\",\"route\":\"discovery\",\"position\":\"right-alt\"},{\"component_name\":\"big-e\",\"route\":\"discovery\",\"position\":\"top\"},{\"component_name\":\"big-f\",\"route\":\"discovery\",\"position\":\"top\"},{\"component_name\":\"big-c\",\"route\":\"topic\",\"position\":\"right\"},{\"component_name\":\"big-d\",\"route\":\"topic\",\"position\":\"right\"},{\"component_name\":\"big-e\",\"route\":\"topic\",\"position\":\"top\"},{\"component_name\":\"big-a\",\"route\":\"categories\",\"position\":\"left\"},{\"component_name\":\"big-c\",\"route\":\"category\",\"position\":\"left\"},{\"component_name\":\"big-b\",\"route\":\"tag\",\"position\":\"right\"}]"
	},
	{
		"setting": "left_sidebar_width",
		"value": 300
	},
	{
		"setting": "right_sidebar_width",
		"value": 300
	},
	{
		"setting": "sticky_sidebars",
		"value": true
	},
	{
		"setting": "sidebar_sticky_top_position",
		"value": 60
	},
	{
		"setting": "sidebar_height",
		"value": 800
	},
	{
		"setting": "scrolly_sidebars",
		"value": false
	},
	{
		"setting": "top_bar_height",
		"value": 150
	},
	{
		"setting": "top_bar_sticky_top_position",
		"value": 60
	},
	{
		"setting": "sidebar_gap",
		"value": 5
	},
	{
		"setting": "rightalt_sidebar_gap",
		"value": 5
	}
]

Like I explained above (and have now elaborated in the OP), the component name is not the name of the Theme Component (which could hold many Ember Glimmer Components), it’s the name of the actual Ember Component:

so layouts-tag-list

This is a useful misunderstanding, I’ll clarify further in the OP, using this example.

Not sure why your setting is being sticky :man_shrugging:

Try deleting the Theme Component and re-adding and going through the same process.

Or just refresh your browser?

Thanks for the work @merefield !

Functionally how does Discourse Bars differ from Right Sidebar Blocks with custom html, besides the fact that the location doesn’t have to be only on the right ?

Bars is the spiritual successor of Pavilions Layouts which came before RSB.

But compared to RSB, mutli-route and multi-position support mainly (Bar’s target is to reproduce the usefulness and flexibility of Layouts), the critical addition being Topic route support. Plus I don’t presently support params … I’ve yet to hit a use case. I also don’t bundle any components aside from the demo big letters - this is deliberate and this is meant to be more of an Admin/Developers framework (much like Layouts was).

The roadmap might be more ambitious too - if I get funding I may add the mobile functionality that Layouts had - anyone is free to contact me to sponsor that work.

2개의 μ’‹μ•„μš”

OK I deleted and re-installed both the bars TC and the layouts-tag-list TC (I tried removing and re-adding them both individually and together) but the results are all the same. And I did refresh every time as I had before as well. I also cleared my browser cache. :face_with_monocle:

I cannot reproduce your issue of stuck settings. I just added and removed a left sidebar.

I’d be interested in other reports of the same.

Thanks for your time spent trying – I’ll try it on some of my other Discourse instances later today and report in again.

1개의 μ’‹μ•„μš”

I have also now also removed all plugins, and rebuilt (and have no other TCs or themes installed), and it is a fresh install from last night.

In case it’s helpful, I did discover that, with the same settings as above, while the left sidebar is not appearing anywhere else, it is showing on the /latest route (albeit only the title β€œTags”, without showing any tags.)





And here is the settings json…

[
	{
		"setting": "bar_components",
		"value": "[{\"component_name\":\"layouts-tag-list\",\"route\":\"discovery\",\"position\":\"left\"}]"
	},
	{
		"setting": "left_sidebar_width",
		"value": 300
	},
	{
		"setting": "right_sidebar_width",
		"value": 300
	},
	{
		"setting": "sticky_sidebars",
		"value": true
	},
	{
		"setting": "sidebar_sticky_top_position",
		"value": 60
	},
	{
		"setting": "sidebar_height",
		"value": 800
	},
	{
		"setting": "scrolly_sidebars",
		"value": false
	},
	{
		"setting": "top_bar_height",
		"value": 150
	},
	{
		"setting": "top_bar_sticky_top_position",
		"value": 60
	},
	{
		"setting": "sidebar_gap",
		"value": 5
	},
	{
		"setting": "rightalt_sidebar_gap",
		"value": 5
	}
]

You are going to have to debug that for yourself - check your console, theme CSS etc.

Works for me:

Can’t recall if Layouts Tag List requires Tag Groups … might do!

4개의 μ’‹μ•„μš”

Yes enabling Tag Groups in the settings (and then creating some Tag Groups) did make the tags appear.

However, setting the route for the component item to discovery still only shows the left bar on /latest, /new and /top lists.

Could you be so kind as to point me toward a list of all available β€œroutes” that can be used here?

Thank you again!

2개의 μ’‹μ•„μš”