Enhance ticket management with dashboard actions and priority settings

- Introduced a new `runTicketDashboardActionJob` to handle ticket actions (close, claim, set priority) with Discord side effects.
- Added a priority dropdown in the ticket control panel, allowing users to set ticket urgency levels.
- Updated WebUI to display open tickets with options to claim, close, or adjust priority, enhancing user interaction.
- Improved localization for new ticket management features in both English and German.
- Documented changes in phase tracking to reflect the new ticket dashboard functionalities.
This commit is contained in:
TheOnlyMace
2026-07-25 16:21:51 +02:00
parent ac5ecc9a1c
commit 5c11b68fc0
15 changed files with 710 additions and 14 deletions

View File

@@ -694,6 +694,31 @@
"idsPlaceholder": "Eine oder mehrere IDs, kommagetrennt",
"addCategory": "Kategorie hinzufügen",
"nameRequired": "Ein Name ist erforderlich.",
"openList": {
"title": "Offene Tickets",
"description": "Aktive Tickets (offen oder übernommen). Schließen, übernehmen oder Priorität setzen Änderungen werden in Discord ausgeführt.",
"refresh": "Aktualisieren",
"empty": "Keine offenen Tickets.",
"noSubject": "Ohne Betreff",
"noCategory": "Ohne Kategorie",
"categoryLine": "Kategorie: {category}",
"claimedBy": "Übernommen von {user}",
"openInDiscord": "In Discord öffnen",
"claim": "Übernehmen",
"close": "Schließen",
"closed": "Ticket geschlossen.",
"closeReasonPlaceholder": "Optionaler Schließgrund…",
"status": {
"OPEN": "Offen",
"CLAIMED": "Übernommen"
},
"priority": {
"LOW": "Niedrig",
"NORMAL": "Normal",
"HIGH": "Hoch",
"URGENT": "Dringend"
}
},
"errors": {
"panelTimeout": "Der Bot hat das Ticket-Panel nicht rechtzeitig bestätigt. Es wird möglicherweise noch gepostet — prüfe den Kanal und die Bot-Berechtigungen, dann speichere erneut.",
"panelNotPosted": "Das Ticket-Panel konnte nicht im Discord-Kanal erstellt werden. Prüfe Bot-Berechtigungen (Kanal sehen, Nachrichten senden, Embeds).",

View File

@@ -694,6 +694,31 @@
"idsPlaceholder": "One or more IDs, comma-separated",
"addCategory": "Add category",
"nameRequired": "A name is required.",
"openList": {
"title": "Open tickets",
"description": "Active tickets (open or claimed). Close, claim, or set priority — changes are applied in Discord.",
"refresh": "Refresh",
"empty": "No open tickets.",
"noSubject": "No subject",
"noCategory": "No category",
"categoryLine": "Category: {category}",
"claimedBy": "Claimed by {user}",
"openInDiscord": "Open in Discord",
"claim": "Claim",
"close": "Close",
"closed": "Ticket closed.",
"closeReasonPlaceholder": "Optional close reason…",
"status": {
"OPEN": "Open",
"CLAIMED": "Claimed"
},
"priority": {
"LOW": "Low",
"NORMAL": "Normal",
"HIGH": "High",
"URGENT": "Urgent"
}
},
"errors": {
"panelTimeout": "The bot did not confirm the ticket panel in time. It may still be posting — check the channel and bot permissions, then save again.",
"panelNotPosted": "The ticket panel could not be created in the Discord channel. Check bot permissions (View Channel, Send Messages, Embed Links).",