# MD Topic List component

**URL:** https://meta.discourse.org/t/md-topic-list-component/117694
**Category:** Theme component
**Created:** [May 14, 2019, 1:59pm UTC](https://meta.discourse.org/t/md-topic-list-component/117694 "2019-05-14T13:59:35Z")
**Posts on this page:** 14
**Page:** 4

<div class="post-metadata">

### Author: ![Ahmed26](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ahmed26/32/347069_2.png) [@Ahmed26](https://meta.discourse.org/u/Ahmed26)
#### Post date: [March 22, 2024, 5:53am UTC](https://meta.discourse.org/t/md-topic-list-component/117694/64 "2024-03-22T05:53:33Z")

</div>

I tried removing plugins and css one by one. If I disable the MD component again the settings button comes back

---

<div class="post-metadata">

### Author: ![Ahmed26](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ahmed26/32/347069_2.png) [@Ahmed26](https://meta.discourse.org/u/Ahmed26)
#### Post date: [March 22, 2024, 2:29pm UTC](https://meta.discourse.org/t/md-topic-list-component/117694/65 "2024-03-22T14:29:06Z")

</div>

Avatar section on homepage looks good

Avatar section is aligned to the left in the subcategory section

How can we find a solution?

 ![e2](https://global.discourse-cdn.com/meta/original/4X/6/3/8/6388b84befda792d6766afbb6e26d9b6566c6fd7.png)  
 ![e1](https://global.discourse-cdn.com/meta/original/4X/2/2/1/221e17c7a5b382be0d0101df689e1b335f425b60.png)

---

<div class="post-metadata">

### Author: ![Steven](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/steven/32/187890_2.png) [@Steven](https://meta.discourse.org/u/Steven)
#### Post date: [March 22, 2024, 5:31pm UTC](https://meta.discourse.org/t/md-topic-list-component/117694/66 "2024-03-22T17:31:18Z")

</div>

I agree that this activity column should have a better setting.

I’ve tried an update of the component, check the latest version and let me know if it’s better.

The only issue could come from long username, I’ll try to find a better way to do it if necessary

---

<div class="post-metadata">

### Author: ![Ahmed26](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ahmed26/32/347069_2.png) [@Ahmed26](https://meta.discourse.org/u/Ahmed26)
#### Post date: [March 22, 2024, 6:36pm UTC](https://meta.discourse.org/t/md-topic-list-component/117694/67 "2024-03-22T18:36:43Z")

</div>

[GitHub - VaperinaDEV/discourse-custom-user-column](https://github.com/VaperinaDEV/discourse-custom-user-column)

This component worked smoothly, there is no problem now

---

<div class="post-metadata">

### Author: ![Steven](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/steven/32/187890_2.png) [@Steven](https://meta.discourse.org/u/Steven)
#### Post date: [February 11, 2025, 5:13pm UTC](https://meta.discourse.org/t/md-topic-list-component/117694/68 "2025-02-11T17:13:29Z")

</div>

Thanks to the [Sam Simple Theme](https://github.com/discourse/discourse-simple-theme), I was able to update this theme component to the new glimmer topic-list system.

I tried to do it alone but it was a disaster, but it works great now. You shouldn’t have a depecrated alert on this component anymore.

I’ll work on the mobile version soon.

---

<div class="post-metadata">

### Author: ![rahim123](https://avatars.discourse-cdn.com/v4/letter/r/df705f/32.png) [@rahim123](https://meta.discourse.org/u/rahim123)
#### Post date: [March 18, 2025, 6:03am UTC](https://meta.discourse.org/t/md-topic-list-component/117694/69 "2025-03-18T06:03:00Z")

</div>

Thanks very much Steven for this component, I really like the idea of Sam’s Simple Theme but implemented as a more lightweight theme component. My users strongly prefer this layout compared to the Discourse default with only avatars that show no text for the username.

But the only problem is that this Author + Latest Poster paradigm sort of falls apart in the PM topic list, where we do need to see all the participants at a glance. For example, here this PM is actually to a different user, but since I started the PM thread and am also the most recent one to reply, the other PM participant is not visible:

 ![image](https://global.discourse-cdn.com/meta/original/4X/f/6/7/f671de82a8f0eef7e8258f243b591e728923efd4.png)

Is there any way to add another column with a comma separated list of avatars + usernames in the PM topic list view?

---

<div class="post-metadata">

### Author: ![Steven](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/steven/32/187890_2.png) [@Steven](https://meta.discourse.org/u/Steven)
#### Post date: [March 18, 2025, 1:22pm UTC](https://meta.discourse.org/t/md-topic-list-component/117694/70 "2025-03-18T13:22:31Z")

</div>

I AFAIK, I’m not sure there is a way to apply a change only in the user message topic list page. They use the same source for the columns. I can explore but I can’t guarantee it’s doable 🤔

---

<div class="post-metadata">

### Author: ![rahim123](https://avatars.discourse-cdn.com/v4/letter/r/df705f/32.png) [@rahim123](https://meta.discourse.org/u/rahim123)
#### Post date: [March 18, 2025, 2:07pm UTC](https://meta.discourse.org/t/md-topic-list-component/117694/71 "2025-03-18T14:07:47Z")

</div>

Hi Steven, thanks a lot for the reply. The way I made it work before the Glimmer migration thing was by adding the additional column for the posters’ usernames to all the topic list views, and then using CSS to hide it everywhere _except_ the PM page:

```plaintext
.navigation-category .topic-list .topic-list-data.posters,
.navigation-topics .topic-list .topic-list-data.posters,
.navigation-filter .topic-list .topic-list-data.posters,
.user-activity-page .topic-list .topic-list-data.posters
{
    display: none;
}
```

---

<div class="post-metadata">

### Author: ![Steven](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/steven/32/187890_2.png) [@Steven](https://meta.discourse.org/u/Steven)
#### Post date: [March 18, 2025, 3:36pm UTC](https://meta.discourse.org/t/md-topic-list-component/117694/72 "2025-03-18T15:36:43Z")

</div>

Yes but with the new version we deleted the posters column directly in the initializers.

The best way to do it for you would be to fork the component in your github and change delete the line 48 in this file

> <https://github.com/MonDiscourse/md-topic-list/blob/master/javascripts/discourse/initializers/md-topic-list.gjs#L48C1-L48C37>

This way, to column will still exist in your forum, and with css you can hide it in the right pages

In the default version, I think it’s best to keep the column deleted, this is way cleaner.

---

<div class="post-metadata">

### Author: ![rahim123](https://avatars.discourse-cdn.com/v4/letter/r/df705f/32.png) [@rahim123](https://meta.discourse.org/u/rahim123)
#### Post date: [March 18, 2025, 7:21pm UTC](https://meta.discourse.org/t/md-topic-list-component/117694/73 "2025-03-18T19:21:52Z")

</div>

Ok that might work, thanks for the tip. Apart from this Glimmer migration has the Discourse base been fairly stable, not a lot of changes required for this component?

---

<div class="post-metadata">

### Author: ![Steven](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/steven/32/187890_2.png) [@Steven](https://meta.discourse.org/u/Steven)
#### Post date: [March 19, 2025, 12:04pm UTC](https://meta.discourse.org/t/md-topic-list-component/117694/74 "2025-03-19T12:04:27Z")

</div>

I don’t think you need to change a thing in the css, this part of Discourse has been pretty stable

---

<div class="post-metadata">

### Author: ![rahim123](https://avatars.discourse-cdn.com/v4/letter/r/df705f/32.png) [@rahim123](https://meta.discourse.org/u/rahim123)
#### Post date: [September 6, 2025, 5:26am UTC](https://meta.discourse.org/t/md-topic-list-component/117694/75 "2025-09-06T05:26:58Z")

</div>

Hi there, how hard would it be to update this? I assume it’s the `<script type='text/x-handlebars' data-template-name='/connectors/topic-list-before-category/creator'>` part that is deprecated?

> **[Admin Notice]** Theme ‘MD Topic List’ contains code which needs updating. (id:discourse.script-tag-hbs) ([_learn more_](https://meta.discourse.org/t/366482))

---

<div class="post-metadata">

### Author: ![Steven](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/steven/32/187890_2.png) [@Steven](https://meta.discourse.org/u/Steven)
#### Post date: [September 7, 2025, 7:28am UTC](https://meta.discourse.org/t/md-topic-list-component/117694/76 "2025-09-07T07:28:08Z")

</div>

It’s just been fixed, thanks!

[https://github.com/MonDiscourse/md-topic-list/commit/3da515a0fedc5ba17aa02f8793f0cff5cf58670c](https://github.com/MonDiscourse/md-topic-list/commit/3da515a0fedc5ba17aa02f8793f0cff5cf58670c)

---

<div class="post-metadata">

### Author: ![rahim123](https://avatars.discourse-cdn.com/v4/letter/r/df705f/32.png) [@rahim123](https://meta.discourse.org/u/rahim123)
#### Post date: [September 7, 2025, 1:26pm UTC](https://meta.discourse.org/t/md-topic-list-component/117694/77 "2025-09-07T13:26:03Z")

</div>

Thanks very much @Steven for the fix! I know it must be a ton of work with all of the recent changes. Components like MD Topic List really make a huge difference in Discourse being usable and acceptable to a traditional forum userbase, so it’s really important to have this as an option. Once again, thanks very much! Enjoy the rest of your weekend.

[Previous page](https://meta.discourse.org/t/md-topic-list-component/117694.md?page=3)
