Require clickable highlights on imported transcripts #139

Open
mike-bot wants to merge 6 commits from mike-bot/transcript-highlights into master AGit
Collaborator

Transcript imports require a nonempty highlights array. Each entry needs a title, blurb, and time range that overlaps a transcript segment. The import form reports invalid highlights before saving the transcript.

Readers see highlights in file order above the transcript. Selecting one jumps to the matching passage and starts the embedded video at the original fractional timestamp. The links are shareable and still scroll to the passage when the video player is unavailable.

WebVTT downloads keep the meeting metadata and transcript cues but omit highlights.

Highlight titles and blurbs use distinct Go types that trim surrounding whitespace and reject blank values.

Transcript imports require a nonempty `highlights` array. Each entry needs a title, blurb, and time range that overlaps a transcript segment. The import form reports invalid highlights before saving the transcript. Readers see highlights in file order above the transcript. Selecting one jumps to the matching passage and starts the embedded video at the original fractional timestamp. The links are shareable and still scroll to the passage when the video player is unavailable. WebVTT downloads keep the meeting metadata and transcript cues but omit highlights. Highlight titles and blurbs use distinct Go types that trim surrounding whitespace and reject blank values.
Require clickable highlights on imported transcripts
All checks were successful
ci/crow/pr/build Pipeline was successful
6801434823
Previously, imports ignored highlights, so readers had to find topics by scanning the transcript or clicking existing paragraph timestamps.

Require each import to include at least one highlight with a title, blurb, and time range. Show those highlights before the transcript in file order. Each one links to the matching passage and cues the video at the original fractional start time.

AI-Model: openai/gpt-6.2-sol-fast
AI-Model: openai/gpt-6-luna-fast#low
mike-bot changed title from Require clickable highlights on imported transcripts to WIP: Require clickable highlights on imported transcripts 2026-11-25 11:56:23 -05:00
Keep highlight destinations unique at segment boundaries
All checks were successful
ci/crow/pr/build Pipeline was successful
0a4f7b204a
Use each segment’s start time to identify its position in the rendered transcript. This keeps anchors unique without depending on editor segment IDs and lets a paragraph timestamp badge share its destination with a highlight.

Cover highlights that start during a pause and at the start of a later paragraph. Check the specific import errors for invalid segments so a highlight validation failure cannot hide a regression.

AI-Model: openai/gpt-6.2-sol-fast
mike-bot changed title from WIP: Require clickable highlights on imported transcripts to Require clickable highlights on imported transcripts 2026-11-25 12:04:52 -05:00
mike-bot force-pushed mike-bot/transcript-highlights from 0a4f7b204a
All checks were successful
ci/crow/pr/build Pipeline was successful
to 1746d4854f
All checks were successful
ci/crow/pr/build Pipeline was successful
2026-11-25 12:13:02 -05:00
Compare
Keep highlights out of WebVTT exports
All checks were successful
ci/crow/pr/build Pipeline was successful
c553ccc5b2
The export fixture has a highlight because transcripts require one. The
expected WebVTT contains only meeting metadata and transcript cues; the
highlight remains available on the transcript page.

AI-Model: openai/gpt-6.2-sol-fast
Require distinct validated values for highlight titles and blurbs
All checks were successful
ci/crow/pr/build Pipeline was successful
61e0e5bbd7
Previously, callers supplied raw strings to NewHighlight, so the API could not distinguish titles from blurbs.

Callers now construct a HighlightTitle and a HighlightBlurb before creating the highlight. Their constructors trim whitespace and reject blank values. The JSON import format and rendered transcript stay the same.

AI-Model: openai/gpt-6.2-sol-fast
AI-Model: openai/gpt-6-luna-fast
Revert the WebVTT comments about highlights
All checks were successful
ci/crow/pr/build Pipeline was successful
cc36e5ddae
This reverts commit c553ccc5b2 without changing WebVTT output or the highlight types.

AI-Model: openai/gpt-6.2-sol-fast
All checks were successful
ci/crow/pr/build Pipeline was successful
Required
Details
This pull request can be merged automatically.
This branch is out-of-date with the base branch
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin '+refs/pull/139/head:mike-bot/transcript-highlights'
git switch 'mike-bot/transcript-highlights'
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
oe/transcripts!139
No description provided.