feat: 细节优化 #22

Merged
hera merged 4 commits from feat/polish into main 2026-04-10 22:16:05 +00:00
Owner

细节优化和修复

细节优化和修复
Author
Owner

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

DB is a copy of production.

🚀 **Preview**: https://pr-22.oil.oci.euphon.net DB is a copy of production.
hera added 1 commit 2026-04-10 21:34:19 +00:00
fix: 保存配方后0元bug + 标签字母排序
All checks were successful
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 14s
Test / e2e-test (push) Successful in 50s
eff4332aae
- 保存公共配方后reload从服务器重新获取(修复oil_name覆盖oil导致显示0元)
- 配方卡片标签按字母排序

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

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

DB is a copy of production.

🚀 **Preview**: https://pr-22.oil.oci.euphon.net DB is a copy of production.
hera added 1 commit 2026-04-10 21:59:00 +00:00
fix: 无椰子油配方编辑时不显示容量/椰子油/摘要
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 4s
PR Preview / deploy-preview (pull_request) Successful in 16s
Test / e2e-test (push) Failing after 55s
476d8bbd6e
- 无椰子油:容量不选中,摘要不显示,椰子油行不出现
- 有椰子油:自动匹配容量和稀释比例
- 新增配方默认无椰子油

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

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

DB is a copy of production.

🚀 **Preview**: https://pr-22.oil.oci.euphon.net DB is a copy of production.
hera added 1 commit 2026-04-10 22:03:31 +00:00
fix: 选择容量时自动显示椰子油行 + 收回标签清除筛选
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 5s
PR Preview / deploy-preview (pull_request) Successful in 14s
Test / e2e-test (push) Failing after 56s
9635cfe8ef
- 选容量后椰子油行自动出现(单次默认10滴,其他默认填满)
- 收回标签栏时清除所有标签筛选

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

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

DB is a copy of production.

🚀 **Preview**: https://pr-22.oil.oci.euphon.net DB is a copy of production.
hera added 1 commit 2026-04-10 22:11:06 +00:00
test: 新增PR#22相关单元测试
All checks were successful
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
76c9316ede
新增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>
Author
Owner

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

DB is a copy of production.

🚀 **Preview**: https://pr-22.oil.oci.euphon.net DB is a copy of production.
hera merged commit 76c9316ede into main 2026-04-10 22:16:05 +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#22