Add the Transcript podcast template (`podcast-transcript`)
维护者通常 1 天内回复
评估
这个 Issue 还没有评估数据。
描述
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, idpodcast-transcript - Fields:
commonFields.title,showName(text, optional, default "The Build Log"),time1totime3(text, optional, defaults above),speaker1tospeaker3(text, optional, defaults above),line1toline3(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.tsand registered at the end of the podcast block insrc/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 分钟
- 30 天内合并 PR
- 157
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
codercops/ogcops 的其他 Issue
-
bug good first issue
难度 2/5 1-3 小时 新手友好度 84/100
codercops/ogcops#394 · 3 条评论 ·
维护者通常 1 天内回复
-
Preview checker: a `<title>` written over several lines keeps its line break and indentation可能已有人在做 @bhushan4work 于 2 天前认领。 未关闭bug good first issue
难度 2/5 1-3 小时 新手友好度 84/100
codercops/ogcops#393 · 1 条评论 · 已指派 1 人 ·
维护者通常 1 天内回复
-
[Bug] “Copy Recommended Meta Tags” generates an unusable placeholder image URL可能重新可做 @CreatorguyS 于 8 天前认领,目前没有进行中的 PR。 未关闭bug enhancement
难度 2/5 1-3 小时 新手友好度 72/100
codercops/ogcops#378 · 4 条评论 ·
维护者通常 1 天内回复
-
good first issue templates
难度 3/5 1-2 天 新手友好度 85/100
维护者通常 1 天内回复
-
good first issue templates
难度 3/5 1-2 天 新手友好度 76/100
维护者通常 1 天内回复
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 73/100
维护者通常 1 天内回复
-
area/admin/user area/internationalization automated-triage issue/auto-triaged type/bug
难度 1/5 1 小时以内 新手友好度 76/100
grafana/grafana#137281 · 1 条评论 ·
维护者通常 1 天内回复
-
accessibility bug
难度 2/5 1-3 小时 新手友好度 79/100
Luen/crag-stats#429 ·
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 88/100
维护者通常 1 天内回复
-
Missing assertions to legacy Cafe Menu block tests可能已有人在做 @mariamanbar 今天认领。 未关闭
难度 1/5 1 小时以内 新手友好度 90/100
freeCodeCamp/freeCodeCamp#71624 ·
维护者通常 1 天内回复