Commit Graph

17 Commits

Author SHA1 Message Date
Manuel Kostka 702c73dafd
FIX: Render legacy color declaration (#34) 2024-06-16 21:09:42 -04:00
Manuel Kostka fb4fbf3e79
FIX: Render sidebar icons when no color is defined (#32) 2024-06-14 12:05:43 -04:00
Jarek Radosz ad64ea25f0
DEV: Update linting (#29) 2024-03-27 16:20:28 +00:00
Kris 68e6629b49
UX: escape category title (#27) 2023-12-06 09:59:42 -05:00
Kris 2b483df566
REFACTOR: update for core badge style removal (#26) 2023-11-13 10:46:33 -05:00
Alan Guo Xiang Tan 4935c5bca1
FEATURE: Use new experimental plugin API for sidebar (#21)
What does this change do?

This change uses the experimental `registerCustomCategorySectionLinkLockIcon` and `registerCustomCategorySectionLinkPrefix` plugin API
added to core to add support for custom category icons in Sidebar. Note
that the plugin APIs are marked as experimental because Discourse core
may soon support first class category icons so this theme component may
eventually become redundant.
2023-05-26 09:01:41 +08:00
Jarek Radosz 13dfb4365a
DEV: Add CI setup and fix linting issues (#10) 2022-06-18 16:51:57 +02:00
Joe e378f4dcc7
UX: allow component to change lock icons in category boxes (#9) 2021-12-15 13:33:41 -05:00
Penar Musaraj 4c83914e87
Fix categoryColor for /categories view
And accept both categoryColor and categoryColour as special params.
2020-09-28 10:41:15 -04:00
Penar Musaraj b59c961f0a
Refactor categoryColour support
- cleanup .gitignore
- fix icon color for bullet style
- use simple_list in theme settings
- fix yaml linting
2020-09-28 09:46:36 -04:00
rogercreagh e88463d901
Add categoryColour as special parameter to use for the icon colour (#8) 2020-09-28 09:36:06 -04:00
Penar Musaraj 31729996c2
Use imports for Ember.get and escapeExpression 2020-09-16 12:14:50 -04:00
Renato Atilio 0d5750f791
Show topic count, based on the defaultCategoryLinkRenderer (#7) 2020-09-16 08:48:02 -04:00
md-misko 38781436cb
Display subcategory icons in /c/{slug}/{id}/and /categories views. (#6)
See https://meta.discourse.org/t/category-icons-component/104683/50?u=md-misko
2020-08-25 13:27:32 -04:00
Penar Musaraj f9b432ea79
Override lock icon in category-title-link component 2020-08-17 16:30:57 -04:00
Penar Musaraj 94063e360f
Fix bug with RTL support and deprecation of Discourse.SiteSettings 2020-08-04 12:47:52 -04:00
Penar Musaraj c9dd9cf435
Fix issue with custom category ordering
Move code to separate js/hbs files
2020-08-04 08:54:50 -04:00