Introduction to Asana bookmarklets

Update:

1 Like

Update:

2 Likes

Hi! Is there any way to toggle subtasks in timeline view? I don’t find the option allows me to do so when in that view currently.

Thanks in advance :slight_smile:

1 Like

Hello @ShunS . Great work done here, thank you :slight_smile: I find one bookmarklet particularly usefull in my case “Toggle subtask” but it does not appear to work anymore. After running it on a list view it just blinks for couple of times and then displays nothing. Occasionaly it manages to display expanded subtask but only as a placeholder “Loading more subtasks” without any content like subtask name loaded. Can you please confirm it is still working?

3 Likes

Hi @Maria_Nieto and @Adam_Garbiński, thank you for the feedback and I implemented the changes :slight_smile:

Update:

To use the updated versions, drag the latest bookmarklets from Asana Bookmarklets onto your bookmark bar :slight_smile:

5 Likes

Great–thanks, @ShunS!

1 Like

Thank you so much @ShunS! You are amazing! :mechanical_arm:

1 Like

Hi @ShunS, I wrote this bookmarklet to expand all the “Load more subtasks” button until all subtasks are loaded in a parent task:

javascript: (async function() {
let button;
while ((button = document.querySelector(‘.SubtaskGrid-loadMore’))) {
button.click();

    // Introduce a delay to allow new content to load
    await new Promise(resolve => setTimeout(resolve, 500)); // Adjust the delay if needed
}

})();

1 Like

Update:

Get the latest version from Asana Bookmarklets :slight_smile:


Thank you @Parker_Aldric_Mar for the contribution!
I confirm the following code works perfectly :sparkles:
I changed the curly quotes to straight ones.

javascript: (async function() {
	let button;
	while ((button = document.querySelector('.SubtaskGrid-loadMore'))) {
		button.click();
		await new Promise(resolve => setTimeout(resolve, 500));
	}
})();

However, I believe no action is easier than one click, so I’d still recommend the Asana Load More extension (installation steps) rather than adding your code to my bookmarklets list.

2 Likes

Hi,

The “toggle subtasks” function doesn’t seem to work when there are a lot of tasks—over 100. Any advice?

Thanks!