Repository navigation
feat(ui): transaction page trend chart + summary/filter fixes (v0.7.12) - #132
Merged
Merged
Conversation
…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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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