主题列表预览(TLP)

Thank you. its now looking good.
but I have another suggestion. is that possible to remove color grades for list view.

1 个赞

I like it, implemented:

If you think Topic List Previews is awesome & I did a great job, you can buy me a coffee :coffee:

  • new setting topic_list_dominant_color_background: default: tiles only, options: never, tiles only, always
1 个赞

done thanks a lot

1 个赞

Hi, on my home page for each topic I have now an icon to bookmark the topic, but it gives that error when clicked:

Cannot repro.

Have you got the sidecar plugin installed and enabled? (These actions won’t work without it)

No I do not have this plugin installed. Is there a way not to display those icons on my home page (they appeared only today)

1 个赞

That’s a bug then. :sweat_smile: These buttons should not appear without the plugin installed.

Regression since rewrite I guess. I’ll fix.

But you should consider adding the plugin. (Once you confirm the fix) as it adds some useful stuff.

1 个赞

If you think Topic List Previews is awesome & I did a great job, you can buy me a coffee :coffee:

…aaaaaand that’s a fix (I believe). Thanks for the report.

4 个赞

Hi, I would like Dominant color background for list view with Thumbnail view, but whereas only list view without thumbnail, I don’t need that Dominant Color background.

can you code it please…

Thank you
Below list view with thumbnail

And this picture below (list view without thumbnail) no need of Color dominant

Hi, I have this problem on two of my self hosted Discourse sites (the third one does not show this problem) on my Home page some (not all) topics are mixed with the text of the extract and it looks ugly, the issue is more visible on mobile but shows also on PC:

All my sites are up to date.

I obviously spent time to find out what can cause that, to no avail. (deactivating components)

I remember having this issue long ago but cannot recall what I did at the time to solve it.

If a mixup of thumbnails and excerpts reminds you of issue you had, thanks…

I can’t repro this but I’ve seen that happen once with the new code. I killed the browser and on reopening the site everything was fine and has remained fine.

It’s hard to tell what’s going on on your site without seeing the JavaScript console. Do you see an error in the console when in mobile view on desktop?

Sometimes this can occur when there is a clash with another component or another component throws an error which breaks JavaScript processing in general.

1 个赞

That’s a great idea. Implemented:

If you think Topic List Previews is awesome & I did a great job, you can buy me a coffee :coffee:

1 个赞

Thanks. Good news (I guess), I am so used to use only Firefox that I did not think about trying on Chrome, and on Chrome, I do not see that issue…

So now why only on Firefox?

I couldn’t find how to open the Firefox browser console on mobile.

I’ve added a random sort option for Featured Topics:

topic list featured images order

If you think Topic List Previews is awesome & I did a great job, you can buy me a coffee :coffee:

hence why you should test this on desktop

1 个赞

Ah sorry, didn’t get it, here you are, my site on deskop with mobile view, the console says that:

No wait I can repro in Firefox on Android, apologies.

Hmmm … not much fun. This could be tricky. I’ll think about what I can do.

1 个赞

Could you try that please:

Firefox does not fully “hydrate” images just offscreen, so this was affecting rendering. I’ve added some additional processing to work around it.

That’s a shame as on Chrome/Edge this isn’t, apparently, necessary.

2 个赞

Great ! Problem solved, that deserves a coffee ! :coffee:

2 个赞

I introduced this a while back for use with my AI Topic Summaries plugin.

You can use it for TLP: