https://github.com/gormus/discourse-filtered-topic-lists
Allows creating custom topic list using filters. The lists then can be displayed in selected plugin outlet for selected pages.
https://github.com/gormus/discourse-filtered-topic-lists
discourse-theme-component
Last synced: 3 months ago
JSON representation
Allows creating custom topic list using filters. The lists then can be displayed in selected plugin outlet for selected pages.
- Host: GitHub
- URL: https://github.com/gormus/discourse-filtered-topic-lists
- Owner: gormus
- License: mit
- Created: 2024-07-20T09:43:33.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2024-09-11T19:59:25.000Z (8 months ago)
- Last Synced: 2025-01-22T12:46:55.852Z (3 months ago)
- Topics: discourse-theme-component
- Language: JavaScript
- Homepage: https://meta.discourse.org/t/filtered-topic-lists/321031
- Size: 175 KB
- Stars: 1
- Watchers: 0
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# Discourse Filtered Topics Lists
Allows creating custom topic list using filters. The lists then can be displayed in selected plugin outlet for selected pages.
Inspired from [Discourse Featured Lists](https://github.com/nolosb/discourse-featured-lists)
## Recommended
Enable the [`experimental topics filter`](/admin/site_settings/category/all_results?filter=experimental_topics_filter)
setting, and install the complementary UI component to help with creating,
and testing your queries.## Available CSS classes
```scss
.filtered-topics-list {
&__wrapper {
}&__header {
h2 {
}
}&__content {
}
}.filtered-topics-list {
&.below-site-header,
&.above-main-container,
&.before-topic-list,
&.after-topic-list,
&.topic-list-bottom,
&.main-outlet-bottom,
&.before-main-outlet {&__wrapper {
}&__header {
h2 {
}
}&__content {
}
}
}
```