fix(admin): add client-side search, pagination, toast feedback, confirm dialogs and test result display
Local Build and Deploy / deploy (push) Successful in 1m21s

- Rewrite manage/import/presets/test tabs as client component with sonner toasts
- Add client-side search filtering (no page reload)
- Add pagination (25 per page)
- Add confirm dialog before delete and clear-all
- Show test results inline after submission
- Add toast feedback for import, preset apply, save, delete
- Add prev/next pagination labels
This commit is contained in:
openhands committed 2026-07-17 19:17:12 +02:00
1 parent 98d4b715df
commit 6ba8928791
4 files changed
+580 -342

No files matched your search

+11 -1
View File
@@ -2117,7 +2117,17 @@
"subtitle": "User-facing strings from emulator_settings (commands, wordfilter, pet/matchmaking messages).",
"infoBox": "Configuration settings (ports, timeouts, IDs) do not appear here — use the full settings link. Saved changes are synced to the emulator via RCON.",
"fullSettings": "Full settings"
}
},
"errorOccurred": "An error occurred",
"emptyInput": "Empty input",
"invalidJson": "Invalid JSON",
"imported": "Imported!",
"cleared": "All permissions cleared!",
"invalidRank": "Invalid rank",
"testDone": "Test done: {count} permissions found",
"testing": "Testing...",
"prev": "Previous",
"next": "Next"
},
"settings": {
"title": "CMS Settings",
+11 -1
View File
@@ -2086,7 +2086,17 @@
"textColor": "Tekstkleur",
"rounded": "Afgeronde hoeken",
"save": "Opslaan als favicon"
}
},
"errorOccurred": "Er is een fout opgetreden",
"emptyInput": "Lege invoer",
"invalidJson": "Ongeldige JSON",
"imported": "Ge\u00efmporteerd!",
"cleared": "Alle permissies verwijderd!",
"invalidRank": "Ongeldige rang",
"testDone": "Test voltooid: {count} permissies gevonden",
"testing": "Testen...",
"prev": "Vorige",
"next": "Volgende"
},
"settings": {
"title": "CMS-instellingen",