feat(Chat): implement chat incident reporting feature
All checks were successful
Deploy to production / deploy (push) Successful in 1m57s

- Added reportChatIncident method in ChatController to handle reporting of chat incidents.
- Introduced a new API route for reporting incidents in chatRouter.
- Implemented chatService methods to ensure the chat report table is created and to handle incident data storage.
- Enhanced frontend components to allow users to report incidents in both multi and random chat dialogs.
- Updated internationalization files to include new strings for reporting functionality in multiple languages.
This commit is contained in:
Torsten Schulz (local)
2026-04-27 15:00:52 +02:00
parent 90e1c0496a
commit ff68fb72c4
12 changed files with 297 additions and 8 deletions

View File

@@ -44,6 +44,11 @@
"participantsWithCount": "Teilnehmer ({count})",
"clickToSelectUser": "Zum Auswählen klicken",
"screamColon": " schreit:",
"report": "Melden",
"reportConfirmTitle": "Chat melden",
"reportConfirmMessage": "Möchtest du den Nutzer {user} wirklich melden? Der komplette Chatverlauf wird gespeichert.",
"reportSent": "Meldung wurde erfolgreich gespeichert.",
"reportError": "Meldung konnte nicht gespeichert werden.",
"commandPreviewFallback": "/cr <raumname>",
"createRoom": {
"toggleShowChat": "Chat anzeigen",
@@ -157,7 +162,11 @@
"jumptonext": "Diesen Chat beenden",
"userleftchat": "Der Gesprächstpartner hat den Chat verlassen.",
"startsearch": "Suche nächstes Gespräch",
"selfstopped": "Du hast das Gespräch verlassen."
"selfstopped": "Du hast das Gespräch verlassen.",
"report": "Melden",
"reportConfirm": "Möchtest du diesen Chat wirklich melden? Der komplette Chatverlauf wird gespeichert.",
"reportSent": "Meldung wurde erfolgreich gespeichert.",
"reportError": "Meldung konnte nicht gespeichert werden."
}
}
}