-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Allow setting multiple default file actions #39541
Conversation
💥 Acceptance tests pipeline webUIFileActionsMenu-chrome-mariadb10.2-php7.4 failed. The build has been cancelled. |
cf77f7b
to
60f59d5
Compare
💥 Acceptance tests pipeline apiProxySmoke-8-3-mariadb10.2-php7.4 failed. The build has been cancelled. |
The changes look more "drastic" than they actually are. Many of the things that were introduced with #38132 have been rolled back.
As discussed with @pmaier1 we'd like to have this in 10.9. |
Is there a combination of apps that we can use to test this, without having OnlyOffice installed? |
Gallery and Medaviewer should work. They both register their actions as default for images. |
Kudos, SonarCloud Quality Gate passed! |
I guess that this is docs relevant... |
Thx for the hint, I created owncloud/docs#4439. It needs some groundwork first, I'll take care as this is quite technical. |
Description
This change allows a mime type to have multiple default file actions. In the past, registering an action as default would overwrite existing defaults.
In case multiple file actions apply to a mime type, clicking on a file will show the app drawer context menu.
This approach allows apps to control where their actions will be displayed and is also more clean than the old and confusing
getActionsWithoutAll
method.Related Issue
Types of changes
Checklist: