-
Notifications
You must be signed in to change notification settings - Fork 499
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Media size selection #4721
Media size selection #4721
Conversation
Use this when sending images.
# Conflicts: # Riot/Managers/Settings/RiotSettings.swift
Use high quality when filming video in-app.
📱 Scan the QR code below to install the build for this PR. If you can't scan the QR code you can install the build via this link: https://i.diawi.com/7aGANA |
This does not present approximate sizes, is that intended? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some (I think) small changes:
Settings
- Change Media title to
Sending images and videos
(just media could be interpreted to mean media in timelines that you haven't sent) - Change
confirm media size
before sending toConfirm size when sending
- Add supporting copy underneath that says
When this is on, you’ll be asked to confirm what size images and videos will be sent as.
. This helps reassure and set expectations.
Image
- Change intro copy.
Confirm size to send. You can turn this off in settings.
This way we inform people they can turn this off somehow. - Change styling of options, with actual sizes in brackets. I looked at Mail on iOS and wanted to use the same formatting, on the assumption it's potentially familiar.
Video
- Change intro copy
- Include size in details, as people using these options are mostly concerned about bandwidth
@niquewoodhouse I've used a title and message for the confirmation sheets as it looks a bit cleaner and gives two different font weights. Wondering whether we should now include a sentence to say that file sizes are approximate? |
my 2c: use |
@niquewoodhouse one change you forgot to note is that the button group is now separated from the cancel button, that's not the behaviour today (as seen with what @pixlwave is showing), so maybe mark that as a requested change as well? (i really like how the seperated buttons look) |
|
Font weights look really good, thanks. I'm not sure what to do about approximate sizes, to be honest. How approximate are they? I'm not sure if people would be that bothered if we're out by a few KB? I guess it'll matter to some cohort, I'm just not sure what % of all the people using this it would be.
Thanks, that's very nice, I think that's the most elegant way of doing it, but I'm not sure how known |
Fairly - we're guessing a file size based upon the image dimensions, but the compression also varies depending on the image contents. After a couple of quick tests I've seen one image come out at 264KB from an estimate of 102KB. And conversely another come out at 170KB from an estimate of 200KB. Like you say though, how much this matters anyway given they're all pretty small files. |
# Conflicts: # Riot/Assets/en.lproj/Vector.strings
@niquewoodhouse All changes made and I've just refreshed the alpha build for you to try. Screenshots of image size selection above. Settings. Note - I haven't used a footer style text here as the rest of the settings screen shows all information like this instead. I think this will change when the settings screen gets an overhaul, so seemed more sensible to let that happen there than have 1 item that looks different: |
(maybe a seperate issue for this? so the previous style doesn't get lost?) |
# Conflicts: # Riot/Managers/Settings/RiotSettings.swift
Depends on matrix-org/matrix-ios-kit#880.
The video prompt shows as
One caveat here, introduced by matrix-org/matrix-ios-sdk#1145 is sending large videos to encrypted rooms from the share extension. As the videos are larger now, the 120MB memory limit can be hit when encrypting the video. A few potential solutions would be: