Loading...
Loading...
Compare original and translation side by side
<type>(<scope>): <subject in Thai or English>
[optional body]<type>(<scope>): <subject in Thai or English>
[optional body]| Type | When to use |
|---|---|
| New feature or page added |
| Bug fix |
| Code restructure without behavior change |
| UI/CSS changes only (no logic change) |
| Config, deps, tooling (prisma generate, etc.) |
| Documentation or comment changes |
| Performance improvement |
| 提交类型 | 适用场景 |
|---|---|
| 新增功能或页面 |
| 修复Bug |
| 重构代码(不改变功能) |
| 仅UI/CSS变更(无逻辑改动) |
| 配置、依赖、工具相关变更(如prisma generate等) |
| 文档或注释变更 |
| 性能优化 |
| Scope | Maps to |
|---|---|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| 范围 | 对应代码位置 |
|---|---|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
feat(product): add product detail page
fix(cart): fix totalPrice calculation when qty is 0
chore(prisma): regenerate Prisma client after schema changes
style(ui): update badge color in hero component
refactor(auth): extract signIn logic from page component
feat(api): add GET /api/products endpoint with pagination
fix(contact): prevent XSS in email HTML templatefeat(product): add product detail page
fix(cart): fix totalPrice calculation when qty is 0
chore(prisma): regenerate Prisma client after schema changes
style(ui): update badge color in hero component
refactor(auth): extract signIn logic from page component
feat(api): add GET /api/products endpoint with pagination
fix(contact): prevent XSS in email HTML template.envBETTER_AUTH_SECRETDATABASE_URLgenerated/prisma/npx prisma generate--no-verify.envBETTER_AUTH_SECRETDATABASE_URLgenerated/prisma/npx prisma generate--no-verify.envnpm run lintsrc/types/product-service.ts.envnpm run lintsrc/types/product-service.ts