You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 23, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on Nov 23, 2026. It is now read-only.
As discussed with @pvincent:
Apps will be able to register a file-action for the default click (first come, first serve). We will also send the click action to the event-bus so other apps and plugins will be able to pick it up and do whatever as long as it doesn't interfere with the file-action itself.
Optionally, we can have multiple file-actions registered and let the user choose the default app as it's common in windows. (The preferred app should be saved to the user setting)
All those file-actions will also be available in the context-menu (right-click and the dot-dot-dot-menu)
@PVince81 Is there already a core API that exposes what actions are available for a file? (actions from core or apps)
Clients want to use this as well. Imagine a server app that shows up in the "three-dot-menu" in the web UI, but also in the "right-click-menu" of the desktop app for example. (would open the web UI with the selected app open in a defined state)
Apps will be able to register a file-action for the default click (first come, first serve).
I would not allow to change the behavior of the default action. I find this very confusing. Furthermore in case two apps register the default action: who wins?
Furthermore: registered actions can be rather heavy weigthed: collabore, only office, office online.
The fire of full actions on the backend system - we better not trigger that accidentially.
As discussed with @pvincent:
Apps will be able to register a file-action for the default click (first come, first serve). We will also send the click action to the event-bus so other apps and plugins will be able to pick it up and do whatever as long as it doesn't interfere with the file-action itself.
Optionally, we can have multiple file-actions registered and let the user choose the default app as it's common in windows. (The preferred app should be saved to the user setting)
All those file-actions will also be available in the context-menu (right-click and the dot-dot-dot-menu)
please take a look at the screenshots from #324 (comment)
It is possible to register multiple actions on a per-filetype basis since #356 is merged.
Apps can even provide custom icons for different filetypes e.g. office apps could provide different icons for their registered file extensions.
The app can additionally enable editing feature for it's own filetypes, so they will appear in ActionLauncher if you edit a file instead of just showing it; The App could react accordingly.
As discussed while UX workshop, other actions like share, rename, delete, etc. are not globally available, and therefore not exposed via 'phoenix app registration API'
So it seems, that all requirements of this issue are fulfilled.
I therefore take the liberty of closing this issue; please reopen it at any time if necessary.
Activity
PVince81 commentedon Aug 7, 2018
PVince81 commentedon Aug 10, 2018
some file actions will be about viewing and editing files, see #215
lordelix commentedon Aug 13, 2018
As discussed with @pvincent:
Apps will be able to register a file-action for the default click (first come, first serve). We will also send the click action to the event-bus so other apps and plugins will be able to pick it up and do whatever as long as it doesn't interfere with the file-action itself.
Optionally, we can have multiple file-actions registered and let the user choose the default app as it's common in windows. (The preferred app should be saved to the user setting)
All those file-actions will also be available in the context-menu (right-click and the dot-dot-dot-menu)
michaelstingl commentedon Sep 20, 2018
@PVince81 Is there already a core API that exposes what actions are available for a file? (actions from core or apps)
Clients want to use this as well. Imagine a server app that shows up in the "three-dot-menu" in the web UI, but also in the "right-click-menu" of the desktop app for example. (would open the web UI with the selected app open in a defined state)
/cc @ogoffart @felixboehm @labkode @moscicki
PVince81 commentedon Sep 20, 2018
The current core API is neither HTTP nor PHP. It's pure JS.
JS apps register actions and specify callbacks.
DeepDiver1975 commentedon Sep 24, 2018
I would not allow to change the behavior of the default action. I find this very confusing. Furthermore in case two apps register the default action: who wins?
Furthermore: registered actions can be rather heavy weigthed: collabore, only office, office online.
The fire of full actions on the backend system - we better not trigger that accidentially.
PVince81 commentedon Oct 12, 2018
file actions are somehow tied to the file list: ex trashbin has different actions
tempelgogo commentedon Nov 22, 2018
please take a look at the screenshots from #324 (comment)
PVince81 commentedon Nov 23, 2018
yes. the above is only the "open with" action.
there are other actions like "share", "rename", etc.
tempelgogo commentedon Jan 8, 2019
It is possible to register multiple actions on a per-filetype basis since #356 is merged.
Apps can even provide custom icons for different filetypes e.g. office apps could provide different icons for their registered file extensions.
The app can additionally enable editing feature for it's own filetypes, so they will appear in ActionLauncher if you edit a file instead of just showing it; The App could react accordingly.
As discussed while UX workshop, other actions like share, rename, delete, etc. are not globally available, and therefore not exposed via 'phoenix app registration API'
So it seems, that all requirements of this issue are fulfilled.
I therefore take the liberty of closing this issue; please reopen it at any time if necessary.
Show error instead of location (owncloud#149)