Skip to content

Share menu cleanup – we caught a case of feature-itis 🀧 #12178

Closed

Description

@jancborchardt

Done

  • Android
  • iOS
  • Desktop
  • Web UI

Looking at the share link menu: #11844 (comment)

We are again shoveling stuff into places during a cycle and at the end things look crowded. Right now the menu items are (yes in this order, should be done through my commit):

Current state

  • πŸ“‹ Copy link (outside of menu cause most important)

●●●

  • ✏ Allow editing
  • πŸ™ˆ Hide download
  • πŸ”’ Password protect
  • ⏱ Set expiration date
  • 🏷 Edit link label (only necessary as soon as multiple links exist, if at all)
  • πŸ—’ Note to recipient
  • πŸ—‘οΈ Delete share link
  • βž• Add another link (separated via border-top cause it has nothing to do with the current link)

Yes those are 9 options just for a link. Strange, right?


Evaluation

Now let’s look at the importance of these entries. Correct me if I’m wrong:

  • πŸ“‹ Copy link (outside of menu cause most important)

●●●

  • ✏ Allow editing: Important toggle!
  • πŸ™ˆ Hide download: Complete custom edgecase
  • πŸ”’ Password protect: We had it for long, but is it used often?
  • ⏱ Set expiration date: Same here: We had it for long, but is it used often?
  • 🏷 Edit link label: This has got to be most useless thing of them all. See below for more info
  • πŸ—’ Note to recipient: Custom thing, is it used?
  • πŸ—‘οΈ Delete share link: Pretty essential of course
  • βž• Add another link: Useful for people who want multiple links, but not essential.

Improvement

So basically we could make it a 2-step popover with:

  • πŸ“‹ Copy link (outside of menu cause most important)

●●●

  • ✏ View / Edit / Upload only: Show as toggle buttons in one row with icons.
  • βš™οΈ Additional settings: Expands on click to reveal all these additional things
  • πŸ—‘οΈ Delete share link: Pretty essential of course
  • βž• Add another link: Useful for people who want multiple links, but not essential.

For the user share menu:

  • πŸ“‹ Can edit (outside of menu cause most important)

●●●

  • πŸŽ‰ Can reshare
  • βš™οΈ Additional settings: Expands on click to reveal all these additional things
    • Can create (only for folder shares)
    • Can change (only for folder shares)
    • Can delete (only for folder shares)
    • Set expiration date
    • Note to recipient
  • πŸ—‘οΈ Unshare: Pretty essential of course

Now that’s a cleanup! 🧹

And people who really need the advanced stuff can reach it quickly. Also:

  • Any settings where the defaults were changed (like a password set) would be shown directly in the list already
  • Any settings which are enforced by the admin (like expiration date) would also be shown directly in the list

Addition on link "label"

Special section on the link label/name editing: We need to understand that manually naming links is just really unnecessary work no person should need to do.

We need to have sensible automatic link naming like for example:

  • Share link (read only)
  • Share link (editable)
  • Share link (editable, expires in 5 days)
  • Share link (editable, password-protected)

Because there are only so many setups you can have for the link. We already have a share note too, we could simply display the first sentence of that in a second row, if it’s there? That would already give a lot of context.

What do you think @nextcloud/designers @nextcloud/sharing

Activity

  1. added
    design
    1. to develop
    technical debt
    on Nov 1, 2018
  2. added this to the Nextcloud 16 milestone on Nov 1, 2018
  3. self-assigned this
    on Nov 1, 2018
  4. nextcloud-bot commented on Nov 1, 2018

    @nextcloud-bot
    Member

    GitMate.io thinks possibly related issues are #10230 (Feature/shares overview), #10467 (Reword share comment feature), #10750 ([Feature Request] Search in link-shared directories), #2836 (Error while link sharing), and #11898 (Feature/read only public share).

  5. linucksrox commented on Nov 2, 2018

    @linucksrox

    I just came here to the issue tracker to complain about this, but I'm glad to see you already recognize the craziness here! Most importantly, as you already said, the link to copy should not be hidden in the overflow menu. I just had a user ask why share link wasn't working, because it's not intuitive to have to click extra times to hunt for the link you're trying to create.

    Also I have a couple complaints about the expiration date. Most importantly, After opening the date picker and then clicking the left arrow to go back one month, the share link menu disappears and you lose context of what was happening, also making me unsure if the date I'm going to pick will actually save. The other small issue is the date format: I live in the US and we do dates backwards, month-day-year. This should ideally be a regional setting, or something, and I need this to show month-day-year instead of day-month-year because right now I set November 8, 2018 but it looks to us like August 11, 2018 if I didn't know any better.

  6. linucksrox commented on Nov 2, 2018

    @linucksrox

    Another comment: Do we need an option in the menu to "Delete Share Link" when we can simply uncheck the "Enable" box to make it go away? Why are there two different ways of doing the same thing?

  7. rullzer commented on Nov 2, 2018

    @rullzer
    Member

    @linucksrox on 15 copy is no longer in the menu. And there is no checkbox anymore.

  8. linucksrox commented on Nov 2, 2018

    @linucksrox

    @rullzer Ok, that makes more sense. I'll wait to see how things look after the next major upgrade.

  9. jancborchardt commented on Nov 2, 2018

    @jancborchardt
    MemberAuthor

    I just came here to the issue tracker to complain about this, but I'm glad to see you already recognize the craziness here!

    @linucksrox Hahaha! Thank you, that made me smile! :)

    Also I have a couple complaints about the expiration date. Most importantly, After opening the date picker and then clicking the left arrow to go back one month, the share link menu disappears and you lose context of what was happening, also making me unsure if the date I'm going to pick will actually save. The other small issue is the date format: I live in the US and we do dates backwards, month-day-year. This should ideally be a regional setting, or something, and I need this to show month-day-year instead of day-month-year because right now I set November 8, 2018 but it looks to us like August 11, 2018 if I didn't know any better.

    @linucksrox Could you open separate issues for each of these pieces of feedback? Thanks a lot! :)

  10. linucksrox commented on Nov 2, 2018

    @linucksrox

    No problemo πŸ™‚

  11. 19 remaining items

  12. added this to the Nextcloud 18 milestone on Jun 26, 2019
  13. juliusknorr commented on Sep 5, 2019

    @juliusknorr
    Member

    As discussed recently with @karlitschek and @jospoortvliet there are several use-cases where apps like Collabora or OnlyOffice could provide additional sharing permissions.

    OnlyOffice (https://api.onlyoffice.com/editors/config/document/permissions):

    • Can fill forms
    • Can review
    • Can comment
    • Can print (would be covered by hide download)
    • Can download (would be covered by hide download)
    • Can edit (would be covered by regular permissions)

    Collabora has quite fine granular options to set (DisableCopy, DisableExport, HidePrintOption, HideSaveOption, HideExportOption, UserCanWrite) but I think we do fine by just using our current hide download/read/write permissions for those. However in the future there also might be options similar to the ones in OnlyOffice.

    Edit: It should be possible for apps to limit the availability of permissions like https://api.onlyoffice.com/editors/faq/sharing

    Additional options that might be possible for link shares:

    • Watermark file (only makes sense for hide download links, as otherwise you can always just download the regular file), so I think it's fine to not expose this as an additional permission

    My proposal would be to allow apps adding custom permission flags that can either be true or false and then would be added to the additional settings

    βš™οΈ Additional settings: Expands on click to reveal all these additional things

    @jancborchardt @nextcloud/designers What do you think about that from a design perspective?

    I've also did some quick mockups to make the menu restructuring a bit clearer:
    image

    Additional permissions would then pile up under the Can delete, only if the shared mime type would support them of course.

  14. jancborchardt commented on Sep 5, 2019

    @jancborchardt
    MemberAuthor

    Perfect @juliushaertl, that’s exactly as described :) πŸ‘

  15. karlitschek commented on Sep 5, 2019

    @karlitschek
    Member

    Agreed. The additional setting entry is a good idea to hide the complexity

  16. skjnldsv commented on Sep 5, 2019

    @skjnldsv
    Member

    Awesome!
    We'll do the change right after #15719 ! Should be fairly easy!

  17. marcoambrosini commented on Sep 5, 2019

    @marcoambrosini
    Member

    Looks good, though the light gray background may conflict with the hover/focus behavior of the menu items. Maybe we should find another way to separate the expanded additional settings.

  18. juliusknorr commented on Sep 5, 2019

    @juliusknorr
    Member

    Looks good, though the light gray background may conflict with the hover/focus behavior of the menu items. Maybe we should find another way to separate the expanded additional settings.

    I agree, that was mainly to somehow indicate that the section has unfolded. @jenniferpiperek maybe you have a good idea here as well, since you came up with the nice hover/focus state improvements?

  19. enoch85 commented on Sep 5, 2019

    @enoch85
  20. jancborchardt commented on Sep 6, 2019

    @jancborchardt
    Author
  21. enoch85 commented on Sep 6, 2019

    @enoch85
  22. removed this from the Nextcloud 19 milestone on May 7, 2020
  23. skjnldsv commented on Aug 9, 2024

    @skjnldsv
    Member

    I guess this can be closed now we redo-ed the sharing are in 28 !

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

Metadata

Metadata

Assignees

Labels

1. to developclient: πŸ’» desktopclient: πŸ€–πŸ mobiledesignenhancementfeature: sharingregressiontechnical debt

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions