nextcloud / server

☁️ Nextcloud server, a safe home for all your data
https://nextcloud.com
GNU Affero General Public License v3.0
27.43k stars 4.07k forks source link

Add empty trash button #5534

Open andreasjacobsen93 opened 7 years ago

andreasjacobsen93 commented 7 years ago

It would be nice with a function to empty the trash from the web interface.

Right now you have to do it for every file manually or click the checkbox at top, this could be more obvious with a 'Empty trash' button, which could also warn about the result of doing so.

MarkusH1975 commented 6 years ago

Yes please! Please add a 'Empty trash' button

Following would be helpful in addition:

MarkusH1975 commented 6 years ago

I just found some settings in the config.php. Is it possible to add this settings in the admin area webinterface?

https://docs.nextcloud.com/server/12/admin_manual/configuration_server/config_sample_php_parameters.html#deleted-items-trash-bin

as well for the "versions_retention_obligation"

Thanks, Markus

feutl commented 4 years ago

I just found some settings in the config.php. Is it possible to add this settings in the admin area webinterface?

https://docs.nextcloud.com/server/12/admin_manual/configuration_server/config_sample_php_parameters.html#deleted-items-trash-bin

as well for the "versions_retention_obligation"

Thanks, Markus

Which is not working correctly if you are using groupfolders, like mentioned here: https://github.com/nextcloud/groupfolders/issues/99#issuecomment-552940389 https://github.com/nextcloud/groupfolders/issues/464 https://github.com/nextcloud/groupfolders/issues/345

sorbaugh commented 1 month ago

We need to define how this would behave when deleting groupfolders from the Trashbin. Discussing with the Files Team, an idea would be to add a warning when deleting things would impact the trashbin of other users. Alternatively, we decide to simply delete the user-owned stuff.

cc @marcoambrosini

marcoambrosini commented 1 month ago

@sorbaugh I think we could always display a warning dialog, regardless of whether it impacts other users or not. And in case it does, we could show a message that mentions it. I'm also wondering if it would be more appropriate to show this message upon deletion of the group-folder instead of when emptying the thrash bin

MacOS example:

Screenshot 2024-09-27 at 09 56 46
sorbaugh commented 1 month ago

@Pytal, some notes:

@marcoambrosini currently we don't know where to best show this button. Any ideas from design?

marcoambrosini commented 1 month ago

We currently have the breadcrumb component there, and a "New" button too We could remove both of them and just place a heading and the empty thrash button

j-lakeman commented 1 month ago

Is the breadcrumb component the Deleted files writing plus the trash can icon? I'd leave that for orientation TBH. Wouldn't it make sense to just replace the anyway greyed out New by empty trash?

Pytal commented 1 month ago

Is the breadcrumb component the Deleted files writing plus the trash can icon? I'd leave that for orientation TBH. Wouldn't it make sense to just replace the anyway greyed out New by empty trash?

I agree. Sound good @marcoambrosini?