Keep the Line a Prop or Character was made from (#205) #216
No reviewers
Labels
No labels
bug
duplicate
enhancement
help wanted
invalid
needs-info
needs-triage
question
ready-for-agent
ready-for-human
wayfinder:grilling
wayfinder:map
wayfinder:prototype
wayfinder:research
wayfinder:task
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
crowmaki/ai-studio!216
Loading…
Reference in a new issue
No description provided.
Delete branch "issue-205-source-line"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Closes #205
What
A Prop or Character made from a selection in a Line's text now keeps that Line.
source_line_id(FK toline) onpropandcharacter. The link is part of the row snapshot, so undo/redo of a create, and undo of a delete, take it out and put it back.source_lineonCharacterView,CharacterDetailandPropView, andsourceLineIdonCharacterDto,CharacterDetailDtoandPropDto,list_entitiesandread_character. The MCPcreate_prop/create_charactertools now return the stored link instead of echoingfromLineId.Decisions
Tests
entities(read-back, undo/redo of create and delete) andmerge(survivor rule and undo).mcp_entities(list_entities,read_character, undo).sourceLine.test.ts.cargo test --workspace,bun testandsvelte-checkpass.