Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(trashbin): Allow emptying trash #49171

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

feat(trashbin): Allow emptying trash #49171

wants to merge 2 commits into from

Conversation

Pytal
Copy link
Member

@Pytal Pytal commented Nov 8, 2024

Part of #5534

Summary

Adds a button to empty the trashbin.

image

The TODO requries more adjustments so it will be done separately.

Checklist

Signed-off-by: Christopher Ng <[email protected]>
const dialog = getDialogBuilder(t('files_trashbin', 'Confirm permanent deletion'))
.setSeverity(DialogSeverity.Warning)
// TODO Add note for groupfolders
.setText(t('files_trashbin', "Are you sure you want to permanently delete the items in deleted files? You can't undo this action."))
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The phrasing looks odd to me :)

Maybe something like:

Permanently delete all files and folders in the trash? This cannot be undone.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In the UI we call it "Deleted files" so this would be inconsistent, maybe we should change it to "Trash" or "Trash bin" everywhere @marcoambrosini?

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

Successfully merging this pull request may close these issues.

3 participants