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
@jancborchardt
I think it would be a great improvement if the sharing dialog is not anymore in this tiny drop down menu.
To give it more space has the advantage, that we can display everything needed, in an acceptable format. But the biggest advantage could be, that we can start to use nearly similar share dialogs for every app. Also it would give you a better focus on the specific share task.
The file icon and the filename are displayed first, next to a clearly visible close button (cross)
The next point is the file owner, which is really important for anyone to know. (for e.g. if permissions are missing etc.)
The actual share dialog is put in an scrollbox with the searchbar on top.
For files, the user has just two different choices. Edit and create. The delete issue is going to be dicussed at #5858 .
The "share link" and "set expiration date" checkboxes are as now, just optional.
The sharing has to be confirmed
What do you think about this concept?
for a folder the dialog would look nearly the same, but with little difference from the one for files.
The difference would be mainly, the user permissions. Here for folders a dropdown would do the trick for us and you could decide about the create issue.
The share dialog for events / calendar could be nearly similar and I can post my ideas to this if you want me to do so.
over all its a nice interface but i just think that the 'can edit/share' and the checkboxes can be done even more simple and catchier. i thought of just using the words "share" and "edit". having them both in the color blue as an active/chosen state as default and if not chosen/inactive they would be grey. but im not sure if this could led to confusion and i dont have any other suggestions in mind atm.
I think one thing you need to consider is that a file/folder is already shared.
In that case the popup would open again with the user list pre-populated and the "Share" button should become "Save sharing settings" or something similar.
@DeepDiver1975 @schiesbn @MTRichards is there anything missing in these mockups? I think they are a great base for the sharing dialog we should look at in the coming ownCloud 7 cycle.
We need to move to the modal for 8.1 so we can use the sharing dialog elsewhere too. For example the file detail view, and make it look properly in the Gallery.
As discussed on IRC: the core/js/share.php code is super messy and it would take too long to beat it into shape.
Proposed plan:
Write a new ShareDialog class that contains the new dialog:
make it use the OCS share endpoints instead of "ajax/*"
use handlebars for templates
it needs to be callable from any app
has to be unit-testable with JS Unit Tests
Once the dialog exists and works, we can wire it to the files app first
If the dialog works well, then rewire "OC.Share.showDropDown()" to use the dialog instead, if technically possible (that's the function already used by other apps)
This way if the dialog isn't finished, we can still switch back to the dropdown.
Goal is to move forward with the dialog.
So I started working on this. However I need some input:
The OCS API uses paths to obtain shares. However the ajax calls us file id's. Now this is not a big deal because we make the apps call the function with paths. I assume that the fill path is present in all apps working with the files/dirs?
Activity
DeepDiver1975 commentedon Nov 14, 2013
@butonic
jancborchardt commentedon Nov 14, 2013
What do you think, Open Source Designers? @Franz-Kafka @GoSilla @Obstkuchen @YokoOh @cnylnk @dmkscr @flause @laburramuge @simonruber @sabrina12 @danielstelz
YokoOh commentedon Nov 14, 2013
over all its a nice interface but i just think that the 'can edit/share' and the checkboxes can be done even more simple and catchier. i thought of just using the words "share" and "edit". having them both in the color blue as an active/chosen state as default and if not chosen/inactive they would be grey. but im not sure if this could led to confusion and i dont have any other suggestions in mind atm.
jancborchardt commentedon Nov 14, 2013
Also cc @owncloud/designers
MorrisJobke commentedon Nov 14, 2013
👍 Great work!
tanghus commentedon Nov 14, 2013
Thought not a designer, I wholeheartedly support this 👍
PVince81 commentedon Nov 15, 2013
Nice one.
I think one thing you need to consider is that a file/folder is already shared.
In that case the popup would open again with the user list pre-populated and the "Share" button should become "Save sharing settings" or something similar.
jancborchardt commentedon Nov 17, 2013
@DeepDiver1975 @schiesbn @MTRichards is there anything missing in these mockups? I think they are a great base for the sharing dialog we should look at in the coming ownCloud 7 cycle.
@simonruber @sabrina12 awesome work! :)
schiessle commentedon Nov 18, 2013
Looks really nice, great work!
What I'm missing in the mockups:
Additionally to the owner it could be useful to also display from whom the file was shared to me.
To discuss:
Do we want to extend the expire date to make it possible to set the expire date per share instead of per file/folder?
jancborchardt commentedon Feb 10, 2015
We need to move to the modal for 8.1 so we can use the sharing dialog elsewhere too. For example the file detail view, and make it look properly in the Gallery.
PVince81 commentedon Feb 13, 2015
As discussed on IRC: the core/js/share.php code is super messy and it would take too long to beat it into shape.
Proposed plan:
This way if the dialog isn't finished, we can still switch back to the dropdown.
Goal is to move forward with the dialog.
CC @rullzer
PVince81 commentedon Feb 13, 2015
@jancborchardt can you address the points from @schiesbn #5873 (comment) ?
Work can still start on this: some ground work needs to be done to provide the necessary dialog / classes.
rullzer commentedon Feb 13, 2015
So I started working on this. However I need some input:
The OCS API uses paths to obtain shares. However the ajax calls us file id's. Now this is not a big deal because we make the apps call the function with paths. I assume that the fill path is present in all apps working with the files/dirs?
PVince81 commentedon Feb 13, 2015
@rullzer yes I think so. All apps working with file sharing (ex: gallery) should know what directory they are in.
MorrisJobke commentedon Mar 11, 2015
Keep in mind to not redo stuff like #14787 for files ;)
PVince81 commentedon Jun 19, 2015
We might want to go with the alternative approach: right side bar #16308
Also see #3224
jancborchardt commentedon Sep 2, 2015
Closing as we are moving the share dialog to the right sidebar with the new version. See #3224 for any UX improvements left.