diff --git a/src/govoplan_helpdesk/backend/manifest.py b/src/govoplan_helpdesk/backend/manifest.py index 32e6f05..6693d18 100644 --- a/src/govoplan_helpdesk/backend/manifest.py +++ b/src/govoplan_helpdesk/backend/manifest.py @@ -116,6 +116,8 @@ DOCUMENTATION = ( title="Configure Helpdesk routing and service-target profiles", summary="Match bounded Ticket types and priorities to one queue and a priority-specific target.", body=( + "Open the documentation book immediately beside Helpdesk profiles for routing-profile " + "guidance. " "Each active tenant profile has a stable key, ordered precedence, supported Ticket types and priorities, a queue reference, and optional target minutes by priority or default. " "At Ticket intake Helpdesk evaluates active profiles in order. An explicit profile key or queue hint narrows the match. The selected profile revision, queue, target duration, and explanation are recorded with the Ticket. " "If no profile matches, intake succeeds without an automatic target and authorized Ticket staff choose queue and target manually. Profile edits are revision-guarded, replay-safe, and append immutable configuration history." @@ -128,7 +130,9 @@ DOCUMENTATION = ( "de": { "title": "Helpdesk-Profile für Weiterleitung und Serviceziele konfigurieren", "summary": "Begrenzte Ticketarten und Prioritäten einer Warteschlange und einem prioritätsabhängigen Ziel zuordnen.", - "body": "Jedes aktive Mandantenprofil besitzt einen stabilen Schlüssel, eine Reihenfolge, unterstützte Ticketarten und Prioritäten, einen Warteschlangenverweis und optionale Zielminuten je Priorität oder als Standard. Bei der Ticketaufnahme wertet Helpdesk aktive Profile der Reihe nach aus. Ein ausdrücklicher Profilschlüssel oder Warteschlangenhinweis grenzt die Auswahl ein. Profilrevision, Warteschlange, Zieldauer und Begründung werden am Ticket festgehalten. Trifft kein Profil zu, gelingt die Aufnahme ohne automatisches Ziel; berechtigte Ticket-Bearbeitende wählen Warteschlange und Ziel manuell. Profiländerungen sind revisionsgeschützt, wiederholungssicher und erzeugen unveränderliche Konfigurationshistorie.", + "body": "Öffnen Sie das Dokumentationsbuch unmittelbar neben Helpdesk-Profile für Hinweise zu " + "Routing-Profilen. " + "Jedes aktive Mandantenprofil besitzt einen stabilen Schlüssel, eine Reihenfolge, unterstützte Ticketarten und Prioritäten, einen Warteschlangenverweis und optionale Zielminuten je Priorität oder als Standard. Bei der Ticketaufnahme wertet Helpdesk aktive Profile der Reihe nach aus. Ein ausdrücklicher Profilschlüssel oder Warteschlangenhinweis grenzt die Auswahl ein. Profilrevision, Warteschlange, Zieldauer und Begründung werden am Ticket festgehalten. Trifft kein Profil zu, gelingt die Aufnahme ohne automatisches Ziel; berechtigte Ticket-Bearbeitende wählen Warteschlange und Ziel manuell. Profiländerungen sind revisionsgeschützt, wiederholungssicher und erzeugen unveränderliche Konfigurationshistorie.", } }, related_modules=("tickets",), diff --git a/webui/src/features/helpdesk/HelpdeskProfilesPage.tsx b/webui/src/features/helpdesk/HelpdeskProfilesPage.tsx index fee2b77..a1bc08f 100644 --- a/webui/src/features/helpdesk/HelpdeskProfilesPage.tsx +++ b/webui/src/features/helpdesk/HelpdeskProfilesPage.tsx @@ -114,12 +114,13 @@ export default function HelpdeskProfilesPage({ settings, auth }: PlatformRouteCo
} scope="workspace" variant="collection" refreshable reloadAction={{ onReload: () => void reload(), loading }} contextActions={{profiles.length} profiles · ordered first match wins} - helpAction={} createAction={} /> {error && setError("")}>{error}} diff --git a/webui/src/i18n/generatedTranslations.ts b/webui/src/i18n/generatedTranslations.ts new file mode 100755 index 0000000..1b4a749 --- /dev/null +++ b/webui/src/i18n/generatedTranslations.ts @@ -0,0 +1,12 @@ +import type { PlatformTranslations } from "@govoplan/core-webui"; + +/** Module-owned translations for contextual headings. */ +export const generatedTranslations: PlatformTranslations = { + en: { + "Helpdesk profiles": "Helpdesk profiles", + }, + de: { + "Helpdesk profiles": "Helpdesk-Profile", + }, +}; + diff --git a/webui/src/module.ts b/webui/src/module.ts index 49b3d2e..56d7c52 100644 --- a/webui/src/module.ts +++ b/webui/src/module.ts @@ -1,11 +1,13 @@ import { createElement, lazy } from "react"; import type { PlatformWebModule } from "@govoplan/core-webui"; +import { generatedTranslations } from "./i18n/generatedTranslations"; import "./styles/helpdesk.css"; const HelpdeskProfilesPage = lazy(() => import("./features/helpdesk/HelpdeskProfilesPage")); export const helpdeskModule: PlatformWebModule = { + translations: generatedTranslations, id: "helpdesk", label: "Helpdesk", version: "0.1.20",