mirror of
https://github.com/chillpadclub/bedolaga-cabinet.git
synced 2026-07-28 17:43:47 +00:00
feat: move user action buttons to detail page and fix full delete
- Add fullDeleteUser API method calling DELETE /admin/users/{id}/full
- Add Reset trial, Reset subscription, Disable, Delete buttons to AdminUserDetail info tab
- Implement inline confirm pattern (click → "Are you sure?" → execute, 3s timeout)
- Delete now calls /full endpoint removing user from bot DB and Remnawave panel
- Remove UserActionsMenu dropdown, ConfirmationModal and related code from AdminUsers list
- Update delete confirmation text in ru/en locales to reflect full deletion
This commit is contained in:
@@ -1808,7 +1808,7 @@
|
||||
},
|
||||
"confirmDelete": {
|
||||
"title": "Delete user?",
|
||||
"message": "Are you sure? This action is irreversible. All user data will be deleted."
|
||||
"message": "Are you sure? This action is irreversible. The user will be fully deleted from the bot and from the Remnawave panel."
|
||||
},
|
||||
"confirmResetTrial": {
|
||||
"title": "Reset trial?",
|
||||
@@ -1848,6 +1848,10 @@
|
||||
"subscription": "• Subscription purchase prohibited",
|
||||
"reason": "Reason"
|
||||
},
|
||||
"actions": {
|
||||
"title": "Actions",
|
||||
"areYouSure": "Are you sure?"
|
||||
},
|
||||
"subscription": {
|
||||
"current": "Current subscription",
|
||||
"tariff": "Tariff",
|
||||
|
||||
@@ -2335,7 +2335,7 @@
|
||||
},
|
||||
"confirmDelete": {
|
||||
"title": "Удалить пользователя?",
|
||||
"message": "Вы уверены? Это действие необратимо. Все данные пользователя будут удалены."
|
||||
"message": "Вы уверены? Это действие необратимо. Пользователь будет полностью удалён из бота и из панели Remnawave."
|
||||
},
|
||||
"confirmResetTrial": {
|
||||
"title": "Сбросить триал?",
|
||||
@@ -2375,6 +2375,10 @@
|
||||
"subscription": "• Запрет покупки подписки",
|
||||
"reason": "Причина"
|
||||
},
|
||||
"actions": {
|
||||
"title": "Действия",
|
||||
"areYouSure": "Уверены?"
|
||||
},
|
||||
"subscription": {
|
||||
"current": "Текущая подписка",
|
||||
"tariff": "Тариф",
|
||||
|
||||
Reference in New Issue
Block a user