strapi-plugin-comments icon indicating copy to clipboard operation
strapi-plugin-comments copied to clipboard

manage lifecycle

Open janlew opened this issue 1 year ago • 1 comments

Hello, it is possible to add lifecycles e.g. "beforeUpdate" to comments? I want to make review system with approval flow. I thought about something like this:

  1. Comment (review) with reaction (from strapi-plugin-reactions [start-1, star-2, ..., start-5]) is added by user
  2. At first reaction is connected with comment not with commented product
  3. Admin approves comment and lifecycles "beforeUpdate" adds reaction to commented product

So reaction will be added to product only after comment approval. Is something like this possible?

janlew avatar Nov 16 '23 13:11 janlew

Hi @janlew

Have a look if https://github.com/VirtusLab-Open-Source/strapi-plugin-comments/pull/251 PR will cover your needs.

CodeVoyager avatar Mar 16 '24 09:03 CodeVoyager