{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/vscode-pull-request-github/issues/171","repository_url":"https://api.github.com/repos/Microsoft/vscode-pull-request-github","labels_url":"https://api.github.com/repos/Microsoft/vscode-pull-request-github/issues/171/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/vscode-pull-request-github/issues/171/comments","events_url":"https://api.github.com/repos/Microsoft/vscode-pull-request-github/issues/171/events","html_url":"https://github.com/Microsoft/vscode-pull-request-github/issues/171","id":349415653,"node_id":"MDU6SXNzdWUzNDk0MTU2NTM=","number":171,"title":"Sticky comment affordances","user":{"login":"joaomoreno","id":22350,"node_id":"MDQ6VXNlcjIyMzUw","avatar_url":"https://avatars3.githubusercontent.com/u/22350?v=4","gravatar_id":"","url":"https://api.github.com/users/joaomoreno","html_url":"https://github.com/joaomoreno","followers_url":"https://api.github.com/users/joaomoreno/followers","following_url":"https://api.github.com/users/joaomoreno/following{/other_user}","gists_url":"https://api.github.com/users/joaomoreno/gists{/gist_id}","starred_url":"https://api.github.com/users/joaomoreno/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joaomoreno/subscriptions","organizations_url":"https://api.github.com/users/joaomoreno/orgs","repos_url":"https://api.github.com/users/joaomoreno/repos","events_url":"https://api.github.com/users/joaomoreno/events{/privacy}","received_events_url":"https://api.github.com/users/joaomoreno/received_events","type":"User","site_admin":false},"labels":[{"id":966208442,"node_id":"MDU6TGFiZWw5NjYyMDg0NDI=","url":"https://api.github.com/repos/Microsoft/vscode-pull-request-github/labels/upstream/vscode","name":"upstream/vscode","color":"fcd37b","default":false},{"id":976866493,"node_id":"MDU6TGFiZWw5NzY4NjY0OTM=","url":"https://api.github.com/repos/Microsoft/vscode-pull-request-github/labels/ux","name":"ux","color":"1d76db","default":false}],"state":"open","locked":false,"assignee":{"login":"rebornix","id":876920,"node_id":"MDQ6VXNlcjg3NjkyMA==","avatar_url":"https://avatars1.githubusercontent.com/u/876920?v=4","gravatar_id":"","url":"https://api.github.com/users/rebornix","html_url":"https://github.com/rebornix","followers_url":"https://api.github.com/users/rebornix/followers","following_url":"https://api.github.com/users/rebornix/following{/other_user}","gists_url":"https://api.github.com/users/rebornix/gists{/gist_id}","starred_url":"https://api.github.com/users/rebornix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rebornix/subscriptions","organizations_url":"https://api.github.com/users/rebornix/orgs","repos_url":"https://api.github.com/users/rebornix/repos","events_url":"https://api.github.com/users/rebornix/events{/privacy}","received_events_url":"https://api.github.com/users/rebornix/received_events","type":"User","site_admin":false},"assignees":[{"login":"rebornix","id":876920,"node_id":"MDQ6VXNlcjg3NjkyMA==","avatar_url":"https://avatars1.githubusercontent.com/u/876920?v=4","gravatar_id":"","url":"https://api.github.com/users/rebornix","html_url":"https://github.com/rebornix","followers_url":"https://api.github.com/users/rebornix/followers","following_url":"https://api.github.com/users/rebornix/following{/other_user}","gists_url":"https://api.github.com/users/rebornix/gists{/gist_id}","starred_url":"https://api.github.com/users/rebornix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rebornix/subscriptions","organizations_url":"https://api.github.com/users/rebornix/orgs","repos_url":"https://api.github.com/users/rebornix/repos","events_url":"https://api.github.com/users/rebornix/events{/privacy}","received_events_url":"https://api.github.com/users/rebornix/received_events","type":"User","site_admin":false}],"milestone":null,"comments":0,"created_at":"2018-08-10T08:05:50Z","updated_at":"2018-08-10T19:50:03Z","closed_at":null,"author_association":"MEMBER","body":"I cannot reliably reproduce but it has happened at least a couple times:\r\n\r\n1. Click the sidebar to add a new comment\r\n2. Cancel it with <kbd>Escape</kbd>\r\n\r\nThe comment affordance with the dot stays there, even though I didn't add any comments.\r\n\r\n<img width=\"242\" alt=\"screen shot 2018-08-10 at 10 03 46\" src=\"https://user-images.githubusercontent.com/22350/43946144-baa07b1e-9c84-11e8-9d6a-4270ce9fec8f.png\">\r\n"},"comment":{"url":"https://api.github.com/repos/Microsoft/vscode-pull-request-github/issues/comments/412187427","html_url":"https://github.com/Microsoft/vscode-pull-request-github/issues/171#issuecomment-412187427","issue_url":"https://api.github.com/repos/Microsoft/vscode-pull-request-github/issues/171","id":412187427,"node_id":"MDEyOklzc3VlQ29tbWVudDQxMjE4NzQyNw==","user":{"login":"rebornix","id":876920,"node_id":"MDQ6VXNlcjg3NjkyMA==","avatar_url":"https://avatars1.githubusercontent.com/u/876920?v=4","gravatar_id":"","url":"https://api.github.com/users/rebornix","html_url":"https://github.com/rebornix","followers_url":"https://api.github.com/users/rebornix/followers","following_url":"https://api.github.com/users/rebornix/following{/other_user}","gists_url":"https://api.github.com/users/rebornix/gists{/gist_id}","starred_url":"https://api.github.com/users/rebornix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rebornix/subscriptions","organizations_url":"https://api.github.com/users/rebornix/orgs","repos_url":"https://api.github.com/users/rebornix/repos","events_url":"https://api.github.com/users/rebornix/events{/privacy}","received_events_url":"https://api.github.com/users/rebornix/received_events","type":"User","site_admin":false},"created_at":"2018-08-10T19:50:03Z","updated_at":"2018-08-10T19:50:03Z","author_association":"MEMBER","body":"Reproduce steps for this issue\r\n\r\n* Create a new comment\r\n* Type in some characters to ensure that the comment textarea is not empty\r\n* Click on the gutter decoration\r\n* The comment widget is collapsed\r\n* Click on gutter area of another line\r\n* A new comment widget is being opened\r\n\r\nThe last step is the bug described above. Now I changed the behavior to\r\n\r\n* Click on gutter area of another line, we show a warning and ask users to submit the draft comment.\r\n\r\nIt's a workaround and we need to think about how we handle this case."}}
{"actor":{"display_login":"rebornix"}}