CalciumIon
620f9f19b1
fix: validate number input in renderQuotaNumberWithDigit and improve data handling in Detail page
...
Publish Docker image (amd64) / Push Docker image to multiple registries (push) Has been cancelled
Publish Docker image (arm64) / Push Docker image to multiple registries (push) Has been cancelled
Linux Release / release (push) Has been cancelled
macOS Release / release (push) Has been cancelled
Windows Release / release (push) Has been cancelled
- Added input validation to ensure that the `num` parameter in `renderQuotaNumberWithDigit` is a valid number, returning 0 for invalid inputs.
- Updated the `Detail` component to use `datum['rawQuota']` instead of `datum['Usage']` for rendering quota values, ensuring more accurate data representation.
- Enhanced data aggregation logic to handle cases where quota values may be missing or invalid, improving overall data integrity in charts and tables.
- Removed unnecessary time granularity calculations and streamlined the data processing for better performance.
2024-12-25 23:16:35 +08:00
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
325de98738
feat: 渠道标签分组
2024-11-19 01:13:18 +08:00
CalciumIon
37d6925ef6
feat: 完善audio计费
Publish Docker image (amd64) / Push Docker image to multiple registries (push) Has been cancelled
2024-11-07 16:12:09 +08:00
1808837298@qq.com
e3620c1c0e
chore: 更新令牌分组描述
Publish Docker image (amd64) / Push Docker image to multiple registries (push) Has been cancelled
Publish Docker image (arm64) / Push Docker image to multiple registries (push) Has been cancelled
Linux Release / release (push) Has been cancelled
macOS Release / release (push) Has been cancelled
Windows Release / release (push) Has been cancelled
2024-09-22 19:43:06 +08:00
CalciumIon
4a02eb1b7f
feat: 令牌分组
Publish Docker image (amd64) / Push Docker image to multiple registries (push) Has been cancelled
Publish Docker image (arm64) / Push Docker image to multiple registries (push) Has been cancelled
Linux Release / release (push) Has been cancelled
macOS Release / release (push) Has been cancelled
Windows Release / release (push) Has been cancelled
2024-09-18 05:19:49 +08:00
CalciumIon
ccd0ac8dea
fix: 日志详情
Publish Docker image (amd64) / Push Docker image to multiple registries (push) Has been cancelled
Publish Docker image (arm64) / Push Docker image to multiple registries (push) Has been cancelled
2024-07-08 15:48:28 +08:00
CalciumIon
dcbfba1c1e
feat: 完善日志扣费计算过程
Publish Docker image (amd64) / Push Docker image to multiple registries (push) Has been cancelled
Publish Docker image (arm64) / Push Docker image to multiple registries (push) Has been cancelled
Linux Release / release (push) Has been cancelled
macOS Release / release (push) Has been cancelled
Windows Release / release (push) Has been cancelled
2024-07-01 00:56:37 +08:00
1808837298@qq.com
5bf8cb74c8
chore: 添加注释
Publish Docker image (amd64) / Push Docker image to multiple registries (push) Has been cancelled
Publish Docker image (arm64) / Push Docker image to multiple registries (push) Has been cancelled
Linux Release / release (push) Has been cancelled
macOS Release / release (push) Has been cancelled
Windows Release / release (push) Has been cancelled
2024-05-21 21:16:17 +08:00
1808837298@qq.com
f84c9d3434
fix: 模型价格
Publish Docker image (amd64) / Push Docker image to multiple registries (push) Has been cancelled
Publish Docker image (arm64) / Push Docker image to multiple registries (push) Has been cancelled
Linux Release / release (push) Has been cancelled
macOS Release / release (push) Has been cancelled
Windows Release / release (push) Has been cancelled
2024-05-21 21:07:32 +08:00
1808837298@qq.com
99f00404d8
chore: 删除无用代码
Publish Docker image (amd64) / Push Docker image to multiple registries (push) Has been cancelled
Publish Docker image (arm64) / Push Docker image to multiple registries (push) Has been cancelled
Linux Release / release (push) Has been cancelled
macOS Release / release (push) Has been cancelled
Windows Release / release (push) Has been cancelled
2024-05-21 20:50:48 +08:00
CaIon
97acc9e5c4
feat: add pricing page
2024-05-13 23:02:35 +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
CaIon
3721ed796c
feat: support aws claude
Publish Docker image (amd64) / Push Docker image to multiple registries (push) Has been cancelled
Publish Docker image (arm64) / Push Docker image to multiple registries (push) Has been cancelled
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
1808837298@qq.com
7739dbb355
feat: 数据看板颜色统一
2024-03-02 20:56:29 +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
优化渠道余额显示
Publish Docker image (amd64, English) / Push Docker image to multiple registries (push) Has been cancelled
Publish Docker image (arm64) / Push Docker image to multiple registries (push) Has been cancelled
Linux Release / release (push) Has been cancelled
macOS Release / release (push) Has been cancelled
Windows Release / release (push) Has been cancelled
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
eec9046c3a
更换前端组件库
2023-10-31 00:03:22 +08:00
JustSong
17bd2d0c5b
fix: do not show dollar balance if not enabled
2023-06-21 15:45:30 +08:00
JustSong
a6cc0226a7
feat: able to display quota in dollar
2023-06-20 20:09:17 +08:00
JustSong
0b3efe574b
feat: record used quota & request count ( close #102 , #165 )
2023-06-16 15:20:06 +08:00
JustSong
fe4554a739
fix: fix file not committed
2023-06-14 12:52:56 +08:00
JustSong
1e791392f2
feat: able to set group ratio now ( close #62 , close #142 )
2023-06-11 11:08:16 +08:00
JustSong
cbf339284c
feat: support group now ( close #17 , close #72 , close #85 , close #104 , close #136 )
...
Co-authored-by: quzard <1191890118@qq.com>
2023-06-07 23:26:00 +08:00
JustSong
e07eb017f7
fix: limit the shown text's length ( close #80 )
2023-05-16 21:33:59 +08:00