Skip to content

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

@jancborchardt

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions