Skip to content

refactor: unify Zustand stores, align deps, and consolidate CI#231

Closed
159357254680 wants to merge 4 commits into
mainfrom
chore/align-deps-test
Closed

refactor: unify Zustand stores, align deps, and consolidate CI#231
159357254680 wants to merge 4 commits into
mainfrom
chore/align-deps-test

Conversation

@159357254680

Copy link
Copy Markdown
Collaborator

Summary

  • 数据层重构:页面与组件不再直接调用 API,统一通过 Zustand store(loadData / sourceLabel 约定)管理加载与状态;新增/增强 auth、feedback、notification、research、class、evaluate/question detail & publish、grade、guide 等 domain store。
  • 依赖对齐@tarojs/* 统一至 4.0.6,babel-preset-taro / eslint-config-taro 升级至 4.x,@typescript-eslint 对齐 ^7.18;本地 yarn build:weapp 已通过。
  • Bug 修复:广场进入课评评论后返回,评论数不更新(incrementEvaluationCommentCount + ActionItem 同步 props)。
  • 工程卫生myrepo.bundle 移出 git、更新 .gitignore;CI 合并为单一 workflow(并行 lint + weapp build,immutable install,artifact 上传)。

Test plan

  • 本地 yarn build:weapp 构建通过
  • 真机验证:广场 → 课评评论 → 返回,评论数正确更新
  • CI lint + build jobs 在 PR 上绿灯
  • 冒烟:登录、广场列表、课评/问答详情、个人中心历史与收藏

Made with Cursor

159357254680 and others added 4 commits February 6, 2026 14:37
…iene

Move API access into domain stores with load strategies, migrate pages off direct request calls, sync plaza comment counts after replies, and remove myrepo.bundle from version control.

Co-authored-by: Cursor <cursoragent@cursor.com>
Unify @tarojs packages on 4.0.6, upgrade babel-preset-taro from 3.x, match @typescript-eslint plugin/parser versions, and add babel peers required by the Taro 4 preset.

Co-authored-by: Cursor <cursoragent@cursor.com>
Replace duplicate workflows with parallel lint and weapp build jobs, add yarn immutable install, concurrency cancellation, manual dispatch, and dist artifacts.

Co-authored-by: Cursor <cursoragent@cursor.com>
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