إضافة عمود الإعجابات

:discourse2: Summary Add Likes Column adds a dedicated column for Likes to the Latest page of your site.
:eyeglasses: Preview Preview on Discourse Theme Creator
:hammer_and_wrench: Repository Link https://github.com/discourse/discourse-like-column
:open_book: New to Discourse Themes? Beginner’s guide to using Discourse Themes

Install this theme component

Features

Samples

  • Before:

  • After:

:discourse2: Hosted by us? Theme components are available to use on our Standard, Business, and Enterprise plans.

Last edited by @JammyDodger 2024-06-11T08:09:55Z

Check documentPerform check on document:
33 إعجابًا

The likes for non staff show in this columns when whispers are used:

there is only the topic to see for users but if you are staff there is 13 posts.


Staff:

image


Non-staff:

(However 16 likes still appear)

4 إعجابات

I was wondering if there is a way to rearrange the order in which the columns appear? So that likes showed up first, then replies, etc.

إعجاب واحد (1)

I notice the likes column only picks up heart reacts, not thumbs up etc. Is there a way to include specific emoji types (sorry I don’t know CSS)

Edit there’s another thread here:

إعجابَين (2)

No, there’s no way to do this at the moment. It would require changing how the reactions plugin works.

إعجاب واحد (1)

There are plans to share the options that you are evaluating from the team?

Just curious, it’s a must for our community and could be good to discuss and contribute :slight_smile:

إعجاب واحد (1)

Hello it’s me again :sweat_smile: with the reactions plugin updated, any plans to update this column?/ Did the reactions column change tie into this Likes column?

Discourse Reactions - plugin - Discourse Meta

Edit- I just realised it just a new comments on that thread, not that it is a new plugin, my bad :confounded: :woman_facepalming:

Nice Component,

I’d like the ability to select which categories are included/excluded.

Right now it is a global setting, but on some categories I don’t want to see the likes for topics.

إعجاب واحد (1)

Hi,

This extension also doesn’t extend to the mobile theme yet.

A simple heart :heart:1 with the number next to it would look good.

إعجاب واحد (1)

that’s a cool TC

It would be nice to have a " 0 :heart:" instead of the empty space though. And if possible, show others reactions icons.

I’m getting an error with this theme:

[THEME 109 'Official: Add Like Column'] To prevent errors in tests, add a `pluginId` key to your `modifyClass` call. This will ensure the modification is only applied once.

Looks like the issue is here:

إعجابَين (2)

Hi
This component is very interesting, but it will cause conflicts when used in conjunction with discourse-theme-battle-axe-v2-common.

image

I just found an unformation in the developer console of my browser:

[THEME 59 ‘Add Like Column’] To prevent errors in tests, add a pluginId key to your modifyClass call. This will ensure the modification is only applied once.

Just wanted to bring this to attention - although I cannot fix it myself. :see_no_evil_monkey:

إعجاب واحد (1)