nextcloud / mail

💌 Mail app for Nextcloud
https://apps.nextcloud.com/apps/mail
GNU Affero General Public License v3.0
832 stars 258 forks source link

Attachement Preview / Viewer #9929

Open SebastianKrupinski opened 1 month ago

SebastianKrupinski commented 1 month ago

Is your feature request related to a problem? Please describe.

No

Describe the solution you'd like

Attachment Preview

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

ChristophWurst commented 3 weeks ago

How is this different to the existing integration with Viewer where you can view images, videos and PDFs in place?

SebastianKrupinski commented 3 weeks ago

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).

ChristophWurst commented 3 weeks ago

Install and enable the viewer and files_pdfviewer apps, then try again pls

SebastianKrupinski commented 3 weeks ago

Viewer is already installed...

And files_pdfviewer app does not work...

image

Says it hasn't been touched in 6 years

image

SebastianKrupinski commented 3 weeks ago

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:

Possible improvements: