Skip to content

ff#12

Merged
icbcman merged 15 commits into
icbcman:mainjjjfrom
notionnext-org:main
May 15, 2026
Merged

ff#12
icbcman merged 15 commits into
icbcman:mainjjjfrom
notionnext-org:main

Conversation

@icbcman
Copy link
Copy Markdown
Owner

@icbcman icbcman commented May 14, 2026

尽量按此模板PR内容,或粘贴相关的ISSUE链接。

已知问题

  1. (示例)版本号管理不规范
    • 版本号直接写在环境变量中,容易出错
    • 多处维护版本号,可能不一致

解决方案

  1. (示例)将版本号管理从 .env.local 迁移到 package.json
    • 统一从 package.json 读取版本号
    • 使用 IIFE 优雅处理版本号获取逻辑
    • 保持向后兼容,支持环境变量覆盖

改动收益

  1. (示例)更规范的版本管理
    • 统一从 package.json 读取
    • 保持与 npm 生态一致
    • 减少人为错误

具体改动

  1. (示例)blog.config.js
    • 移除原有的静态版本号配置
    • 在文件末尾添加动态版本号获取逻辑
    • 保持向后兼容,优先使用环境变量
    • 添加错误处理和默认值

测试确认

  • 本地开发环境测试通过
  • 生产环境构建测试通过
  • 版本号正确显示
  • 环境变量配置正常工作

tangly1024 and others added 15 commits May 12, 2026 21:34
Notion config rows often use env-style names (WALINE_SERVER_URL).
siteConfig only read COMMENT_WALINE_SERVER_URL, so Waline stayed empty.
Fall back to WALINE_* / NEXT_PUBLIC_WALINE_* for server URL and recent list.

Co-authored-by: Cursor <cursoragent@cursor.com>
* docs: add community site roadmap

* docs: address review on community roadmap

- Clarify roadmap vs future schema/examples docs; remove resume section
- Note Member/Event alignment with type, SiteDataApi, routing
- Link from root README and docs index

Co-authored-by: Cursor <cursoragent@cursor.com>

---------

Co-authored-by: tangly1024 <mail@tangly1024.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
- Add MAINTENANCE_PHILOSOPHY (zh-CN + en): PR sizing, high-impact paths, drift control
- Link from README, CONTRIBUTING, and docs index

Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: tangly1024 <mail@tangly1024.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
- CONTRIBUTING zh/en: canonical URL, welcome org membership, git remote
- README zh/en: hosting blurb; badges and contrib links to notionnext-org
- docs README zh/en: short org section with same remote command
- CONTRIBUTING.md fork/compare links point to org repo

Co-authored-by: Cursor <cursoragent@cursor.com>
…lity

- Stack image (z-0), overlay (z-5), title (z-20) with isolate
- Add backdrop-blur on bottom veil; stronger via/to gradient
- Title: drop-shadow to separate from busy covers

Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
…4046)

- Align staticPaths cache key default pageId with fetchGlobalAllData (BLOG.NOTION_PAGE_ID)
- Clear in-process allPages promise entry on rejection so builds can retry
- Run cleanTagOptions before cleanPages to avoid stale tagItems -> 404
- Add regression test for rejected then successful getSharedAllPages

Implements #4046; relates to #4043.

Co-authored-by: Cursor <cursoragent@cursor.com>
@icbcman icbcman merged commit 1d80ddd into icbcman:mainjjj May 15, 2026
1 of 2 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.

3 participants