Skip to content

fix(site): 对齐站点页面设计稿 - #799

Merged
xunrua merged 10 commits into
release/2.0from
fix/site-artboard-parity
Nov 20, 2026
Merged

xunrua merged 10 commits into
release/2.0from
fix/site-artboard-parity

Conversation

@xunrua

@xunrua xunrua commented Nov 20, 2026

Copy link
Copy Markdown
Collaborator

背景

已改版的页面与交付的 HTML 设计稿在布局、信息层级和操作位置上有偏差;手记也把仓库同步记录混进了手写内容。

改动

  • 对齐登录、个人主页、关于、手记、图集、项目、友链七页的版式。沿用现有组件和主题,不把稿中的示例内容当成真实数据。
  • 关于页读取同源仓库历史,以茎、叶片、花苞呈现时间、周提交和公开版本。支持键盘、触屏和无脚本查看;保留站长资料、发布与路线图入口。
  • 手记公开时间线只展示已发布的手写内容,不再展示自动进展卡、筛选入口和同步告警。无需迁移或删除历史数据。

关联 #767(已关闭)。

本地验证

  • TypeScript、变更文件的 Biome 检查和生产构建通过。
  • Web 全量 Vitest:502 个文件,5,376 项通过、1 项跳过;最后调整后复验相关单测与浏览器契约。
  • 39 项浏览器契约通过;最后调整后复验关于页的无脚本、键盘和窄屏触控。
  • Chromium 验收七页在 320、390、768、1440、1920 px 的 35 个本机页面场景,以及 6 个隔离预览场景。关于页使用采集的真实仓库历史;友链卡片使用隔离样例,未写入开发库。

- 从公开仓库快照返回首次提交、上海周统计、运行天数及已发布版本。
- 版本名称仅为标签时同步首条变更,不存储发布正文;不完整历史不冒充空数据。
- 同步更新 OpenAPI,增加真实 PostgreSQL 可见性与 GitHub 发布摘要回归。

Refs #767
- 用真实运行天数、周提交和发布定位茎、叶片、花苞与里程碑。
- 支持触屏、键盘与无脚本逐周浏览;长历史按时段切换。
- 接实站长、最近发布和路线图入口,区分空数据、回填、陈旧缓存与同步异常。

Refs #767
- 让首屏与游标分页只读取公开笔记,保留类型、标签和项目筛选。
- 移除仓库活动卡、进展筛选和同步提示,旧进展书签按手写列表打开。
- 保留仓库同步与关于页生长图,同步浏览器契约和文档。
- 放大并左置季节插画,对齐右侧表单;找回链接与密码标签同行,保持原有键盘顺序与回跳。
- 恢复稿件的桌面起笔位置及标题行高,仓库进展仍不进入手记。
- 让图集标题和三图拼版按桌面稿定位,仍展示已发布相册与真实图片。
- 采用用户提供的项目封面,优先保留站长配置,进行中项目先显示路线图但保留发布入口。
- 按画板安排横幅、叠放资料卡和统计顺序;保留真实统计、私信和本人编辑权限。
- 对齐桌面版心与卡片间距,申请入口直接定位并聚焦表单区域,保留 RSS 和站点状态。
- 恢复大幅植物图、标题与下方三栏的构图。
- 同日密集发布压缩花苞,保留精确的周统计、版本链接和键盘浏览。
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 20, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-20T00:14:01.644526Z 2bf72aa PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot 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.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 2bf72aa2eb

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread web/src/features/about/api/growth.ts Resolved
@xunrua
xunrua merged commit 15ab326 into release/2.0 Nov 20, 2026
31 checks passed
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.

1 participant