merge: 合入总仓库 weiyuan(bfdfb339) web/ 新功能,保留 ui-optimization 的 UI 重构
来源:luoguang/monkey-ai weiyuan@bfdfb339 的 web/(经 sync/main-weiyuan-web-bfdfb339 同步)
同步基准:总仓库 a2ca13cb = 本仓库初始导入 d8f3aee2
冲突处理原则:保留 ui-optimization 的 UI(样式/结构/组件),嫁接 weiyuan 的功能逻辑。
- i18n:按键三方合并;ours 的「令牌→密钥」改名键上移植 theirs 的术语修订
- task-logs / OrgLogs:ours 已手工移植同一功能(6ad95e2),保留 ours
- 删除:OrgCreate(theirs 下线 /org/create)、旧 image 组件与 VideoRegenerateModal(theirs 体验中心重写)、
OrgAvatarSection / PricingBentoPage / CommissionConsole(ours 重构中已移除)
- 测试:users-pagination 的 i18next mock 补 t();theirs 新增文件补 license header
This commit is contained in:
@@ -64,7 +64,7 @@ export const useDashboardCharts = (
|
||||
title: {
|
||||
visible: true,
|
||||
text: t('模型调用排行'),
|
||||
subtext: `${t('总计')}:${renderNumber(0)}`,
|
||||
subtext: t('总计:{{value}}', { value: renderNumber(0) }),
|
||||
textStyle: {
|
||||
fontSize: 14,
|
||||
fontWeight: 600,
|
||||
@@ -203,7 +203,7 @@ export const useDashboardCharts = (
|
||||
title: {
|
||||
visible: true,
|
||||
text: t('消费时段走势'),
|
||||
subtext: `${t('总计')}:${renderQuota(0, 2)}`,
|
||||
subtext: t('总计:{{value}}', { value: renderQuota(0, 2) }),
|
||||
textStyle: {
|
||||
fontSize: 14,
|
||||
fontWeight: 600,
|
||||
@@ -809,7 +809,7 @@ export const useDashboardCharts = (
|
||||
updateChartSpec(
|
||||
setSpecPie,
|
||||
newPieData,
|
||||
`${t('总计')}:${renderNumber(totalTimes)}`,
|
||||
t('总计:{{value}}', { value: renderNumber(totalTimes) }),
|
||||
newModelColors,
|
||||
'id0',
|
||||
);
|
||||
@@ -817,7 +817,7 @@ export const useDashboardCharts = (
|
||||
updateChartSpec(
|
||||
setSpecLine,
|
||||
newLineData,
|
||||
`${t('总计')}:${renderQuota(totalQuota, 2)}`,
|
||||
t('总计:{{value}}', { value: renderQuota(totalQuota, 2) }),
|
||||
newModelColors,
|
||||
'barData',
|
||||
);
|
||||
@@ -852,7 +852,7 @@ export const useDashboardCharts = (
|
||||
updateChartSpec(
|
||||
setSpecModelLine,
|
||||
modelLineData,
|
||||
`${t('总计')}:${renderNumber(totalTimes)}`,
|
||||
t('总计:{{value}}', { value: renderNumber(totalTimes) }),
|
||||
newModelColors,
|
||||
'lineData',
|
||||
);
|
||||
@@ -860,7 +860,7 @@ export const useDashboardCharts = (
|
||||
updateChartSpec(
|
||||
setSpecRankBar,
|
||||
rankData,
|
||||
`${t('总计')}:${renderNumber(totalTimes)}`,
|
||||
t('总计:{{value}}', { value: renderNumber(totalTimes) }),
|
||||
newModelColors,
|
||||
'rankData',
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user