Skip to content

[OC 10.0] Include multiple-link share capabilities on the sharing dialog #5655

Closed

Description

@SamuAlfageme

Since version 1.8, the client includes a sharing dialog that makes fast file/folder sharing available from the file explorer. Since then, many new sharing capabilities have been included to the server, the growing complexity calls for a redesign.

After the inclusion of multiple-link shares on OC 10.0 (owncloud/core#22327) the client could adapt to include this feature in the sharing file/folder dialog. Some options on how to implement this:

Option A. Redesign the sharing dialog with a more generic shared-link logic

List both user- and link- sharing in the same dialog

This respects the design already used in the sharing dialog:

... however, this many options make the dialog a bit overwhelming and confusing. Notice the inclusion of the permalink (#5023) button to copy the local link and the redistribution of the checkboxes in tables to make the layout cleaner and avoid issues like the change button that does nothing here:

Server-like design: separate in tabs

This would follow the same idea (list all the created links on a scrollable list) but applying the server's sidebar same approach: separate the two sections (currently done by a horizontal rule) in two tabs user- and link- sharing:

share_public links_tabs

This layout is the best way to further extend the information shown in the dialog (e.g. history, comments, etc...) if considered in the future.

Notice in the list view I've included 2 download buttons to try to address also #5627 and I've removed the hyperlinks everywhere from the mockups since with all the copy-link buttons these are no longer needed (indirectly solves #5626)

Option B. Hybrid solution

This would open the sharing dialog directly on the browser, abstracting all the sharing logic (both users and links) for a cleaner experience on the desktop. The reason to support this option would be the growing complexity on the dialog, having more and more information to edit and display:

  • Name of the custom link
  • Expiration date
  • Copy (Direct download link/In the context)
  • Option to delete
  • Option to share ...

Also, as internet connection is always required for all these actions, they can be delegated to the web-UI without much loss on the client side. My only reservation about this would be the focus on the webUI, since all the sharing options are displayed on the sidebar and not highlighted somehow to make obvious that the input is required there. Maybe this can be solved by directly opening the new modals introduced in the sharing workflow:

screenshot 2017-03-27 14 50 57

Again, as it happens for #5023, the best UX in this scenario can be achieved if this is carried out together with #633

cc/ @pmaier1

Activity

  1. added this to the 2.4.0 milestone on Mar 28, 2017
  2. SamuAlfageme commented on Mar 28, 2017

    @SamuAlfageme
    ContributorAuthor

    How I guess the cross-compatibility matrix should look:

    pre oC 10.x server oC 10.x+ server
    legacy Desktop client - display existing share(s) displays the only share Displays the first share
    legacy Desktop client - edit existing share(s) edits the only share Edits the fist share, note: #5658
    legacy Desktop client - delete existing share(s) delete the only share Deletes the fist share, behaves like a stack, see gif below
    future Desktop client - display existing share(s) displays the only share #5655 (comment)
    future Desktop client - add existing share(s) not allowed (button disabled) #5655 (comment)
    future Desktop client - edit existing share(s) edits the only share #5655 (comment)
    future Desktop client - delete existing share(s) deletes the only share #5655 (comment)

  3. pmaier1 commented on Apr 4, 2017

    @pmaier1

    Awesome, thanks for the work @SamuAlfageme, great stuff! I'm in favor of the server-like approach as it keeps the client UI reasonably clean and is consistent with the workflow in the webUI.
    Maybe some other opinions @michaelstingl @felixheidecke ?

  4. pmaier1 commented on Apr 4, 2017

    @pmaier1

    Regarding the permanent links: Not sure if there is another ticket yet but I think it should not be placed in the sharing dialog since it does not involve sharing in the first place. IMO it should be located in the right-click menu split into two actions:

    • View in browser
    • Copy link ('permanent/direct link' or just 'link'?; still not sure about wording :/)

    @michaelstingl

  5. pmaier1 commented on Apr 4, 2017

    @pmaier1

    Regarding the cross-compatibility matrix this looks perfect to me 👍
    (sry for spamming^)

  6. SamuAlfageme commented on Apr 4, 2017

    @SamuAlfageme
    ContributorAuthor

    @pmaier1 for the permalink, we have this one: #5023

  7. self-assigned this
    on Apr 4, 2017
  8. ckamm commented on Apr 4, 2017

    @ckamm
    Contributor

    I agree the server-like design looks nice and will take a look.

  9. ckamm commented on Apr 11, 2017

    @ckamm
    Contributor

    @pmaier1 @SamuAlfageme Pull request and images at: #5695, feedback is welcome.

  10. added
    ReadyToTest
    on Apr 26, 2017
  11. SamuAlfageme commented on Jun 20, 2017

    @SamuAlfageme
    ContributorAuthor

    Closing! The redesign is proving to be neat after some weeks of use. Will continue opening follow-up issues is something comes up.

    Awesome work @ckamm!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

ReadyToTestfeature:sharing

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions