Skip to content

feat(sync): videos have their own section in .uigraph.yaml - #26

Merged
Manasa-uigraph merged 2 commits into
mainfrom
feat/videos-section
Nov 22, 2026
Merged

Manasa-uigraph merged 2 commits into
mainfrom
feat/videos-section

Conversation

@Manasa-uigraph

@Manasa-uigraph Manasa-uigraph commented Nov 22, 2026 •

Copy link
Copy Markdown
Contributor

Videos were docs: entries with fileType: walkthrough. They now have a top-level videos: 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

Manasa-uigraph and others added 2 commits November 22, 2026 09:27
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>
@Manasa-uigraph
Manasa-uigraph merged commit 50b7248 into main Nov 22, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant