Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -2,6 +2,10 @@

All notable changes are recorded here. Versions follow [SemVer](https://semver.org/).

## v0.7.19 (2026-08-25)

- **筛选输入不再丢焦点(rant 2026-08-25T11:15:16,PR #148)** — 修复 v0.7.18 服务端列筛选回归:每输入一个字母触发刷新并失去焦点。方案(宿主确认 B):表头筛选行改为**只渲染一次、重建时保持存活**——buildDataTable 仅重建 tbody 与分页器,筛选输入框 DOM 永不销毁,焦点天然保留;聚焦时不做 fallback 恢复。

## v0.7.18 (2026-08-25)

- **交易列筛选改服务端全量(rant 2026-08-25T10:33:26,PR #146)** — 修复 v0.7.15 后端翻页引入的回归:表格内部列筛选(用户/模型/Key/状态/点数区间等)此前只过滤当前加载页(几十条),全量几千条不在范围内。现改为:后端 `/api/transactions` 支持列筛选参数(model/user_name/key_name LIKE、status 精确、pts_min/pts_max 区间,与 type/时间段叠加),前端筛选变化时重新向后端拉全量子集(page 重置 1);summary/trend 同步叠加列筛选口径,各区域结果一致。
Expand Down
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
[package]
name = "aitokenpool"
version = "0.7.18"
version = "0.7.19"
edition = "2021"
description = "AI Token 共享池 — 企业 key 池 + 公共共享市场"
license = "MIT"
Expand Down
10 changes: 5 additions & 5 deletions ui/index.html
Original file line numberDiff line numberDiff line change
Expand Up@@ -5,7 +5,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>AITokenPool</title>
<link rel="icon" type="image/svg+xml" href="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0' stop-color='%234ecdc4'/%3E%3Cstop offset='1' stop-color='%232a9d8f'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect width='64' height='64' rx='14' fill='url(%23g)'/%3E%3Ctext x='32' y='43' font-family='-apple-system,Segoe UI,Arial,sans-serif' font-size='30' font-weight='800' text-anchor='middle' fill='%23062021'%3EAT%3C/text%3E%3C/svg%3E">
<link rel="stylesheet" href="css/style.css?v=20260825-2">
<link rel="stylesheet" href="css/style.css?v=20260825-3">
</head>
<body>

Expand DownExpand Up@@ -683,9 +683,9 @@ <h3 id="chat-title">使用模型</h3>
</div>
</div>

<script src="js/api.js?v=20260825-2"></script>
<script src="js/data.js?v=20260825-2"></script>
<script src="js/i18n.js?v=20260825-2"></script>
<script src="js/app.js?v=20260825-2"></script>
<script src="js/api.js?v=20260825-3"></script>
<script src="js/data.js?v=20260825-3"></script>
<script src="js/i18n.js?v=20260825-3"></script>
<script src="js/app.js?v=20260825-3"></script>
</body>
</html>
Loading