Skip to content

studio-app: lower the complexity ratchet to 81 - #311

Merged
apedintensor merged 1 commit into
mainfrom
claude/ratchet-1028
Oct 27, 2026
Merged

apedintensor merged 1 commit into
mainfrom
claude/ratchet-1028

Conversation

@apedintensor

@apedintensor apedintensor commented Oct 27, 2026 •

Copy link
Copy Markdown
Member

This is refactor only and changes no behaviour.

  • applyEvent in story-chat-model.js is now a table of event handlers, with addMessage and projectChanged split out.
  • The asset-on-profile branch moved out of the storyboard onDragEnd into dropOnProfile.

The complexity ratchet drops from 83 to 81; max-lines stays at 49. 878 tests pass.

Split the story chat event reducer into a handler table and moved the
"file dropped on a profile" branch out of the storyboard drag handler.
No behaviour change.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@apedintensor
apedintensor merged commit 563507f into main Oct 27, 2026
2 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