From f9581948d578d22f4549c8f91e26e71cb2e2e9bb Mon Sep 17 00:00:00 2001 From: argszero Date: Thu, 22 Oct 2026 06:08:30 +0800 Subject: [PATCH] docs(user-stories): name every view the bilingual UI has Section 3's last bullet claims a bilingual front end across "all pages" and then names six: market, wallet, transactions, sharing, admin, settings. The UI has eight. ui/js/app.js:537-551 NAV dashboard / marketplace / sharing / wallet / transactions / admin / ops / settings ui/js/app.js:555-562 VIEW_TITLE the same eight keys; VALID_VIEWS is its key set (:565) ui/js/i18n.js view.* all eight titles in both language packages (zh :99-106, en :942-949) The omission contradicts the document itself twice over. Line 38 of the same list names the operator view ("enterprise controls: ... operator view"), and the roles table at :13 describes it as a view of its own. It also contradicts the README this section says it mirrors: README.md:20 and README.en.md:20 have listed all eight since #426. The fix is one line: name all eight, in sidebar order, in the wording the README already uses. No gate reads docs/user-stories.md -- grep -rn user-stories src/ finds one comment in gift.rs -- so this corrects the data without adding a guard, which is the axis' standing rule. --- docs/user-stories.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/user-stories.md b/docs/user-stories.md index cac0305..87e918a 100644 --- a/docs/user-stories.md +++ b/docs/user-stories.md @@ -37,7 +37,7 @@ - **点数体系**:每日赠送、分享分成、管理员充值、自助注册 + 邮箱验证、找回密码 - **企业管控**:部门、成员点数、用量报表、运营者视图、模型管理 CRUD - **安全**:上游 key AES-256-GCM 加密、argon2 哈希、角色隔离、主密钥机制 -- **中英双语前端**:市场 / 钱包 / 交易 / 共享 / 管理 / 设置全页面 +- **中英双语前端**:仪表盘 / 模型市场 / 共享管理 / 钱包 / 交易记录 / 管理视图 / 运营视图 / 设置,全页面 ## 4. UI 约定