Implement maintenance mode and presence updates in bot and WebUI
- Added maintenance mode functionality in the bot, allowing for a custom message and DND status when enabled. - Updated the OwnerPresencePage to include read-only access for VIEWER roles, with save permissions restricted to ADMIN roles. - Enhanced the PresenceForm component to support immediate application of changes and added a confirmation for maintenance mode activation. - Introduced localization updates for presence-related messages in both English and German, improving user guidance. - Implemented a presence refresh queue to handle updates efficiently after configuration changes.
This commit is contained in:
@@ -320,6 +320,22 @@
|
||||
- [ ] Suche nach Servername filtert
|
||||
- [ ] Invite erstellen → Link im Toast/Clipboard; Bot braucht Create Instant Invite
|
||||
|
||||
## Post-Phase – Owner Presence WebUI Polish (Status: implementiert)
|
||||
|
||||
### Abgeschlossen (Code)
|
||||
|
||||
- PresenceForm: Live-Vorschau, i18n-Enums, Zeichenzähler, Switch+Confirm für Wartung, Hinweise
|
||||
- Sofort-Apply: WebUI enqueued `presenceRefresh` nach Save
|
||||
- Wartungsmodus: Discord DND + Wartungstext (keine Rotation)
|
||||
- VIEWER read-only auf `/owner/presence` (Save nur ADMIN+)
|
||||
|
||||
### Manuell testen
|
||||
|
||||
- [ ] Status/Text speichern → Discord-Präsenz innerhalb weniger Sekunden
|
||||
- [ ] Rotierende Zeilen → Vorschau erste Zeile; Job rotiert weiter
|
||||
- [ ] Wartung an → Confirm, Discord zeigt Wartungstext, kein Rotating
|
||||
- [ ] VIEWER sieht Formular, kann nicht speichern
|
||||
|
||||
## Post-Phase – Automod/Moderation Dashboard Ausbau (Status: implementiert)
|
||||
|
||||
### Abgeschlossen (Code)
|
||||
|
||||
Reference in New Issue
Block a user