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

feat: create reports page [CU-20rfmkv]

Open kamilszewczyk0 opened this issue 2 years ago • 2 comments

Ticket

Task linked: CU-20rfmkv Reports page

Summary

What does this PR do/solve?

Introduces side menu within the "Comments" section, and brings "Reports" view, where You can display and resolve reports , see to which comment they are related, and block the comment (or thread) if needed. There is also possibility to mark multiple reports and resolve them at once

Test Plan

  1. Create new entity
  2. Add few comments to it (with and without threads)
  3. Create reports for the comments
  4. Try to resolve one report
  5. Try to resolve few reports ant once
  6. Try to block the comment
  7. Try to block a thread

kamilszewczyk0 avatar Jul 25 '22 09:07 kamilszewczyk0

Task linked: CU-20rfmkv Reports page

cyp3rius avatar Jul 25 '22 10:07 cyp3rius

Codecov Report

Merging #153 (c14ad6d) into master (e0e46d8) will decrease coverage by 3.40%. The diff coverage is 57.14%.

@@            Coverage Diff             @@
##           master     #153      +/-   ##
==========================================
- Coverage   80.79%   77.39%   -3.41%     
==========================================
  Files           9       10       +1     
  Lines         552      606      +54     
  Branches      211      223      +12     
==========================================
+ Hits          446      469      +23     
- Misses        104      134      +30     
- Partials        2        3       +1     
Flag Coverage Δ
unittest 77.39% <57.14%> (-3.41%) :arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
types/utils.ts 33.33% <33.33%> (ø)
server/services/admin.ts 75.58% <58.20%> (-13.68%) :arrow_down:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

codecov-commenter avatar Jul 28 '22 11:07 codecov-commenter