Repository navigation
feat(ui): daily gift — today +1 (valid until today), streak N/10, gift tx 1pt (v1.4) - #15
Merged
Merged
Conversation
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 prototype half of host rant
2026-08-14T21:32:47(修正新人赠送机制 — 每日 1 点 / 1 天有效 / 连送 10 天,防薅羊毛). Docs half already merged in PR #14 (docs v1.4).Changes (
ui/):ui/js/data.jsUSER.balance: 12480 → 12471 (gift 10→1: 1 + 12470 + 0)POINT_SOURCES.gift: 1 pt with note "今日赠送 +1 · 有效期至今日 · 连续第 7 天 / 共 10 天" (was "新人体验券 · 剩 5 天")ui/index.html: wallet hint "每日赠送 1 点 · 当日有效(先扣有有效期的赠送点数);收益 / 充值点数永久有效"; transactions descriptions "赠送(每日 1 点 · 连续 10 天)" ×2ui/js/app.js: point-source comment → v1.4ui/README.md: wallet + points-mechanism sections → daily gift 1 pt / valid today / streak N of 10Unchanged: earn/topup permanent, deduction order (gift first), top-up/withdraw buttons remain disabled.
Related Issue
No issue — host rant
2026-08-14T21:32:47(argszero/aitokenpool).Changes
ui/js/data.jsmock data +ui/README.mdTests
cargo test全部通过 (1 passed)cargo fmt --check通过node --check ui/js/data.js+node --check ui/js/app.js通过Checklist
feat/gift-daily-uifeat(ui): daily gift — today +1 (valid until today), streak N/10, gift tx 1pt (v1.4)