feat(ui): transactions summary bar — income/expense/net tied to tab & column filters (v1.19 B) - #56
Merged
Merged
Conversation
… column filters (v1.19 B)
This was referenced Aug 17, 2026
Merged
Merged
Merged
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.
Summary
UI/UE 4th-round deepening — item B: transactions summary bar (rant
2026-08-17T20:39:30, v1.19).A compact inline summary bar (
#tx-summary,.tx-summary) now sits at the top of the transactions card (above the table), showing 总收入 / 总支出 / 净变化 — positive+green (var(--ok)), negative-red (var(--danger-text)), zero rendered neutrally as0. No new layout: three inline stat columns inside the existing card.filterRows(rows, columns, filters)used by bothbuildDataTableand the summary, so the summary always reflects the same filtered set as the visible rows (unaffected by pagination)flex-wrapfallbackDocs:
docs/user-stories.mdv1.19 (item B) +ui/README.md「交易汇总条约定」. Verified bynode --check, DOM-stub smoke test (12 assertions: all/consume/earn tabs, column-filter linkage, filter clear, pagination invariance),cargo test,cargo fmt --check.Rant (verbatim)
Related
2026-08-17T20:39:30.507364(projectaitokenpool, status in_progress; item A = PR feat(ui): URL hash routing — share/bookmark/refresh restore (v1.19 A) #55 merged)feat/ui-ue-round4-tx-summary(per rant: 分支 feat/ui-ue-round4; items C–G to follow)Tests
node --check ui/js/app.jscargo test— 1 passedcargo fmt --check