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
404 stars 63 forks source link

feat: lifecycle hooks #251

Closed CodeVoyager closed 1 month ago

CodeVoyager commented 4 months ago

Ticket

https://github.com/VirtusLab-Open-Source/strapi-plugin-comments/issues/202

Summary

What does this PR do/solve?

Test Plan

codecov[bot] commented 4 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 80.97%. Comparing base (2aa8011) to head (8cdb699).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #251 +/- ## ========================================== + Coverage 80.56% 80.97% +0.41% ========================================== Files 35 35 Lines 926 946 +20 Branches 314 316 +2 ========================================== + Hits 746 766 +20 Misses 176 176 Partials 4 4 ``` | [Flag](https://app.codecov.io/gh/VirtusLab-Open-Source/strapi-plugin-comments/pull/251/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=VirtusLab-Open-Source) | Coverage Δ | | |---|---|---| | [unittest](https://app.codecov.io/gh/VirtusLab-Open-Source/strapi-plugin-comments/pull/251/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=VirtusLab-Open-Source) | `80.97% <100.00%> (+0.41%)` | :arrow_up: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=VirtusLab-Open-Source#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.