That’s an interesting thought… unfortunately, I don’t think there’s a good way to pull that off in our app. Perhaps if you know that you’re expecting to get a comment with the task, you can pull up the information for the linked task from our API and display it in your extension?
I’m assuming that the polling you mention is to scrape or monitor the DOM in order to see if new links get added, then simulating a click on that link. Is that right? I think that’s unfortunately your best bet - and scraping is notoriously fickle and subject to breaking, so we don’t really recommend that as a super solid solution.
On the plus side, performance has been something we’ve been cranking on for over a year now, and a cold-load of Asana in full-screen or “focus” mode (such as would happen if you received a link to a task from an Asana email) is definitely one of the things we’re continuing to optimize.
A focus mode url is really simple to create: append a
/f to the url, and there you go. That is, if a link is of the format
https://app.asana.com/0/[projectid]/[taskid], to see it in focus mode, the url would be
https://app.asana.com/0/[projectid]/[taskid]/f. You should see something like a 25-50% increase in loading this page through setting
location.href to this url as compared to the non-focus mode, though of course focus mode means you wouldn’t see the task in context of its projects.
I’m also curious as to what your review process entails. Are you connecting Asana to an external app that creates this link, or is this done by one of your team? We always love to hear how people are using and customizing their workflows in order to prioritize API and integrations work, and it sounds like you guys might be building a pretty neat version of this. Cheers!