[Feature]: Document supported media types and upload limitations
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
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!
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.
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 🙏
Thanks for the great research! Do you want to create a pull request for this?
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?
Hi! I’m interested in contributing to this issue. Would it be okay if I also work on it?
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.
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.
Here is how I've implemented this:
- Created a supported-media-type.md under android (in commons-app-documentaion) and linked it to other files for easier navigation.
- 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 !
Opened PR fixing this issue, feel free to check it out right here
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!
Noted with thanks @nicolas-raoul! Lemme adjust ASAP.
hello @nicolas-raoul! the PR is ready as requested. Thanks!