Repository navigation
feat(sync): videos have their own section in .uigraph.yaml - #26
Merged
Merged
Conversation
A video was a docs: entry with fileType: walkthrough, a field that only existed to undo the wrong nesting. Add a top-level videos: list of paths or globs (default .uigraph/videos/*.video.yaml) that syncs through the docs path, named by each video's title. Files the config names itself must be videos; the default glob skips other files. docs: entries with fileType walkthrough still work and are not duplicated. The API still stores a video as a doc with fileType walkthrough, so nothing server-side changes. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Match how diagrams and docs are listed: videos: is the path of each video's YAML, anywhere in the repo, and nothing is discovered. Drop the default glob and the check for a top-level walkthrough: key. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
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.
Videos were
docs:entries withfileType: walkthrough. They now have a top-levelvideos:list of paths to their YAML, like diagrams and docs: any location, nothing discovered or validated beyond the file existing. A video is named by its title and syncs through the docs path, so the API is unchanged.Go tests pass, and an earlier version of this was synced end to end against a local stack. The path-only version has not been re-synced live.
🤖 Generated with Claude Code