Repository navigation
Description
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
nextcloud-bot commentedon Nov 1, 2018
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).
linucksrox commentedon Nov 2, 2018
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.
linucksrox commentedon Nov 2, 2018
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?
rullzer commentedon Nov 2, 2018
@linucksrox on 15 copy is no longer in the menu. And there is no checkbox anymore.
linucksrox commentedon Nov 2, 2018
@rullzer Ok, that makes more sense. I'll wait to see how things look after the next major upgrade.
jancborchardt commentedon Nov 2, 2018
@linucksrox Hahaha! Thank you, that made me smile! :)
@linucksrox Could you open separate issues for each of these pieces of feedback? Thanks a lot! :)
linucksrox commentedon Nov 2, 2018
No problemo π
19 remaining items
juliusknorr commentedon Sep 5, 2019
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):
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:
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
@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:

Additional permissions would then pile up under the Can delete, only if the shared mime type would support them of course.
jancborchardt commentedon Sep 5, 2019
Perfect @juliushaertl, thatβs exactly as described :) π
karlitschek commentedon Sep 5, 2019
Agreed. The additional setting entry is a good idea to hide the complexity
skjnldsv commentedon Sep 5, 2019
Awesome!
We'll do the change right after #15719 ! Should be fairly easy!
marcoambrosini commentedon Sep 5, 2019
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.
juliusknorr commentedon Sep 5, 2019
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?
enoch85 commentedon Sep 5, 2019
jancborchardt commentedon Sep 6, 2019
enoch85 commentedon Sep 6, 2019
skjnldsv commentedon Aug 9, 2024
I guess this can be closed now we redo-ed the sharing are in 28 !