|
|
8f004a02cd
|
Merge branch 'main' into feat/search-recipes-by-oil
PR Preview / test (pull_request) Has been skipped
Deploy Production / test (push) Successful in 7s
PR Preview / teardown-preview (pull_request) Successful in 13s
PR Preview / deploy-preview (pull_request) Has been skipped
Test / unit-test (push) Successful in 6s
Test / build-check (push) Successful in 4s
Deploy Production / deploy (push) Successful in 6s
Test / e2e-test (push) Successful in 3m2s
|
2026-04-15 21:08:19 +00:00 |
|
|
|
f34dd49dcb
|
feat: 配方查询支持按精油名搜索
Test / unit-test (push) Successful in 6s
PR Preview / teardown-preview (pull_request) Has been skipped
Test / build-check (push) Successful in 9s
Test / e2e-test (push) Successful in 3m1s
PR Preview / test (pull_request) Successful in 6s
PR Preview / deploy-preview (pull_request) Successful in 20s
输入精油中文名/英文名会返回含该精油的所有配方。
中文查询 ≥2 字才匹配精油,避免「草」这样的单字噪音。
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
|
2026-04-15 20:47:59 +00:00 |
|
|
|
ed8d49d9a0
|
fix: 多项修复 — 滴数框/零售价显示/精油英文名保存/再次审核通知
Test / unit-test (push) Successful in 6s
Test / build-check (push) Successful in 4s
PR Preview / teardown-preview (pull_request) Has been skipped
Test / e2e-test (push) Failing after 25s
PR Preview / test (pull_request) Successful in 6s
PR Preview / deploy-preview (pull_request) Successful in 15s
1. 编辑配方的滴数输入框从 42px 加宽到 58px,确保 50.5 不被 spinner 遮挡
2. 配方卡片在零售价==会员价时也显示零售价(之前因 retail>cost 过滤掉)
3. 精油价目英文名保存后被静态 OIL_CARDS 覆盖,把 getEnglishName 的优先级改
为先用 DB meta.enName,解决温柔呵护/仕女呵护等显示不更新的问题
4. 再次审核 tag 的配方被非管理员修改时,给管理员发通知,内容含前后 diff
5. 对应 vitest + cypress 测试各一组
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
|
2026-04-15 10:39:19 +00:00 |
|
|
|
27418695a5
|
test: 智能识别与英文名搜索的单测 + e2e
PR Preview / teardown-preview (pull_request) Has been skipped
Test / unit-test (push) Successful in 6s
Test / build-check (push) Successful in 6s
PR Preview / test (pull_request) Successful in 6s
PR Preview / deploy-preview (pull_request) Successful in 16s
Test / e2e-test (push) Failing after 6m2s
- 将粘贴解析抽到 useOilProductPaste composable
- 8 条 vitest 覆盖价格/规格/中英文名/类型判断
- 2 条 cypress 覆盖 UI 填充(产品 100ml、精油 15ml)
- 补英文名搜索 e2e;旧 search 用例 placeholder 选择器宽松化
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
|
2026-04-14 20:45:16 +00:00 |
|
|
|
317ea3a2b6
|
test: 分享文本和消耗分析动态单位测试
PR Preview / teardown-preview (pull_request) Has been skipped
Test / unit-test (push) Successful in 6s
Test / build-check (push) Successful in 4s
PR Preview / test (pull_request) Successful in 6s
PR Preview / deploy-preview (pull_request) Successful in 14s
Test / e2e-test (push) Failing after 1m27s
新增2个测试: 分享文本各成分用正确单位、消耗分析用量/容量单位
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
|
2026-04-14 18:09:08 +00:00 |
|
|
|
2330ce1f2c
|
test: PR34测试 — 产品编辑表单单位切换逻辑
PR Preview / teardown-preview (pull_request) Has been skipped
Test / unit-test (push) Successful in 5s
Test / build-check (push) Successful in 4s
PR Preview / test (pull_request) Successful in 5s
PR Preview / deploy-preview (pull_request) Successful in 14s
Test / e2e-test (push) Successful in 2m57s
新增8个测试: 单位判断、表单初始化、保存参数、标签适配
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
|
2026-04-14 17:42:01 +00:00 |
|
|
|
9ba0f6e9b5
|
test: PR33测试 — 品牌元素显示逻辑、volumeLabel参数、PDF单价单位
PR Preview / teardown-preview (pull_request) Has been skipped
Test / unit-test (push) Successful in 6s
Test / build-check (push) Successful in 4s
PR Preview / test (pull_request) Successful in 5s
PR Preview / deploy-preview (pull_request) Successful in 12s
Test / e2e-test (push) Failing after 7m6s
新增4个测试: 品牌数据决定卡片元素、空品牌显示plain、volumeLabel双参数、PDF单价适配
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
|
2026-04-14 13:55:09 +00:00 |
|
|
|
b1df23c04b
|
test: PR32测试 — 配件价值、折扣率、套装成本低于单买
PR Preview / teardown-preview (pull_request) Has been skipped
Test / unit-test (push) Successful in 6s
Test / build-check (push) Successful in 4s
PR Preview / test (pull_request) Successful in 6s
PR Preview / deploy-preview (pull_request) Successful in 15s
Test / e2e-test (push) Failing after 3m8s
新增8个测试:
- 4个配件价值验证(芳香无配件/家庭475/居家585/全精油795)
- 折扣率<1、全精油≈0.69、大套装折扣更好
- 套装成本≤单买成本
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
|
2026-04-14 13:16:48 +00:00 |
|
|
|
142ad88cff
|
fix: 居家呵护套装精油数量22→23,修复单元测试
PR Preview / teardown-preview (pull_request) Has been skipped
Test / unit-test (push) Successful in 5s
Test / build-check (push) Successful in 4s
PR Preview / test (pull_request) Successful in 6s
PR Preview / deploy-preview (pull_request) Successful in 14s
Test / e2e-test (push) Failing after 3m8s
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
|
2026-04-14 12:59:53 +00:00 |
|
|
|
616e51f36c
|
test: 套装方案对比功能的单元测试和e2e测试
PR Preview / teardown-preview (pull_request) Has been skipped
Test / unit-test (push) Successful in 5s
Test / build-check (push) Successful in 3s
PR Preview / test (pull_request) Successful in 5s
PR Preview / deploy-preview (pull_request) Successful in 13s
Test / e2e-test (push) Successful in 3m0s
单元测试(21个): 套装配置验证、油名解析、折扣率计算、配方匹配逻辑
e2e测试(16个): 页面加载、权限控制、套装卡片、配方表格、横向对比、导出按钮
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
|
2026-04-14 00:16:45 +00:00 |
|
|
|
f5eb60f376
|
test: PR31测试 — 零售价列对齐、volume映射、显示标签
PR Preview / teardown-preview (pull_request) Has been skipped
Test / unit-test (push) Successful in 6s
Test / build-check (push) Successful in 4s
PR Preview / test (pull_request) Successful in 6s
PR Preview / deploy-preview (pull_request) Successful in 12s
Test / e2e-test (push) Failing after 5m6s
新增9个测试: 零售价列显隐逻辑、空占位值、volume映射和默认值
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
|
2026-04-13 20:33:57 +00:00 |
|
|
|
ad9cc57d00
|
test: PR30测试 — 子序列匹配、单位系统、volume优先级 + 拼音补字
PR Preview / test (pull_request) Has been skipped
Deploy Production / test (push) Successful in 5s
Test / unit-test (push) Successful in 6s
PR Preview / teardown-preview (pull_request) Successful in 17s
PR Preview / deploy-preview (pull_request) Has been skipped
Test / build-check (push) Successful in 3s
Deploy Production / deploy (push) Successful in 8s
Test / e2e-test (push) Failing after 3m8s
新增12个测试: pinyinMatchScore、产品名拼音、单位映射、volume优先级
更新2个旧测试适配substring/subsequence匹配
补全拼音: 面、湿
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
|
2026-04-13 18:34:17 +00:00 |
|
|
|
abc54f2d6a
|
test: PR#29测试 — 拼音匹配扩展、viewer标签可见性
PR Preview / test (pull_request) Has been skipped
Deploy Production / test (push) Successful in 5s
Test / unit-test (push) Successful in 5s
PR Preview / teardown-preview (pull_request) Successful in 13s
PR Preview / deploy-preview (pull_request) Has been skipped
Test / build-check (push) Successful in 4s
Deploy Production / deploy (push) Successful in 6s
Test / e2e-test (push) Successful in 51s
新增14个单元测试:
- 拼音匹配: mlk→麦卢卡、tx→檀香等11个用例
- viewer标签可见性: 只看自己diary标签、不看公共标签
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
|
2026-04-13 13:43:15 +00:00 |
|
|
|
b58ba4e99f
|
test: PR#28测试覆盖 — 用户名大小写、一次改名、自动翻译、去重
PR Preview / test (pull_request) Has been skipped
Deploy Production / test (push) Successful in 6s
PR Preview / teardown-preview (pull_request) Successful in 13s
Test / unit-test (push) Successful in 5s
PR Preview / deploy-preview (pull_request) Has been skipped
Test / build-check (push) Successful in 4s
Deploy Production / deploy (push) Successful in 6s
Test / e2e-test (push) Successful in 49s
单元测试274个(新增18个):
- recipeNameEn额外用例、oilEn翻译、用户名大小写匹配、改名守卫
E2E新增:
- 注册大小写去重、登录大小写匹配、一次改名+拒绝二次
- 配方自动翻译、改名重翻译、删除用户转移配方
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
|
2026-04-13 11:55:02 +00:00 |
|
|
|
e0ee1cba8c
|
test: 补充recipeNameEn翻译、重复精油、改名重翻译、去重跳过测试
PR Preview / test (pull_request) Has been skipped
Deploy Production / test (push) Successful in 6s
PR Preview / teardown-preview (pull_request) Successful in 14s
PR Preview / deploy-preview (pull_request) Has been skipped
Test / unit-test (push) Successful in 6s
Test / build-check (push) Successful in 4s
Deploy Production / deploy (push) Successful in 6s
Test / e2e-test (push) Successful in 53s
单元测试256个全部通过(新增14个):
- recipeNameEn: 11个翻译测试
- 重复精油检查: 3个
后端: 补充"缓解"翻译词条
E2E: 改名重翻译、删除用户去重跳过
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
|
2026-04-12 14:07:09 +00:00 |
|
|
|
6f1b9f3f68
|
test: PR#27新增单元测试和e2e测试
PR Preview / teardown-preview (pull_request) Has been skipped
Test / unit-test (push) Successful in 5s
Test / build-check (push) Successful in 3s
PR Preview / test (pull_request) Successful in 5s
PR Preview / deploy-preview (pull_request) Successful in 17s
Test / e2e-test (push) Successful in 53s
后端: auto_translate/title_case 14个测试
前端: EDITOR_ONLY_TAGS、drop单复数、已下架过滤 11个测试
E2E: en_name title case、删除用户转移配方、管理配方登录引导
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
|
2026-04-12 10:26:44 +00:00 |
|
|
|
e9626a08b9
|
test: 更新单元测试覆盖智能识别新功能和share_recipe日志
PR Preview / test (pull_request) Has been skipped
Deploy Production / test (push) Successful in 7s
PR Preview / teardown-preview (pull_request) Successful in 14s
Test / unit-test (push) Successful in 5s
PR Preview / deploy-preview (pull_request) Has been skipped
Test / build-check (push) Successful in 4s
Deploy Production / deploy (push) Successful in 7s
Test / e2e-test (push) Successful in 53s
- parseOilChunk: 无数字默认1滴、混合格式、_ml标记
- findOil: 2字不模糊匹配、同音词和子串仍可用
- parseMultiRecipes: 多配方分割、空行/分号、名称识别、去重
- e2e: audit-log create_recipe → share_recipe
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
|
2026-04-11 23:14:05 +00:00 |
|
|
|
026ff18e92
|
test: 新增英文搜索单元测试(5个)
PR Preview / teardown-preview (pull_request) Has been skipped
Test / unit-test (push) Successful in 5s
Test / build-check (push) Successful in 3s
PR Preview / test (pull_request) Successful in 5s
PR Preview / deploy-preview (pull_request) Successful in 14s
Test / e2e-test (push) Failing after 29m2s
- oilEn翻译验证(已知/未知精油)
- 英文查询检测
- 英文匹配精油名和配方en_name
全部通过: 209 unit + 36 e2e
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
|
2026-04-11 16:41:34 +00:00 |
|
|
|
83078f8f8b
|
test: PR#23新增单元测试(13个)
Deploy Production / test (push) Successful in 7s
Deploy Production / deploy (push) Successful in 8s
PR Preview / teardown-preview (pull_request) Has been skipped
Test / unit-test (push) Successful in 5s
Test / build-check (push) Successful in 3s
PR Preview / test (pull_request) Successful in 5s
PR Preview / deploy-preview (pull_request) Successful in 11s
Test / e2e-test (push) Has been cancelled
- 套装定义:家庭医生10种、居家呵护21种、芳香调理8种
- 配方匹配:排除椰子油、至少1种匹配、全匹配
- 消耗分析:计算次数、最先消耗完、全部相同
- 项目定价:JSON序列化和反序列化
全部通过: 204 unit + 36 e2e
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
|
2026-04-11 10:44:54 +00:00 |
|
|
|
76c9316ede
|
test: 新增PR#22相关单元测试
Deploy Production / test (push) Successful in 6s
Deploy Production / deploy (push) Successful in 6s
PR Preview / teardown-preview (pull_request) Has been skipped
PR Preview / test (pull_request) Successful in 5s
Test / unit-test (push) Successful in 5s
Test / build-check (push) Successful in 4s
PR Preview / deploy-preview (pull_request) Successful in 12s
Test / e2e-test (push) Successful in 51s
新增12个测试:
- 标签排序和EDITOR_ONLY_TAGS过滤
- Recipe数据格式(oil_name覆盖oil的bug验证)
- loadRecipes映射验证
- 容量检测(single/5/10/15/20/30/custom)
- 稀释比例计算和snap到最近选项
全部通过: 191 unit + 36 e2e
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
|
2026-04-10 22:11:05 +00:00 |
|
|
|
3c808be7e5
|
test: 新增单元测试和更新e2e测试
Deploy Production / test (push) Successful in 5s
Deploy Production / deploy (push) Successful in 6s
PR Preview / teardown-preview (pull_request) Has been skipped
PR Preview / test (pull_request) Successful in 5s
Test / unit-test (push) Successful in 4s
Test / build-check (push) Successful in 4s
PR Preview / deploy-preview (pull_request) Successful in 10s
Test / e2e-test (push) Has been cancelled
新增单元测试 (11个):
- parseMultiRecipes: 单条/空格/连写/多条/无名称
- getPinyinInitials: 常见精油/忍冬花
- matchesPinyinInitials: 前缀匹配/不匹配子串/忍冬花
- EDITOR_ONLY_TAGS: 导出验证
E2E测试更新:
- recipe-detail: 适配新UI(无编辑按钮)
- 新增卡片视图测试
全部通过: 179 unit + 36 e2e
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
|
2026-04-10 21:22:58 +00:00 |
|
|
|
ad3af5bd56
|
Expand test suite to 364 tests (168 unit + 196 E2E)
Unit tests:
- Volume/dilution calculation (63 tests): scaling, mode detection,
ratio calculation, real recipe round-trip verification
E2E tests:
- Batch operations: create/tag/delete 3 recipes, adopt workflow
- Projects: CRUD, pricing, profit calculation vs oil costs
- Notifications: fetch, fields, mark-all-read
- Account settings: profile read/update, auth rejection
- Category modules: listing, tag reference
- Registration: register, login, duplicate rejection
- Audit log: pagination, field validation, action tracking
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
|
2026-04-06 19:59:22 +00:00 |
|
|
|
2491479c2c
|
Add comprehensive test suite: 105 unit + 167 E2E tests
- Vitest unit tests: smart paste parsing (37), cost calculations (21),
oil translation (16), dialog system (12), with production data fixtures
- Cypress E2E tests: API CRUD (27), auth flow (8), recipe detail (10),
search (12), oil reference (4), favorites (6), inventory (6),
recipe management (10), diary (11), bug tracker (8), user management (13),
cost parity (6), data integrity (8), responsive (9), performance (6),
navigation (8), admin flow (5)
- Test coverage doc with prioritized gap analysis
- Found backend bug: POST /api/bug-reports/{id}/comment deletes the bug
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
|
2026-04-06 19:47:47 +00:00 |
|