mirror of
https://github.com/chillpadclub/bedolaga-cabinet.git
synced 2026-07-30 02:23:47 +00:00
feat: admin bulk actions page with TanStack Table
Full-featured admin page for mass operations on users: - TanStack Table with checkbox selection (select all / individual) - Server-side pagination, search, and filters (status, tariff, promo group) - Columns: user, subscription status, tariff, balance, days left, promo group - Floating glass-effect action bar with 7 bulk operations: extend subscription, deactivate, activate, change tariff, add traffic, add balance, assign promo group - Action modal dialogs with input fields, loading state, result summary - Responsive design for desktop, mobile, and Telegram Mini App - Full i18n support (ru, en) - Dark theme with accent highlights and status color badges
This commit is contained in:
@@ -1125,7 +1125,8 @@
|
||||
"salesStats": "Sales Statistics",
|
||||
"landings": "Landings",
|
||||
"referralNetwork": "Referral Network",
|
||||
"news": "News"
|
||||
"news": "News",
|
||||
"bulkActions": "Bulk Actions"
|
||||
},
|
||||
"panel": {
|
||||
"title": "Admin Panel",
|
||||
@@ -2021,6 +2022,62 @@
|
||||
"telegramOidcClientSecret": "Client Secret"
|
||||
}
|
||||
},
|
||||
"bulkActions": {
|
||||
"title": "Bulk Actions",
|
||||
"subtitle": "User management",
|
||||
"selectedCount": "Selected: {{count}}",
|
||||
"selectAll": "Select all",
|
||||
"deselectAll": "Deselect all",
|
||||
"noResults": "No users found",
|
||||
"actions": {
|
||||
"extend": "Extend subscription",
|
||||
"cancel": "Deactivate subscriptions",
|
||||
"activate": "Activate subscriptions",
|
||||
"changeTariff": "Change tariff",
|
||||
"addTraffic": "Add traffic",
|
||||
"addBalance": "Add balance",
|
||||
"assignPromoGroup": "Assign promo group"
|
||||
},
|
||||
"params": {
|
||||
"days": "Number of days",
|
||||
"tariff": "Select tariff",
|
||||
"trafficGb": "Traffic amount (GB)",
|
||||
"balanceRub": "Amount (RUB)",
|
||||
"promoGroup": "Promo group",
|
||||
"removePromoGroup": "Remove promo group"
|
||||
},
|
||||
"confirm": "Apply",
|
||||
"cancel": "Cancel",
|
||||
"executing": "Executing...",
|
||||
"complete": "Complete",
|
||||
"successCount": "Succeeded: {{count}}",
|
||||
"errorCount": "Errors: {{count}}",
|
||||
"filters": {
|
||||
"search": "Search by ID, username, email",
|
||||
"status": "Subscription status",
|
||||
"tariff": "Tariff",
|
||||
"promoGroup": "Promo group",
|
||||
"allStatuses": "All statuses",
|
||||
"allTariffs": "All tariffs",
|
||||
"allGroups": "All groups"
|
||||
},
|
||||
"statuses": {
|
||||
"active": "Active",
|
||||
"expired": "Expired",
|
||||
"trial": "Trial",
|
||||
"limited": "Limited",
|
||||
"disabled": "Disabled"
|
||||
},
|
||||
"columns": {
|
||||
"user": "User",
|
||||
"status": "Status",
|
||||
"tariff": "Tariff",
|
||||
"balance": "Balance",
|
||||
"daysRemaining": "Days",
|
||||
"promoGroup": "Group",
|
||||
"spent": "Spent"
|
||||
}
|
||||
},
|
||||
"theme": {
|
||||
"accentColor": "Accent color",
|
||||
"customizeColors": "Customize colors",
|
||||
|
||||
Reference in New Issue
Block a user