Repository navigation
feat(ui): points model — wallet shows gift/earned/topup sources & validity, gift tx type - #12
Merged
Merged
Conversation
…idity, gift tx type (v1.2)
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
Implements the UI prototype part of the points model (v1.2) in the static prototype, per host rant
2026-08-14T20:20:46「点数机制定案 — 纯分享经济 + 新人赠送 10 点(有 1 周有效期),分享收益与充值点数永久有效」 (PR 2/2; PR 1/2 = docs v1.2, #11).ui/js/data.jsaddsPOINT_SOURCES— gift 10 pts (剩 5 天), earned 12470 pts (永久), topup 0 pts (永久); balance stays consistent (10 + 12470 = 12480). New transaction type gift(赠送) with a "赠送 · 新人体验券(注册赠送)" record.ui/README.mdsynced (wallet / transactions / 点数机制 v1.2).Related Issue
No issue — host rant
2026-08-14T20:20:46.981288(project argszero/aitokenpool).Changes
ui/README.mdupdatedTests
cargo test全部通过 (1 passed)cargo fmt --check通过node --checkonui/js/data.js/ui/js/app.js(syntax OK)Checklist
feat/points-model-uifeat(ui): points model …