Skip to content

Feat: AI moderation report compatibility - #419

Open
Trochonovitz wants to merge 9 commits into
masterfrom
feat/ai-moderation-report-compatibility
Open

Feat: AI moderation report compatibility#419
Trochonovitz wants to merge 9 commits into
masterfrom
feat/ai-moderation-report-compatibility

Conversation

@Trochonovitz

Copy link
Copy Markdown
Contributor

Summary

For integration with the Comments Enterprise plugin, the report table got a separate column describing the report source. Additionally, lifecycle methods have been added to trigger actions after adding a comment, and injection zones have been implemented.

@Trochonovitz Trochonovitz self-assigned this Aug 28, 2026
@Trochonovitz Trochonovitz added the enhancement New feature or request label Aug 28, 2026
Comment thread admin/src/api/schemas.ts Outdated
Comment thread admin/src/components/CustomInjectionZoneCell/index.tsx Outdated
Comment thread admin/src/components/CustomInjectionZoneProvider/index.tsx Outdated
Comment thread admin/src/components/CustomInjectionZoneProvider/index.tsx Outdated
Comment thread admin/src/components/ReviewFlow/ReportReviewTable.tsx Outdated
@@ -0,0 +1,4 @@
export enum REPORT_SOURCE {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

enums are kind of passé

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I created it this way solely for consistency with another file in the same folder: REPORT_REASON.ts (https://github.com/VirtusLab-Open-Source/strapi-plugin-comments/blob/master/server/src/const/REPORT_REASON.ts)

Comment thread server/src/services/common.service.ts Outdated
Comment thread server/src/validators/repositories/reports.validator.ts Outdated
Comment thread admin/src/pages/AiEvaluations/index.tsx Outdated
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants