配方查询支持按精油名搜索 #40

Merged
fam merged 2 commits from feat/search-recipes-by-oil into main 2026-04-15 21:21:12 +00:00
Contributor

输入精油中文名或英文名时,返回所有含该精油的配方。

  • 中文查询 ≥2 字才匹配精油名,避免单字(如「草」)拉出大量噪音
  • 英文查询同时匹配 oilEn 静态表
  • 配方名/标签/英文名原有匹配逻辑保留

测试:vitest 6 条 + cypress recipe-search 扩展一条

输入精油中文名或英文名时,返回所有含该精油的配方。 - 中文查询 ≥2 字才匹配精油名,避免单字(如「草」)拉出大量噪音 - 英文查询同时匹配 oilEn 静态表 - 配方名/标签/英文名原有匹配逻辑保留 测试:vitest 6 条 + cypress recipe-search 扩展一条
fam added 1 commit 2026-04-15 20:48:09 +00:00
feat: 配方查询支持按精油名搜索
All checks were successful
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
f34dd49dcb
输入精油中文名/英文名会返回含该精油的所有配方。
中文查询 ≥2 字才匹配精油,避免「草」这样的单字噪音。

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

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

DB is a copy of production.

🚀 **Preview**: https://pr-40.oil.oci.euphon.net DB is a copy of production.
fam added 1 commit 2026-04-15 21:08:21 +00:00
Merge branch 'main' into feat/search-recipes-by-oil
All checks were successful
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
8f004a02cd
Owner

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

DB is a copy of production.

🚀 **Preview**: https://pr-40.oil.oci.euphon.net DB is a copy of production.
fam merged commit 8f004a02cd into main 2026-04-15 21:21:12 +00:00
Owner

🗑️ Preview torn down.

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

No dependencies set.

Reference: hera/oil-formula-calculator#40