Save individual speaker names in the transcript editor #114

Merged
mike merged 2 commits from mike-bot/rename-speakers into master 2026-11-25 12:10:32 -05:00 AGit
Collaborator

The transcript editor now saves an individual speaker name. The server validates and normalizes the name, updates only that speaker, and preserves all segment assignments.

On success, the table, transcript headings, and speaker menu reflect the saved name without reloading. An overlapping segment response won't restore the old heading. The new name also appears on the public transcript. A rejected save shows the server's message and keeps the draft available to correct or retry without blocking other edits.

The transcript editor now saves an individual speaker name. The server validates and normalizes the name, updates only that speaker, and preserves all segment assignments. On success, the table, transcript headings, and speaker menu reflect the saved name without reloading. An overlapping segment response won't restore the old heading. The new name also appears on the public transcript. A rejected save shows the server's message and keeps the draft available to correct or retry without blocking other edits.
Let transcript editors rename speakers in one place
Some checks failed
ci/crow/pr/build Pipeline was canceled
53cd1771dd
Previously, editors could assign a segment to a different speaker but could not rename a speaker across the transcript.

The Speakers form under the meeting metadata saves multiple renames together. Saved names appear in every turn and in the segment menu without replacing the video or changing who said each segment. Invalid names leave all submitted edits available to correct.

AI-Model: openai/gpt-6.2-sol-fast
AI-Model: openai/gpt-6-luna-fast
mike-bot changed title from Let transcript editors rename speakers in one place to WIP: Let transcript editors rename speakers in one place 2026-11-21 21:03:59 -05:00
Keep speaker names editable after a failed save
All checks were successful
ci/crow/pr/build Pipeline was successful
f811e9a65d
The rename form releases its save lock even if the request fails or the response cannot be read. The editor keeps the typed names available for retry and uses speaker IDs, rather than styling classes, to update labels.

Exercise a rejected batch with a genuinely different name and verify isolation against a second transcript that already exists and shares the renamed speaker ID.

AI-Model: openai/gpt-6.2-sol-fast
AI-Model: openai/gpt-6-luna-fast
Verify malformed speaker rename batches leave names unchanged
All checks were successful
ci/crow/pr/build Pipeline was successful
3eec4949f0
Cover repeated entries and unknown speakers at the HTTP endpoint, including a valid rename mixed with an unknown ID. Both requests must return a bad request without changing any stored name.

AI-Model: openai/gpt-6.2-sol-fast
mike-bot changed title from WIP: Let transcript editors rename speakers in one place to Let transcript editors rename speakers in one place 2026-11-21 21:20:10 -05:00
mike-bot force-pushed mike-bot/rename-speakers from 3eec4949f0
All checks were successful
ci/crow/pr/build Pipeline was successful
to 44f25b1b9c
All checks were successful
ci/crow/pr/build Pipeline was successful
2026-11-22 08:50:10 -05:00
Compare
The speaker form now uses one row per speaker, from the lowest speaker
number to the highest. On desktop, each label sits to the left of its
name field. On narrow screens, it sits above the field.

AI-Model: openai/gpt-6.2-sol-fast
Place Save names at the bottom right of the speaker form
All checks were successful
ci/crow/pr/build Pipeline was successful
dc71194b7b
Align the button with the right edge of the name fields and show save
feedback beside it.

AI-Model: openai/gpt-6.2-sol-fast
mike-bot force-pushed mike-bot/rename-speakers from dc71194b7b
All checks were successful
ci/crow/pr/build Pipeline was successful
to 2998e82d64
All checks were successful
ci/crow/pr/build Pipeline was successful
2026-11-22 20:12:06 -05:00
Compare
Give speaker name updates a shared map alias
All checks were successful
ci/crow/pr/build Pipeline was successful
f729915196
Use transcripts.SpeakerNames from request parsing through storage so
callers can refer to a speaker ID-to-name map without repeating its types.
The alias preserves the existing map type and behavior.

