Skip to content

sharing dialog in modal #5873

Closed
Closed

Description

@simonruber

@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?

bildschirmfoto 2013-11-14 um 15 15 34
bildschirmfoto 2013-11-14 um 15 15 51
bildschirmfoto 2013-11-14 um 15 16 05

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.

bildschirmfoto 2013-11-14 um 15 16 16

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.

Activity

  1. DeepDiver1975 commented on Nov 14, 2013

    @DeepDiver1975
    Contributor
  2. jancborchardt commented on Nov 14, 2013

    @jancborchardt
    Contributor

    What do you think, Open Source Designers? @Franz-Kafka @GoSilla @Obstkuchen @YokoOh @cnylnk @dmkscr @flause @laburramuge @simonruber @sabrina12 @danielstelz

  3. YokoOh commented on Nov 14, 2013

    @YokoOh

    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.

  4. jancborchardt commented on Nov 14, 2013

    @jancborchardt
    Contributor

    Also cc @owncloud/designers

  5. MorrisJobke commented on Nov 14, 2013

    @MorrisJobke
    Contributor

    👍 Great work!

  6. tanghus commented on Nov 14, 2013

    @tanghus
    Contributor

    Thought not a designer, I wholeheartedly support this 👍

  7. PVince81 commented on Nov 15, 2013

    @PVince81
    Contributor

    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.

  8. jancborchardt commented on Nov 17, 2013

    @jancborchardt
    Contributor

    @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! :)

  9. schiessle commented on Nov 18, 2013

    @schiessle
    Contributor

    Looks really nice, great work!

    What I'm missing in the mockups:

    • sending a link-share by mail
    • the new "inform user/group about share my mail" option we added for OC6. But this might be integrated in the confirmation process?
    • how can I remove shares I created?
    • If the file was shared with me, how can I unshare the file from me? I think that's a feature we want to have again in OC7.

    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?

  10. removed this from the milestone on Jun 13, 2014
  11. jancborchardt commented on Feb 10, 2015

    @jancborchardt
    Contributor

    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.

  12. PVince81 commented on Feb 13, 2015

    @PVince81
    Contributor

    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.

    CC @rullzer

  13. PVince81 commented on Feb 13, 2015

    @PVince81
    Contributor

    @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.

  14. rullzer commented on Feb 13, 2015

    @rullzer
    Contributor

    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?

  15. PVince81 commented on Feb 13, 2015

    @PVince81
    Contributor

    @rullzer yes I think so. All apps working with file sharing (ex: gallery) should know what directory they are in.

  16. added this to the backlog milestone on Mar 2, 2015
  17. MorrisJobke commented on Mar 11, 2015

    @MorrisJobke
    Contributor

    Keep in mind to not redo stuff like #14787 for files ;)

  18. PVince81 commented on Jun 19, 2015

    @PVince81
    Contributor

    We might want to go with the alternative approach: right side bar #16308

    Also see #3224

  19. modified the milestones: , backlog on Jul 17, 2015
  20. jancborchardt commented on Sep 2, 2015

    @jancborchardt
    Contributor

    Closing as we are moving the share dialog to the right sidebar with the new version. See #3224 for any UX improvements left.

  21. locked as resolved and limited conversation to collaborators on Aug 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions