Skip to content

refactor: introduce capture view model - #4

Open
Saiph77 wants to merge 4 commits into
masterfrom
codex/create-captureviewmodel-with-servicecontainer
Open

refactor: introduce capture view model#4
Saiph77 wants to merge 4 commits into
masterfrom
codex/create-captureviewmodel-with-servicecontainer

Conversation

@Saiph77

@Saiph77 Saiph77 commented Aug 26, 2025

Copy link
Copy Markdown
Owner

Summary

  • create CaptureViewModel to own services and handle clipboard loading and saving
  • wire CaptureWindow to CaptureViewModel with @StateObject and listen for AppEvents.saveRequested
  • rename AppEvents.save to saveRequested and update coordinator and build script

Testing

  • ./build.sh (fails: no such module 'SwiftUI')

https://chatgpt.com/codex/tasks/task_e_68adeff6aaac833193702d07d4097816

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant