Commit Graph

16 Commits

Author SHA1 Message Date
Alan Guo Xiang Tan 04c2b2b6ff
DEV: Migrate `categories` setting to new objects setting type (#51)
Since https://github.com/discourse/discourse/commit/a440e15, we have started to support objects typed theme setting so we are switching this theme component to use it instead as it provides a much better UX for configuring the settings required for the theme component.
2024-05-06 13:08:39 +08:00
Alan Guo Xiang Tan 41ddbb8c11
DEV: Move settings descriptions into translation file (#48)
This commit moves the description for the theme's settings into
`locales/en.yml`. This follows our theme's best practice listed in
https://meta.discourse.org/t/add-localizable-strings-to-themes-and-theme-components/109867
2024-04-09 14:18:34 +08:00
Kris c46f2905bd
FIX: include setting type for `align_text` (#45) 2024-01-31 15:16:39 -05:00
Kris daec18921f
FEATURE: optionally show category logo, change text alignment (#44) 2024-01-31 14:47:25 -05:00
Alan Guo Xiang Tan 1398eeeff5
DEV: Various improvements to theme (#39)
This commits introduces the follow changes:

1. Use the `renderInOutlet` API over the connectors convention
1. Renames `discourse-category-banners` component to `category-banner`
   which is more appropriate cause we are only rendering banner for one
category.
1. Adds system tests
2023-10-23 12:17:00 +08:00
Kris 21284e2419
UX: add more plugin outlet options (#33) 2023-07-06 16:42:00 -04:00
Kris f7696c3372
UX: category icon compatibility improvements (#29) 2023-03-30 13:10:47 -04:00
Kris ca80cd248c
REFACTOR: Update from widget to a glimmer component (#28) 2023-03-28 16:08:09 -04:00
Angus McLeod ff09b877f1
Add category targeting (#4)
Co-authored-by: Dan Ungureanu <dan@ungureanu.me>
2021-04-14 13:16:37 +03:00
Renato Atilio eeced5b1c4
Setting to show category icon from discourse-category-icons theme component (#7) 2020-11-30 09:46:44 -05:00
Joffrey JAFFEUX 9be0d88905
FEATURE: adds a setting to choose which connector to use (#5)
above_site_header or below_site_header, default is below_site_header
2020-09-28 13:26:06 +02:00
jjaffeux ac66be7948 REFACTOR: full component refactoring
- drops jquery
- uses new codelayout structure
- more explicit site setting
- apply code standards
- various cleanups
- do not show an empty category-title-desription if we don't show the category description
2020-09-27 11:26:40 +02:00
Penar Musaraj 6dd00a87b4
Use list_type: simple for setting 2020-09-24 15:44:49 -04:00
Kris 7f440532fc setting names, css adjustment 2018-04-26 14:01:28 -04:00
Kris 618197fffd Adding additional settings 2018-04-26 13:01:44 -04:00
Kris e5d2d3a201 initial commit 2018-04-26 01:25:49 -04:00