-
Notifications
You must be signed in to change notification settings - Fork 155
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
[full-ci] Support audio formats in MediaViewer
App & rename it to Preview
#6514
Conversation
Thanks for opening this pull request! The maintainers of this repository would appreciate it if you would create a changelog item based on your changes. |
Results for oC10Files4 https://drone.owncloud.com/owncloud/web/23221/19/1 |
Does this fix #5273? |
fc0c824
to
6e4d9a7
Compare
Results for oCISFiles2 https://drone.owncloud.com/owncloud/web/24530/56/1 |
Using mimetype categories turned out to be a bad idea as of now because we would need to put a lot of thought into usability edge cases (like falling back to raw images if they are small enough, ignoring files that are unsupported in browsers, ...)
For the preview app we don't want `Open in Preview` as a label for actions, but instead only `Preview` because that's already self explanatory. Introduced an optional `label` prop in app manifest per extension/mimeTye and used it for the preview app.
6e4d9a7
to
88a03ec
Compare
As noticed by @pascalwengerter opening |
MediaViewer
App && rename it to Preview
Turns out that this was not related to the file context but only happened if the current folder had a subfolder in it. Folders have |
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 like a charm!
848795b
to
73880ac
Compare
MediaViewer
App && rename it to Preview
MediaViewer
App & rename it to Preview
triggerDownload had a name clash with a custom global mixin. Also re-introduce webm support via preview.
1a337c0
to
82740a8
Compare
SonarCloud Quality Gate failed. |
Description
Renaming the mediaviewer app to
preview
and adding support for audio playback.Also added support for overwriting the label of an editor's "Open with" action so that we can display
Preview
instead ofOpen in Preview
.While renaming the mediaviewer to preview is a breaking change, I've added alias handling with deprecation warnings so that configuration changes can happen over time.
Related Issue
Motivation and Context
How Has This Been Tested?
Screenshots (if appropriate):
Types of changes
Checklist:
Open tasks:
Preview
Open in Preview
but onlyPreview
Preview
->eye