-
Notifications
You must be signed in to change notification settings - Fork 263
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
Open attachments with the viewer app #2225
Comments
@skjnldsv do it! |
No! 😁 More seriously, it will require a new api to be able to open the viewer differently than from a dav endpoint :) |
Maybe caching could help? Another idea for how this caching could be implemented is, that when opening the first attached file, this and all other attached files from this one mail are cached in appdata and afterwards shown with the viewer app (during this time you just see the viewer app loading the file). |
Maybe @juliushaertl has some ideas to share on this topic? |
The viewer also won't work with appdata in its current state, just for files that are located in the user directory (though webdav) Also we cannot just expose appdata as not all files in there should be available to all users. |
Then maybe they should get cached for each user in his/her user folder: |
IMO we should rather make the viewer more versatile so it can also work with arbitrary (local and/or from an URL) data than doing some other hacks. Then it will be a lot easier to integrate in other apps as well. |
Agree :) I'm concern about trying to support two technologies in the viewer. Not sure about having this dual dav/array thing 🤔 |
@skjnldsv doesn't DAV provide this anyway? So you can abstract it on top as a Map and then have providers (like DAV) which would fill in all the data. |
Would the viewer work for mail attachments as soon as #2064 is implemented? |
No, #2064 won't change anything on the front-end. |
Or that require some stuff to be adapted from the viewer and dav endpoint 🤔 |
Can someone elaborate? |
Feature Request
It would be really nice beeing able to open attachments with the viewer app.
Summary
Now that nextcloud/viewer#271 is implemented this could be consideres imo.
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
The text was updated successfully, but these errors were encountered: