feat: add ClipSet to schema #90
Draft
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.
This is a draft PR for what I think the Clips Schema should be (based on earlier work #86 and what is currently in Workarounds).
There's a few considerations / changes to how it currently works:
dataLayout
tolayoutWidth
for consistency with other nodesa. ClipSet only allows a limited number of layouts, I assume that is intentional?
raw
,structured
,references
). I'm not really sure how we model that in content-tree, or if. If we need content-tree to be different to cp-content-pipeline (i.e. maintain a workaround), that would also mean the UI component itself isn't really transferable.transcript
currently is a with only text. Our currentBody
node in content-tree doesn't allow Text as a top level node - should it? Or should it be a separate thing?a. note - live events also do this, but i've been ignoring them for now!