feat(usage): refactor dashboard frontend with shadcn/ui components, skeleton states, and dark-theme charts
This commit is contained in:
1 parent
425b0009b8
commit
2f42d70d78
8 files changed
+555
-229
No files matched your search
@@ -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: 'Запросы',
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
@@ -490,6 +490,12 @@ const vi = {
|
||||
retry: 'Thử lại',
|
||||
allAccounts: 'Tất cả tài khoản',
|
||||
noData: 'Không có dữ liệu',
|
||||
emptyStateTitle: 'Chưa có dữ liệu sử dụng',
|
||||
emptyStateDescription: 'Bắt đầu gửi yêu cầu API để xem thống kê sử dụng token tại đây.',
|
||||
promptLabel: 'Prompt',
|
||||
completionLabel: 'Completion',
|
||||
totalLabel: 'Tổng',
|
||||
requestsLabel: 'Yêu cầu',
|
||||
},
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user