immich/mobile/lib/presentation/widgets
Claude 2feee111fd
feat(mobile): choose JPEG preview or original quality when sharing
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.
2026-05-30 18:39:01 +00:00
..
action_buttons feat(mobile): choose JPEG preview or original quality when sharing 2026-05-30 18:39:01 +00:00
album refactor: rename metadata to settings (#28691) 2026-05-30 10:27:55 -05:00
asset_viewer refactor: rename metadata to settings (#28691) 2026-05-30 10:27:55 -05:00
backup refactor: rename metadata to settings (#28691) 2026-05-30 10:27:55 -05:00
bottom_sheet feat(mobile): "Add Tags" asset multiselect option (#26269) 2026-05-18 20:29:09 +05:30
images refactor: rename metadata to settings (#28691) 2026-05-30 10:27:55 -05:00
map refactor: rename metadata to settings (#28691) 2026-05-30 10:27:55 -05:00
memory chore: add always_put_control_body_on_new_line lint (#28352) 2026-05-11 13:47:24 -04:00
people fix(mobile): birthday picker shows limited months when no date exists (#26407) 2026-02-25 07:58:02 +05:30
remote_album feat(mobile): album options to kebab menu (#24204) 2025-12-26 18:46:05 +00:00
search chore: add always_put_control_body_on_new_line lint (#28352) 2026-05-11 13:47:24 -04:00
timeline refactor: rename metadata to settings (#28691) 2026-05-30 10:27:55 -05:00