fix(ui): tx table token K/M abbreviation + hover exact + summary right-align + key type label (rant 2026-08-22T08:58:54) - #120
Merged
Merged
Conversation
…t-align + key/type label fallback (rant 2026-08-22T08:58:54)
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
Transaction-page UE/UI polish (host screenshot-based feedback on v0.7.6 dev, rant 2026-08-22T08:58:54):
Related Rant
Changes
fmtTokensnow renders ≥1000 asX.XKand ≥1e6 asX.XM(previously only ≥1e6 became M, leaving thousands like34313/32896as raw numbers). Hovering a token cell shows the exact value via atitletooltip..tx-summary .ts-itemnowalign-items: flex-endso each value (income / expense / net) is right-aligned and visually tidy (already using tabular-nums).key_labelnow show the transaction-type label for non-keyed types (topup / gift / withdraw) instead of a bare—; consume/earn without a key still show—.number-rangefilters (compact via existing.range-filterCSS); the summary already renders the K/M token stats.Tests
node --checkon ui/js/app.js + ui/js/i18n.js OK; cargo test 139/139 passed; fmt clean; cache-bust bumped to20260822-3Acceptance
summaryendpointinput = tokens - cached - output); the screenshot diff was a cross-row summary-vs-row comparison, not a backend bug