strapi-plugin-comments
strapi-plugin-comments copied to clipboard
feat: create reports page [CU-20rfmkv]
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
- Create new entity
- Add few comments to it (with and without threads)
- Create reports for the comments
- Try to resolve one report
- Try to resolve few reports ant once
- Try to block the comment
- Try to block a thread
Task linked: CU-20rfmkv Reports page
Codecov Report
Merging #153 (c14ad6d) into master (e0e46d8) will decrease coverage by
3.40%
. The diff coverage is57.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.