Skip to content

Design forward: Sharing dialog #3224

Closed
Closed

Description

@jancborchardt

Some thoughts on how to improve sharing which @MTRichards and I discussed. @MTGap what do you think? We should collaborate on that soon to make sharing more awesome.

Share dialog in general

  • input field should have suggestions directly, maybe use Chosen.js
  • more padding, bigger in general, better grouping (I’ll do that ;)
  • show name, »can edit« and »can share« and x directly (edit & share default on)
  • line up detail CRUD dropdown as list with »can edit«, default all selected
  • in the future user images on the left of each row

img_1609

Share via email

  • currently goes through share with link, too cumbersome
  • should be integrated in the one field on top: »Share with user or email«
  • show email in list like username [email protected], only action is x
  • future: generate unique link per email address so revocation on a per-person basis is possible

img_1610
-- separation here --

Share link

  • rename from »share public link«
  • input box next to label
  • »password protect« slightly indented maybe, or group it somehow

-- separation here --
img_1611

Expiration date

  • ability to set date and time (only granular to hours)
  • make impossible to choose date in past, minimum 1 hour in future
  • show countdown as feedback (only granular to hours)
  • admin ability to set default expiration time (default: expiration completely disabled)

More thoughts?

Activity

  1. MTGap commented on May 11, 2013

    @MTGap
    Contributor

    The only one I have issue with is:

    input field should have suggestions directly, maybe use Chosen.js

    This used to be how it was, but it was a huge performance hit for large user bases. Even with retrieving a few users at a time would have performance issues because of trying to sort them in the list.

    You should know at least part of the name of the person you want to share with.

  2. pschichtel commented on May 11, 2013

    @pschichtel

    I'd prefer to have a proper modal dialog instead of a dropdown menu

  3. tuxick commented on May 15, 2013

    @tuxick

    Allow implicitly sharing all files in (a) shared folder, ideally even avoid confusion where user finds 'his' files in home while others see it in shared/.

    Regarding Chosen.js: logic suggests you first get to choose a group, not individual user(s).
    Current implementation/dialog is close to useless, it even expects users to know name of the group they're in themselves, which is not shown anywhere. This IF user understands he's supposed/allowed to enter group name there at all.

    In 5.0.6 the entire file rights dialog/structure seems to be missing, so hoping this will get fixed soon.

  4. Contex commented on May 21, 2013

    @Contex

    I'm curious to why the file rights dialog was removed, it's one of the main reasons I use ownCloud.

  5. karlitschek commented on May 21, 2013

    @karlitschek
    Contributor

    @Contex Which dialog are you referring to exactly? I'm not aware of a removed dialog

  6. Contex commented on May 21, 2013

    @Contex

    @karlitschek I was referring to the share dialog from OC 4.5.
    I previously used OC 4.5, and there was an option to give groups a "can edit" permission under the share dialog.

    I haven't found a similar option in OC 5, and I searched quite a bit too, I'm therefore under assumption that this dialog item was removed in OC 5.

    I'm stuck with the message "You don't have write permissions here.", is there anything that could be done with this?

  7. Contex commented on May 21, 2013

    @Contex

    @karlitschek @tuxick Scratch that, I just realized it's still there, you just have to hover over the group/user after you've added them to the share list.
    Sorry about that.

  8. tuxick commented on May 22, 2013

    @tuxick

    oh great, that was well hidden :) used to classic html form/js dialogs :)

  9. jancborchardt commented on May 22, 2013

    @jancborchardt
    ContributorAuthor

    Yes, sorry for the confusion. This will be more clearly with the redesign, not necessitating any hovering.

    But please, open separate issues for such feedback. This thread is for design planning.

  10. brmnHH commented on Jul 11, 2013

    @brmnHH

    I have a question and a suggestion regarding the sharing design.

    Why is it not possible to rename a file/folder that s.o. shared directly with me, but a file/folder that is located in a shared folder?
    This possibility would be useful when several users shared folders with generic names like "Pictures" with you.
    As renaming is not possible right now, you have to click on the sharing dialog of each folder to look for a shared folder of a certain User .
    What do you think about putting this info to the file list? I think most users have enough space on their screens and one would save many clicks.

  11. jancborchardt commented on Jul 11, 2013

    @jancborchardt
    ContributorAuthor

    @brmnHH thank you for the question – this issue is only for the sharing dialog design though, not for other functionality. It is a valid point though, can I ask you to open a separate issue for that (for the renaming)?

    Regarding who the original owner is, yes we will put that in the file list.

  12. brmnHH commented on Jul 11, 2013

    @brmnHH

    Great! Happy to hear, that you will add that.

    I opened a new issue: #4028

  13. dustingraham commented on Oct 11, 2013

    @dustingraham

    Found my way here while searching Google for a way to force a default value in the expiration date for links. It looks like this is planned, but not in place yet. For anyone else who may stumble upon this, I've got a fairly simple solution which worked for me.

    In /core/js/share.js (copied to my theme folder of course) in the change handler for the link checkbox, I added this code.

    // Force Expiry
    var fortnightAway = new Date(+new Date + 12096e5);
    OC.Share.showExpirationDate([
        fortnightAway.getDate(),
        fortnightAway.getMonth()+1,
        fortnightAway.getFullYear()].join('-')
    );
    
    // Trigger the change handler to save this expiration date.
    $(document).find('#dropdown #expirationDate').change();
    

    What this does is when they initially click the "share link" box, it will automatically check the expires box, and set a date 2 weeks in the future. This encourages use of this feature, while allowing users to still uncheck it if needed.

    (The handler is around line 540 $(document).on('change', '#dropdown #linkCheckbox', function() {)

  14. jerrac commented on Jan 15, 2014

    @jerrac
    Contributor

    I showed a new user the share dialog in 6.0.0a today. A few things came up.

    • He seemed to think he could specify someone in the "Share with user or group ..." field, then the share link would only work for that person.
      • Maybe make the border between the share link div and the rest more obvious?
    • It was unclear if the expiration date applied to all the shared features or not. As in, when it hits, do users in the "Share with user or group ..." field lose access, or does just the link expire?
      • Maybe change "Set expiration date" to "Set expiration date for all shares"?
    • He also had issues figuring out that the share applied as soon as he clicked something. He kept looking for a save button.
      • Maybe add a "changes saved" message to the top of the dialog?
  15. tripflex commented on Jan 17, 2014

    @tripflex
    Contributor

    I would say a js timeout on dropdown or notification as mentioned above. At least something to give the confirmation (dropdown rollup, notification, etc) ... most users figure it out but i've had a few just sit there waiting for something :)

  16. Ewoxx commented on Jan 30, 2014

    @Ewoxx

    I would love if you could change the default permissions when sharing file or folder.
    The admin should be able to set the default to maybe share without edit and that the user have to chose the edit and later on delete permissions.

  17. MTRichards commented on Jan 30, 2014

    @MTRichards
    Contributor

    Being able to configure all the sharing settings with default values would be really cool. I hear that a lot, like default to use passwords or expirations, default to just read only, etc.

  18. jancborchardt commented on Jan 31, 2014

    @jancborchardt
    ContributorAuthor

    Yeah, we could add these configurable defaults to the sharing admin settings.

  19. added this to the milestone on Mar 17, 2015
  20. MorrisJobke commented on Mar 27, 2015

    @MorrisJobke
    Contributor

    This will also fix #3224

  21. PVince81 commented on Jul 15, 2015

    @PVince81
    Contributor

    The first mock up looks strangely very close to what we already have.
    Also many of the defaults that have been discussed have been implemented already, and also the expiration date selection limits.

    This ticket should probably be reformulated to only include what is left to implement.

    • permissions dropdown
    • set expiration time ?
    • countdown
    • default sharing permissions
    • dropdown for suggestions ?
  22. PVince81 commented on Jul 15, 2015

    @PVince81
    Contributor

    Ticket for moving the share dialog into the sidebar: #17665

  23. jancborchardt commented on Sep 15, 2015

    @jancborchardt
    ContributorAuthor

    Pretty much everything in the spec has been implemented. Except the integration of sharing with email addresses. But as discussed with @karlitschek in the past this could lead to confusion with federated sharing.

    At least this giant issue should be closed. ;)

  24. Rocco83 commented on Sep 25, 2016

    @Rocco83

    Hi,

    "future: generate unique link per email address so revocation on a per-person basis is possible"
    In which issue is addressed? for what i have checked is still not a merged feature.
    I have got that it is waiting on #22327, is this correct?

    @jancborchardt any comment?

  25. lock commented on Aug 3, 2019

    @lock

    This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

  26. locked as resolved and limited conversation to collaborators on Aug 3, 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