Skip to content

refactor: Split ContentView.swift (12,649→4,620 lines) into 12 focuse…#43

Merged
AusafMo merged 1 commit into
mainfrom
swift-contentview-split
Mar 27, 2026
Merged

refactor: Split ContentView.swift (12,649→4,620 lines) into 12 focuse…#43
AusafMo merged 1 commit into
mainfrom
swift-contentview-split

Conversation

@AusafMo
Copy link
Copy Markdown
Owner

@AusafMo AusafMo commented Mar 27, 2026

…d files

Zero functional changes — pure extraction. ContentView.swift reduced by 63%.

New files:

  • Models.swift — data models and enums (SearchResult, FaceData, Person, etc.)
  • Theme.swift — Color ext, ThemeManager, DesignSystem, ThemeSwitcher
  • Configuration.swift — Constants, AppConfig, SearchPreferences, ModelSettings
  • DirectoryAndVolume.swift — WatchedDirectory, VolumeManager, DirectoryManager
  • Services.swift — ImageCache, ThumbnailService
  • Managers.swift — SearchManager, DuplicatesManager, FavoritesManager
  • FaceManager.swift — FaceManager class
  • Components.swift — reusable UI components (Skeleton, ActionButton, etc.)
  • SearchViews.swift — MasonryGrid, PreviewPanel, SpotlightSearch, ResultCard
  • FaceViews.swift — PersonCard, FaceVerification, PersonFaceCard
  • SettingsView.swift — settings panel, Setup helpers
  • VolumeViews.swift — volume and device UI views

Also adds curation features to README roadmap.

…d files

Zero functional changes — pure extraction. ContentView.swift reduced by 63%.

New files:
- Models.swift — data models and enums (SearchResult, FaceData, Person, etc.)
- Theme.swift — Color ext, ThemeManager, DesignSystem, ThemeSwitcher
- Configuration.swift — Constants, AppConfig, SearchPreferences, ModelSettings
- DirectoryAndVolume.swift — WatchedDirectory, VolumeManager, DirectoryManager
- Services.swift — ImageCache, ThumbnailService
- Managers.swift — SearchManager, DuplicatesManager, FavoritesManager
- FaceManager.swift — FaceManager class
- Components.swift — reusable UI components (Skeleton, ActionButton, etc.)
- SearchViews.swift — MasonryGrid, PreviewPanel, SpotlightSearch, ResultCard
- FaceViews.swift — PersonCard, FaceVerification, PersonFaceCard
- SettingsView.swift — settings panel, Setup helpers
- VolumeViews.swift — volume and device UI views

Also adds curation features to README roadmap.
@AusafMo AusafMo merged commit 9800f49 into main Mar 27, 2026
1 check 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