{"action":"created","issue":{"url":"https://api.github.com/repos/devtools-html/debugger.html/issues/6052","repository_url":"https://api.github.com/repos/devtools-html/debugger.html","labels_url":"https://api.github.com/repos/devtools-html/debugger.html/issues/6052/labels{/name}","comments_url":"https://api.github.com/repos/devtools-html/debugger.html/issues/6052/comments","events_url":"https://api.github.com/repos/devtools-html/debugger.html/issues/6052/events","html_url":"https://github.com/devtools-html/debugger.html/pull/6052","id":316523972,"number":6052,"title":"[Sources] fix \"set directory root\" failure","user":{"login":"yalooong","id":23003064,"avatar_url":"https://avatars0.githubusercontent.com/u/23003064?v=4","gravatar_id":"","url":"https://api.github.com/users/yalooong","html_url":"https://github.com/yalooong","followers_url":"https://api.github.com/users/yalooong/followers","following_url":"https://api.github.com/users/yalooong/following{/other_user}","gists_url":"https://api.github.com/users/yalooong/gists{/gist_id}","starred_url":"https://api.github.com/users/yalooong/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yalooong/subscriptions","organizations_url":"https://api.github.com/users/yalooong/orgs","repos_url":"https://api.github.com/users/yalooong/repos","events_url":"https://api.github.com/users/yalooong/events{/privacy}","received_events_url":"https://api.github.com/users/yalooong/received_events","type":"User","site_admin":false},"labels":[{"id":731965110,"url":"https://api.github.com/repos/devtools-html/debugger.html/labels/pr-wip","name":"pr-wip","color":"d4c5f9","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-04-21T20:46:07Z","updated_at":"2018-04-23T18:56:16Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/devtools-html/debugger.html/pulls/6052","html_url":"https://github.com/devtools-html/debugger.html/pull/6052","diff_url":"https://github.com/devtools-html/debugger.html/pull/6052.diff","patch_url":"https://github.com/devtools-html/debugger.html/pull/6052.patch"},"body":"### Summary of Changes\r\n\r\nThis pull request is a fix to the two issues illustrated below.\r\nBoth of the issues related to \"Set directory root\" on the left panel of the debugger.\r\n\r\nIssue 1 - STR:\r\n1. Go to https://firefox-debugger-example-react-js.glitch.me/\r\n2. On the left panel, right click on \"Webpack\" folder and Click on \"Set directory root\"\r\n3. Then right click on \"app\" foler and Click on \"Set directory root\" ( notice the content is missing ).\r\n![kennugbuqh](https://user-images.githubusercontent.com/23003064/39088618-5b1fd458-4583-11e8-8407-c3e5a97280d2.gif)\r\n\r\nIssue 2 - STR:\r\n1. Go to https://davidwalsh.name/\r\n2. On the left panel, right click on \"davidwalsh.name\" and Click on \"Set directory root\"\r\n3. Then expand the subfolders; right click on \"libs\" and Click on \"Set directory root\" ( notice the content is missing ).\r\n![v5bvqw7akf](https://user-images.githubusercontent.com/23003064/39088620-5eed1de8-4583-11e8-9f0b-4c89dd6479d2.gif)\r\n"},"comment":{"url":"https://api.github.com/repos/devtools-html/debugger.html/issues/comments/383684614","html_url":"https://github.com/devtools-html/debugger.html/pull/6052#issuecomment-383684614","issue_url":"https://api.github.com/repos/devtools-html/debugger.html/issues/6052","id":383684614,"user":{"login":"yalooong","id":23003064,"avatar_url":"https://avatars0.githubusercontent.com/u/23003064?v=4","gravatar_id":"","url":"https://api.github.com/users/yalooong","html_url":"https://github.com/yalooong","followers_url":"https://api.github.com/users/yalooong/followers","following_url":"https://api.github.com/users/yalooong/following{/other_user}","gists_url":"https://api.github.com/users/yalooong/gists{/gist_id}","starred_url":"https://api.github.com/users/yalooong/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yalooong/subscriptions","organizations_url":"https://api.github.com/users/yalooong/orgs","repos_url":"https://api.github.com/users/yalooong/repos","events_url":"https://api.github.com/users/yalooong/events{/privacy}","received_events_url":"https://api.github.com/users/yalooong/received_events","type":"User","site_admin":false},"created_at":"2018-04-23T18:56:16Z","updated_at":"2018-04-23T18:56:16Z","author_association":"CONTRIBUTOR","body":"@darkwing I updated the code to fix the \"off by 1\" issue. Please check it out."}}
{"actor":{"display_login":"yalooong"}}