Skip to content

Commit f6ea146

Browse files
committed
Quiet article archive hero
1 parent 43db9cb commit f6ea146

6 files changed

Lines changed: 53 additions & 13 deletions

File tree

‎docs/agent/design-system.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ Read this for visual design, spacing, theme behavior, icons, animation, and UI c
4040
- Mobile navigation must remain reachable.
4141
- Article detail mobile headers should let body text enter quickly without removing the publication context.
4242
- Screenshot-led UIUX rounds should protect first-viewport content entry, especially mobile homepage and desktop photography archive rhythm.
43+
- Article archive headings should stay quieter than photography and support scanning the list quickly.
4344
- Mobile menus must stack above photography and homepage media in both normal and locked-dark pages.
4445
- Long archive and tag lists should use native browser containment or lazy media loading before adding client-side behavior.
4546

‎docs/improvement-progress.md‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,9 @@
6363
- 进行:Round 15 覆盖摄影标签、普通标签、分页归档、文章归档和首页,定位到长标签详情列表可减少离屏渲染成本。
6464
- 完成:标签详情条目增加原生 `content-visibility: auto` 与 `contain-intrinsic-size`,版本号提升到 `0.0.16`,并补充长列表设计上下文。
6565
- 验证:Round 15 `/tags/摄影/` 109 项与 `/tags/Notes/` 11 项保持稳定,390px 与 1440px 下无横向溢出;`npm run check:content-health`、`npm run build`、`git diff --check` 通过。
66+
- 进行:Round 16 基于文章归档桌面与手机截图,定位到 archive hero 仍过于居中和展示化。
67+
- 完成:文章归档 hero、lede 和主题链接改为左对齐,并降低标题比例,版本号提升到 `0.0.17`。
68+
- 验证:Round 16 文章首条在 390px 下提前到 `510px`、桌面提前到 `535px`,8 个主题链接保留;`npm run check:content-health`、`npm run build`、`git diff --check` 通过。
6669

6770
### 2026-02-26
6871
- 完成:建立执行版改进计划,按“文档基线 -> 技术债 -> UI/UX”重排优先级。
@@ -86,5 +89,5 @@
8689
- 质量校验命令:`npm run check:docs-baseline`
8790
- 内容治理命令:`npm run check:content-health`
8891
- 安全校验命令:`npm run check:security`
89-
- 最近结果:`189 page(s) built in 1.45s`,`content health: 0 errors / 0 warnings`,`tag entries use content-visibility containment`,`audit: 5 remaining vulnerabilities requiring breaking --force fixes`
92+
- 最近结果:`189 page(s) built in 1.43s`,`content health: 0 errors / 0 warnings`,`article archive first entry at 510px mobile and 535px desktop`,`audit: 5 remaining vulnerabilities requiring breaking --force fixes`
9093
- 最近验证日期:2026-06-23

‎docs/uiux-20-round-log.md‎

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,41 @@
22

33
This log tracks the repeated screenshot-led UI/UX improvement rounds for Joey's Notes.
44

5+
## Round 16 - 2026-06-23 - Article Archive Index Rhythm
6+
7+
Evidence:
8+
9+
- Baseline screenshots: `/private/tmp/oiahoon-uiux-round-15/articles-390x844.png`, `/private/tmp/oiahoon-uiux-round-15/articles-1440x900.png`
10+
- Final screenshots: `/private/tmp/oiahoon-uiux-round-16-after/`
11+
- Reviewed route: `/articles/`
12+
- Viewports: `390x844`, `1440x900`
13+
14+
Findings:
15+
16+
- The article archive had no horizontal overflow.
17+
- Desktop article archive still felt too much like a centered hero page, with the first article starting at `561px`.
18+
- Articles should stay text-first and scannable, visually quieter than photography-led pages.
19+
20+
Changes:
21+
22+
- Left-aligned the article archive hero, lede, and topic-link row.
23+
- Reduced article archive title scale, especially on desktop and long mobile wraps.
24+
- Preserved the 8 topic links and the existing article stream content.
25+
- Bumped the app version to `0.0.17`.
26+
- Added an agent design-system note that article archive headings should stay quieter than photography and support quick list scanning.
27+
28+
Validation plan:
29+
30+
Results:
31+
32+
- Final screenshots: `/private/tmp/oiahoon-uiux-round-16-after/`
33+
- First article now starts at `510px` on `390x844` and `535px` on `1440x900`.
34+
- All 8 topic links remain visible, and no horizontal overflow or offscreen offenders were detected.
35+
- `npm run check:content-health`: passed, 120 posts scanned, 0 errors, 0 warnings.
36+
- `npm run build`: passed, 189 pages built in 1.43s.
37+
- `git diff --check`: passed.
38+
- `npm run check:security`: still reports the same 5 remaining vulnerabilities that require breaking `npm audit fix --force`.
39+
540
## Round 15 - 2026-06-23 - Tag List Rendering Containment
641

742
Evidence:

‎package-lock.json‎

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "joey-notes-astro",
33
"type": "module",
4-
"version": "0.0.16",
4+
"version": "0.0.17",
55
"scripts": {
66
"dev": "astro dev",
77
"build": "astro build",

‎src/pages/articles.astro‎

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -74,24 +74,25 @@ const shouldShowTopicLinks = topTags.length >= 3;
7474
}
7575

7676
.articles-hero {
77-
width: min(58rem, 100%);
77+
width: min(52rem, 100%);
78+
text-align: left;
7879
}
7980

8081
.articles-kicker {
8182
display: block;
82-
text-align: center;
83+
text-align: left;
8384
}
8485

8586
.articles-title {
8687
margin-top: 1rem;
87-
font-size: clamp(3rem, 8vw, 5.5rem);
88-
line-height: 0.98;
88+
font-size: clamp(2.75rem, 5.6vw, 4.4rem);
89+
line-height: 1.05;
8990
font-weight: 600;
9091
}
9192

9293
.articles-lede {
93-
width: min(40rem, 100%);
94-
margin: 1.05rem auto 0;
94+
width: min(38rem, 100%);
95+
margin: 1rem 0 0;
9596
color: color-mix(in srgb, var(--muted) 88%, var(--text));
9697
font-size: clamp(0.98rem, 2.2vw, 1.08rem);
9798
line-height: 1.8;
@@ -100,7 +101,7 @@ const shouldShowTopicLinks = topTags.length >= 3;
100101
.articles-topic-links {
101102
display: flex;
102103
flex-wrap: wrap;
103-
justify-content: center;
104+
justify-content: flex-start;
104105
gap: 0.5rem 1rem;
105106
margin-top: 1.45rem;
106107
}
@@ -164,8 +165,8 @@ const shouldShowTopicLinks = topTags.length >= 3;
164165

165166
.articles-title {
166167
margin-top: 0.65rem;
167-
font-size: clamp(2.18rem, 11.2vw, 3.15rem);
168-
line-height: 1;
168+
font-size: clamp(2rem, 9.4vw, 2.8rem);
169+
line-height: 1.08;
169170
}
170171

171172
.articles-lede {

0 commit comments

Comments
 (0)