feat: show VPN connection info and subscription request history on admin user detail

- Load panelInfo eagerly on page load (not just on subscription tab)
- Add VPN connection card to info tab: last/first connection, online status indicator, last node
- Rename "Last activity" to "Bot activity" to distinguish from VPN connection
- Show cabinet_last_login field that was never rendered
- Add collapsible subscription request history section in subscription tab with paginated table
- Add subscription request history API types and method
- Add i18n keys for all 4 locales (ru, en, zh, fa)
This commit is contained in:
Fringg
2026-04-29 06:11:12 +03:00
parent 5b1892ddbb
commit e1d2f8cee4
6 changed files with 342 additions and 2 deletions

View File

@@ -3482,6 +3482,19 @@
"language": "Язык",
"registration": "Регистрация",
"lastActivity": "Последняя активность",
"botActivity": "Активность в боте",
"cabinetLastLogin": "Последний вход в кабинет",
"vpnConnection": "VPN подключение",
"lastConnection": "Последнее подключение",
"firstConnection": "Первое подключение",
"online": "Онлайн",
"requestHistory": "История запросов подписки",
"requestHistoryTotal": "Всего запросов",
"requestAt": "Дата",
"requestIp": "IP адрес",
"requestUserAgent": "Устройство",
"loadMore": "Показать ещё",
"noRequests": "Нет запросов",
"totalSpent": "Всего потрачено",
"purchases": "Покупок",
"campaign": "Рекламная кампания",