apps-android-commons icon indicating copy to clipboard operation
apps-android-commons copied to clipboard

[Feature]: Document supported media types and upload limitations

Open joeMba opened this issue 1 month ago • 13 comments

What is the user problem or growth opportunity you want to see solved?

as a User and contributor I need a clear, accurate reference for which media types the app currently supports for upload and what limitations apply. Documenting this would help us(users and contributors) avoid unsupported files and help contributors understand the existing upload behavior.

How do you know that this problem exists today? Why is this important?

so far from what I have seen, the file picker lists several image formats, and the upload flow has image-specific handling, including HEIC/HEIF conversion. It is not obvious from the contributor guidance which picker-listed formats are actually supported throughout upload, or whether audio and video uploads are available. I have seen some of the existing issues about audio uploads (#4208), video uploads (#4), and file-type validation (#6651) suggest this information would help set expectations and guide future work.

Who will benefit from it?

Users and contributors

Anything else you would like to add?

No response

joeMba avatar Oct 16 '26 13:10 joeMba

There are two pickers within the app. Do both have the issue? Can you list file formats that are shown and should not be shown because the app can't upload them? Thanks!

nicolas-raoul avatar Oct 16 '26 14:10 nicolas-raoul

2. There are two pickers within the app. Do both have the issue? Can you list file formats that are shown and should not be shown because the app can't upload them? Thanks!

Yeah sure lemme do check it out microscopically.

joeMba avatar Oct 16 '26 14:10 joeMba

2. There are two pickers within the app. Do both have the issue? Can you list file formats that are shown and should not be shown because the app can't upload them? Thanks!

Yes, both pickers have the issue.

The Android system picker lists JPG/JPEG, PNG, GIF, TIFF, WebP, XCF, SVG, HEIC and HEIF. The in-app picker lists JPG/JPEG, PNG, SVG, GIF, TIFF, WebP and XCF.

GIF and WebP are confirmed as unsupported based on the proposed changes in #6651. TIFF and XCF are also listed by both pickers but are not included in that proposed supported-format list, so I haven’t confirmed yet whether they actually fail during upload. HEIC/HEIF are handled through conversion to JPEG.

Since the goal is to document the supported media types accurately, I think it would be best to verify TIFF and XCF before listing them as unsupported. Any thoughts?? Thanks 🙏

joeMba avatar Oct 16 '26 14:10 joeMba

Thanks for the great research! Do you want to create a pull request for this?

nicolas-raoul avatar Oct 17 '26 01:10 nicolas-raoul

5. Thanks for the great research! Do you want to create a pull request for this?

Yes, I’d be happy to do so. Thank you!

I plan to verify the TIFF and XCF behavior first, then document the supported formats and upload limitations based on what I find.

One question: where would you prefer the documentation to live? For example, in CONTRIBUTING.md, commons-app-documentation repo, a separate file under docs/, or the project wiki?

joeMba avatar Oct 18 '26 05:10 joeMba

Hi! I’m interested in contributing to this issue. Would it be okay if I also work on it?

taskeen-zahra avatar Oct 18 '26 15:10 taskeen-zahra

Hello @zrtaskeen-dot, thanks for your interest in the issue! I’ve already made some progress on it, but if you’re interested in contributing, you could take a look at #6651, as it’s also related to this issue.

Thanks again, and feel free to let me know if you need any help with it.

joeMba avatar Oct 18 '26 17:10 joeMba

7. > 5. Thanks for the great research! > Do you want to create a pull request for this?

Yes, I’d be happy to do so. Thank you!
I plan to verify the TIFF and XCF behavior first, then document the supported formats and upload limitations based on what I find.
One question: where would you prefer the documentation to live? For example, in CONTRIBUTING.md,  commons-app-documentation repo, a separate file under docs/, or the project wiki?

Hello @nicolas-raoul! kindly requesting for your guidance on the question regarding where the documentation should be(CONTRIBUTING.md, commons-app-documentation repo), Thanks, always.

joeMba avatar Oct 19 '26 20:10 joeMba

Here is how I've implemented this:

  1. Created a supported-media-type.md under android (in commons-app-documentaion) and linked it to other files for easier navigation.
  2. Upon merging, we can link it to the app documentation as well. Do you think this approach is the best way to implement this? Thanks !

joeMba avatar Oct 20 '26 13:10 joeMba

Opened PR fixing this issue, feel free to check it out right here

joeMba avatar Oct 20 '26 17:10 joeMba

Documentation: Can you add a section at https://commons-app.github.io/docs.html#additional-features about supported upload formats? It is a different repository so it will be a different PR, just add links between each other. Thanks!

nicolas-raoul avatar Oct 21 '26 05:10 nicolas-raoul

Noted with thanks @nicolas-raoul! Lemme adjust ASAP.

joeMba avatar Oct 21 '26 05:10 joeMba

hello @nicolas-raoul! the PR is ready as requested. Thanks!

joeMba avatar Oct 21 '26 10:10 joeMba