# Topic List Previews (TLP)

**URL:** https://meta.discourse.org/t/topic-list-previews-tlp/209973
**Category:** Theme component
**Created:** [November 23, 2021, 12:25pm UTC](https://meta.discourse.org/t/topic-list-previews-tlp/209973 "2021-11-23T12:25:59Z")
**Posts on this page:** 20
**Page:** 20

<div class="post-metadata">

### Author: ![raghukamath](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/raghukamath/32/160330_2.png) [@raghukamath](https://meta.discourse.org/u/raghukamath)
#### Post date: [December 1, 2023, 7:33am UTC](https://meta.discourse.org/t/topic-list-previews-tlp/209973/388 "2023-12-01T07:33:29Z")

</div>

Thank for the quick reply,

That is a bit unfortunate indeed. I do not have the funds to sponsor this now. But I will try to raise something if possible. May I know (in private message may be) what would be an approximate estimate for this task?

---

<div class="post-metadata">

### Author: ![merefield](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/merefield/32/176214_2.png) [@merefield](https://meta.discourse.org/u/merefield)
#### Post date: [December 1, 2023, 7:43am UTC](https://meta.discourse.org/t/topic-list-previews-tlp/209973/389 "2023-12-01T07:43:39Z")

</div>

I’ll drop you a line 👍

---

<div class="post-metadata">

### Author: ![miao\_miao](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/miao_miao/32/333887_2.png) [@miao\_miao](https://meta.discourse.org/u/miao_miao)
#### Post date: [December 2, 2023, 6:03am UTC](https://meta.discourse.org/t/topic-list-previews-tlp/209973/390 "2023-12-02T06:03:52Z")

</div>

Thank you for the awesome plugin! But there are some issues I can’t deal with. I’m not sure if these are bugs or caused by wrong settings.

1. When I tried to go back to the topic list, the scrollbar will return to somewhere else instead of the last visit part.  
2.I tried to enable topic list action and they look fine. However, it randomly highlights the bookmark button, even though the topic has not actually been added to bookmarks.

---

<div class="post-metadata">

### Author: ![merefield](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/merefield/32/176214_2.png) [@merefield](https://meta.discourse.org/u/merefield)
#### Post date: [December 14, 2023, 11:43am UTC](https://meta.discourse.org/t/topic-list-previews-tlp/209973/391 "2023-12-14T11:43:21Z")

</div>

> [@miao\_miao](#):
>
> When I tried to go back to the topic list, the scrollbar will return to somewhere else instead of the last visit part.

That’s currently not supported. PR welcome

> [@miao\_miao](#):
>
> 2.I tried to enable topic list action and they look fine. However, it randomly highlights the bookmark button, even though the topic has not actually been added to bookmarks.

That’s very odd, I cannot presently reproduce - are you on latest version of Discourse?

---

<div class="post-metadata">

### Author: ![merefield](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/merefield/32/176214_2.png) [@merefield](https://meta.discourse.org/u/merefield)
#### Post date: [December 14, 2023, 2:47pm UTC](https://meta.discourse.org/t/topic-list-previews-tlp/209973/392 "2023-12-14T14:47:04Z")

</div>

[https://github.com/paviliondev/discourse-tc-topic-list-previews/pull/34/files](https://github.com/paviliondev/discourse-tc-topic-list-previews/pull/34/files)

@Niels_Dewitte sorry this took so long, but a PR was always welcome to fix this.

Thanks again for the report. This should be resolved now.

---

<div class="post-metadata">

### Author: ![digitaldominica](https://avatars.discourse-cdn.com/v4/letter/d/97f17d/32.png) [@digitaldominica](https://meta.discourse.org/u/digitaldominica)
#### Post date: [December 25, 2023, 3:32am UTC](https://meta.discourse.org/t/topic-list-previews-tlp/209973/393 "2023-12-25T03:32:41Z")

</div>

Hi, how do I use the thumbnail picker in [GitHub - merefield/discourse-topic-previews-sidecar: A Discourse plugin that complements the Topic Previews Theme Component to add features · GitHub](https://github.com/paviliondev/discourse-topic-previews-sidecar)?

---

<div class="post-metadata">

### Author: ![merefield](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/merefield/32/176214_2.png) [@merefield](https://meta.discourse.org/u/merefield)
#### Post date: [December 29, 2023, 3:06pm UTC](https://meta.discourse.org/t/topic-list-previews-tlp/209973/394 "2023-12-29T15:06:51Z")

</div>

It’s a button in the topic meta editor:

 ![image](https://global.discourse-cdn.com/meta/original/4X/0/3/9/03950f9fcae38e3665c2147e854d7df28d74def3.jpeg)

---

<div class="post-metadata">

### Author: ![digitaldominica](https://avatars.discourse-cdn.com/v4/letter/d/97f17d/32.png) [@digitaldominica](https://meta.discourse.org/u/digitaldominica)
#### Post date: [December 29, 2023, 5:33pm UTC](https://meta.discourse.org/t/topic-list-previews-tlp/209973/395 "2023-12-29T17:33:12Z")

</div>

This button is not shown on my discourse forum, i’m currently using:

#### Installed

### 3.2.0.beta4-dev

([d03f6727b1](https://github.com/discourse/discourse/commits/d03f6727b170f3d38da7cf545eae2ba09a4e9280))

---

<div class="post-metadata">

### Author: ![Jagster](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jagster/32/192154_2.png) [@Jagster](https://meta.discourse.org/u/Jagster)
#### Post date: [December 29, 2023, 6:02pm UTC](https://meta.discourse.org/t/topic-list-previews-tlp/209973/396 "2023-12-29T18:02:30Z")

</div>

I have, and I rebuilded few hours ago.

 ![IMG_2666](https://global.discourse-cdn.com/meta/original/4X/9/a/3/9a3f29598c40d419e178cd9c3223e69ccb36c485.jpeg)

I know. That doesn’t help you a bit, but it means your issue isn’t by some general bug.

---

<div class="post-metadata">

### Author: ![Arkshine](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/arkshine/32/298682_2.png) [@Arkshine](https://meta.discourse.org/u/Arkshine)
#### Post date: [December 29, 2023, 6:45pm UTC](https://meta.discourse.org/t/topic-list-previews-tlp/209973/397 "2023-12-29T18:45:21Z")

</div>

@merefield

I noticed that your [recent changes](https://github.com/paviliondev/discourse-tc-topic-list-previews/commit/dbe22caff654a01735f3e3cf2e6b6cff5e0b1296) from two weeks ago removed the usage of the `Ember` global. However, it will fail if you use Ember 5!  
For example:

 ![image](https://global.discourse-cdn.com/meta/original/4X/3/6/c/36cbb33b6d54881e34f457582c0a4196474306af.png)

Suggestions:

- `computed.bool` → `bool` → `@ember/object/computed`
- `run.scheduleOnce` → `scheduleOnce` → `@ember/runloop`

---

<div class="post-metadata">

### Author: ![david](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/david/32/157490_2.png) [@david](https://meta.discourse.org/u/david)
#### Post date: [December 29, 2023, 8:28pm UTC](https://meta.discourse.org/t/topic-list-previews-tlp/209973/398 "2023-12-29T20:28:21Z")

</div>

Nice catch @Arkshine! This deprecation is [`deprecated-run-loop-and-computed-dot-access`](https://deprecations.emberjs.com/v3.x/#toc_deprecated-run-loop-and-computed-dot-access). Messages about that would’ve shown up in development and test environments, but it looks like they were being optimised out of the production build.

This will make the warning work in production builds of Discourse under Ember 3.28:

[https://github.com/discourse/discourse/pull/25074](https://github.com/discourse/discourse/pull/25074)

(by default Ember optimises all deprecations out the production build, so we have a to do a lot of work to undo those optimisations)

---

<div class="post-metadata">

### Author: ![merefield](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/merefield/32/176214_2.png) [@merefield](https://meta.discourse.org/u/merefield)
#### Post date: [December 29, 2023, 10:09pm UTC](https://meta.discourse.org/t/topic-list-previews-tlp/209973/399 "2023-12-29T22:09:07Z")

</div>

Thanks David. Yeah that would be why I will have missed them. As a Theme Component I generally check for deprecations against a current Production build as I use the Theme CLI (and none of my Production builds are running Ember 5 just yet so …).

Great catch @Arkshine !

---

<div class="post-metadata">

### Author: ![merefield](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/merefield/32/176214_2.png) [@merefield](https://meta.discourse.org/u/merefield)
#### Post date: [December 30, 2023, 9:35am UTC](https://meta.discourse.org/t/topic-list-previews-tlp/209973/400 "2023-12-30T09:35:31Z")

</div>

What does the `after_code` section of your `app.yml` look like?

---

<div class="post-metadata">

### Author: ![merefield](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/merefield/32/176214_2.png) [@merefield](https://meta.discourse.org/u/merefield)
#### Post date: [December 30, 2023, 11:23am UTC](https://meta.discourse.org/t/topic-list-previews-tlp/209973/401 "2023-12-30T11:23:45Z")

</div>

Those were indeed good suggestions 👍

[https://github.com/paviliondev/discourse-tc-topic-list-previews/commit/640580b248ee6f5ab0606dd28c9c30d32b2711fa](https://github.com/paviliondev/discourse-tc-topic-list-previews/commit/640580b248ee6f5ab0606dd28c9c30d32b2711fa)

I also found:

[https://github.com/paviliondev/discourse-tc-topic-list-previews/commit/7c961aaec887f7f2951b4f1006164ad67bc6dc65](https://github.com/paviliondev/discourse-tc-topic-list-previews/commit/7c961aaec887f7f2951b4f1006164ad67bc6dc65)

Let me know if you see any additional problems.

---

<div class="post-metadata">

### Author: ![digitaldominica](https://avatars.discourse-cdn.com/v4/letter/d/97f17d/32.png) [@digitaldominica](https://meta.discourse.org/u/digitaldominica)
#### Post date: [December 30, 2023, 1:12pm UTC](https://meta.discourse.org/t/topic-list-previews-tlp/209973/402 "2023-12-30T13:12:41Z")

</div>

Hi, here it is:

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

---

<div class="post-metadata">

### Author: ![merefield](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/merefield/32/176214_2.png) [@merefield](https://meta.discourse.org/u/merefield)
#### Post date: [December 30, 2023, 1:13pm UTC](https://meta.discourse.org/t/topic-list-previews-tlp/209973/403 "2023-12-30T13:13:55Z")

</div>

Ok that’s odd. Any errors in logs? Both console and server logs?

---

<div class="post-metadata">

### Author: ![digitaldominica](https://avatars.discourse-cdn.com/v4/letter/d/97f17d/32.png) [@digitaldominica](https://meta.discourse.org/u/digitaldominica)
#### Post date: [December 30, 2023, 1:25pm UTC](https://meta.discourse.org/t/topic-list-previews-tlp/209973/404 "2023-12-30T13:25:09Z")

</div>

What would I be looking for ? I don’t have any error showing for the plugin. [Topic Previews Sidecar](https://github.com/paviliondev/discourse-topic-previews)

The installed version is:  
5.0.2 [f303e4f](https://github.com/paviliondev/discourse-topic-previews-sidecar/commit/f303e4f0f8e626d69c6ba821f39f31f228142db7)

The settings being used is:

 ![image](https://global.discourse-cdn.com/meta/original/4X/f/d/0/fd002b6c3e98302863a77eff29dc69a68e23b99e.png)

---

<div class="post-metadata">

### Author: ![merefield](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/merefield/32/176214_2.png) [@merefield](https://meta.discourse.org/u/merefield)
#### Post date: [December 30, 2023, 8:17pm UTC](https://meta.discourse.org/t/topic-list-previews-tlp/209973/405 "2023-12-30T20:17:27Z")

</div>

Do you have Theme Component active in the current Theme? (you must have the Theme Component as well as the plugin running)

---

<div class="post-metadata">

### Author: ![digitaldominica](https://avatars.discourse-cdn.com/v4/letter/d/97f17d/32.png) [@digitaldominica](https://meta.discourse.org/u/digitaldominica)
#### Post date: [December 30, 2023, 8:21pm UTC](https://meta.discourse.org/t/topic-list-previews-tlp/209973/406 "2023-12-30T20:21:39Z")

</div>

I’m using the blog style on two categories and tags, so yes it’s active. Let me try a different theme as i’m using the [Kodular Community Theme](https://meta.discourse.org/t/kodular-community-theme/162724)

---

<div class="post-metadata">

### Author: ![merefield](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/merefield/32/176214_2.png) [@merefield](https://meta.discourse.org/u/merefield)
#### Post date: [December 30, 2023, 8:30pm UTC](https://meta.discourse.org/t/topic-list-previews-tlp/209973/407 "2023-12-30T20:30:11Z")

</div>

And you’ve hit the pencil control to edit the Topic category, title and tags?

[Previous page](https://meta.discourse.org/t/topic-list-previews-tlp/209973.md?page=19)

[Next page](https://meta.discourse.org/t/topic-list-previews-tlp/209973.md?page=21)
