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
This ticket is to track and discuss the ground work of the implementation of the right sidebar.
This is mostly about implementing the namespaces and classes, and the ability to register panels.
So far, it would look like this:
files app implements the right sidebar
clicking a file triggers right sidebar
default detail view on top
tabs + public API to register tabs with name + DOM element for inside the panel
Since this is the files app, everything would be under the OCA.Files namespace.
Unless we want the sidebar to be reusable by other apps, in which case we need to have the code in core. I remember that @oparoz mentioned being interested in using the panel in the gallery app ?
Imho, as far as the design is concerned, Files is considered a reference implementation, so if you want apps to look integrated, then the GUI toolkit should be made available in a public API.
We'll need to find a way to make this API public.
I don't like it that apps would first need to do "OCA.Files.FileList.getDetailView().addTabView(...)", that's too cumbersome.
Activity
PVince81 commentedon Jul 15, 2015
Since this is the files app, everything would be under the
OCA.Filesnamespace.Unless we want the sidebar to be reusable by other apps, in which case we need to have the code in core. I remember that @oparoz mentioned being interested in using the panel in the gallery app ?
@DeepDiver1975 @blizzz @jancborchardt
oparoz commentedon Jul 15, 2015
Imho, as far as the design is concerned, Files is considered a reference implementation, so if you want apps to look integrated, then the GUI toolkit should be made available in a public API.
PVince81 commentedon Jul 15, 2015
I started here: #17656
We'll need to find a way to make this API public.
I don't like it that apps would first need to do "OCA.Files.FileList.getDetailView().addTabView(...)", that's too cumbersome.
PVince81 commentedon Aug 10, 2015
Raised #18170 to make it usable by other apps in different contexts.