From 2c907044a368b56d933db0c51e073ac10d10dcd1 Mon Sep 17 00:00:00 2001 From: gabdevele Date: Thu, 18 Jun 2026 17:52:57 +0200 Subject: [PATCH] feat: refactor operator dashboard and report handling, add public intervention page --- app/components/ReportTable.vue | 6 +- .../dashboard/OperatorDashboard.vue | 27 +-- app/composables/useOperator.ts | 4 + app/pages/admin/moderation.vue | 25 ++- app/pages/interventions/[token].vue | 117 ++++++++++ app/pages/operator/assigned.vue | 2 +- app/pages/operator/index.vue | 23 +- app/pages/operator/others.vue | 2 +- app/pages/operator/reports/[id].vue | 203 +++++++++++++++--- 9 files changed, 335 insertions(+), 74 deletions(-) create mode 100644 app/pages/interventions/[token].vue diff --git a/app/components/ReportTable.vue b/app/components/ReportTable.vue index 9cb8a58..fc6db7c 100644 --- a/app/components/ReportTable.vue +++ b/app/components/ReportTable.vue @@ -80,15 +80,15 @@ const reportHref = (report: Report) => `${props.detailBasePath}/${report.id}` - + {{ actionLabel }} - \ No newline at end of file + diff --git a/app/components/dashboard/OperatorDashboard.vue b/app/components/dashboard/OperatorDashboard.vue index 3ea9c2a..3f569fb 100644 --- a/app/components/dashboard/OperatorDashboard.vue +++ b/app/components/dashboard/OperatorDashboard.vue @@ -1,22 +1,8 @@