-
Notifications
You must be signed in to change notification settings - Fork 55
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
feat: enable viewer for image/emf #2065
Conversation
Add support for image/emf files through a generated preview. Signed-off-by: Daniel Kesselberg <[email protected]>
What happens if the files_emfviewer app is not installed or the preview provider not enalbed? does it show an error or just bug out? |
The default behaviour (for unsupported files) will be enabled: Files will just be downloaded when clicking on them. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested and works.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Works!
The trick is to compile the frontend code so the changes are actually active 😎
suspicious how CI passes with outdated files?
|
The JS files are built and pushed automatically #1982 |
cypress is sad. restart doesn't help much |
most recent commits on master as just as red as the cypress runs here. I think we can merge 😎 |
For nextcloud/files_emfviewer#1
Add support for image/emf files through a generated preview.
The actual implementation, to generate a preview image, will be provided via app or server.