mirror of
https://github.com/discourse/discourse.git
synced 2025-06-01 07:07:43 +08:00
DEV: Implement glimmer topic-list (#26743)
(experimental) The initial implementation of glimmer topic-list and related components. Does not include new APIs and isn't compatible with existing customization. That's gonna come in future PRs. Enabled by adding groups to `experimental_glimmer_topic_list_groups` setting.
This commit is contained in:
@ -31,5 +31,9 @@
|
||||
</StyleguideExample>
|
||||
|
||||
<StyleguideExample @title="<TopicListItem> - latest" class="half-size">
|
||||
<LatestTopicListItem @topic={{@dummy.topic}} />
|
||||
{{#if this.currentUser.use_glimmer_topic_list}}
|
||||
<TopicList::LatestTopicListItem @topic={{@dummy.topic}} />
|
||||
{{else}}
|
||||
<LatestTopicListItem @topic={{@dummy.topic}} />
|
||||
{{/if}}
|
||||
</StyleguideExample>
|
Reference in New Issue
Block a user