{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/vscode/issues/38848","repository_url":"https://api.github.com/repos/Microsoft/vscode","labels_url":"https://api.github.com/repos/Microsoft/vscode/issues/38848/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/vscode/issues/38848/comments","events_url":"https://api.github.com/repos/Microsoft/vscode/issues/38848/events","html_url":"https://github.com/Microsoft/vscode/issues/38848","id":275602667,"number":38848,"title":"Explorer: folders are expanded only later","user":{"login":"bpasero","id":900690,"avatar_url":"https://avatars3.githubusercontent.com/u/900690?v=4","gravatar_id":"","url":"https://api.github.com/users/bpasero","html_url":"https://github.com/bpasero","followers_url":"https://api.github.com/users/bpasero/followers","following_url":"https://api.github.com/users/bpasero/following{/other_user}","gists_url":"https://api.github.com/users/bpasero/gists{/gist_id}","starred_url":"https://api.github.com/users/bpasero/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bpasero/subscriptions","organizations_url":"https://api.github.com/users/bpasero/orgs","repos_url":"https://api.github.com/users/bpasero/repos","events_url":"https://api.github.com/users/bpasero/events{/privacy}","received_events_url":"https://api.github.com/users/bpasero/received_events","type":"User","site_admin":false},"labels":[{"id":301327312,"url":"https://api.github.com/repos/Microsoft/vscode/labels/file-explorer","name":"file-explorer","color":"c5def5","default":false},{"id":272689423,"url":"https://api.github.com/repos/Microsoft/vscode/labels/needs%20more%20info","name":"needs more info","color":"708090","default":false},{"id":738780536,"url":"https://api.github.com/repos/Microsoft/vscode/labels/perf-startup","name":"perf-startup","color":"c5def5","default":false}],"state":"open","locked":false,"assignee":{"login":"isidorn","id":1926584,"avatar_url":"https://avatars2.githubusercontent.com/u/1926584?v=4","gravatar_id":"","url":"https://api.github.com/users/isidorn","html_url":"https://github.com/isidorn","followers_url":"https://api.github.com/users/isidorn/followers","following_url":"https://api.github.com/users/isidorn/following{/other_user}","gists_url":"https://api.github.com/users/isidorn/gists{/gist_id}","starred_url":"https://api.github.com/users/isidorn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/isidorn/subscriptions","organizations_url":"https://api.github.com/users/isidorn/orgs","repos_url":"https://api.github.com/users/isidorn/repos","events_url":"https://api.github.com/users/isidorn/events{/privacy}","received_events_url":"https://api.github.com/users/isidorn/received_events","type":"User","site_admin":false},"assignees":[{"login":"isidorn","id":1926584,"avatar_url":"https://avatars2.githubusercontent.com/u/1926584?v=4","gravatar_id":"","url":"https://api.github.com/users/isidorn","html_url":"https://github.com/isidorn","followers_url":"https://api.github.com/users/isidorn/followers","following_url":"https://api.github.com/users/isidorn/following{/other_user}","gists_url":"https://api.github.com/users/isidorn/gists{/gist_id}","starred_url":"https://api.github.com/users/isidorn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/isidorn/subscriptions","organizations_url":"https://api.github.com/users/isidorn/orgs","repos_url":"https://api.github.com/users/isidorn/repos","events_url":"https://api.github.com/users/isidorn/events{/privacy}","received_events_url":"https://api.github.com/users/isidorn/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/Microsoft/vscode/milestones/54","html_url":"https://github.com/Microsoft/vscode/milestone/54","labels_url":"https://api.github.com/repos/Microsoft/vscode/milestones/54/labels","id":2807623,"number":54,"title":"November 2017","description":"","creator":{"login":"isidorn","id":1926584,"avatar_url":"https://avatars2.githubusercontent.com/u/1926584?v=4","gravatar_id":"","url":"https://api.github.com/users/isidorn","html_url":"https://github.com/isidorn","followers_url":"https://api.github.com/users/isidorn/followers","following_url":"https://api.github.com/users/isidorn/following{/other_user}","gists_url":"https://api.github.com/users/isidorn/gists{/gist_id}","starred_url":"https://api.github.com/users/isidorn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/isidorn/subscriptions","organizations_url":"https://api.github.com/users/isidorn/orgs","repos_url":"https://api.github.com/users/isidorn/repos","events_url":"https://api.github.com/users/isidorn/events{/privacy}","received_events_url":"https://api.github.com/users/isidorn/received_events","type":"User","site_admin":false},"open_issues":85,"closed_issues":523,"state":"open","created_at":"2017-10-02T16:02:01Z","updated_at":"2017-12-04T22:43:58Z","due_on":null,"closed_at":null},"comments":2,"created_at":"2017-11-21T06:46:53Z","updated_at":"2017-12-04T22:44:18Z","closed_at":null,"author_association":"MEMBER","body":"I find it ugly that when I startup the explorer first shows collapsed and then expanded. Previously we always had everything expanded the way it was before without the extra step of first showing collapsed. \r\n\r\nShowing it right from the beginning if possible imho yields better visual performance and less slugginess. \r\n\r\n![before](https://user-images.githubusercontent.com/900690/33058521-445dfa5c-ce90-11e7-874e-7153bd53e9ad.gif)\r\n"},"comment":{"url":"https://api.github.com/repos/Microsoft/vscode/issues/comments/349131972","html_url":"https://github.com/Microsoft/vscode/issues/38848#issuecomment-349131972","issue_url":"https://api.github.com/repos/Microsoft/vscode/issues/38848","id":349131972,"user":{"login":"isidorn","id":1926584,"avatar_url":"https://avatars2.githubusercontent.com/u/1926584?v=4","gravatar_id":"","url":"https://api.github.com/users/isidorn","html_url":"https://github.com/isidorn","followers_url":"https://api.github.com/users/isidorn/followers","following_url":"https://api.github.com/users/isidorn/following{/other_user}","gists_url":"https://api.github.com/users/isidorn/gists{/gist_id}","starred_url":"https://api.github.com/users/isidorn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/isidorn/subscriptions","organizations_url":"https://api.github.com/users/isidorn/orgs","repos_url":"https://api.github.com/users/isidorn/repos","events_url":"https://api.github.com/users/isidorn/events{/privacy}","received_events_url":"https://api.github.com/users/isidorn/received_events","type":"User","site_admin":false},"created_at":"2017-12-04T22:44:18Z","updated_at":"2017-12-04T22:44:18Z","author_association":"CONTRIBUTOR","body":"@bpasero Ok looked a bit further into this and this is just how I designed the explorer during the ftp work.\r\nPrevious behavior: once all the roots are resolved we refresh the explorer and expand what is needed.\r\nNow: we resolve all in paralel and as the roots get resolved we refresh the tree and expand what is needed. The downside is the effect you are seeing, the upside is if you have one slow root the whole explorer does not lag from start.\r\n\r\nTo not overkill the tree with too many refreshes (not on the first one) we have a delayer of 100ms. I could potentially reduce this timeout but apart from that I am out of ideas.\r\n\r\nDo you have some recommendation here?"}}
{"actor":{"display_login":"isidorn"}}