AI-Model: openai/gpt-6.2-sol-fast
Label speaker name fields with just their numbers
All checks were successful
ci/crow/pr/build Pipeline was successful
68228af85b
AI-Model: openai/gpt-6.2-sol-fast
Let editors rename one transcript speaker at a time
All checks were successful
ci/crow/pr/build Pipeline was successful
72bfc8bcc5
Previously, editors changed names in a shared form and submitted them together. The Speakers table now shows saved names as text and gives each row Edit, Save, and Cancel controls. Saving or canceling a row leaves any other draft alone.

Each save sends a single name to PATCH /admin/transcripts/{slug}/speakers/{speakerID}. The old collection endpoint no longer accepts batch updates.

AI-Model: openai/gpt-6.2-sol-fast
AI-Model: openai/gpt-6-luna-fast
mike-bot force-pushed mike-bot/rename-speakers from 72bfc8bcc5
All checks were successful
ci/crow/pr/build Pipeline was successful
to 5cc3e42bfc
All checks were successful
ci/crow/pr/build Pipeline was successful
2026-11-23 12:51:29 -05:00
Compare
mike-bot force-pushed mike-bot/rename-speakers from 5cc3e42bfc
All checks were successful
ci/crow/pr/build Pipeline was successful
to d956d4a6e6
All checks were successful
ci/crow/pr/build Pipeline was successful
2026-11-23 15:56:58 -05:00
Compare
mike-bot force-pushed mike-bot/rename-speakers from d956d4a6e6
All checks were successful
ci/crow/pr/build Pipeline was successful
to 1d33efa870
All checks were successful
ci/crow/pr/build Pipeline was successful
2026-11-23 16:11:54 -05:00
Compare
Accept speaker IDs with leading zeros in rename requests
All checks were successful
ci/crow/pr/build Pipeline was successful
fc0e87836c
AI-Model: openai/gpt-6.2-sol-fast
Let speaker renames and transcript edits save independently
All checks were successful
ci/crow/pr/build Pipeline was successful
0101c5d728
A pending rename now disables controls only for its own row. Editors can save another speaker name or a segment without waiting for the rename to finish.

The speaker-name element manages row editing and reports successful renames to the transcript editor, which updates the headings and segment menu.

AI-Model: openai/gpt-6.2-sol-fast
AI-Model: openai/gpt-6-luna-fast
Give the speaker-name editor its own template
All checks were successful
ci/crow/pr/build Pipeline was successful
cdd44c54e5
Keep the table server-rendered and leave its behavior in the existing JavaScript module. The admin page includes the component without needing inline JavaScript.

AI-Model: openai/gpt-6.2-sol-fast
Keep speaker-name editor markup and behavior together
All checks were successful
ci/crow/pr/build Pipeline was successful
9759b8db1a
The table still renders on the server, so speaker names are visible before JavaScript runs. Its module uses the admin page’s existing per-request CSP nonce without relaxing the policy.

AI-Model: openai/gpt-6.2-sol-fast
Supply the CSP nonce consistently on transcript pages
All checks were successful
ci/crow/pr/build Pipeline was successful
efa0f070c1
Build shared page properties from the request for the public transcript, editor, and import pages. Keep HTMX fragment views independent of the CSP middleware because they do not render scripts.

AI-Model: openai/gpt-6.2-sol-fast
Let each speaker row handle its own edits and saves
All checks were successful
ci/crow/pr/build Pipeline was successful
61bb8c1f00
Keep the request, validation feedback, and control state together for each row. The table stays server-rendered, and saving one row still leaves the other rows and transcript segments editable.

