Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Add the Day Streak developer template (`developer-day-streak`)

Đang mở
#176 3 bình luận 0 reaction 1 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

@srikar-naidu đang làm issue này rồi.

Từ ngày 22/10/2026.

  • #194 của @rahul05ranjan — đã đóng, không merge

Đánh giá

Issue này chưa được đánh giá.

Mô tả

hacktoberfest help wanted templates

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, id developer-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

  • currentDay and totalDays are parsed defensively: a value that isn't a number falls back to the default, totalDays stays between 1 and 100, and currentDay stays between 1 and totalDays
  • The grid fits the card and stays vertically centered for any totalDays (try 7, 30, 66 and 100). Don't put alignContent: '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.ts and registered in the Developer block of src/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.

Ngôn ngữ chính
TypeScript
Star
8
Fork
4
Merge trung bình
5 giờ 44 phút
Pull request đã merge (30 ngày)
83

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của codercops/ogcops

Tất cả issue của codercops/ogcops

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.