Skip to content

Feature/v9 timeline data structure#447

Draft
jthrilly wants to merge 27 commits intomainfrom
feature/v9-timeline-data-structure
Draft

Feature/v9 timeline data structure#447
jthrilly wants to merge 27 commits intomainfrom
feature/v9-timeline-data-structure

Conversation

@jthrilly
Copy link
Copy Markdown
Member

Attempt to implement new timeline structure with branching etc. Data model work seems to have succeeded, but the visualisation is a failure. My next thought is to use the pedigree layout system to bootstrap it.

jthrilly added 27 commits March 29, 2026 13:43
Introduces the base schema for v9 stage entities with type discriminator and graph connectivity field (target), replacing the v8 baseStageSchema.
Adapts all 17 v8 stage schemas to v9 format (stageType discriminant,
baseStageEntitySchema base) and creates the discriminated union index
with StageEntity, StageType, and Prompt type exports.
Creates timelineSchema with start reference and entities array, updates
entity.ts to use the real stageEntitySchema replacing the permissive
placeholder, and introduces the v9 ProtocolSchema with timeline replacing
stages.
Create StageNode, BranchNode, CollectionNode, and InsertPoint components for rendering timeline entities. Add TimelineGraph component that composes the layout algorithm with entity rendering. Update Timeline.tsx to delegate entity rendering to TimelineGraph.
Adds Reorder.Group/Item drag-and-drop reordering for top-level timeline entities and branch slots, with pointer tracking in StageNode to distinguish clicks from drags. Extends moveEntity to support null afterEntityId (move to start) and adds reorderBranchSlots action.
@netlify
Copy link
Copy Markdown

netlify bot commented Mar 30, 2026

Deploy Preview for nc-documentation ready!

Name Link
🔨 Latest commit 9ed819a
🔍 Latest deploy log https://app.netlify.com/projects/nc-documentation/deploys/69ca20c2bdc48800085fdf26
😎 Deploy Preview https://deploy-preview-447--nc-documentation.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@changeset-bot
Copy link
Copy Markdown

changeset-bot bot commented Mar 30, 2026

⚠️ No Changeset found

Latest commit: 9ed819a

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

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