Tusky-App-Android/app/src/main/java/com/keylesspalace/tusky/components/compose
mcclure 00c139190e
Ability to crop images attached to posts (#2531)
* First attachment crop attempt: Can crop in place, but does not delete/replace on server so has no effect

* Attachment crop feature works

* ktlint fixes on attachment crop patch

* Upgrade Android-Image-Cropper to 4.2.1

* An error message should be displayed if attachment cropping fails and it is not because the user intentionally cancelled.

* Remove 2 of the 3 "state passing" variables by using MediaUtils

* Cropper should use content uri (MIME type bearing) and setOutputCompressFormat so that PNGs reach the server safely.

* Change to crop requested by Conny: Store inflight cropImageItemOld in view model

* Change to crop requested by Conny: Sort cropImage with the other contracts

* ktlint fixes on attachment crop patch (again)
2022-05-22 21:01:14 +02:00
..
dialog refactor compose & announcements to coroutines (#2446) 2022-04-21 18:46:21 +02:00
view New emoji picker (#2395) 2022-04-26 18:50:58 +02:00
ComposeActivity.kt Ability to crop images attached to posts (#2531) 2022-05-22 21:01:14 +02:00
ComposeAutoCompleteAdapter.kt modernize autocomplete (#2510) 2022-05-17 19:55:37 +02:00
ComposeTokenizer.kt modernize autocomplete (#2510) 2022-05-17 19:55:37 +02:00
ComposeViewModel.kt Ability to crop images attached to posts (#2531) 2022-05-22 21:01:14 +02:00
ImageDownsizer.kt refactor compose & announcements to coroutines (#2446) 2022-04-21 18:46:21 +02:00
MediaPreviewAdapter.kt Ability to crop images attached to posts (#2531) 2022-05-22 21:01:14 +02:00
MediaUploader.kt Ability to crop images attached to posts (#2531) 2022-05-22 21:01:14 +02:00