Attachement Preview / Viewer
Is your feature request related to a problem? Please describe.
No
Describe the solution you'd like
To generate a preview when you hover over a attachment.
Also to have the option to view the attachment in the browser verses downloading it and using locally installed software.
This would be a great feature for sensitive attachments as they would NOT need to be stored locally to be viewed. Would also be great when viewing attachments on systems that don't belong to the user.
Describe alternatives you've considered
Download file and use local software
Additional context
No response
How is this different to the existing integration with Viewer where you can view images, videos and PDFs in place?
Morning @ChristophWurst,
So at the moment (unless I am missing an extension) the only options in mail are to "Download Attachment" or "Save to Files".
What I am suggesting is, when you hover over the attachment for a second+ a preview of the attachment is opened (hover modal), and if you lets say double click the attachment it opens a preview in a new tab (no downloading or saving).
Install and enable the viewer and files_pdfviewer apps, then try again pls
Viewer is already installed...
And files_pdfviewer app does not work...
Says it hasn't been touched in 6 years
Tested again: With viewer enabled and files_pdfviewer cloned and enabled (this package is now included in the server package therefore not available in the store).
Tested with: Image, PDF, Plain Text File, and Spread Sheet File
Test results:
- Clicking on Image or PDF does show preview viewer on top of mail app with content.
- Clicking on Plain Text File, and Spread Sheet File does NOT show any preview
Possible improvements:
- Hovering over a file could show larger preview in modal that does not need to be closed (x). (Like the image from the desktop client above) This would make it easier to find which file is relevant to save, edit or fully read/review.
- Double clicking a file could open the file in a new tab with the appropriate editor/viewer. This would make it easier to open files needed to be referenced without being saved, in communications, e.g. Commenting on changes need in contract or spreadsheet that is sent as an attachment. The contract/spreed sheet can be open in one tab for reference and the existing tab can be used to write the response.
@SebastianKrupinski could you put the two last suggestions into separate feature requests so we can close this one? Previews are supported and do work
@ChristophWurst
Done.
https://github.com/nextcloud/mail/issues/10289 https://github.com/nextcloud/mail/issues/10291