Repository navigation
Link to related transcript entity for published notes - #231
Closed
camerontarget14 wants to merge 10 commits into
Closed
camerontarget14 wants to merge 10 commits into
camerontarget14 wants to merge 10 commits into
Conversation
Signed-off-by: Cameron Target <camerontarget@gmail.com>
Signed-off-by: Cameron Target <camerontarget@gmail.com>
Signed-off-by: Cameron Target <camerontarget@gmail.com>
Signed-off-by: Cameron Target <camerontarget@gmail.com>
- Add Exporter / ReviewExportData in @dna/core; CSV and PDF both implement it and the Publish menu is built from the exporter list - Move review row building and the CSV exporter (with tests) to @dna/core; PDF rendering and the save dialog stay in the app - Make CSV columns configurable via VITE_REVIEW_CSV_COLUMNS (Header:field entries); defaults unchanged Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Cameron Target <camerontarget@gmail.com>
- CSV is one row per note with ShotGrid's Note columns (Id, Subject,
Links, Author, To, Cc, Body, Date Created, Linked Transcript,
Attachments, Project); VITE_REVIEW_CSV_COLUMNS still overrides them
- Record each published transcript's name and add
GET /playlists/{id}/published-transcripts so exports can link it
- Move export data loading out of the Sidebar; use the playlist name
as the export title
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- New backend/docs/SHOTGRID_SETUP.md: transcript custom entity and fields, sg_linked_transcript on Note, script permissions, DNA settings and a verification checklist - Point DEPLOYMENT.md and TRANSCRIPTION_PIPELINE.md at the guide and fix stale details (sg_version_in_review, not sg_versions; drop the unused VITE_ENABLE_TRANSCRIPT_PUBLISH flag) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
# Conflicts: # frontend/packages/app/src/components/Sidebar.tsx
The origin/main merge (26bc616) was committed with both conflict hunks still marked. Their main side was empty, so only the marker lines go. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Signed-off-by: Cameron Target <camerontarget@gmail.com>
- Set the Note's sg_linked_transcript to the version's latest published transcript row when publishing or republishing a note; scratch notes and versions without a transcript stay unlinked - Write the link as the script user after the as-author create, so authors need no edit permission on the field - Link already-published notes when a transcript row is created - Publish transcripts before notes in the Publish dialog so new notes are created already linked - SHOTGRID_NOTE_TRANSCRIPT_FIELD names the field (empty turns it off); a missing field is re-checked every 60 s and skipped with a warning Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Signed-off-by: Cameron Target <camerontarget@gmail.com>
Collaborator
Author
|
Going to re-do this work in a separate PR |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
DNA will now add data to an 'sg_linked_transcript' field for all published notes. This means that DNA notes will be linked in shotgrid to the transcript published if there is one. Was outlined in a comment in #228
Testing
How I Tested
Stood up the application, recorded fresh notes and transcripts, published and saw that notes were published with sg_linked_transcript field filled in.