yeuimu
|
5e8183c220
|
feat(admin): family-folded left tree, toolbar regroup, sync log humanize
视觉走查驱动的后台优化(feature/admin-ui-polish-dev,确认后再合并):
- 左树(国家/品类模式)同款多配置折叠为一行族组节点:代表名 + "N 个配置"
徽标,展开看各行;locateInLeftTree 沿父链展开保证定位有效;国家模式
拖拽排序适配族嵌套(同容器内排序,按折叠后展示顺序保序重分配优先级)
- 工具栏分区重排:模式切换(品类/国家/全局)移至最左,筛选组居中,
新增自定义商品靠右,消除 1680 宽下的折行错乱
- 商品行属性小字/国家徽标颜色加深提升对比度
- 右树原产品行加拖拽提示 title
- 数据同步日志人话化:inserted/updated/total/delisted 等报文渲染为
"新增 0 · 更新 536 · 共计 536",原始报文进 tooltip
- 计划文档 plans/feature/admin-ui-polish-feature.md(含一项误报修正:
右树 29/3 计数为截图裁切误读,实际 29/33 无 bug)
验证:admin typecheck + 22/22 + 构建绿;浏览器实机复拍国家模式折叠、
族组展开、同步页文案均生效
|
2026-08-28 23:22:04 +08:00 |
|
yeuimu
|
4ddbf486bd
|
merge: fix/country-mode-good-reorder-dev into develop (local only, not pushed)
|
2026-08-28 21:37:27 +08:00 |
|
yeuimu
|
0e451d07e6
|
fix(admin): drag-to-reorder goods inside country groups
国家模式左树商品节点支持拖拽排序:行内 before/after 指示线,落点即保存。
优先级采用保序重排(该国家现有优先级集合不变、按新顺序重新分配),
尽量少扰动全局/品类维度的既有排序;跨国家拖动不支持(商品归属固定)。
|
2026-08-28 21:37:27 +08:00 |
|
yeuimu
|
aba90cb011
|
merge: fix/config-dialog-global-siblings-dev into develop (local only, not pushed)
|
2026-08-28 20:04:30 +08:00 |
|
yeuimu
|
fdfe435ecd
|
fix(admin): config dialog merge candidates search globally by name group
合并同名候选不再局限于当前分类节点:collectSiblings 改为按名称 3 段组键
(sameOriginGroup)遍历整棵右树收集同款链接(含已配置,勾选归族幂等),
跨分类的同款链接(如 BRTF004 分布在多个分类组)也能勾选归族
|
2026-08-28 20:04:29 +08:00 |
|
yeuimu
|
a14b8ecf4a
|
merge: feat/country-sort-and-sync-btn-dev into develop (local only, not pushed)
|
2026-08-28 20:01:04 +08:00 |
|
yeuimu
|
1e07c62fc8
|
feat(admin): country drag-sort + always-available member detail sync
- Country 加 sort_order(默认 0 保持 id 序);PATCH /countries/sort 批量保存
顺序(对齐 /tags/sort 模式);findAll 与公开 /public/countries 均按
sortOrder 排序
- CountriesView 表格改为可拖拽行列表:拖动松开即全量保存新顺序,失败回滚
- 商品编辑弹窗成员展开面板:同步详情按钮常驻(已同步显示 重新同步详情),
不再只在未同步态出现
- goods.service.spec 的 FamilyRecomputeService mock 补齐 syncFamilyTags 等
方法(全量并行时其他套件的扫名归族会把本套件夹具收进族,create/update
会调用到,mock 缺方法导致偶发 TypeError)
- api 164/164、admin typecheck+22/22+构建全绿
|
2026-08-28 20:00:56 +08:00 |
|
yeuimu
|
77f9c05346
|
merge: fix/tree-badge-family-aware-dev into develop (local only, not pushed)
|
2026-08-28 19:16:22 +08:00 |
|
yeuimu
|
fe6ab3825d
|
fix(admin): family-aware right-tree badges; flatten union size-chart cells
- 右树徽标/定位/配置按钮改按族语义:族内任一链接已配置 → 全族显示绿色
已配置(本链接未单独建商品时标题注明并入该款),配置入口在全族未配置时
才出现;拖拽已配置族链接配置时拦截提示(公开契约一族一款,重复商品官网
不可见);分组头计数与仅未配置筛选同步族感知(AUTM003/DG120 场景)
- 编辑弹窗族级尺码表把 measurements 数组摊平成列键(与成员级渲染一致),
修复列头在、格子全空的问题
|
2026-08-28 19:16:15 +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
|
d0102ec4e8
|
merge: feature/public-family-id-dev home-goods test into develop (local only, not pushed)
|
2026-08-28 18:44:25 +08:00 |
|
yeuimu
|
63b436fe41
|
test(public): cover home-goods family dedupe
|
2026-08-28 18:44:24 +08:00 |
|
yeuimu
|
5a7a2841de
|
merge: feature/public-family-id-dev into develop (local only, not pushed)
|
2026-08-28 18:43:33 +08:00 |
|
yeuimu
|
8a052773cd
|
feat(public): family-first contract — goodId=familyId, strict 5-dim price matrix
公开契约族化(前端只需知道款号/族):
- GET /public/goods 一族一条(goodId=族ID,price=族起价,分页作用于分组后);
无族商品(自定义)不进任何公开端点(列表/首页/分类树/标签统计)
- GET /public/goods/:goodId 仅认族 ID;公共字段取代表 Good,变体=全体成员并集,
尺码表/包装规格=族物化并集;旧 SDS 链接 ID 寻址 404
- priceMatrix 严格五维:尺码×颜色×印花数量×工艺×物流;维度来源改为链接级
标签(人工接管按人工标签),弃用原始 craftLabel;CUSTOM 成员尊重显式标签
- 名称派生补裸「单面/双面」写法(直喷双面→双面印花+直喷,18 条存量链接修复)
- family_price_overrides 加 print_count 列(五键唯一),PUT/DELETE/校验五键化
- admin 编辑弹窗矩阵消费适配(SKU 列直读 printCount,成员格子三维匹配,
改价 payload 带 printCount)
- 存量 339 族已全量重算;api 162/162、admin 22/22、双端构建绿
|
2026-08-28 18:43:30 +08:00 |
|
yeuimu
|
e5ec022834
|
merge: fix/swagger-csp-dev into develop (local only, not pushed)
|
2026-08-28 17:50:39 +08:00 |
|
yeuimu
|
e018f16d0b
|
fix(api): drop helmet CSP upgrade-insecure-requests so Swagger UI loads over plain http
|
2026-08-28 17:50:39 +08:00 |
|
yeuimu
|
b055aedd3e
|
merge: fix/swagger-proxy-dev into develop (local only, not pushed)
|
2026-08-28 17:43:41 +08:00 |
|
yeuimu
|
1ef82c4c14
|
fix(admin): proxy /api/docs without prefix strip so Swagger UI works through vite dev server
|
2026-08-28 17:43:41 +08:00 |
|
yeuimu
|
f07e843130
|
fix(admin): move family union tabs to the bottom of edit dialog
|
2026-08-28 17:37:58 +08:00 |
|
yeuimu
|
6054cb556a
|
docs: family union tabs and searchable merge list
|
2026-08-28 17:27:53 +08:00 |
|
yeuimu
|
d4515631b1
|
merge: feat/family-detail-tabs-dev into develop (local only, not pushed)
|
2026-08-28 17:26:41 +08:00 |
|
yeuimu
|
c7e6c35fbf
|
feat(admin): family-level size/package/SKU union tabs in edit dialog; searchable merge-sibling list in config dialog
|
2026-08-28 17:26:41 +08:00 |
|
yeuimu
|
6d9305b878
|
merge: fix/config-dialog-siblings-dev into develop (local only, not pushed)
|
2026-08-28 17:11:36 +08:00 |
|
yeuimu
|
7c85f7fe9f
|
fix(admin): config dialog lists all same-category sibling links (incl. configured); drop merge tip text
|
2026-08-28 17:11:36 +08:00 |
|
yeuimu
|
f280b1daf5
|
docs: reflect simplified member price table
|
2026-08-28 17:03:12 +08:00 |
|
yeuimu
|
d67858c69b
|
merge: fix/session-restore-and-price-table-dev into develop (local only, not pushed)
|
2026-08-28 17:02:26 +08:00 |
|
yeuimu
|
c2d50c9fa3
|
fix(admin): restore session via /auth/me in router guard (refresh no longer logs out); simplify member price table (no title/source/action columns)
|
2026-08-28 17:02:25 +08:00 |
|
yeuimu
|
9863346c6d
|
merge: fix/goods-view-feedback-dev into develop (local only, not pushed)
|
2026-08-28 16:55:08 +08:00 |
|
yeuimu
|
f28f51155f
|
feat(goods): per-member detail tabs in edit dialog; revert right-tree to raw names; split configured/family badges; add GET /origin-goods/:id
|
2026-08-28 16:55:07 +08:00 |
|
yeuimu
|
753b554413
|
merge: feature/goods-dialog-split-dev into develop (local only, not pushed)
|
2026-08-28 16:40:48 +08:00 |
|
yeuimu
|
10197c47a8
|
refactor(admin): split GoodsView into dialog components; fix(GoodsView): raw member names, no primary badges, member price grid; feat(tag): 光板 maps to 不打印
|
2026-08-28 16:40:48 +08:00 |
|
yeuimu
|
34d84a7a7c
|
merge: feature/link-tags-and-sku-dims-dev into develop (local only, not pushed)
|
2026-08-28 16:00:52 +08:00 |
|
yeuimu
|
6f22a6fd1f
|
feat(admin): expandable family members with per-link tag config + SKU pricing dims columns
|
2026-08-28 16:00:46 +08:00 |
|
yeuimu
|
08201f18a4
|
feat(product-family): link-level tags (origin_good_tags) with manual override + member detail enrichment
|
2026-08-28 16:00:46 +08:00 |
|
yeuimu
|
37b52c5ebb
|
merge: feature/family-link-tags-ui-dev into develop (local only, not pushed)
|
2026-08-28 15:33:17 +08:00 |
|
yeuimu
|
1128167aef
|
feat(admin): family-aware goods view - auto tags readonly, clean link names, config badges, locate highlight
|
2026-08-28 15:33:11 +08:00 |
|
yeuimu
|
ee336968a0
|
feat(product-family): derive tags per link name (印花数量/工艺/物流 rules)
|
2026-08-28 15:33:11 +08:00 |
|
yeuimu
|
f5a3b8c840
|
merge: bring in public media/variant dedup from origin/develop (local only)
|
2026-08-28 15:15:17 +08:00 |
|
yeuimu
|
6395d9e6ab
|
feat(product-family): family-derived tags replace manual logistics/craft tagging
|
2026-08-28 14:57:26 +08:00 |
|
yeuimu
|
eedfbb344e
|
feat(product-family): auto-derive logistics/craft tags from family members
|
2026-08-28 14:57:25 +08:00 |
|
yeuimu
|
a13931c84c
|
revert(admin): keep original admin layout with family replacing primary/secondary sources
|
2026-08-28 14:35:34 +08:00 |
|
yeuimu
|
353e51e871
|
revert(admin): restore original layout, replace primary/secondary source UI with family members
|
2026-08-28 14:35:34 +08:00 |
|
yeuimu
|
7b17fff86f
|
fix(admin): fail loudly when dev port 5173 is occupied
|
2026-08-28 14:21:37 +08:00 |
|
yeuimu
|
f919577ddd
|
feat(product-family): goods view family integration, family-based public variant union
|
2026-08-28 14:14:59 +08:00 |
|
yeuimu
|
4eadb67c36
|
feat(product-family): replace legacy good merge with family mechanism in config view and public detail
|
2026-08-28 14:14:58 +08:00 |
|
yeuimu
|
14c53504f0
|
feat(product-family): public detail family block and good family derivation
|
2026-08-28 13:40:19 +08:00 |
|
yeuimu
|
6418aa7302
|
feat(api): public good detail family block behind gray-release flag
|
2026-08-28 13:40:19 +08:00 |
|
yeuimu
|
b4b9fbbe60
|
feat(api): good family_id column with backfill
|
2026-08-28 13:34:42 +08:00 |
|
yeuimu
|
ba3c6d2d4f
|
feat(admin): product family management tab, price override matrix and family grouping
|
2026-08-28 13:30:38 +08:00 |
|
yeuimu
|
d70a03f6fa
|
docs: admin product family references
|
2026-08-28 13:30:37 +08:00 |
|