Skip to content

统一使用 MobX 管理和持久化活动设置 - #18

Open
TechQuery wants to merge 1 commit into
mainfrom
refactor/mobx-persistence
Open

TechQuery wants to merge 1 commit into
mainfrom
refactor/mobx-persistence

Conversation

@TechQuery

@TechQuery TechQuery commented Dec 3, 2026 •

Copy link
Copy Markdown
Member

PR-18 PR-18 PR-18 Powered by Pull Request Badge

改动

  • 将活动收藏与时区状态从 Zustand 迁移至 MobX,使用 MobX-RESTful 的 persist 与类字段 restore 持久化到 IndexedDB。
  • 迁移旧版收藏和时区设置,并在恢复期间保护静态页面水合及用户操作。
  • 汇总项目编程规范,更新部署和贡献文档,合并安全提示并清理过时文档与配置。

验证

  • 静态生产构建、TypeScript 检查和相关 ESLint 检查通过。
  • 静态导出与持久化测试共 12 项通过。
  • 浏览器验证旧设置迁移、收藏修改、时区持久化及刷新恢复。

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying goodaction-hub-github-io with  Cloudflare Pages  Cloudflare Pages

Latest commit: 4e428f4
Status: ✅  Deploy successful!
Preview URL: https://6f1c7145.goodaction-hub-github-io.pages.dev
Branch Preview URL: https://refactor-mobx-persistence.goodaction-hub-github-io.pages.dev

View logs

This branch has not been deployed

No deployments
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