Commit Graph

64 Commits

Author SHA1 Message Date
CalciumIon
a771ecbe0b feat: Integrate i18n support and enhance UI text localization
- Added internationalization (i18n) support across various components, enabling dynamic language switching and improved user experience.
- Updated multiple components to utilize translation functions for labels, buttons, and messages, ensuring consistent language display.
- Enhanced the user interface by refining text elements in the ChannelsTable, LogsTable, and various settings pages, improving clarity and accessibility.
- Adjusted CSS styles for better responsiveness and layout consistency across different screen sizes.
2024-12-13 19:03:14 +08:00
CalciumIon
74a307f10c feat: Enhance color mapping and chart rendering in Detail component
- Added base and extended color palettes for improved model color mapping.
- Introduced a new `modelToColor` function to dynamically assign colors based on model names.
- Updated the Detail component to utilize the new color mapping for pie and line charts.
- Refactored chart data handling to support dynamic color assignment and improved data visualization.
- Cleaned up unused state variables and optimized data loading logic for better performance.
2024-12-12 14:56:16 +08:00
CalciumIon
c76a0fedc3 feat: Add renderModelPriceSimple function and update LogsTable component
- Introduced a new helper function `renderModelPriceSimple` to simplify the rendering of model price information.
- Updated the `LogsTable` component to utilize `renderModelPriceSimple`, enhancing the display of model pricing and grouping information.
- Removed the previous implementation of `renderModelPrice` from the `LogsTable` for cleaner code.
2024-12-11 21:06:26 +08:00
CalciumIon
4cf9ba46b8 feat: add Cache-Control header to API requests 2024-12-04 20:51:55 +08:00
CalciumIon
325de98738 feat: 渠道标签分组 2024-11-19 01:13:18 +08:00
CalciumIon
37d6925ef6 feat: 完善audio计费 2024-11-07 16:12:09 +08:00
1808837298@qq.com
53ff1547cf feat: 弃用旧的聊天配置 2024-10-12 21:09:59 +08:00
1808837298@qq.com
e3620c1c0e chore: 更新令牌分组描述 2024-09-22 19:43:06 +08:00
CalciumIon
4a02eb1b7f feat: 令牌分组 2024-09-18 05:19:49 +08:00
CalciumIon
78ffd8d294 feat: 优化日志查初始时间 2024-08-01 17:36:26 +08:00
1808837298@qq.com
5083eaab85 fix: first login error (close #385) 2024-07-23 18:25:43 +08:00
CalciumIon
28397c5d82 fix: 修复nginx缓存导致串用户问题 2024-07-19 13:39:05 +08:00
CalciumIon
ccd0ac8dea fix: 日志详情 2024-07-08 15:48:28 +08:00
CalciumIon
dcbfba1c1e feat: 完善日志扣费计算过程 2024-07-01 00:56:37 +08:00
CalciumIon
6e92f1f2d1 feat: 记录流模式首字时间 (close #323) 2024-06-26 18:04:49 +08:00
Xiangyuan Liu
05a4646b44 feat: suno api 支持
feat: 调试 suno

feat: 补充suno 文档
2024-06-13 10:35:48 +08:00
1808837298@qq.com
f723ff9ba0 feat: 增加重置模型倍率功能 (close #62) 2024-05-24 15:28:16 +08:00
1808837298@qq.com
5bf8cb74c8 chore: 添加注释 2024-05-21 21:16:17 +08:00
1808837298@qq.com
f84c9d3434 fix: 模型价格 2024-05-21 21:07:32 +08:00
1808837298@qq.com
99f00404d8 chore: 删除无用代码 2024-05-21 20:50:48 +08:00
QuentinHsu
09804935ae Merge branch 'main' into refactor-settings-operation 2024-05-14 10:19:33 +08:00
CaIon
97acc9e5c4 feat: add pricing page 2024-05-13 23:02:35 +08:00
QuentinHsu
1042408fe8 Merge branch 'main' into refactor-settings-operation 2024-05-13 16:29:02 +08:00
CaIon
0fe4c98b3f feat: dalle系列改为使用模型固定价格计费 2024-05-13 16:04:02 +08:00
CaIon
7ef1636321 feat: 完善日志详情 2024-05-13 15:08:01 +08:00
CaIon
5cf33f35ae fix: 修复自定义渠道出错 #243 2024-05-13 14:32:32 +08:00
CaIon
391f0404a5 feat: 日志详情展示模型价格 2024-05-12 15:35:57 +08:00
QuentinHsu
8de14b00b8 refactor: 运营设置-通用设置 2024-05-09 17:01:55 +08:00
CaIon
3721ed796c feat: support aws claude 2024-04-23 11:44:40 +08:00
CaIon
08a7738bd4 fix: add group tag 'unknown' 2024-04-04 21:20:54 +08:00
CaIon
f5dd4ea293 feat: 钱包兼容非货币形式显示额度 2024-04-04 18:18:18 +08:00
QuentinHsu
f2f5b73c79 refactor(helpers): renderGroup function 2024-04-02 13:16:02 +08:00
QuentinHsu
f16eac3140 fix(helpers): add key prop to Tag components 2024-04-02 10:58:44 +08:00
CaIon
eb955ae4b1 chore: lint fix 2024-03-23 21:24:39 +08:00
CaIon
80695f3c05 feat: vite 2024-03-23 19:09:09 +08:00
1808837298@qq.com
7739dbb355 feat: 数据看板颜色统一 2024-03-02 20:56:29 +08:00
CaIon
fe148d175e perf: 数据看板支持选择时间粒度 2024-01-13 00:33:52 +08:00
CaIon
dec5aeaff2 perf: 美化数据看板 2024-01-10 17:49:55 +08:00
CaIon
6e906442f6 perf: 美化数据看板 2024-01-08 11:32:27 +08:00
CaIon
dd0abc9447 feat: 新增数据看板 2024-01-07 18:31:14 +08:00
CaIon
cc722da3b5 优化渠道余额显示 2023-12-11 20:42:51 +08:00
CaIon
b7ac0b18d0 更新用户管理界面UI 2023-11-27 22:43:46 +08:00
CaIon
3eb7843b2e 完善个人中心 2023-11-21 16:35:51 +08:00
CaIon
767c7e3e3d 登录页完善 2023-11-07 23:32:43 +08:00
CaIon
607358c969 完善令牌界面 2023-10-31 22:41:34 +08:00
CaIon
eec9046c3a 更换前端组件库 2023-10-31 00:03:22 +08:00
CaIon
ba7e6324d3 Merge remote-tracking branch 'origin/main'
# Conflicts:
#	README.md
#	go.mod
#	go.sum
#	model/log.go
#	web/src/App.js
#	web/src/components/ChannelsTable.js
2023-10-16 17:31:26 +08:00
JustSong
f6811a11a9 chore: show prompt to let the user know 2023-10-14 16:32:01 +08:00
CaIon
06fc41d9a0 feat: add midjourney log 2023-09-12 03:17:26 +08:00
Yolo°
f9c3f3761e feat: improve frontend (#387)
* fork

* fork

* chore: update style

---------

Co-authored-by: JustSong <songquanpeng@foxmail.com>
2023-08-12 10:49:30 +08:00