5 Commits

Author SHA1 Message Date
Alan Guo Xiang Tan
77645890df
DEV: Add tests for categories setting (#50)
This commit improves the test coverage for the client side logic
surrounding the `categories` theme setting
2024-04-24 11:57:34 +08:00
Kris
daec18921f
FEATURE: optionally show category logo, change text alignment (#44) 2024-01-31 14:47:25 -05:00
Kris
71c371c7c5
FIX: allow HTML in category description (#42)
This regressed in 1398eeeff550c1da186a47b6d3878d3230f62340
2023-10-25 06:24:14 +08:00
Alan Guo Xiang Tan
0bc1e74e61
DEV: Fix flaky and incorrect tests (#41)
1. Use `category.url` instead instead of forming URLs by hand. The
   subcategory urls were wrong but the tests were passing since we were
asserting for the component not displaying which will still pass when
the page 404s.

1. Use `let!` instead of `fab!` for `upload_theme_component` since `let!` ensures that the theme cache is cleared between tests.
2023-10-23 14:15:51 +08: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