🔥 Roast my Theme Component: Advanced Topic Cards

Yes, if you know how to run an agent to create a theme component it’s fast and straightforward to create your own topic list styles. Some recommendations and things to mind:

  • The better reference pattern is Horizon’s topic cards in core, not the Topic Cards component. Horizon replaces the topic cell with its own card component and scopes it per listContext; Topic Cards keeps the core cell and only adds to it, which limits control over layout and context.
  • You can also reference GitHub - discourse/discourse-list-styles · GitHub. It uses a similar approach to the Horizon cards and adds a style picker to discovery lists (List, Thumbnails, Cards)
  • Plugin outlets inside the topic cell disappear unless the card renders them again, e.g. the AI gist and tags
  • New list columns added by plugins still show up unless hidden or placed within the cards