Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Antontsyk opened this issue Sep 20, 2023 · 8 comments
Open

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

Antontsyk opened this issue Sep 20, 2023 · 8 comments
Labels
discussion Discussion thread feature request Community feature request v4 Strapi v4

Comments

@Antontsyk
Copy link

How add custom field to comment for example:

  • likes
  • disLikes
  • stars
@cyp3rius
Copy link
Collaborator

@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.

@cyp3rius cyp3rius added feature request Community feature request v4 Strapi v4 labels Sep 21, 2023
@fontanon
Copy link

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
Copy link

janlew commented Oct 18, 2023

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

@cyp3rius
Copy link
Collaborator

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
Copy link

janlew commented Oct 27, 2023

@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
Copy link
Collaborator

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
Copy link

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

@cyp3rius
Copy link
Collaborator

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

@cyp3rius cyp3rius added the discussion Discussion thread label Nov 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
discussion Discussion thread feature request Community feature request v4 Strapi v4
Projects
None yet
Development

No branches or pull requests

5 participants