File Preview
Nobody has claimed this yet.
- Dominant language
- Swift
- Stars
- 251
- Forks
- 142
- Avg merge
- 2d 17h
- Merged PRs (30d)
- 3
Description
This issue intends to be an epic to discuss about the way to preview downloaded files
Issues to take in account:
-
Security: for files like MS Office ones or web can execute macros or js pointing to malicious targets (phising attacks etc...)... using WKWebView as in https://github.com/owncloud/ios/pull/1046
-
Pics: the point here is using or not a preview in "streaming" mode (caching the image in less resolution instead of downloading it) to save both bandwidth and storage. For images / animated gifs, setting a Gallery mode should be a must.
-
Edition mode: currently available for txt files, embedded in preview mode.
-
Operations in preview mode: apart of preview the file, some shortcuts can be provided (thinking in the future), like deleting, sharing, downloading, set as available offline (always synced), send...
-
Video: streaming for secured connections
-
Audio: streaming for secured connections
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No files, tests, or entry points are named. Start by mapping the existing downloaded-file preview flow and reviewing the WKWebView approach linked in the issue, then clarify which concerns are in scope. Done requires an agreed preview design covering security, images, text editing, operations, video, and audio.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ios, swift
- Domain
- mobile-dev, security
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100