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

オープン
#399 コメント 2 件 リアクション 0 件 担当者 1 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

@08abhinav がすでに取り組んでいます。

2026年11月7日 から。

  • #400 @08abhinav による — オープン

評価

この issue はまだ評価されていません。

説明

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.

主要言語
TypeScript
スター
8
フォーク
4
平均マージ
8時間 41分
マージ済み PR(30日)
157

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

codercops/ogcops のほかの issue

codercops/ogcops の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。