feat(usage): refactor dashboard frontend with shadcn/ui components, skeleton states, and dark-theme charts

This commit is contained in:
Gemini Nexus Bot committed 2026-04-22 16:23:45 -03:00
1 parent 425b0009b8
commit 2f42d70d78
8 files changed
+555 -229

No files matched your search

+20
View File
@@ -511,6 +511,13 @@ i18n
retry: 'Retry',
allAccounts: 'All Accounts',
noData: 'No data available',
emptyStateTitle: 'No usage data yet',
emptyStateDescription:
'Start making API requests to see your token usage statistics here.',
promptLabel: 'Prompt',
completionLabel: 'Completion',
totalLabel: 'Total',
requestsLabel: 'Requests',
},
},
},
@@ -1005,6 +1012,12 @@ i18n
retry: '重试',
allAccounts: '所有账号',
noData: '暂无数据',
emptyStateTitle: '暂无用量数据',
emptyStateDescription: '开始发起 API 请求后,此处将显示您的 Token 用量统计。',
promptLabel: 'Prompt',
completionLabel: 'Completion',
totalLabel: '总计',
requestsLabel: '请求数',
},
},
},
@@ -1505,6 +1518,13 @@ i18n
retry: 'Повторить',
allAccounts: 'Все аккаунты',
noData: 'Нет данных',
emptyStateTitle: 'Данных об использовании пока нет',
emptyStateDescription:
'Начните отправлять API-запросы, чтобы увидеть статистику использования токенов.',
promptLabel: 'Prompt',
completionLabel: 'Completion',
totalLabel: 'Всего',
requestsLabel: 'Запросы',
},
},
},