yeuimu
|
37353470e7
|
fix(categories): 分类名去括号——同步入库整段删除括号段
左侧分类树/官网分类名的括号段(型号限定词(JSA002)与内容性括号
(黑+卡其)/(短裤 & 长裤))整段删除。分类名每小时被 SDS 同步覆盖,
清洗落在 syncCategories 入库路径(cleanCategoryDisplayName,款号 token
保留,剥空守卫),另附幂等存量脚本 fix:category-names。
已执行:V1/V2 各 33 条分类名去括号,复跑幂等 0。注意 api 容器重建
部署前旧镜像的下一轮同步会把名称写回原文,部署后自动恢复干净。
Tests: api 23 suites/206 passed(含新增 category-name.spec 7 例),tsc clean
|
2026-09-03 01:27:38 +08:00 |
|
yeuimu
|
9eafac7204
|
fix(goods): 商品展示名统一「品名 SKU」——剥 ASCII 型号限定词、纯款号补描述
左栏商品名显示成光款号(如 PLTK016)的根因是双层解析不一致:api 写路径按
首括号对解析产出「童装…(DTG180) PLTK016」,admin 展示解析按末括号取品名
误显示成 PLTK016。
- admin parseLinkName 对齐 api 首括号对解析 + 无 SKU 段中文品名守卫,
cleanLinkName 剥离 ASCII 型号限定词(中文括号内容保留)
- api 新增 cleanGoodDisplayName/describePureSkuGoodName,接入 create/update/
batchCreate(batchCreate 补上缺失的 normalize);纯款号按 SDS 分类名补描述
- 新增幂等存量修复脚本 fix:good-names(默认 dry-run,--apply 写库)
- 已执行:V2 栈 34 条限定词名、V1 栈 213 条原始链接名规范化,复跑幂等 0
Tests: api 22 suites/199 passed, admin 27 passed, tsc clean
|
2026-09-03 01:27:26 +08:00 |
|
yeuimu
|
b81d944c38
|
docs(agent): add dimension-value onboarding lesson
|
2026-09-02 16:37:56 +08:00 |
|
yeuimu
|
5f81b18388
|
docs(agent): add materialized-array order determinism lesson
|
2026-09-02 16:08:35 +08:00 |
|
yeuimu
|
ae880ff346
|
docs(agent): add representative-row convergence lesson
|
2026-09-02 14:59:29 +08:00 |
|
yeuimu
|
b32a5575df
|
deploy(nginx): route /assets/product-center/ to v2 api for shared icons
沙特国旗等新增图标只需放入 v2 仓库 public 目录;nginx 按最长前缀把
product-center 静态资源转发给 v2 api,其余 /assets/、/uploads/ 仍走 v1。
同步沉淀 AGENTS.md:入口 nginx 真实挂载源在 v1 仓库、文件型 bind mount 的
inode 陷阱。
|
2026-09-02 11:19:49 +08:00 |
|
yeuimu
|
76eb849b49
|
docs: record style-order semantics, container-run pitfalls and lessons
|
2026-09-02 10:33:54 +08:00 |
|
yeuimu
|
8a6db1bdee
|
docs(agents): lessons — stop dev server before full jest; Chinese sort assertions
|
2026-08-28 18:51:22 +08:00 |
|
yeuimu
|
8fad8de73e
|
docs(agents): add lessons for db drift resolution and shared-db test isolation
|
2026-08-28 12:53:10 +08:00 |
|
yeuimu
|
6c61a4e871
|
feat(deploy): production deployment setup and fixes
- Debian-based api image (bookworm-slim), docker/debian mirrors, prisma
binaryTargets for openssl 3.0
- nginx: admin SPA under /admin, TLS via acme.sh (ZeroSSL) + auto-renewal
cron, http->https redirect
- prisma: add origin_goods.delisted migration, sync missing schema
(good_image/tag_font_color/good_tags), fix users.createdAt Timestamptz
- api: CORS wildcard reflection, helmet CORP cross-origin, price
backfill in persistProductDetail, categoryIcon ancestor fallback,
mediaByColor per-color gallery in public goods detail
- admin: /admin base path (vite + router)
- import-data.mjs: udt_name casting, serial sequence advance fix
|
2026-08-26 14:23:09 +08:00 |
|
yeuimu
|
79fabd85f7
|
feat(product-center): implement Figma-designed UI, upload module, and website tests
- Redesign website homepage & product-center per Figma (fonts, logos, hero/footer/customer cases)
- Add API upload module (multer) with static serving for uploads/public assets
- Add OriginGood.delisted flag and SDS request retry logic
- Add admin ImageUpload component and goods import/upload flows
- Add vitest suite for website components and composables (32 tests)
- Add skills, docs, plans and PRODUCT.md
|
2026-08-20 14:32:03 +08:00 |
|
yeuimu
|
72bc89ab03
|
chore: init monorepo with existing website and plans
|
2026-06-15 02:31:15 +08:00 |
|