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

Aperta
#399 2 commenti 0 reazioni 1 assegnatario Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

@08abhinav ci sta già lavorando.

Dal 7/11/2026.

  • #400 di @08abhinav — aperta

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

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.

Lingua principale
TypeScript
Stelle
8
Fork
4
Merge medio
8h 41m
PR unite (30g)
157

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di codercops/ogcops

Tutte le issue di codercops/ogcops

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.