Optimize when repository permalink query is fired
The following discussion from !189208 (merged) should be addressed:
-
@jerasmus started a discussion: (+1 comment) nit(non-blocking): right now this will make a request to the backend the user navigates into a new directory. I wonder if there's a way to fire this query only when it's needed (keyboard shortcut is pressed or Copy permalink button is clicked).