{"action":"created","comment":{"url":"https://api.github.com/repos/influxdata/chronograf/pulls/comments/195846440","pull_request_review_id":129298123,"id":195846440,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDE5NTg0NjQ0MA==","diff_hunk":"@@ -0,0 +1,49 @@\n+import React, {PureComponent} from 'react'\n+\n+import {ErrorHandling} from 'src/shared/decorators/errors'\n+import FancyScrollbar from 'src/shared/components/FancyScrollbar'\n+\n+const LI_HEIGHT = 35\n+const LI_MARGIN_BOTTOM = 3\n+const RESULTS_TO_DISPLAY = 10\n+\n+interface Props {\n+  items: string[]\n+}\n+\n+@ErrorHandling\n+export default class TemplatePreviewList extends PureComponent<Props> {\n+  public render() {\n+    const {items} = this.props\n+\n+    return (\n+      <ul\n+        className=\"temp-builder-results--list\"\n+        style={{height: `${this.resultsListHeight()}px`}}\n+      >\n+        <FancyScrollbar>\n+          {items.map((db, i) => {\n+            return (\n+              <li\n+                key={i}\n+                style={{\n+                  height: `${LI_HEIGHT}px`,\n+                  marginBottom: `${LI_MARGIN_BOTTOM}px`,\n+                }}\n+              >\n+                {db}\n+              </li>\n+            )\n+          })}\n+        </FancyScrollbar>\n+      </ul>\n+    )\n+  }\n+\n+  private resultsListHeight() {","path":"ui/src/dashboards/components/TemplatePreviewList.tsx","position":null,"original_position":43,"commit_id":"f8218654025c29ba76771b3c9b7a323bba6d0906","original_commit_id":"ece5a324ff81fbea2b73356a980f81f03896d67a","user":{"login":"jaredscheib","id":6403018,"node_id":"MDQ6VXNlcjY0MDMwMTg=","avatar_url":"https://avatars1.githubusercontent.com/u/6403018?v=4","gravatar_id":"","url":"https://api.github.com/users/jaredscheib","html_url":"https://github.com/jaredscheib","followers_url":"https://api.github.com/users/jaredscheib/followers","following_url":"https://api.github.com/users/jaredscheib/following{/other_user}","gists_url":"https://api.github.com/users/jaredscheib/gists{/gist_id}","starred_url":"https://api.github.com/users/jaredscheib/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jaredscheib/subscriptions","organizations_url":"https://api.github.com/users/jaredscheib/orgs","repos_url":"https://api.github.com/users/jaredscheib/repos","events_url":"https://api.github.com/users/jaredscheib/events{/privacy}","received_events_url":"https://api.github.com/users/jaredscheib/received_events","type":"User","site_admin":false},"body":"👍 ","created_at":"2018-06-15T19:55:04Z","updated_at":"2018-06-15T19:55:04Z","html_url":"https://github.com/influxdata/chronograf/pull/3683#discussion_r195846440","pull_request_url":"https://api.github.com/repos/influxdata/chronograf/pulls/3683","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/influxdata/chronograf/pulls/comments/195846440"},"html":{"href":"https://github.com/influxdata/chronograf/pull/3683#discussion_r195846440"},"pull_request":{"href":"https://api.github.com/repos/influxdata/chronograf/pulls/3683"}},"in_reply_to_id":195611497},"pull_request":{"url":"https://api.github.com/repos/influxdata/chronograf/pulls/3683","id":195033685,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk1MDMzNjg1","html_url":"https://github.com/influxdata/chronograf/pull/3683","diff_url":"https://github.com/influxdata/chronograf/pull/3683.diff","patch_url":"https://github.com/influxdata/chronograf/pull/3683.patch","issue_url":"https://api.github.com/repos/influxdata/chronograf/issues/3683","number":3683,"state":"open","locked":false,"title":"Implement new UI for managing template variables","user":{"login":"chnn","id":638955,"node_id":"MDQ6VXNlcjYzODk1NQ==","avatar_url":"https://avatars0.githubusercontent.com/u/638955?v=4","gravatar_id":"","url":"https://api.github.com/users/chnn","html_url":"https://github.com/chnn","followers_url":"https://api.github.com/users/chnn/followers","following_url":"https://api.github.com/users/chnn/following{/other_user}","gists_url":"https://api.github.com/users/chnn/gists{/gist_id}","starred_url":"https://api.github.com/users/chnn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chnn/subscriptions","organizations_url":"https://api.github.com/users/chnn/orgs","repos_url":"https://api.github.com/users/chnn/repos","events_url":"https://api.github.com/users/chnn/events{/privacy}","received_events_url":"https://api.github.com/users/chnn/received_events","type":"User","site_admin":false},"body":"Closes #3631","created_at":"2018-06-14T22:21:32Z","updated_at":"2018-06-15T19:55:04Z","closed_at":null,"merged_at":null,"merge_commit_sha":"201c1c2edc3103cad4f5c2d91b6c88cf69a7b3a8","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/influxdata/chronograf/pulls/3683/commits","review_comments_url":"https://api.github.com/repos/influxdata/chronograf/pulls/3683/comments","review_comment_url":"https://api.github.com/repos/influxdata/chronograf/pulls/comments{/number}","comments_url":"https://api.github.com/repos/influxdata/chronograf/issues/3683/comments","statuses_url":"https://api.github.com/repos/influxdata/chronograf/statuses/f8218654025c29ba76771b3c9b7a323bba6d0906","head":{"label":"influxdata:new-template-vars-ui","ref":"new-template-vars-ui","sha":"f8218654025c29ba76771b3c9b7a323bba6d0906","user":{"login":"influxdata","id":5713248,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU3MTMyNDg=","avatar_url":"https://avatars2.githubusercontent.com/u/5713248?v=4","gravatar_id":"","url":"https://api.github.com/users/influxdata","html_url":"https://github.com/influxdata","followers_url":"https://api.github.com/users/influxdata/followers","following_url":"https://api.github.com/users/influxdata/following{/other_user}","gists_url":"https://api.github.com/users/influxdata/gists{/gist_id}","starred_url":"https://api.github.com/users/influxdata/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/influxdata/subscriptions","organizations_url":"https://api.github.com/users/influxdata/orgs","repos_url":"https://api.github.com/users/influxdata/repos","events_url":"https://api.github.com/users/influxdata/events{/privacy}","received_events_url":"https://api.github.com/users/influxdata/received_events","type":"Organization","site_admin":false},"repo":{"id":66506962,"node_id":"MDEwOlJlcG9zaXRvcnk2NjUwNjk2Mg==","name":"chronograf","full_name":"influxdata/chronograf","owner":{"login":"influxdata","id":5713248,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU3MTMyNDg=","avatar_url":"https://avatars2.githubusercontent.com/u/5713248?v=4","gravatar_id":"","url":"https://api.github.com/users/influxdata","html_url":"https://github.com/influxdata","followers_url":"https://api.github.com/users/influxdata/followers","following_url":"https://api.github.com/users/influxdata/following{/other_user}","gists_url":"https://api.github.com/users/influxdata/gists{/gist_id}","starred_url":"https://api.github.com/users/influxdata/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/influxdata/subscriptions","organizations_url":"https://api.github.com/users/influxdata/orgs","repos_url":"https://api.github.com/users/influxdata/repos","events_url":"https://api.github.com/users/influxdata/events{/privacy}","received_events_url":"https://api.github.com/users/influxdata/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/influxdata/chronograf","description":"Open source monitoring and visualization UI for the TICK stack","fork":false,"url":"https://api.github.com/repos/influxdata/chronograf","forks_url":"https://api.github.com/repos/influxdata/chronograf/forks","keys_url":"https://api.github.com/repos/influxdata/chronograf/keys{/key_id}","collaborators_url":"https://api.github.com/repos/influxdata/chronograf/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/influxdata/chronograf/teams","hooks_url":"https://api.github.com/repos/influxdata/chronograf/hooks","issue_events_url":"https://api.github.com/repos/influxdata/chronograf/issues/events{/number}","events_url":"https://api.github.com/repos/influxdata/chronograf/events","assignees_url":"https://api.github.com/repos/influxdata/chronograf/assignees{/user}","branches_url":"https://api.github.com/repos/influxdata/chronograf/branches{/branch}","tags_url":"https://api.github.com/repos/influxdata/chronograf/tags","blobs_url":"https://api.github.com/repos/influxdata/chronograf/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/influxdata/chronograf/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/influxdata/chronograf/git/refs{/sha}","trees_url":"https://api.github.com/repos/influxdata/chronograf/git/trees{/sha}","statuses_url":"https://api.github.com/repos/influxdata/chronograf/statuses/{sha}","languages_url":"https://api.github.com/repos/influxdata/chronograf/languages","stargazers_url":"https://api.github.com/repos/influxdata/chronograf/stargazers","contributors_url":"https://api.github.com/repos/influxdata/chronograf/contributors","subscribers_url":"https://api.github.com/repos/influxdata/chronograf/subscribers","subscription_url":"https://api.github.com/repos/influxdata/chronograf/subscription","commits_url":"https://api.github.com/repos/influxdata/chronograf/commits{/sha}","git_commits_url":"https://api.github.com/repos/influxdata/chronograf/git/commits{/sha}","comments_url":"https://api.github.com/repos/influxdata/chronograf/comments{/number}","issue_comment_url":"https://api.github.com/repos/influxdata/chronograf/issues/comments{/number}","contents_url":"https://api.github.com/repos/influxdata/chronograf/contents/{+path}","compare_url":"https://api.github.com/repos/influxdata/chronograf/compare/{base}...{head}","merges_url":"https://api.github.com/repos/influxdata/chronograf/merges","archive_url":"https://api.github.com/repos/influxdata/chronograf/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/influxdata/chronograf/downloads","issues_url":"https://api.github.com/repos/influxdata/chronograf/issues{/number}","pulls_url":"https://api.github.com/repos/influxdata/chronograf/pulls{/number}","milestones_url":"https://api.github.com/repos/influxdata/chronograf/milestones{/number}","notifications_url":"https://api.github.com/repos/influxdata/chronograf/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/influxdata/chronograf/labels{/name}","releases_url":"https://api.github.com/repos/influxdata/chronograf/releases{/id}","deployments_url":"https://api.github.com/repos/influxdata/chronograf/deployments","created_at":"2016-08-24T23:28:56Z","updated_at":"2018-06-15T17:41:52Z","pushed_at":"2018-06-15T19:50:40Z","git_url":"git://github.com/influxdata/chronograf.git","ssh_url":"git@github.com:influxdata/chronograf.git","clone_url":"https://github.com/influxdata/chronograf.git","svn_url":"https://github.com/influxdata/chronograf","homepage":"https://www.influxdata.com/time-series-platform/chronograf/","size":60300,"stargazers_count":662,"watchers_count":662,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":136,"mirror_url":null,"archived":false,"open_issues_count":666,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":136,"open_issues":666,"watchers":662,"default_branch":"master"}},"base":{"label":"influxdata:master","ref":"master","sha":"8b00523eb85bfd5345a9608233d30eb8dbd68a84","user":{"login":"influxdata","id":5713248,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU3MTMyNDg=","avatar_url":"https://avatars2.githubusercontent.com/u/5713248?v=4","gravatar_id":"","url":"https://api.github.com/users/influxdata","html_url":"https://github.com/influxdata","followers_url":"https://api.github.com/users/influxdata/followers","following_url":"https://api.github.com/users/influxdata/following{/other_user}","gists_url":"https://api.github.com/users/influxdata/gists{/gist_id}","starred_url":"https://api.github.com/users/influxdata/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/influxdata/subscriptions","organizations_url":"https://api.github.com/users/influxdata/orgs","repos_url":"https://api.github.com/users/influxdata/repos","events_url":"https://api.github.com/users/influxdata/events{/privacy}","received_events_url":"https://api.github.com/users/influxdata/received_events","type":"Organization","site_admin":false},"repo":{"id":66506962,"node_id":"MDEwOlJlcG9zaXRvcnk2NjUwNjk2Mg==","name":"chronograf","full_name":"influxdata/chronograf","owner":{"login":"influxdata","id":5713248,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU3MTMyNDg=","avatar_url":"https://avatars2.githubusercontent.com/u/5713248?v=4","gravatar_id":"","url":"https://api.github.com/users/influxdata","html_url":"https://github.com/influxdata","followers_url":"https://api.github.com/users/influxdata/followers","following_url":"https://api.github.com/users/influxdata/following{/other_user}","gists_url":"https://api.github.com/users/influxdata/gists{/gist_id}","starred_url":"https://api.github.com/users/influxdata/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/influxdata/subscriptions","organizations_url":"https://api.github.com/users/influxdata/orgs","repos_url":"https://api.github.com/users/influxdata/repos","events_url":"https://api.github.com/users/influxdata/events{/privacy}","received_events_url":"https://api.github.com/users/influxdata/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/influxdata/chronograf","description":"Open source monitoring and visualization UI for the TICK stack","fork":false,"url":"https://api.github.com/repos/influxdata/chronograf","forks_url":"https://api.github.com/repos/influxdata/chronograf/forks","keys_url":"https://api.github.com/repos/influxdata/chronograf/keys{/key_id}","collaborators_url":"https://api.github.com/repos/influxdata/chronograf/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/influxdata/chronograf/teams","hooks_url":"https://api.github.com/repos/influxdata/chronograf/hooks","issue_events_url":"https://api.github.com/repos/influxdata/chronograf/issues/events{/number}","events_url":"https://api.github.com/repos/influxdata/chronograf/events","assignees_url":"https://api.github.com/repos/influxdata/chronograf/assignees{/user}","branches_url":"https://api.github.com/repos/influxdata/chronograf/branches{/branch}","tags_url":"https://api.github.com/repos/influxdata/chronograf/tags","blobs_url":"https://api.github.com/repos/influxdata/chronograf/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/influxdata/chronograf/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/influxdata/chronograf/git/refs{/sha}","trees_url":"https://api.github.com/repos/influxdata/chronograf/git/trees{/sha}","statuses_url":"https://api.github.com/repos/influxdata/chronograf/statuses/{sha}","languages_url":"https://api.github.com/repos/influxdata/chronograf/languages","stargazers_url":"https://api.github.com/repos/influxdata/chronograf/stargazers","contributors_url":"https://api.github.com/repos/influxdata/chronograf/contributors","subscribers_url":"https://api.github.com/repos/influxdata/chronograf/subscribers","subscription_url":"https://api.github.com/repos/influxdata/chronograf/subscription","commits_url":"https://api.github.com/repos/influxdata/chronograf/commits{/sha}","git_commits_url":"https://api.github.com/repos/influxdata/chronograf/git/commits{/sha}","comments_url":"https://api.github.com/repos/influxdata/chronograf/comments{/number}","issue_comment_url":"https://api.github.com/repos/influxdata/chronograf/issues/comments{/number}","contents_url":"https://api.github.com/repos/influxdata/chronograf/contents/{+path}","compare_url":"https://api.github.com/repos/influxdata/chronograf/compare/{base}...{head}","merges_url":"https://api.github.com/repos/influxdata/chronograf/merges","archive_url":"https://api.github.com/repos/influxdata/chronograf/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/influxdata/chronograf/downloads","issues_url":"https://api.github.com/repos/influxdata/chronograf/issues{/number}","pulls_url":"https://api.github.com/repos/influxdata/chronograf/pulls{/number}","milestones_url":"https://api.github.com/repos/influxdata/chronograf/milestones{/number}","notifications_url":"https://api.github.com/repos/influxdata/chronograf/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/influxdata/chronograf/labels{/name}","releases_url":"https://api.github.com/repos/influxdata/chronograf/releases{/id}","deployments_url":"https://api.github.com/repos/influxdata/chronograf/deployments","created_at":"2016-08-24T23:28:56Z","updated_at":"2018-06-15T17:41:52Z","pushed_at":"2018-06-15T19:50:40Z","git_url":"git://github.com/influxdata/chronograf.git","ssh_url":"git@github.com:influxdata/chronograf.git","clone_url":"https://github.com/influxdata/chronograf.git","svn_url":"https://github.com/influxdata/chronograf","homepage":"https://www.influxdata.com/time-series-platform/chronograf/","size":60300,"stargazers_count":662,"watchers_count":662,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":136,"mirror_url":null,"archived":false,"open_issues_count":666,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":136,"open_issues":666,"watchers":662,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/influxdata/chronograf/pulls/3683"},"html":{"href":"https://github.com/influxdata/chronograf/pull/3683"},"issue":{"href":"https://api.github.com/repos/influxdata/chronograf/issues/3683"},"comments":{"href":"https://api.github.com/repos/influxdata/chronograf/issues/3683/comments"},"review_comments":{"href":"https://api.github.com/repos/influxdata/chronograf/pulls/3683/comments"},"review_comment":{"href":"https://api.github.com/repos/influxdata/chronograf/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/influxdata/chronograf/pulls/3683/commits"},"statuses":{"href":"https://api.github.com/repos/influxdata/chronograf/statuses/f8218654025c29ba76771b3c9b7a323bba6d0906"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"jaredscheib"}}