You can create a new component and add that to your theme
Hey guys
I forked the TC and played a bit around to add a few more features:
- Placeholder when no thumbnail
- Choose between grid and list style for desktop/mobile
- More granular dimension control
- More granular border radius control
You can find details in the repo: https://github.com/jrgong420/discourse-topic-cards/
Disclosure: The fork was planned, implemented, and tested with the help of AI coding tools. Use at your own risk.
Do you have a couple of SS to demo the list & Grid with maybe some of your other additions?
Hey guys and @Heliosurge
In the meantime we did an extensive rework and extension of the theme component with tons of new features, a full refactoring of all components and extensive restructuring.
In addition we also added a few new features. Check it out here:
So when Show for suggested topics is enabled - it doesn’t seem to play nicely with the headers when using related topics too.
Please create a setting for mobile card max height.
Would it be possible to add the Bulk Actions back while the topic cards component is in use? I’ve unhidden it with some CSS tweaks for my forum but the UX on it isn’t great
Might be better if it was included by default within the component.
Oh and as I’m typing this I have scrolled up and this has already been requested. Any idea on whether it could be implemented?
This is the CSS I used to make it at least useable if not very pretty:
.topic-cards-list .topic-list-header {
display: block;
.topic-list-data.posters,
.topic-list-data.posts,
.topic-list-data.views,
.topic-list-data.activity {
display: none;
}
.topic-list-data.default > span:not([class]) {
display: none; // removes the stray 'Topic' text that has no span class to target
}
}
.topic-list-body {
tr.bulk-selecting.topic-card {
gap: 0; // removes huge spacing between the checkbox and the rest of the topic card
}
}
이 컴포넌트를 제공해 주셔서 감사합니다. 저희 사이트에서 많은 역할을 하고 있어 정말 고맙게 생각하고 있습니다.
하나의 요청이 있습니다. 저희는 회원들이 실명을 사용하는 커뮤니티를 운영 중이므로, UX에서 ‘사용자 이름 우선’ 설정을 꺼 두었고, 게시물의 '표시 이름’을 켜 두었습니다. 이제 게시물, 사용자 카드, 프로필에서 실명이 올바르게 표시됩니다. 그런데 여전히 @사용자 이름이 표시되는 곳은 주제 카드의 작성자 부분입니다.
카드 작성자가 사이트의 이름 표시 설정을 따르도록 설정을 추가해 주실 수 있을까요? 이름이 설정된 경우 회원의 실명을 표시하고, 이름이 설정되지 않은 경우 사용자 이름으로 대체되도록 하는 방식입니다.
변경 사항이 적용되면 저희 인스턴스에서 테스트하고 결과를 보고해 드리겠습니다. 다시 한번 개발과 유지보수에 감사드립니다.
물론입니다! 이상적으로는 사용자 이름이 표시되는 대부분의 곳에서 이 기능을 지원해야 합니다. 해당 기능을 여기에 추가했습니다: FEATURE: support prioritizing real names - Pull Request #84 - discourse/discourse-topic-cards - GitHub — 따라서 구성 요소를 업데이트한 후에는 실제 이름이 표시되기 시작해야 합니다.
정말 멋지네요, 크리스. 감사합니다. 브롱윈

