Skip to content

照片墙与文章解耦 + 删标签/分类页 + 清理迁移残留 - #31

Merged
CoderJackZhu merged 1 commit into
mainfrom
migration/astro
Sep 3, 2026
Merged

CoderJackZhu merged 1 commit into
mainfrom
migration/astro

Conversation

@CoderJackZhu

Copy link
Copy Markdown
Owner

改动

  • 照片墙与文章解耦:photos: 改为纯 URL 列表,点击照片用 lightbox 放大查看,不再跳转文章(40 张,手动维护)。
  • 删除标签与分类页:删除 /categories/ 路由、tags 字段(schema + 54 篇 frontmatter)、categories 配置;section 简化为普通字符串,保留卡片/文章页的分类标签展示。
  • 清理迁移残留:删除 migration/(6 清单)、scripts/audit-legacy-content.mjs、scripts/migrate-content.mjs、.agent/、docs/design-spec.md;AGENTS.md 重写为纯维护文档;verify-build.mjs 与 blog.spec.ts 改为直接从 src/content/blog 校验,不再依赖迁移 manifest。

验证

  • npm run build:62 页,exit 0
  • npm run test:10/10 PASS
  • npm run test:e2e:13/13 PASS

Copilot AI lite review requested due to automatic review settings September 3, 2026 20:11
@CoderJackZhu
CoderJackZhu merged commit c00bfb0 into main Sep 3, 2026
1 check passed

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants