docs: P9 batch-1 accepted and landed — crearte 26cd625 0.22.0 (five-leg green, review PASS with notes, ISSUE-1/2 pinned pre-merge); spec/roadmap counts corrected to six non-grid consumers (wrapper 0.3.1)
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
- `document.title` 全站无人设置:任何页面浏览器标签恒为 `index.html:10` 的 `crearte 创艺`(`grep -rn "document.title" app/` 零命中)。
|
||||
- `index.html` 无 `meta name=description`。
|
||||
- `e2e/landing.spec.ts:6` 钉住 home 标题**恰为** `crearte 创艺` —— home 无后缀既是现状也是本设计的兼容约束。
|
||||
- `StatePanel.vue` 骨架 `v-for="n in 3"`,网格消费页实际 `sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4`(CatalogView:70、LandingView:62、AuthorView:36);骨架的游戏卡形状还被 7 个非网格页复用(Docs、Admin、AdminUsers、AdminAudit、SubmitList、CreatorCenter、Game 详情),加载瞬间显示的是「不存在的卡片」。
|
||||
- `StatePanel.vue` 骨架 `v-for="n in 3"`,网格消费页实际 `sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4`(CatalogView:70、LandingView:62、AuthorView:36);骨架的游戏卡形状还被 6 个非网格页复用(Docs、Admin、AdminUsers、AdminAudit、SubmitList、Game 详情;AdminView 内 3 实例共 8 实例。初稿误写 7 个含 CreatorCenter——审查 ISSUE-2 复核其不消费 StatePanel,已按实修正),加载瞬间显示的是「不存在的卡片」。
|
||||
- 数据面锚点:`GameView` 有 `game.name/description`(`data/types.ts` Game extends GameSummary,description 可选);`CatalogView` 经 `useFilterState` 持 `state.q`(route.query 派生,天然响应);`DocsView` 有 `doc?.title`;`AuthorView` 有 works 列表→`authorDisplayName()`(labels.ts:21)与 `props.user` 兜底。
|
||||
- 路由 19 个 name(router/index.ts),其中 8 个纯静态(login/register/account/creator/outbound/admin*/submit*)无数据精化需求。
|
||||
|
||||
@@ -21,8 +21,8 @@
|
||||
|---|------|------|--------------|
|
||||
| D-A | title 所有权 | **两段式**:router `afterEach` 按路由名设静态基线;4 个数据页(game/catalog/docs/author)watch 数据后精化覆盖 | 游戏名/文档名是异步数据,纯 `meta.title` 方案拿不到;纯 watch 方案则导航瞬间标签页还是旧题。放弃全站 meta 表驱动。 |
|
||||
| D-B | home 标题 | 保持恰为 `crearte 创艺`(无后缀);其余页 `段 · crearte 创艺` | 不破坏 `landing.spec.ts:6` 既有钉桩与用户书签;也是品牌页的合理特例。 |
|
||||
| D-C | description 范围 | **仅作品详情页**写 `game.description`(截 120 码点;缺省回落默认文案),离开该页恢复 index.html 默认 | SEO 增益主要落在可分享的作品页;全站 per-page description 属 YAGNI(SPA、无抓取压力)。 |
|
||||
| D-D | 骨架策略 | cards 变体 **6 张**(3→6,覆盖 2/3/4 列断点各≥1.5 行);新增 `variant="lines"`(3 行横线、无封面纵横比结构)给 7 个非网格消费页 | 行数固定 6 而非按视口动态生成:列数已由 CSS 断点处理,JS 测视口属过度工程。放弃「所有页维持游戏卡」。 |
|
||||
| D-C | description 范围 | **仅作品详情页**写 `game.description`(截 120 码点;缺省回落默认文案),离开该页恢复 index.html 默认(实现:router `afterEach` 每导航先 `setPageDescription('')` 回落,game 页再由 watch 精化——审查 ISSUE-1 补钉,router/index.test.ts 钉桩) | SEO 增益主要落在可分享的作品页;全站 per-page description 属 YAGNI(SPA、无抓取压力)。 |
|
||||
| D-D | 骨架策略 | cards 变体 **6 张**(3→6,覆盖 2/3/4 列断点各≥1.5 行);新增 `variant="lines"`(3 行横线、无封面纵横比结构)给 6 个非网格消费页(共 8 实例) | 行数固定 6 而非按视口动态生成:列数已由 CSS 断点处理,JS 测视口属过度工程。放弃「所有页维持游戏卡」。 |
|
||||
| D-E | 仓库面 | 纯 crearte 前端;server/deploy 零改动;版本 0.22.0 | 全部为客户端 DOM 写操作。 |
|
||||
|
||||
## 3. 设计
|
||||
|
||||
Reference in New Issue
Block a user