Skip to content

refactor: split internal/ui model into focused modules#34

Merged
JanSmrcka merged 1 commit intomasterfrom
refactor/model-modules-31
Mar 4, 2026
Merged

refactor: split internal/ui model into focused modules#34
JanSmrcka merged 1 commit intomasterfrom
refactor/model-modules-31

Conversation

@JanSmrcka
Copy link
Copy Markdown
Owner

Summary

  • refactor internal/ui/model.go into focused modules for dispatcher, modes, workflows, and rendering; keep Model.Update as dispatcher-only
  • add characterization tests for commit/stage/refresh/tick/push-confirm behaviors to protect refactor with TDD-first guardrails
  • document new module boundaries via file-level comments and reduce internal/ui/model.go from 1272 to 196 lines

Closes #31

@JanSmrcka JanSmrcka merged commit d29c306 into master Mar 4, 2026
3 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.

Refactor internal/ui/model.go into focused modules

1 participant