Add the Order Status e-commerce template (`ecommerce-order-status`)
维护者通常 1 天内回复
评估
这个 Issue 还没有评估数据。
描述
Part of #5. For shipping updates like "Your order is on its way".
Idea
The store name and order number sit at the top, with the product name as the title. Across the card runs a 4-step tracker: Ordered, Shipped, Out for delivery, Delivered. Each step is a circle on a line. Steps up to the current one are filled with the accent color, and so is the line between them. An estimated delivery line sits under the tracker.
Template details
- File:
src/templates/ecommerce/order-status.ts, idecommerce-order-status - Fields:
commonFields.siteName(the store name),commonFields.title(the product name),orderNumber(text),currentStep(number from 1 to 4, default 2),estimate(text, for example "Arrives Friday, Oct 24"),commonFields.bgColor,commonFields.accentColor,commonFields.textColor
Where to look
- Closest reference:
src/templates/tutorial/step-by-step.ts(numbered steps),src/templates/ecommerce/product-card.ts(a number field withminandmax)
Acceptance criteria
-
currentStepis parsed defensively and kept between 1 and 4 (currentStep=abcstill renders) - The step labels fit under their circles, and the order number and estimate hide cleanly when empty
- Re-exported in
src/templates/ecommerce/index.tsand registered in the E-commerce block ofsrc/templates/registry.ts - Meets the shared template checklist in #5
One template per contributor at a time, so more people get a chance.
Want to work on this? Comment below and I'll assign it to you. Please take one issue at a time, branch off dev, and open your PR against dev with Closes #181 in the description.
- 主要语言
- TypeScript
- 星标
- 8
- 派生
- 4
- 平均合并
- 5 小时 44 分钟
- 30 天内合并 PR
- 83
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
codercops/ogcops 的其他 Issue
-
Add the Cheat Sheet tutorial template (`tutorial-cheat-sheet`)可能已有人在做 @srikar-naidu 于 1 天前认领。 未关闭hacktoberfest help wanted templates
难度 2/5 1-3 小时 新手友好度 45/100
codercops/ogcops#180 · 3 条评论 ·
维护者通常 1 天内回复
-
Add the Call for Speakers event template (`event-call-for-speakers`)可能已有人在做 @Saifjafri212213 于 1 天前认领。 未关闭good first issue hacktoberfest templates
codercops/ogcops#177 · 2 条评论 · 已指派 1 人 ·
维护者通常 1 天内回复
-
Add the Day Streak developer template (`developer-day-streak`)可能已有人在做 @srikar-naidu 于 1 天前认领。 未关闭hacktoberfest help wanted templates
codercops/ogcops#176 · 3 条评论 · 已指派 1 人 ·
维护者通常 1 天内回复
-
hacktoberfest
难度 1/5 1 小时以内 新手友好度 35/100
维护者通常 1 天内回复
-
Add the Open Roles job template (`job-open-roles`)可能已有人在做 @harshit-exe-dev 于 2 天前认领。 未关闭good first issue hacktoberfest templates
难度 3/5 1-2 天 新手友好度 68/100
codercops/ogcops#67 · 2 条评论 · 已指派 1 人 ·
维护者通常 1 天内回复
相似的 Issue
-
难度 1/5 1-3 小时 新手友好度 82/100
source-cooperative/docs.source.coop#41 · 1 条评论 ·
-
难度 2/5 1-3 小时 新手友好度 76/100
Nimblesite/SharpLsp#468 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 85/100
solidjs-community/solid-primitives#1082 ·
维护者通常 1 天内回复
-
enhancement
难度 2/5 1-3 小时 新手友好度 64/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 1 天内回复