feat: add timeline track and clip creation APIs - #154
Open
Errordog2 wants to merge 6 commits into
Open
Conversation
Author
|
Validation update after strengthening the edge-case coverage for this bounty:
This keeps the implementation scoped to timeline track/clip authoring and makes the existing compatibility/overlap/clamp behavior easier to verify during review. |
Author
|
Follow-up validation for the timeline drag requirements in #10:
Validation: |
Errordog2
force-pushed
the
codex/clapper-track-clip-creation
branch
from
June 13, 2026 19:39
00d58b3 to
93bde53
Compare
Author
|
Maintenance update for current head
No scope change from the submitted #10 implementation; this keeps the PR easier to review and merge. |
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.
Closes #10
Summary
+control for creating a new empty track directly in the timeline UI.@aitube/clapworkspace entrypoint/type exports so Bun can resolve the monorepo package during tests.Validation
npx --yes bun --no-install test ./packages/timeline/test/test.tsxpassed on head93bde53: 11 tests, 42 assertions.git diff --check main...HEADpassed.Scope
This adds the store/API foundation for timeline track and clip creation, a direct add-track control, a track category dropdown, double-click clip creation, same-category movement support, pointer-drag behavior that preserves the grabbed offset, and guard coverage for invalid category changes, overlap, and negative movement. Richer clip authoring controls can build on these APIs separately.