Hello everyone! I’m here to discuss with you some improvements we can make to the bin management processes in XWiki.
Current situation 
Global Admin > Content > Deletion section
The only option is to set Yes/No to Skipping the bin (helpful, but we could do much more than this to be helpful to users)
Page Index > Deleted pages section
- There’s no bulk actions or selection capabilities (like restore/delete all, restore/delete some pages)
- There’s no linking between the Delete admin section and the list of deleted pages
- There’s no input search for Title (maybe this is just a version bug - 16.10.8)
Page Index > Deleted attachments section
- same as for deleted pages, but there’s also no possibility to restore a deleted attachment
Deleted pages & attachments redesign 
The redesign would be based mainly on introducing batch actions. Thus, it needs to be based on the global Batch Actions Proposal. Even if this linked proposal is around Live Data, UI decisions should be consistent in Live Table too. Obviously, if we plan to migrate all live tables to live data, then there’s no need to change the UI for live tables too.
Linking to Global Admin Delete section
It would be good to have a quick link to the administration section that concerns deletion where the user can set up automatic flows of deletion and stuff like that.
State 0 | No selected items
If the user didn’t selected anything, the batch actions would be hidden. The Administer bins action will be present regardless of the selection, but with a different style.
State 1 | Items selected
This is how the live data would looks like with the mentioned proposal’s ideas.
Clicking on any of the batch actions available in this screen would make a modal of confirmation appear.
Global Admin > Content > Delete | Section redesign
We introduce several new sections:
- A direct link to deleted pages and attachments
- Quick clean actions - we compute how much storage would the user get back if they cleaned all deleted items (pages and attachments separately)
- Automatic bin cleaning - we allow the user to set up an automation of cleaning the deleted data based on a set period of time.
We’d also change the name of “Can skip the recycle bin” to “Allow skipping the recycle bin” - we focus on the action that the user can perform, not on the items’ propriety of being able to do something.