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: 5 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 (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-09-11T19:59:25.000Z (over 1 year ago)
- Last Synced: 2025-09-22T14:40:17.464Z (8 months ago)
- Topics: discourse-theme-component
- Language: JavaScript
- Homepage: https://meta.discourse.org/t/filtered-topic-lists/321031
- Size: 175 KB
- Stars: 2
- Watchers: 0
- Forks: 2
- 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 {
}
}
}
```