AI-Model: openai/gpt-6.2-sol-fast
mike-bot changed target branch from master to agent-stack/pr-130/9628774e6623399c1cf16066e77f827f53bcad36 2026-11-23 21:08:46 -05:00
mike-bot force-pushed mike-bot/rename-speakers from 61bb8c1f00
All checks were successful
ci/crow/pr/build Pipeline was successful
to b91a532cfc
All checks were successful
ci/crow/pr/build Pipeline was successful
2026-11-23 21:08:47 -05:00
Compare
mike-bot changed title from Let transcript editors rename speakers in one place to Save individual speaker names in the transcript editor 2026-11-23 21:08:51 -05:00
mike-bot changed target branch from agent-stack/pr-130/9628774e6623399c1cf16066e77f827f53bcad36 to agent-stack/pr-130/aecdc66940fcbf93c1e0db0bc3b094c2f5c5eba5 2026-11-23 21:21:23 -05:00
mike-bot force-pushed mike-bot/rename-speakers from b91a532cfc
All checks were successful
ci/crow/pr/build Pipeline was successful
to 491e991970
All checks were successful
ci/crow/pr/build Pipeline was successful
2026-11-23 21:21:25 -05:00
Compare
mike-bot changed target branch from agent-stack/pr-130/aecdc66940fcbf93c1e0db0bc3b094c2f5c5eba5 to agent-stack/pr-130/1a64f7da41ad17909b03ea58720cc471956f17be 2026-11-24 06:16:30 -05:00
mike-bot force-pushed mike-bot/rename-speakers from 491e991970
All checks were successful
ci/crow/pr/build Pipeline was successful
to c0c5cd7990
All checks were successful
ci/crow/pr/build Pipeline was successful
2026-11-24 06:16:31 -05:00
Compare
mike-bot changed target branch from agent-stack/pr-130/1a64f7da41ad17909b03ea58720cc471956f17be to agent-stack/pr-130/d8101386a11450c6fb29ff06c25693827c24256e 2026-11-24 06:20:48 -05:00
mike-bot force-pushed mike-bot/rename-speakers from c0c5cd7990
All checks were successful
ci/crow/pr/build Pipeline was successful
to 0a7055be8c
All checks were successful
ci/crow/pr/build Pipeline was successful
2026-11-24 06:20:50 -05:00
Compare
mike-bot changed target branch from agent-stack/pr-130/d8101386a11450c6fb29ff06c25693827c24256e to master 2026-11-24 06:30:09 -05:00
mike-bot force-pushed mike-bot/rename-speakers from 0a7055be8c
All checks were successful
ci/crow/pr/build Pipeline was successful
to 98e7e26c35
All checks were successful
ci/crow/pr/build Pipeline was successful
2026-11-24 06:30:10 -05:00
Compare
mike-bot force-pushed mike-bot/rename-speakers from 98e7e26c35
All checks were successful
ci/crow/pr/build Pipeline was successful
to 2f3162b3b9
All checks were successful
ci/crow/pr/build Pipeline was successful
2026-11-24 13:45:20 -05:00
Compare
mike-bot force-pushed mike-bot/rename-speakers from 2f3162b3b9
All checks were successful
ci/crow/pr/build Pipeline was successful
to 87ab4f943a
All checks were successful
ci/crow/pr/build Pipeline was successful
2026-11-24 15:49:09 -05:00
Compare
mike closed this pull request 2026-11-25 11:44:58 -05:00
mike reopened this pull request 2026-11-25 12:04:47 -05:00
mike-bot force-pushed mike-bot/rename-speakers from 87ab4f943a
All checks were successful
ci/crow/pr/build Pipeline was successful
to e917ce81a0
All checks were successful
ci/crow/pr/build Pipeline was successful
2026-11-25 12:07:13 -05:00
Compare
Make each invalid speaker rename case show its request URL
All checks were successful
ci/crow/pr/build Pipeline was successful
8b0ea0398f
AI-Model: openai/gpt-6.2-sol-fast
mike merged commit a6392e08ef into master 2026-11-25 12:10:32 -05:00
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!114
No description provided.