{"action":"created","issue":{"url":"https://api.github.com/repos/github/VisualStudio/issues/1787","repository_url":"https://api.github.com/repos/github/VisualStudio","labels_url":"https://api.github.com/repos/github/VisualStudio/issues/1787/labels{/name}","comments_url":"https://api.github.com/repos/github/VisualStudio/issues/1787/comments","events_url":"https://api.github.com/repos/github/VisualStudio/issues/1787/events","html_url":"https://github.com/github/VisualStudio/pull/1787","id":342795968,"node_id":"MDExOlB1bGxSZXF1ZXN0MjAyNjEyMDk5","number":1787,"title":"WIP: Refactored Clone Dialog","user":{"login":"grokys","id":1775141,"node_id":"MDQ6VXNlcjE3NzUxNDE=","avatar_url":"https://avatars1.githubusercontent.com/u/1775141?v=4","gravatar_id":"","url":"https://api.github.com/users/grokys","html_url":"https://github.com/grokys","followers_url":"https://api.github.com/users/grokys/followers","following_url":"https://api.github.com/users/grokys/following{/other_user}","gists_url":"https://api.github.com/users/grokys/gists{/gist_id}","starred_url":"https://api.github.com/users/grokys/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/grokys/subscriptions","organizations_url":"https://api.github.com/users/grokys/orgs","repos_url":"https://api.github.com/users/grokys/repos","events_url":"https://api.github.com/users/grokys/events{/privacy}","received_events_url":"https://api.github.com/users/grokys/received_events","type":"User","site_admin":true},"labels":[{"id":379338740,"node_id":"MDU6TGFiZWwzNzkzMzg3NDA=","url":"https://api.github.com/repos/github/VisualStudio/labels/WIP","name":"WIP","color":"1f7a7a","default":false}],"state":"open","locked":false,"assignee":{"login":"donokuda","id":1174461,"node_id":"MDQ6VXNlcjExNzQ0NjE=","avatar_url":"https://avatars0.githubusercontent.com/u/1174461?v=4","gravatar_id":"","url":"https://api.github.com/users/donokuda","html_url":"https://github.com/donokuda","followers_url":"https://api.github.com/users/donokuda/followers","following_url":"https://api.github.com/users/donokuda/following{/other_user}","gists_url":"https://api.github.com/users/donokuda/gists{/gist_id}","starred_url":"https://api.github.com/users/donokuda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/donokuda/subscriptions","organizations_url":"https://api.github.com/users/donokuda/orgs","repos_url":"https://api.github.com/users/donokuda/repos","events_url":"https://api.github.com/users/donokuda/events{/privacy}","received_events_url":"https://api.github.com/users/donokuda/received_events","type":"User","site_admin":true},"assignees":[{"login":"donokuda","id":1174461,"node_id":"MDQ6VXNlcjExNzQ0NjE=","avatar_url":"https://avatars0.githubusercontent.com/u/1174461?v=4","gravatar_id":"","url":"https://api.github.com/users/donokuda","html_url":"https://github.com/donokuda","followers_url":"https://api.github.com/users/donokuda/followers","following_url":"https://api.github.com/users/donokuda/following{/other_user}","gists_url":"https://api.github.com/users/donokuda/gists{/gist_id}","starred_url":"https://api.github.com/users/donokuda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/donokuda/subscriptions","organizations_url":"https://api.github.com/users/donokuda/orgs","repos_url":"https://api.github.com/users/donokuda/repos","events_url":"https://api.github.com/users/donokuda/events{/privacy}","received_events_url":"https://api.github.com/users/donokuda/received_events","type":"User","site_admin":true}],"milestone":{"url":"https://api.github.com/repos/github/VisualStudio/milestones/19","html_url":"https://github.com/github/VisualStudio/milestone/19","labels_url":"https://api.github.com/repos/github/VisualStudio/milestones/19/labels","id":3566080,"node_id":"MDk6TWlsZXN0b25lMzU2NjA4MA==","number":19,"title":"2.5.6","description":"","creator":{"login":"meaghanlewis","id":10103121,"node_id":"MDQ6VXNlcjEwMTAzMTIx","avatar_url":"https://avatars1.githubusercontent.com/u/10103121?v=4","gravatar_id":"","url":"https://api.github.com/users/meaghanlewis","html_url":"https://github.com/meaghanlewis","followers_url":"https://api.github.com/users/meaghanlewis/followers","following_url":"https://api.github.com/users/meaghanlewis/following{/other_user}","gists_url":"https://api.github.com/users/meaghanlewis/gists{/gist_id}","starred_url":"https://api.github.com/users/meaghanlewis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/meaghanlewis/subscriptions","organizations_url":"https://api.github.com/users/meaghanlewis/orgs","repos_url":"https://api.github.com/users/meaghanlewis/repos","events_url":"https://api.github.com/users/meaghanlewis/events{/privacy}","received_events_url":"https://api.github.com/users/meaghanlewis/received_events","type":"User","site_admin":true},"open_issues":2,"closed_issues":6,"state":"open","created_at":"2018-08-13T15:52:09Z","updated_at":"2018-09-10T11:59:59Z","due_on":"2018-10-01T07:00:00Z","closed_at":null},"comments":3,"created_at":"2018-07-19T16:11:37Z","updated_at":"2018-09-10T15:05:28Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/github/VisualStudio/pulls/1787","html_url":"https://github.com/github/VisualStudio/pull/1787","diff_url":"https://github.com/github/VisualStudio/pull/1787.diff","patch_url":"https://github.com/github/VisualStudio/pull/1787.patch"},"body":"Refactored the clone dialog, basing it initially on the clone dialog from desktop:\r\n\r\n## Features\r\n\r\n- Now uses GraphQL to load the list of repositories. This improves the load time of the list.\r\n- Separate GitHub and Enterprise tabs\r\n- A new \"Clone from URL\" tab\r\n\r\n## Screenshots\r\n\r\nParticularly the URL clone view needs some input from @donokuda.\r\n\r\n![image](https://user-images.githubusercontent.com/1775141/42955953-f86ffde6-8b7e-11e8-9670-4e6440bb2f1d.png)\r\n\r\n![image](https://user-images.githubusercontent.com/1775141/42955975-03fd9ab0-8b7f-11e8-8b18-a7e43dacb638.png)\r\n\r\n# Scopes\r\n\r\nGraphQL requires the `read:org` scope the access the user's repositories. This means that the user will have to log out and back in again to use the clone dialog. The following message will be shown in this case (needs input from @donokuda):\r\n\r\n![image](https://user-images.githubusercontent.com/1775141/45033603-4ae48880-b055-11e8-9c5c-475b322099e1.png)\r\n\r\n# Caveats\r\n\r\n- ~~You currently need to log out and back in because the GraphQL query needs the `read:org` scope which your previous login won't have. Need to implement a \"You need to log out and back in again\" flow in the dialog for this.~~ This is now implemented\r\n- ~~Only showing first 100 org repositories because of octokit/octokit.graphql.net#132~~ now fixed.\r\n\r\nDepends on #1761 \r\n\r\nCloses #1757"},"comment":{"url":"https://api.github.com/repos/github/VisualStudio/issues/comments/419946637","html_url":"https://github.com/github/VisualStudio/pull/1787#issuecomment-419946637","issue_url":"https://api.github.com/repos/github/VisualStudio/issues/1787","id":419946637,"node_id":"MDEyOklzc3VlQ29tbWVudDQxOTk0NjYzNw==","user":{"login":"meaghanlewis","id":10103121,"node_id":"MDQ6VXNlcjEwMTAzMTIx","avatar_url":"https://avatars1.githubusercontent.com/u/10103121?v=4","gravatar_id":"","url":"https://api.github.com/users/meaghanlewis","html_url":"https://github.com/meaghanlewis","followers_url":"https://api.github.com/users/meaghanlewis/followers","following_url":"https://api.github.com/users/meaghanlewis/following{/other_user}","gists_url":"https://api.github.com/users/meaghanlewis/gists{/gist_id}","starred_url":"https://api.github.com/users/meaghanlewis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/meaghanlewis/subscriptions","organizations_url":"https://api.github.com/users/meaghanlewis/orgs","repos_url":"https://api.github.com/users/meaghanlewis/repos","events_url":"https://api.github.com/users/meaghanlewis/events{/privacy}","received_events_url":"https://api.github.com/users/meaghanlewis/received_events","type":"User","site_admin":true},"created_at":"2018-09-10T15:05:28Z","updated_at":"2018-09-10T15:05:28Z","author_association":"CONTRIBUTOR","body":"hey @grokys im okay to leave the behavior the same when trying to clone a private repo while signed out of a GitHub account. This might just be an edge case and there is a workaround anyway to sign into the account first and then clone."}}
{"actor":{"display_login":"meaghanlewis"}}