Add the Day Streak developer template (`developer-day-streak`)
メンテナーはふだん 1 日以内に返信
評価
この issue はまだ評価されていません。
説明
Part of #5. For people sharing progress on a "100 days of ..." challenge.
Idea
The left side shows the challenge name ("100 Days of AI Engineering"), a large "Day 42", a smaller "of 100" and the person's name. The right side is a grid of small rounded squares, one per day, 10 to a row. Days up to the current one are filled with the accent color, later days are a faint outline, and today's square gets a brighter ring.
Template details
- File:
src/templates/developer/day-streak.ts, iddeveloper-day-streak - Fields:
commonFields.title(the challenge name),commonFields.author,currentDay(number, default 42),totalDays(number, default 100, at most 100),commonFields.bgColor,commonFields.accentColor,commonFields.textColor
Where to look
- Closest reference:
src/templates/github/contribution-graph.ts(a grid of squares),src/templates/blog/series-part.ts(number fields)
Acceptance criteria
-
currentDayandtotalDaysare parsed defensively: a value that isn't a number falls back to the default,totalDaysstays between 1 and 100, andcurrentDaystays between 1 andtotalDays - The grid fits the card and stays vertically centered for any
totalDays(try 7, 30, 66 and 100). Don't putalignContent: 'center'on the wrapping grid: Satori pushes the rows to the bottom of the card (we hit this in #159) - Re-exported in
src/templates/developer/index.tsand registered in the Developer 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 #176 in the description.
- 主要言語
- TypeScript
- スター
- 8
- フォーク
- 4
- 平均マージ
- 5時間 19分
- マージ済み PR(30日)
- 99
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
codercops/ogcops のほかの issue
-
good first issue hacktoberfest templates
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
メンテナーはふだん 1 日以内に返信
-
Add the Office Hours event template (`event-office-hours`)対応中かも @bhushan4work が今日担当しました。 オープンgood first issue hacktoberfest templates
codercops/ogcops#237 · コメント 2 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
good first issue hacktoberfest templates
難易度 3/5 1〜2日 初心者へのやさしさ 76/100
メンテナーはふだん 1 日以内に返信
-
`npm run dev` keeps serving old images from `/api/og` after a template change対応中かも @srujankaleru2007 が今日担当しました。 オープンbug good first issue hacktoberfest
codercops/ogcops#228 · コメント 2 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
Add the Top Episodes podcast template (`podcast-top-episodes`)対応中かも @piyusshhjangid が今日担当しました。 オープンgood first issue hacktoberfest templates
codercops/ogcops#226 · コメント 2 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
codercops/ogcops の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
farion1231/cc-switch#8829 ·
メンテナーはふだん 1 日以内に返信
-
[core-client] Remove unused hand-maintained transport helpers after the definition-table cutoverオープンdoc-audit enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
-
Snapshot capture failure (EPERM spawning git) fails the whole step despite the best-effort contractオープンreproduced
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
anomalyco/opencode#58685 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信