{"action":"created","issue":{"url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-eclipse-tools/issues/243","repository_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-eclipse-tools","labels_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-eclipse-tools/issues/243/labels{/name}","comments_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-eclipse-tools/issues/243/comments","events_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-eclipse-tools/issues/243/events","html_url":"https://github.com/GoogleCloudPlatform/gcloud-eclipse-tools/pull/243","id":160061493,"number":243,"title":"Add opt in dialog for user usage metric reporting","user":{"login":"chanseokoh","id":10523105,"avatar_url":"https://avatars.githubusercontent.com/u/10523105?v=3","gravatar_id":"","url":"https://api.github.com/users/chanseokoh","html_url":"https://github.com/chanseokoh","followers_url":"https://api.github.com/users/chanseokoh/followers","following_url":"https://api.github.com/users/chanseokoh/following{/other_user}","gists_url":"https://api.github.com/users/chanseokoh/gists{/gist_id}","starred_url":"https://api.github.com/users/chanseokoh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chanseokoh/subscriptions","organizations_url":"https://api.github.com/users/chanseokoh/orgs","repos_url":"https://api.github.com/users/chanseokoh/repos","events_url":"https://api.github.com/users/chanseokoh/events{/privacy}","received_events_url":"https://api.github.com/users/chanseokoh/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-eclipse-tools/labels/cla:%20yes","name":"cla: yes","color":"009800"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-06-13T22:45:52Z","updated_at":"2016-06-14T18:28:09Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-eclipse-tools/pulls/243","html_url":"https://github.com/GoogleCloudPlatform/gcloud-eclipse-tools/pull/243","diff_url":"https://github.com/GoogleCloudPlatform/gcloud-eclipse-tools/pull/243.diff","patch_url":"https://github.com/GoogleCloudPlatform/gcloud-eclipse-tools/pull/243.patch"},"body":"In relation to #138.\r\n\r\nAdded a new dialog class that recommends opting in for sending client-side usage metrics to Google. The dialog will be displayed at the top-right corner of the active workbench as shown below:\r\n\r\n![opt-in-pop-up](https://cloud.githubusercontent.com/assets/10523105/16025527/f626a94e-3195-11e6-89da-f78ab4d7dd86.png)\r\n\r\nThis PR only adds the class and relevant methods. A few other things need to be added further:\r\n- Display the dialog at the start of Eclipse (if not yet accepted or declined). Not sure how to do this though.\r\n- Create an entry in global settings so that users can later change the opt-in status through the settings UI."},"comment":{"url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-eclipse-tools/issues/comments/225972821","html_url":"https://github.com/GoogleCloudPlatform/gcloud-eclipse-tools/pull/243#issuecomment-225972821","issue_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-eclipse-tools/issues/243","id":225972821,"user":{"login":"chanseokoh","id":10523105,"avatar_url":"https://avatars.githubusercontent.com/u/10523105?v=3","gravatar_id":"","url":"https://api.github.com/users/chanseokoh","html_url":"https://github.com/chanseokoh","followers_url":"https://api.github.com/users/chanseokoh/followers","following_url":"https://api.github.com/users/chanseokoh/following{/other_user}","gists_url":"https://api.github.com/users/chanseokoh/gists{/gist_id}","starred_url":"https://api.github.com/users/chanseokoh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chanseokoh/subscriptions","organizations_url":"https://api.github.com/users/chanseokoh/orgs","repos_url":"https://api.github.com/users/chanseokoh/repos","events_url":"https://api.github.com/users/chanseokoh/events{/privacy}","received_events_url":"https://api.github.com/users/chanseokoh/received_events","type":"User","site_admin":false},"created_at":"2016-06-14T18:28:09Z","updated_at":"2016-06-14T18:28:09Z","body":"I converted it to a dialog with buttons and a caption. The actual UI will change ultimately with many iterations, but you can start reviewing the code at least."}}
{"actor":{"display_login":"chanseokoh"}}