Skip to content

feat(ui): transaction page trend chart + summary/filter fixes (v0.7.12) - #132

Merged
argszero merged 1 commit into
mainfrom
release/v0.7.12
Aug 23, 2026
Merged

argszero merged 1 commit into
mainfrom
release/v0.7.12

Conversation

@argszero

Copy link
Copy Markdown
Owner

rant 2026-08-23T16:01:07 交易记录页 UI 改进(2 需求 + 2 bug):

需求 1:移除交易列表内 time 列筛选(外部时间段筛选已覆盖)
需求 2:列表上方新增趋势图——新增 GET /api/transactions/trend(hour/day/week 时间桶聚合,口径与 summary 一致),手写 SVG 折线图(收入/支出),随 tab + 时间段联动
Bug 1:统计指标联动表格内部筛选(筛选后基于可见行本地加总,含 Token 四指标)
Bug 2:筛选输入框 300ms 防抖 + 焦点/光标恢复(修复 'sh' 变 'hs')

门禁:146 tests 全绿 + fmt + clippy + node check

…026-08-23T16:01:07)

- remove time column in-table filter (external range already covers it)
- new GET /api/transactions/trend (hour/day/week buckets, summary-consistent)
- SVG trend chart (income/expense) above table, follows tab + time range
- summary now recomputes from filtered rows when in-table filters active (incl. token stats)
- debounce th-filter input (300ms) + restore focus/caret (fixes 'sh'->'hs')
- bump to v0.7.12
@argszero
argszero merged commit 252f2b7 into main Aug 23, 2026
1 check passed
@argszero
argszero deleted the release/v0.7.12 branch August 23, 2026 08:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant