Skip to content

feat(ui): remove mechanism explanations from user-facing texts - #27

Merged
argszero merged 1 commit into
mainfrom
feat/ui-no-mechanism-text
Aug 17, 2026
Merged

argszero merged 1 commit into
mainfrom
feat/ui-no-mechanism-text

Conversation

@argszero

Copy link
Copy Markdown
Owner

Summary

Remove all user-facing mechanism explanations from the UI, per host rant 2026-08-17T10:38:10. Users only need to see results (balance numbers, model prices in points, transaction amounts/type/status, available/busy) — not the internal mechanisms (CNY anchor, validity rules, platform cut, gift-day counts, anti-abuse).

Changes:

  • index.html: remove the whole login-page "点数机制 Points" block; neutralize sharing-page "收益为已扣 10% 平台分成后的金额…" → "收益已到账"; remove "1 点 ≈ 1 元 … 消费点数可为小数" under wallet balance; remove the "每日赠送 1 点 · 当日有效(先扣…)收益/充值永久有效" muted line under wallet point sources; neutralize wallet/transactions headers ("涵盖消费、收益、充值、提现、赠送" — dropped the mechanism parentheticals); topup modal text drops "永久有效点数(1 点 ≈ 1 元)".
  • app.js: dashboard stat subs drop "1 点 ≈ 1 元" and "已扣 10% 平台分成 · "; topup tx detail drops "永久有效 · "; pointSourceItem no longer renders validity badges/notes (label + amount only).
  • data.js: POINT_SOURCES simplified (no validity/note mechanism text); TRANSACTIONS gift/earn details neutralized ("已扣 10% 平台分成" removed).
  • css: remove now-dead .login-points styles.
  • README.md: prototype doc updated — mechanism details now live in docs/ only.

Related Issue

Host rant 2026-08-17T10:38:10.682740 (移除面向用户的"点数机制"说明 — 机制不给用户看)

Tests

  • grep for 1 点 ≈ 1 元|≈1 元|10% 平台分成|有效期|连送 10 天|每日赠送 1 点|防薅|点数机制 in ui/ → no matches
  • node --check app.js / data.js pass
  • cargo test passes (1 passed)
  • cargo fmt --check clean

@argszero
argszero merged commit 500e17d into main Aug 17, 2026
1 check passed
argszero added a commit that referenced this pull request Sep 29, 2026
The 数据说明 section states the chat-mock billing rule twice: once as its
own bullet and once pasted onto the tail of the multi-key bullet. The
second copy entered when 500e17d (#27) added the dedicated bullet but
left the original sentence on the multi bullet, so the two unrelated
facts were joined by a semicolon. Remove the pasted copy; the dedicated
bullet keeps the rule.

Documentation only; no code or gate changes.

Co-authored-by: argszero <argszero@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant