mirror of
https://github.com/immich-app/immich
synced 2026-08-22 13:13:05 +00:00
Add a mechanism to share either the server-generated JPEG preview or the full original file. When the selection contains at least one asset that can provide a preview (a remote image), a bottom sheet lets the user pick the quality; otherwise sharing falls back to the original as before. The share-source resolution is extracted into pure, unit-tested business logic that handles all three asset states (local, remote, merged): - preview requires a remote image; videos and local-only assets fall back to the original - original prefers the on-device file, but edited assets are downloaded since edits only exist on the server - preview filenames are normalized to a .jpg extension Add unit tests covering the resolution, gating and filename helpers. |
||
|---|---|---|
| .. | ||
| action.service.dart | ||
| activity.service.dart | ||
| api.service.dart | ||
| app_settings.service.dart | ||
| auth.service.dart | ||
| background_upload.service.dart | ||
| cleanup.service.dart | ||
| deep_link.service.dart | ||
| download.service.dart | ||
| folder.service.dart | ||
| foreground_upload.service.dart | ||
| gcast.service.dart | ||
| immich_logger.service.dart | ||
| local_auth.service.dart | ||
| localization.service.dart | ||
| map.service.dart | ||
| network.service.dart | ||
| oauth.service.dart | ||
| person.service.dart | ||
| search.service.dart | ||
| secure_storage.service.dart | ||
| server_info.service.dart | ||
| share_intent_service.dart | ||
| shared_link.service.dart | ||
| widget.service.dart | ||