Skip to content

feat: 履历 PDF 去掉口令在浏览器预览,加作品集;茶叙卡片缩小加花边 - #84

Merged
cnYui merged 2 commits into
mainfrom
claude/resume-direct-download
Oct 29, 2026
Merged

cnYui merged 2 commits into
mainfrom
claude/resume-direct-download

Conversation

@cnYui

@cnYui cnYui commented Oct 29, 2026

Copy link
Copy Markdown
Owner

做了什么

  • 履历 PDF 去掉口令(用户要求,已知情 PDF 里有现住所):删掉 /resume/download 接口、js/resume-download.js 密码框和相关测试,files/WU_JIANXIANG_resume.pdf 改回公开静态文件;限流器挪到 lib/attempt-limiter.js(/travel/now 在用)。
  • 作品集:新增 files/WU_JIANXIANG_portfolio.pdf(9 页)。履历页「PDF 履历」「作品集」两个链接都在新标签页打开、浏览器直接预览(Content-Type: application/pdf,无下载头)。
  • 茶叙卡片:iframe 仍按 680 × 626 排版、整体缩到 0.8;外面加装裱式双细线和四角墨色折角。手机通栏不缩放。wabi.css 缓存键升到 20261029-4。

验证

  • npm test:128/128 通过(删掉了口令相关的 6 个测试)。
  • 本地 dev server:两个 PDF 返回 200 application/pdf,POST /resume/download 404;首页茶叙桌面 1280 / 手机 375 都看过。

🤖 Generated with Claude Code

cnYui and others added 2 commits October 29, 2026 14:28
- 删掉 /resume/download 口令接口和前端密码框,PDF 改回公开静态文件;
  限流器挪到 lib/attempt-limiter.js(/travel/now 还在用)。
- 履历页「PDF 履历」「作品集」两个链接在新标签页打开,浏览器直接预览。
- 新增 files/WU_JIANXIANG_portfolio.pdf(九页作品集)。

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
iframe 仍按 680 × 626 排版再整体缩放,免得掉成单列的手机版;手机通栏时
不缩放也不画外框。wabi.css 缓存键升到 20261029-4。

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@cnYui
cnYui merged commit 79deeba into main Oct 29, 2026
1 check 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