feat(archive): 文章折叠——首页 6 篇+归档年月折叠+书架年折叠
①首页 PostList limit=6 + 「全部文章 →」双轨入口(用户拍板 6 篇) ②/archives 年 <details>(最新年 open,summary「2026 · N 篇」+▸ 自绘 箭头)+ 年内按月分组小标题;零 JS 依赖、内容全在 DOM(SEO 无损)③/books 年折叠(色脊/书封渲染零改动)④E2E +3 断言 (首页≤6+入口/归档 open 唯一+月分组/书架年组不变量) E2E 弦键竞态根治:折叠批的多次导航扰动 g-chords 时序——洁净起 点(先回稳定页)再测弦,测试意图不依赖前序状态,37/37 连跑稳定 车道:op-gitea(lint 43 页 0/0/0);收编复验首页 6 行+入口/归档 1 年开 12 月组/书架年折叠/en 轨全过 验证: E2E 37/37 连跑两次;content-lint 0/0/0;首页/归档/书架/ en 四页 playwright 实测 Spec: none (折叠批,车道级交付) Co-authored-by: GLM-5.3
This commit is contained in:
1 parent
9702c9faf4
commit
3b951d3de6
8 files changed
+257
-57
No files matched your search
@@ -68,7 +68,7 @@ const heartbeat = await fetchHeartbeat();
|
||||
</div>
|
||||
</IdCard>
|
||||
|
||||
<PostList {posts} />
|
||||
<PostList {posts} limit={6} moreHref="/archives/" />
|
||||
|
||||
<section class="latest" aria-label="最新影像">
|
||||
<div class="latest-head">
|
||||
|
||||
Reference in new issue
Block a user