Server: If 3-dot menu only has one action, show that action directly

Created on 19 Sep 2016  路  16Comments  路  Source: nextcloud/server

For a folder which was shared via link without edit permissions, the 3-dot menu only shows the 禄Download芦 action. Instead of showing the menu we should directly show the download action where the 3-dot menu would be.

capture du 2016-09-19 19-37-20
(Screenshot from mobile)

cc @nextcloud/javascript @schiessle

design enhancement sharing good first issue papercut

Most helpful comment

@skjnldsv if u share a folder publicly, there is a three dot menu for each file with only one action: Download

We should show the download button instead

All 16 comments

@jancborchardt I don't mind taking this on.

@VagishVela awesome! :) Just go ahead, and you can simply open a pull request when you are done. If you need help either ask here or in the #nextcloud-dev channel on freenode IRC. :)

@VagishVela Still up for it?

@eppfel Yup. Apologies, it fell off my radar since it wasn't assigned to me.

@VagishVela mmm for some reason I can't assign you. But feel free to assign yourself

@VagishVela mmm for some reason I can't assign you. But feel free to assign yourself

Only contributors can be assigned ;)

@VagishVela Any progress on this? :)

Is this still up?

Feel free to pick up!

@rullzer hum, I don't think we use a one item popover in any location on nextcloud now. :)

@skjnldsv if u share a folder publicly, there is a three dot menu for each file with only one action: Download

We should show the download button instead

IMHO the only action which makes sense to be hidden behind a 3-dot menu (no matter if it is the only button or not) is the delete-button - especially at public shares, where the user can't access the trash bin! so it is very unlikely that you delete something by accident.

...but yes, hiding the download-button behind the 3-dot menu is completely senseless.

This will be integrated into the new vue component :)

@skjnldsv But does Files already make use of the vue component?

@georgehrke ongoing process :)
This issue was more like a general idea for other apps as well

Was this page helpful?
0 / 5 - 0 ratings