Commit Graph

23 Commits

Author SHA1 Message Date
TerryM
512fa53c2b feat: 首页热门区改为「社群常用资料」榜单(封面+名次,零数字)
- 新增 PopularRankList:前3名奖牌🥇🥈🥉 + 4·5灰序号,封面缩略图,
  类型·分类·更新时间,预览/下载按钮;与「最新更新」「官方推荐」版式区分
- 无封面时按资料类型渲染渐变+图标兜底(纯CSS),封面加载失败亦回退
- 分类名复用 cleanCategoryDisplayName,与全站一致(去掉括号后缀)
- i18n popularSection 改为 社群常用资料 / Community Favorites
- 新增后端接口契约文档 docs/specs/2026-05-29-popular-resources-section.md

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-05-29 14:53:52 +08:00
TerryM
f73131dc03 style: apply prettier formatting to fix format:check
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-05-29 12:49:22 +08:00
TerryM
88a25b6ad4 feat: scroll to post bubble from recommended card + back-to-top button
Some checks failed
Deploy to Frontend Servers / deploy (push) Failing after 14s
Recommended cards already routed to /browse#post-<id>, but the stream had
no logic to scroll to the target bubble — and the post might not be paged
in yet. MessageStream now resolves the #post-<id> hash, auto-loads more
pages until the bubble renders, scrolls to it, and gives it a brief gold
highlight. Bubbles get scroll-mt so they clear the sticky header.

Also adds a global floating back-to-top button (BackToTop) mounted in
PublicLayout, shown after scrolling past 400px.

Bundles related staging UI work already present in the working tree.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-05-29 11:50:27 +08:00
TerryM
026b037c5b fix: remove home category height animation
All checks were successful
Deploy to Frontend Servers / deploy (push) Successful in 21s
2026-05-29 00:20:41 +08:00
TerryM
320739f91b Add stale cache for public data 2026-05-28 23:09:18 +08:00
TerryM
b24529afc4 feat: enable category slug pages 2026-05-28 22:36:08 +08:00
TerryM
15d873be63 fix: align popular sorting links
All checks were successful
Deploy to Frontend Servers / deploy (push) Successful in 20s
2026-05-28 18:52:01 +08:00
TerryM
c03a3c6d89 feat: add latest updates carousel controls 2026-05-28 18:28:28 +08:00
TerryM
b6ba4d53e7 fix: hide empty popular home section 2026-05-28 17:40:35 +08:00
TerryM
5036c930bb fix: stabilize desktop recommendation layouts 2026-05-28 17:31:32 +08:00
TerryM
5fec82dbba fix: route home view-all links 2026-05-28 16:49:30 +08:00
TerryM
4c15e01460 fix: keep video downloads visible while playing 2026-05-28 16:37:00 +08:00
TerryM
16b047ba04 fix: stick mobile footer nav to bottom 2026-05-28 16:19:21 +08:00
TerryM
e0240f6217 feat: refine home section navigation 2026-05-28 16:07:08 +08:00
TerryM
9d977be2d2 feat: link nav to home sections 2026-05-28 15:55:37 +08:00
TerryM
28b0ef3f9a feat: update figma category card icons 2026-05-28 15:49:08 +08:00
TerryM
3ed3d00655 feat: align home category and recommendation figma assets 2026-05-28 15:36:24 +08:00
TerryM
4b497380ee feat: add popular resources home section 2026-05-28 15:35:56 +08:00
TerryM
0e98428f64 feat: polish figma mobile home and nav 2026-05-28 15:32:15 +08:00
TerryM
e65c473369 feat: align figma browse and category sections 2026-05-28 15:11:13 +08:00
TerryM
02c9d454c1 swap home banners, 3s autoplay, animated rec scroll thumb 2026-05-28 09:16:32 +08:00
TerryM
3f0a395f40 feat: unify search with browse page 2026-05-27 12:35:47 +08:00
TerryM
f6c0f30921 refactor: organize pages into folders 2026-05-26 14:46:05 +08:00