Commit Graph
5 Commits
Author SHA1 Message Date
zhangxiang 9083509df2 fix(content): SLA 单一真源的 seed 侧收尾,并核对全库已无冲突承诺
上一笔只 `git add src/`,把 prisma 三处漏在了工作树里 —— 不含它们这条收口就是**半件**:
contact-page 的 hero 文案仍会写死旧的「工作日 2 小时内快速响应」,
即代码侧统一到 commitments.ts、数据侧仍各自漂移,正是本轮要根治的那个形态。

- prisma/seed.ts:contact-page 的 heroDescription 与 commitmentItems[0] 改由
  INQUIRY_RESPONSE_COMMITMENT / FREE_FIRST_CONSULT 拼出
- prisma/seeds/services.ts:<4小时 整行撤下(与 2h 抢同一对象);同段另两行
  原本**完全没有 basis**(该文件顶部带 @ts-nocheck,所以一直没人发现)⇒ 显式补 target
- prisma/seeds/products.ts:「<2小时」不删(它是 CRM 的产品能力设计目标、已标 target),
  但改写 description 把对象说清楚,避免被读成本公司客服承诺

验证不止跑 seed —— seed.ts 会被 esbuild 打包后推到生产容器里跑(qa-tracker §10.6 的配方),
import 写坏在本地 jest 里看不出来,要到生产 seed 才炸。故按**同一条命令**先验打包:
  npx esbuild prisma/seed.ts --bundle --platform=node --format=esm
    --banner:js="import{createRequire}from'node:module';const require=createRequire(...)"
  ⇒ EXIT=0,708.8 KB
顺带摘掉一个未使用的 import(SERVICE_COMMITMENTS 只出现在 import 行)。

落库后逐条核对(不是"改了就算"):
  contact-page.heroDescription = 「工作日 2 小时内回复您的咨询,首次咨询免费,无需预付费用。」
  service/software.dataProofs  ⇒ 只剩交付理念 + 代码质量两行,且都带 basis
  全库扫 7×24 / 48小时 / <4小时 ⇒ 命中 0 行
  npm run db:seed ⇒ 🎉 数据库初始化完成,16 模型 / 38 条目 / 6 区域
2026-10-16 21:02:23 +08:00
zhangxiang 628a0f1a2b fix: align startup copy with 2026 founding and deploy hybrid rendering
- Replace fabricated 12-year/500+/8+ team experience claims with
  2026 founding, first-client co-creation, professional team wording
- Remove fake case studies and unverified certifications from seeds,
  cases page, products and ERP upgrade page
- Enable Next.js standalone output and production hybrid deployment
  (Dockerfile.prod, docker-compose.server.yml, Nginx nextjs upstream)
- Add linux-musl Prisma engine target and production crypto key build
- Sync production CMS database with cleaned seed content
2026-08-17 20:21:39 +08:00
zhangxiang f4d8f0a8e9 fix(breadcrumb): add aria-label to news detail breadcrumb for alignment
Also accumulates other pre-existing changes:
- refactor(icons): replace deprecated BarChart3 with TrendingUp
- refactor(services): replace emoji icons with LucideIcon components
- refactor(footer): use logo-white for dark background
- cleanup(archive): remove unused archive components
- cleanup(constants): remove unused types and exports
2026-08-03 14:47:20 +08:00
zhangxiang 602ed6a671 test(hooks): finalize mutation test improvements and release acceptance
- Raise use-swipe-gesture mutation score to 66.13% (target 65%+)
- Maintain use-reduced-motion mutation score at 76.32% (target 50%+)
- Fix use-reduced-motion.ts ESLint set-state-in-effect warning
- Add UJ-10 deep searcher journey (category browse → article read → content discovery)
- Add 40 new test files (analytics, detail, sections, ui, lib components)
- Update test-strategy-plan.md to v2.0 (sync test count to 1591)
- Sync README.md with final release metrics

Quality gates: TS 0 errors, ESLint 0 errors, 121 suites / 1591 tests passed
2026-08-02 19:39:27 +08:00
张翔 10404dbb36 chore: sync marketing pages, CMS extensions, tests and project docs
同步工作区剩余变更,主要包括:
- 营销页面组件与布局持续优化(about/news/services/solutions/team 等)
- 详情页四层叙事组件、布局组件、UI 组件调整
- CMS 数据模型、API 路由、权限、工作流、站内通知、媒体管理扩展
- 新增/补充单元测试与 E2E 测试(cms-workflow.spec.ts 等)
- ESLint 9 迁移、jest/tsconfig 配置更新、依赖调整
- 新增 ADR、CMS 评估文档、Release Review / Acceptance 报告
- 移除水墨装饰组件与大体积未使用字体文件
2026-07-25 08:04:01 +08:00