feat: 英文搜索+配方名翻译 #25

Merged
hera merged 5 commits from feat/english-search into main 2026-04-11 17:30:23 +00:00
Owner

英文搜索功能和配方名自动翻译

英文搜索功能和配方名自动翻译
hera added 1 commit 2026-04-11 11:11:48 +00:00
fix: CI动态端口+超时控制,避免e2e卡死
All checks were successful
PR Preview / teardown-preview (pull_request) Successful in 15s
PR Preview / test (pull_request) Has been skipped
PR Preview / deploy-preview (pull_request) Has been skipped
Deploy Production / test (push) Successful in 8s
Test / unit-test (push) Successful in 6s
Deploy Production / deploy (push) Successful in 8s
Test / build-check (push) Successful in 4s
Test / e2e-test (push) Successful in 51s
c53dda0622
- 后端端口随机9000-9999,前端4000-4999
- 数据库文件按端口号隔离
- vite proxy支持VITE_API_PORT环境变量
- 服务启动超时30秒,失败即退出
- Cypress: defaultCommandTimeout=5s, pageLoadTimeout=10s
- 整个e2e job timeout 5分钟

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Author
Owner

🚀 Preview: https://pr-25.oil.oci.euphon.net

DB is a copy of production.

🚀 **Preview**: https://pr-25.oil.oci.euphon.net DB is a copy of production.
hera added 1 commit 2026-04-11 11:17:30 +00:00
feat: 英文搜索+全部配方翻译
All checks were successful
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 13s
Test / e2e-test (push) Successful in 52s
5cd954ccad
- 搜索框支持英文:自动匹配配方英文名和精油英文名
- 292条配方全部翻译英文名(本地+线上同步)
- 输入英文时搜索范围包含en_name和精油英文名

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Author
Owner

🚀 Preview: https://pr-25.oil.oci.euphon.net

DB is a copy of production.

🚀 **Preview**: https://pr-25.oil.oci.euphon.net DB is a copy of production.
hera added 1 commit 2026-04-11 16:34:54 +00:00
feat: 商业认证审核显示上传的证明图片
All checks were successful
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 15s
Test / e2e-test (push) Successful in 50s
6448c24caf
- 审核列表显示缩略图(60x60),点击查看大图
- 全屏遮罩预览,点击关闭

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Author
Owner

🚀 Preview: https://pr-25.oil.oci.euphon.net

DB is a copy of production.

🚀 **Preview**: https://pr-25.oil.oci.euphon.net DB is a copy of production.
hera added 1 commit 2026-04-11 16:41:37 +00:00
test: 新增英文搜索单元测试(5个)
Some checks failed
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
026ff18e92
- oilEn翻译验证(已知/未知精油)
- 英文查询检测
- 英文匹配精油名和配方en_name

全部通过: 209 unit + 36 e2e

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Author
Owner

🚀 Preview: https://pr-25.oil.oci.euphon.net

DB is a copy of production.

🚀 **Preview**: https://pr-25.oil.oci.euphon.net DB is a copy of production.
hera added 1 commit 2026-04-11 17:12:32 +00:00
fix: CI增加requestTimeout和responseTimeout
Some checks failed
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 4s
PR Preview / deploy-preview (pull_request) Successful in 8s
Test / e2e-test (push) Failing after 10m40s
87e24773aa
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Author
Owner

🚀 Preview: https://pr-25.oil.oci.euphon.net

DB is a copy of production.

🚀 **Preview**: https://pr-25.oil.oci.euphon.net DB is a copy of production.
hera added 1 commit 2026-04-11 17:23:59 +00:00
fix: CI用timeout命令强制3分钟超时+清理Cypress进程
All checks were successful
Deploy Production / test (push) Successful in 6s
Deploy Production / deploy (push) Successful in 5s
Test / unit-test (push) Successful in 5s
Test / build-check (push) Successful in 4s
Test / e2e-test (push) Successful in 49s
PR Preview / teardown-preview (pull_request) Has been skipped
PR Preview / test (pull_request) Successful in 5s
PR Preview / deploy-preview (pull_request) Successful in 10s
e605da786a
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Author
Owner

🚀 Preview: https://pr-25.oil.oci.euphon.net

DB is a copy of production.

🚀 **Preview**: https://pr-25.oil.oci.euphon.net DB is a copy of production.
hera merged commit e605da786a into main 2026-04-11 17:30:23 +00:00
Author
Owner

🗑️ Preview torn down.

🗑️ Preview torn down.
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: hera/oil-formula-calculator#25