Show preview when sharing media from intent#6545
Conversation
|
Thank you for your contribution! Here are a few things to check in the PR to ensure it's reviewed as quickly as possible:
|
This comment was marked as resolved.
This comment was marked as resolved.
|
Note that this also adds closer parity with iOS too |
Good! What's the preview/send order in iOS? |
On the iPad we have it's user selection then preview |
86568ec to
1eacb2a
Compare
bmarty
left a comment
There was a problem hiding this comment.
Thanks. We already have a media preview screen, but it is in the :features:messages:impl module. Maybe a first step would be to extract this existing code to its own module and then reuse it. It has more features, and it will reduce code duplication.
1eacb2a to
2b8a20e
Compare
Is it required for this PR? It seems to be very complex to fully extract that functionality then share it, or do you want to only extract the View? |
Ideally yes. Maybe do a separate PR that just extract the code with the Preview to its own |
|
FWIW, on iOS the preview screen to enter the caption is always shown. When sharing, there are 2 paths:
(It seems like this is very similar on Android as well, although I could not test path #1 as the OS did not offer any Element chats, perhaps because I haven't used it frequently). |
9153f58 to
fa98dcd
Compare
fa98dcd to
ac52f24
Compare
ac52f24 to
504dbf2
Compare
|
I've fully moved the media preview into it's own module in the last pushes, is there anything else that needs to be done before merging? |

Content
Motivation and context
Fixes #6540
Fixes #2987
Screenshots / GIFs
Tests
Tested devices
Checklist