From 034ddbab2e0c445147c0fa033faa4e9a9a989499 Mon Sep 17 00:00:00 2001 From: itsrubberduck Date: Sun, 26 Jul 2026 21:11:43 +0200 Subject: [PATCH] feat(bug-reports): trace reports by code and tell Live ATC from Classroom MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Every report now gets a UUID that the notification mail quotes as "Nenne den Fehlercode beim Commit", so a fix can be tied back to the report it closes. The mail also names the area it came from, and the comment field is relabelled "Fehlerbeschreibung/Featurewunsch" since it collects feature wishes just as often as bugs. Classroom loses its plain feedback link and gets the same reporter as Live ATC — screenshot, arrow annotation and all. `useBugReport` takes an options object so the communications-engine snapshot stays optional; the dialog moves out of `live-atc/cockpit` now that both pages use it. Co-Authored-By: Claude Opus 5 --- .../cockpit => }/BugReportDialog.vue | 8 ++- app/composables/useBugReport.ts | 52 ++++++++++++------- app/pages/classroom.vue | 38 ++++++++++++-- app/pages/live-atc.vue | 4 +- server/api/bug-reports/index.post.ts | 37 ++++++++++--- server/models/BugReport.ts | 11 ++++ 6 files changed, 116 insertions(+), 34 deletions(-) rename app/components/{live-atc/cockpit => }/BugReportDialog.vue (94%) diff --git a/app/components/live-atc/cockpit/BugReportDialog.vue b/app/components/BugReportDialog.vue similarity index 94% rename from app/components/live-atc/cockpit/BugReportDialog.vue rename to app/components/BugReportDialog.vue index e6dcabe..6310906 100644 --- a/app/components/live-atc/cockpit/BugReportDialog.vue +++ b/app/components/BugReportDialog.vue @@ -20,6 +20,7 @@ const { bugReportLoading, bugReportError, bugReportSuccess, + bugReportCode, bugReportCanvasRef, bugReportImgRef, setupAnnotationCanvas, @@ -43,6 +44,9 @@ const {

Danke! Bug Report wurde gesendet.

+

+ Fehlercode {{ bugReportCode }} +