You need to mass restore ALL items from ClickUp Trash?
As an experienced developer, here are the steps to take this in your browser console (tricky! Be careful and test before!)
- Open ClickUp Trash page in your browser.
- Scroll down completely to lazy load all entries or repeat these steps.
- Inject jQuery into your browser console: https://stackoverflow.com/questions/7474354/include-jquery-in-the-javas…
- After reading and checking the script carefully execute this in your browser console (also ensure the element names and structure didn't change in the meantime:
// Open all toggles to access the restore link. This may need some time ... be patient ;)
jQuery('.cu-trash__list .cu-dropdown__toggle').each(function(){
jQuery(this).click();
});
// Trigger click on the restore link
var $items = jQuery('div.cu-dropdown_open').find('cu-dropdown-list-item:first')
console.log($items.length + ' items to restore');
// # Uncomment after your checks if you're 100% sure ;):
// $items.each(function(){
// if(jQuery(this).text().trim() == 'Restore'){
// jQuery(this).click();
// }
//});