VirtusLab-Open-Source / strapi-plugin-comments

A plugin for Strapi Headless CMS that provides end to end comments feature with their moderation panel, bad words filtering, abuse reporting and more.
MIT License
409 stars 64 forks source link

How add custom field to comment (v2.2.15) #232

Open Antontsyk opened 1 year ago

Antontsyk commented 1 year ago

How add custom field to comment for example:

cyp3rius commented 1 year ago

@Antontsyk you need to use Strapi Extension concept and amend Comment scheme.

If that's not a priority for you I would advice to wait couple weeks as we're working on such feature integration anyway.

fontanon commented 1 year ago

Hi @cyp3rius. It is great you're working on that feature. It would be great if some customisation could be eased as adding your own reactions. So for example, not only like/dislike/start but agree/disagree or any other that is reasonable for the app developer.

janlew commented 11 months ago

@cyp3rius hello, do you know approximately when stars/likes feature will be available?

cyp3rius commented 11 months ago

Its near to release 😀

https://github.com/VirtusLab-Open-Source/strapi-plugin-reactions

Possible to do now by your own (still beta) or wait around 2-3 weeks for RC and built in integration in Comments plugin.

janlew commented 11 months ago

@cyp3rius it's possible to make stars in 1-5 range + review (like comment) with new plugin "strapi-plugin-reactions"? or I should use "strapi-plugin-comments" + custom fields to do that?

cyp3rius commented 11 months ago

The Reactions plugin is generic and its possible to link with any Content Type. I can advice to create 5 reactions like stars 1-5 and calculate rating on average off all reactions.

Hope that helps.

glacierck commented 10 months ago

Can I receive the number of likes simultaneously when returning to the comment tree?

cyp3rius commented 10 months ago

Using the Reactions plugin yes. We are working on built-in integration as well.