Add the Transcript podcast template (`podcast-transcript`)

Đang mở
#399 2 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

@08abhinav đang làm issue này rồi.

Từ ngày 7/11/2026.

  • #400 của @08abhinav — đang mở

Đánh giá

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

Mô tả

good first issue templates

Part of #5. For posts that share a short exchange from an episode, written out the way a transcript reads.

Idea
The show name at the top ("The Build Log"), the episode title below it ("Why we went back to a monolith"), then up to three transcript lines. Each line is its own row: a timestamp on the left in JetBrains Mono ("12:04"), the speaker's name in the accent color ("Maya"), and what they said ("We had more services than engineers."). The other two defaults are "12:09", "Leo", "So you merged them back?" and "12:11", "Maya", "One repo, one deploy. Nobody misses the old setup."

Template details

  • File: src/templates/podcast/transcript.ts, id podcast-transcript
  • Fields: commonFields.title, showName (text, optional, default "The Build Log"), time1 to time3 (text, optional, defaults above), speaker1 to speaker3 (text, optional, defaults above), line1 to line3 (text, optional, defaults above), commonFields.bgColor, commonFields.accentColor, commonFields.textColor

Where to look

  • Closest reference: src/templates/podcast/top-episodes.ts (rows with a fixed-width side column, blank items skipped after .trim(), muted colors that work on a light background), src/templates/podcast/audiogram.ts (a quote from the episode with its speaker)

Acceptance criteria

  • A line whose text is blank (or only spaces) is skipped with no gap, even if its time or speaker is filled; with all three blank the transcript area hides cleanly
  • A blank time or speaker only hides that part of the row, and the spoken text starts at the same x on every row so the lines stay aligned
  • A long title shrinks with autoFontSize() and then truncates, a long speaker name truncates inside its column, and a long line wraps to at most two lines and then truncates
  • The accent speaker names and muted timestamps stay readable on a light background
  • Re-exported in src/templates/podcast/index.ts and registered at the end of the podcast block in 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 #NUM in the description.

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

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.