Skip to content

Commit 55ec1af

Browse files
committed
Improve article utility targets
1 parent 7b6c692 commit 55ec1af

6 files changed

Lines changed: 43 additions & 4 deletions

File tree

docs/agent/design-system.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ Read this for visual design, spacing, theme behavior, icons, animation, and UI c
4444
- Offline and status pages should surface the state promptly instead of centering it deep in the viewport.
4545
- Mobile header controls and menu items should keep comfortable touch targets without adding explanatory UI copy.
4646
- Inline utility links on mobile should have a larger hit area while retaining the quiet text style.
47+
- Article utility navigation should keep quiet typography but provide a practical tap area.
4748
- Mobile menus must stack above photography and homepage media in both normal and locked-dark pages.
4849
- Long archive and tag lists should use native browser containment or lazy media loading before adding client-side behavior.
4950

docs/improvement-progress.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,9 @@
7575
- 进行:Round 19 基于 About 手机外链指标,定位到 Elsewhere 链接命中高度只有 `18px`
7676
- 完成:About 行内工具链接增加 `2rem` 最小高度,版本号提升到 `0.0.20`,保持安静文字样式。
7777
- 验证:Round 19 GitHub、Weibo、RSS、Email 链接命中高度提升到 `32px`,390px 与 1440px 下无横向溢出;`npm run check:content-health``npm run build``git diff --check` 通过。
78+
- 进行:Round 20 基于文章详情工具链接指标,定位到顶部返回链接命中高度只有 `20px`
79+
- 完成:文章返回链接和标签工具链接增加 `2rem` 最小高度,版本号提升到 `0.0.21`,保留安静内联样式。
80+
- 验证:Round 20 文章返回链接为 `159x32`,标签链接高度为 `32px`,正文入口仍保持在手机 `605px``npm run check:content-health``npm run build``git diff --check` 通过。
7881

7982
### 2026-02-26
8083
- 完成:建立执行版改进计划,按“文档基线 -> 技术债 -> UI/UX”重排优先级。
@@ -98,5 +101,5 @@
98101
- 质量校验命令:`npm run check:docs-baseline`
99102
- 内容治理命令:`npm run check:content-health`
100103
- 安全校验命令:`npm run check:security`
101-
- 最近结果:`189 page(s) built in 1.36s``content health: 0 errors / 0 warnings``about utility links at 32px hit height``audit: 5 remaining vulnerabilities requiring breaking --force fixes`
104+
- 最近结果:`189 page(s) built in 1.36s``content health: 0 errors / 0 warnings``article utility links at 32px hit height``audit: 5 remaining vulnerabilities requiring breaking --force fixes`
102105
- 最近验证日期:2026-06-23

docs/uiux-20-round-log.md

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

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

5+
## Round 20 - 2026-06-23 - Article Utility Link Hit Areas
6+
7+
Evidence:
8+
9+
- Baseline measurement: article detail top back link measured `20px` high on mobile.
10+
- Final screenshots: `/private/tmp/oiahoon-uiux-round-20-after/`
11+
- Reviewed route: `/posts/2026-05-01-agentic-coding-context-system/`
12+
- Viewports: `390x844`, `1440x900`
13+
14+
Findings:
15+
16+
- Article detail layout had no horizontal overflow after the earlier header-density work.
17+
- The top back link and article tag utility links used quiet inline sizing that was smaller than the recent mobile target improvements.
18+
- These utility links should remain understated but easier to tap.
19+
20+
Changes:
21+
22+
- Added a `2rem` minimum height to article back links and article tag links.
23+
- Preserved existing labels, icons, spacing rhythm, and article body layout.
24+
- Bumped the app version to `0.0.21`.
25+
- Added an agent design-system note for practical tap areas on article utility navigation.
26+
27+
Validation plan:
28+
29+
Results:
30+
31+
- Final screenshots: `/private/tmp/oiahoon-uiux-round-20-after/`
32+
- Top article back link now measures `159x32`; article tag links also measure `32px` high.
33+
- Mobile article body still enters at `proseTop=605px`; no horizontal overflow or offscreen offenders at `390x844` or `1440x900`.
34+
- `npm run check:content-health`: passed, 120 posts scanned, 0 errors, 0 warnings.
35+
- `npm run build`: passed, 189 pages built in 1.36s.
36+
- `git diff --check`: passed.
37+
- `npm run check:security`: still reports the same 5 remaining vulnerabilities that require breaking `npm audit fix --force`.
38+
539
## Round 19 - 2026-06-23 - About Utility Link Hit Areas
640

741
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.20",
4+
"version": "0.0.21",
55
"scripts": {
66
"dev": "astro dev",
77
"build": "astro build",

src/layouts/PostLayout.astro

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -259,6 +259,7 @@ const structuredData = generateBlogPostStructuredData({
259259
.article-back-link,
260260
.article-tag-link {
261261
display: inline-flex;
262+
min-height: 2rem;
262263
align-items: center;
263264
gap: 0.4rem;
264265
}

0 commit comments

Comments
 (0)