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

easy mass deletion #179

Open
ThomasWaldmann opened this issue Sep 18, 2018 · 3 comments
Open

easy mass deletion #179

ThomasWaldmann opened this issue Sep 18, 2018 · 3 comments

Comments

@ThomasWaldmann
Copy link
Contributor

currently it is not easy to delete many, selected items:

  • in the list view, when clicking on delete button, list afterwards jumps upward to the start and you need to scroll down again and find the place again where you were deleting stuff

  • when using middle mouse button to open (many) item views (to avoid above issue), you need to click on "delete" in the item view and confirm again in the "are you sure?" dialogue box

this should be easier, to make it less tedious for the paste admin to clean up.

@MoonlightWave-12
Copy link
Contributor

The usual, modern way for handling that would be something like this:

Add a "Select files"-button (or a "Modify files"-button) to a fixed place in the view of a list, so that it can be easily accessed even when scrolling down far.
Activating it would allow to (de)select multiple files, and show both "Delete"-, and "(Un)lock"-buttons near the "Select files"-button.

For selecting the files, either add a checkbox (that is large enough for touchscreens) next to every file-entry while "Select files" is on; or make the whole entry (except for the space occupied by other buttons) clickable/tappable to (de)select it.

The "Delete"-, and "(Un)lock"-buttons would then ask for confirmation, before applying the change; or alternatively, allow one to "undo" it (actually just a cancellable countdown until the chosen action happens) for a short time (usually about 5-10 seconds) after clicking/tapping it.

The "Delete"-, and "(Un)lock"-buttons next to every entry could then be removed while "Select files" is off (or even when on), to keep the UI simple, and prevent one from accidentally deleting files while scrolling through the list on a (smartphone-)touchscreen.


One could also add more options to such a selection-system, without cluttering the UI while it is not needed; examples:

@ThomasWaldmann
Copy link
Contributor Author

Yeah, guess this needs somebody who implements that. :-)

@MoonlightWave-12
Copy link
Contributor

Yeah, guess this needs somebody who implements that. :-)

Yup. :)

Other ideas:

  • An option to delete all the files mentioned in a Bepasty-list along with the list.
    Maybe as a button, or a checkbox, in the confirmation-dialog?

  • A simpler version of what i mentioned before:

  1. Always show checkboxes next to entries in a listing when logged in as a user who can delete or (un)lock files.
  2. Add "delete"-, "lock"-, and "unlock"-buttons at the top, next to the other buttons, which delete or (un)lock all selected files.
    Before deleting files, it should ask for confirmation.

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

No branches or pull requests

2 participants