mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2026-10-06 03:38:23 +00:00
Move the platform-neutral upload model into commons (commons.service.uploads): MediaUri, SelectedMedia, CompressorQuality, MediaCompressorResult, UploadError, UploadingState, UploadOrchestrator, MultiOrchestrator and the MediaUploader port. Error states carry an UploadError enum; commonsUI maps it to a string resource. The Android compress/strip/upload pipeline stays in the app as AndroidMediaUploader, reached through AccountViewModelHost.mediaUploader. Composer view models and screens pass the uploader instead of a Context. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01S7FuNBSKiyVecARSoE4B9P