{"action":"created","comment":{"url":"https://api.github.com/repos/dcos/dcos-ui/pulls/comments/88077586","pull_request_review_id":8662304,"id":88077586,"diff_hunk":"@@ -0,0 +1,222 @@\n+import React, {Component} from 'react';\n+import {Tooltip} from 'reactjs-components';\n+\n+import ContainerServiceFormSection from './ContainerServiceFormSection';\n+import FieldError from '../../../../../../src/js/components/form/FieldError';\n+import FieldHelp from '../../../../../../src/js/components/form/FieldHelp';\n+import FieldInput from '../../../../../../src/js/components/form/FieldInput';\n+import FieldLabel from '../../../../../../src/js/components/form/FieldLabel';\n+import {findNestedPropertyInObject} from '../../../../../../src/js/utils/Util';\n+import FormGroup from '../../../../../../src/js/components/form/FormGroup';\n+import MetadataStore from '../../../../../../src/js/stores/MetadataStore';\n+import Icon from '../../../../../../src/js/components/Icon';\n+import General from '../../reducers/serviceForm/General';\n+import VolumeConstants from '../../constants/VolumeConstants';\n+\n+const {MESOS, DOCKER} = VolumeConstants.type;\n+\n+const containerRuntimes = {\n+  [MESOS]: {\n+    label: <span>Universal Container Runtime</span>,\n+    helpText: 'Native container engine in Mesos using standard Linux features. Supports multiple containers (Pods) and GPU resources.'\n+  },\n+  [DOCKER]: {\n+    label: <span>Docker Engine</span>,\n+    helpText: 'Docker’s container runtime. No support for multiple containers (Pods) or GPU resources.'\n+  }\n+};\n+\n+const METHODS_TO_BIND = [\n+  'toggleAdvancedSettings'\n+];\n+\n+class GeneralServiceFormSection extends Component {\n+  constructor() {\n+    super(...arguments);\n+\n+    this.state = {\n+      showAdvancedSettings: false\n+    };\n+\n+    METHODS_TO_BIND.forEach((method) => {\n+      this[method] = this[method].bind(this);\n+    });\n+  }\n+\n+  toggleAdvancedSettings() {\n+    this.setState({showAdvancedSettings: !this.state.showAdvancedSettings});\n+  }\n+\n+  getContainerRuntime(data = {}, containerErrors = {}) {\n+    if (!this.state.showAdvancedSettings) {\n+      return null;\n+    }\n+\n+    let {container = {}, cmd, gpus} = data;\n+    let isDisabled = {};\n+    let disabledTooltipContent;\n+    let type = container.type || MESOS;\n+    let image = findNestedPropertyInObject(container, 'docker.image');\n+    // Single container with command and no image, disable 'DOCKER'\n+    if (cmd && !image) {\n+      isDisabled[DOCKER] = true;\n+      disabledTooltipContent = 'If you want to use Docker Engine you have to enter a container image, otherwise please select Universal Container Runtime.';\n+    }\n+\n+    // TODO: Handle GPUs\n+    if (gpus != null) {\n+      isDisabled[DOCKER] = true;\n+      disabledTooltipContent = 'Docker Engine does not support GPU resources, please select Universal Container Runtime if you want to use GPU resources.';\n+    }\n+\n+    let selections = Object.keys(containerRuntimes).map((runtimeName, index) => {\n+      let {helpText, label} = containerRuntimes[runtimeName];\n+      let field = (\n+        <FieldLabel className=\"text-align-left\" key={index}>\n+          <FieldInput\n+            checked={Boolean(type === runtimeName)}\n+            disabled={isDisabled[runtimeName]}\n+            name=\"container.type\"\n+            type=\"radio\"\n+            value={runtimeName} />\n+            {label}\n+          <FieldHelp>{helpText}</FieldHelp>\n+        </FieldLabel>\n+      );\n+\n+      // Wrap field in tooltip if disabled and content populated\n+      if (isDisabled[runtimeName] && disabledTooltipContent) {\n+        field = (\n+          <Tooltip\n+            content={disabledTooltipContent}\n+            interactive={true}\n+            key={index}\n+            maxWidth={300}\n+            scrollContainer=\".gm-scroll-view\"\n+            wrapText={true}>\n+            {field}\n+          </Tooltip>\n+        );\n+      }\n+\n+      return field;\n+    });\n+\n+    return (\n+      <div>\n+        <h3 className=\"short-top short-bottom\">\n+          {'Container Runtime '}\n+          <Tooltip\n+            content={\n+              <span>\n+                {'You can run Docker containers with both container runtimes. The Universal Container Runtime is better supported in DC/OS. '}\n+                <a href={MetadataStore.buildDocsURI('/usage/containerizers/')} target=\"_blank\">More information</a>.\n+              </span>\n+            }\n+            interactive={true}\n+            maxWidth={300}\n+            scrollContainer=\".gm-scroll-view\"\n+            wrapText={true}>\n+              <Icon color=\"grey\" id=\"ring-question\" size=\"mini\" family=\"mini\" />\n+          </Tooltip>\n+        </h3>\n+        <p>The container runtime is responsible for running your service. We support the Mesos and Docker containerizers.</p>\n+        <FormGroup showError={Boolean(containerErrors.type)}>\n+          {selections}\n+          <FieldError>{containerErrors.type}</FieldError>\n+        </FormGroup>\n+      </div>\n+    );\n+  }\n+\n+  getIDHelpBlock() {\n+    return (\n+      <span>\n+        {'Include the path to your service, if applicable. E.g. /dev/tools/my-service. '}\n+        <a href=\"https://mesosphere.github.io/marathon/docs/application-groups.html\" target=\"_blank\">\n+          More information\n+        </a>.\n+      </span>\n+    );\n+  }\n+\n+  render() {\n+    let {data, errors} = this.props;\n+    let advancedSettingsIcon = 'triangle-right';\n+    if (this.state.showAdvancedSettings) {\n+      advancedSettingsIcon = 'triangle-down';\n+    }\n+\n+    return (\n+      <div className=\"form flush-bottom\">\n+        <div className=\"form-row-element\">\n+          <h2 className=\"form-header flush-top short-bottom\">\n+            Services\n+          </h2>\n+          <p>\n+            Configure your service below. Start by giving your service a name.\n+          </p>\n+        </div>\n+\n+        <div className=\"flex row\">\n+          <FormGroup\n+            className=\"column-8\"\n+            required={true}\n+            showError={Boolean(errors.id)}>\n+            <FieldLabel>\n+              Service Name\n+            </FieldLabel>\n+            <FieldInput\n+              name=\"id\"\n+              type=\"text\"\n+              value={data.id} />\n+            <FieldHelp>{this.getIDHelpBlock()}</FieldHelp>\n+            <FieldError>{errors.id}</FieldError>\n+          </FormGroup>\n+\n+          <FormGroup\n+            className=\"column-4\"\n+            showError={Boolean(errors.instances)}>\n+            <FieldLabel>\n+              Instances\n+            </FieldLabel>\n+            <FieldInput\n+              name=\"instances\"\n+              min={0}\n+              type=\"number\"\n+              value={data.instances} />\n+            <FieldError>{errors.instances}</FieldError>\n+          </FormGroup>\n+        </div>\n+\n+        <p>\n+          <a onClick={this.toggleAdvancedSettings}>\n+            <Icon\n+              id={advancedSettingsIcon}\n+              color=\"purple\"\n+              family=\"mini\"\n+              size=\"mini\" />\n+            Advanced Service Settings\n+          </a>\n+        </p>","path":"plugins/services/src/js/components/forms/GeneralServiceFormSection.js","position":201,"original_position":201,"commit_id":"261259f9fc6695faef15c38c628cd13ba8aee938","original_commit_id":"261259f9fc6695faef15c38c628cd13ba8aee938","user":{"login":"jfurrow","id":1134755,"avatar_url":"https://avatars.githubusercontent.com/u/1134755?v=3","gravatar_id":"","url":"https://api.github.com/users/jfurrow","html_url":"https://github.com/jfurrow","followers_url":"https://api.github.com/users/jfurrow/followers","following_url":"https://api.github.com/users/jfurrow/following{/other_user}","gists_url":"https://api.github.com/users/jfurrow/gists{/gist_id}","starred_url":"https://api.github.com/users/jfurrow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jfurrow/subscriptions","organizations_url":"https://api.github.com/users/jfurrow/orgs","repos_url":"https://api.github.com/users/jfurrow/repos","events_url":"https://api.github.com/users/jfurrow/events{/privacy}","received_events_url":"https://api.github.com/users/jfurrow/received_events","type":"User","site_admin":false},"body":"Let's not use `p` tags for the spacing. We'll probably want to create a new component for this:\r\n![](https://cl.ly/2F0s200N1G0I/Screen%20Shot%202016-11-15%20at%2010.10.30%20AM.png)","created_at":"2016-11-15T18:11:21Z","updated_at":"2016-11-15T18:23:34Z","html_url":"https://github.com/dcos/dcos-ui/pull/1346#discussion_r88077586","pull_request_url":"https://api.github.com/repos/dcos/dcos-ui/pulls/1346","_links":{"self":{"href":"https://api.github.com/repos/dcos/dcos-ui/pulls/comments/88077586"},"html":{"href":"https://github.com/dcos/dcos-ui/pull/1346#discussion_r88077586"},"pull_request":{"href":"https://api.github.com/repos/dcos/dcos-ui/pulls/1346"}}},"pull_request":{"url":"https://api.github.com/repos/dcos/dcos-ui/pulls/1346","id":93259499,"html_url":"https://github.com/dcos/dcos-ui/pull/1346","diff_url":"https://github.com/dcos/dcos-ui/pull/1346.diff","patch_url":"https://github.com/dcos/dcos-ui/pull/1346.patch","issue_url":"https://api.github.com/repos/dcos/dcos-ui/issues/1346","number":1346,"state":"open","locked":false,"title":"Service create form single container base","user":{"login":"mlunoe","id":1097941,"avatar_url":"https://avatars.githubusercontent.com/u/1097941?v=3","gravatar_id":"","url":"https://api.github.com/users/mlunoe","html_url":"https://github.com/mlunoe","followers_url":"https://api.github.com/users/mlunoe/followers","following_url":"https://api.github.com/users/mlunoe/following{/other_user}","gists_url":"https://api.github.com/users/mlunoe/gists{/gist_id}","starred_url":"https://api.github.com/users/mlunoe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mlunoe/subscriptions","organizations_url":"https://api.github.com/users/mlunoe/orgs","repos_url":"https://api.github.com/users/mlunoe/repos","events_url":"https://api.github.com/users/mlunoe/events{/privacy}","received_events_url":"https://api.github.com/users/mlunoe/received_events","type":"User","site_admin":false},"body":"---\r\n~~⚠️ Needs this PR to function well: https://github.com/dcos/dcos-ui/pull/1345~~ Marged\r\n\r\n---\r\n\r\nThis PR introduces the single container view and reducers.\r\n\r\n![](https://cl.ly/2s3w1A2v3A0I/Screen%20Recording%202016-11-10%20at%2016.34.gif)\r\n\r\n~~The GPU field does nothing as of now. Had trouble finding a way for it to remove the field if it was empty, which had quite an impact on the experience of trying to set a container, so decided to leave it out from the reducers.~~ GPU Field removed for now. Will be introduced later","created_at":"2016-11-11T00:35:35Z","updated_at":"2016-11-15T18:23:34Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e1405e66469242e227154d2f378c6794b30d8894","assignee":{"login":"jfurrow","id":1134755,"avatar_url":"https://avatars.githubusercontent.com/u/1134755?v=3","gravatar_id":"","url":"https://api.github.com/users/jfurrow","html_url":"https://github.com/jfurrow","followers_url":"https://api.github.com/users/jfurrow/followers","following_url":"https://api.github.com/users/jfurrow/following{/other_user}","gists_url":"https://api.github.com/users/jfurrow/gists{/gist_id}","starred_url":"https://api.github.com/users/jfurrow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jfurrow/subscriptions","organizations_url":"https://api.github.com/users/jfurrow/orgs","repos_url":"https://api.github.com/users/jfurrow/repos","events_url":"https://api.github.com/users/jfurrow/events{/privacy}","received_events_url":"https://api.github.com/users/jfurrow/received_events","type":"User","site_admin":false},"assignees":[{"login":"jfurrow","id":1134755,"avatar_url":"https://avatars.githubusercontent.com/u/1134755?v=3","gravatar_id":"","url":"https://api.github.com/users/jfurrow","html_url":"https://github.com/jfurrow","followers_url":"https://api.github.com/users/jfurrow/followers","following_url":"https://api.github.com/users/jfurrow/following{/other_user}","gists_url":"https://api.github.com/users/jfurrow/gists{/gist_id}","starred_url":"https://api.github.com/users/jfurrow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jfurrow/subscriptions","organizations_url":"https://api.github.com/users/jfurrow/orgs","repos_url":"https://api.github.com/users/jfurrow/repos","events_url":"https://api.github.com/users/jfurrow/events{/privacy}","received_events_url":"https://api.github.com/users/jfurrow/received_events","type":"User","site_admin":false},{"login":"philipnrmn","id":2989362,"avatar_url":"https://avatars.githubusercontent.com/u/2989362?v=3","gravatar_id":"","url":"https://api.github.com/users/philipnrmn","html_url":"https://github.com/philipnrmn","followers_url":"https://api.github.com/users/philipnrmn/followers","following_url":"https://api.github.com/users/philipnrmn/following{/other_user}","gists_url":"https://api.github.com/users/philipnrmn/gists{/gist_id}","starred_url":"https://api.github.com/users/philipnrmn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/philipnrmn/subscriptions","organizations_url":"https://api.github.com/users/philipnrmn/orgs","repos_url":"https://api.github.com/users/philipnrmn/repos","events_url":"https://api.github.com/users/philipnrmn/events{/privacy}","received_events_url":"https://api.github.com/users/philipnrmn/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/dcos/dcos-ui/pulls/1346/commits","review_comments_url":"https://api.github.com/repos/dcos/dcos-ui/pulls/1346/comments","review_comment_url":"https://api.github.com/repos/dcos/dcos-ui/pulls/comments{/number}","comments_url":"https://api.github.com/repos/dcos/dcos-ui/issues/1346/comments","statuses_url":"https://api.github.com/repos/dcos/dcos-ui/statuses/261259f9fc6695faef15c38c628cd13ba8aee938","head":{"label":"dcos:mlunoe/feature/service-create-form-single-container-base","ref":"mlunoe/feature/service-create-form-single-container-base","sha":"261259f9fc6695faef15c38c628cd13ba8aee938","user":{"login":"dcos","id":17648048,"avatar_url":"https://avatars.githubusercontent.com/u/17648048?v=3","gravatar_id":"","url":"https://api.github.com/users/dcos","html_url":"https://github.com/dcos","followers_url":"https://api.github.com/users/dcos/followers","following_url":"https://api.github.com/users/dcos/following{/other_user}","gists_url":"https://api.github.com/users/dcos/gists{/gist_id}","starred_url":"https://api.github.com/users/dcos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dcos/subscriptions","organizations_url":"https://api.github.com/users/dcos/orgs","repos_url":"https://api.github.com/users/dcos/repos","events_url":"https://api.github.com/users/dcos/events{/privacy}","received_events_url":"https://api.github.com/users/dcos/received_events","type":"Organization","site_admin":false},"repo":{"id":56547504,"name":"dcos-ui","full_name":"dcos/dcos-ui","owner":{"login":"dcos","id":17648048,"avatar_url":"https://avatars.githubusercontent.com/u/17648048?v=3","gravatar_id":"","url":"https://api.github.com/users/dcos","html_url":"https://github.com/dcos","followers_url":"https://api.github.com/users/dcos/followers","following_url":"https://api.github.com/users/dcos/following{/other_user}","gists_url":"https://api.github.com/users/dcos/gists{/gist_id}","starred_url":"https://api.github.com/users/dcos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dcos/subscriptions","organizations_url":"https://api.github.com/users/dcos/orgs","repos_url":"https://api.github.com/users/dcos/repos","events_url":"https://api.github.com/users/dcos/events{/privacy}","received_events_url":"https://api.github.com/users/dcos/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/dcos/dcos-ui","description":"The UI for The Datacenter Operating System","fork":false,"url":"https://api.github.com/repos/dcos/dcos-ui","forks_url":"https://api.github.com/repos/dcos/dcos-ui/forks","keys_url":"https://api.github.com/repos/dcos/dcos-ui/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dcos/dcos-ui/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dcos/dcos-ui/teams","hooks_url":"https://api.github.com/repos/dcos/dcos-ui/hooks","issue_events_url":"https://api.github.com/repos/dcos/dcos-ui/issues/events{/number}","events_url":"https://api.github.com/repos/dcos/dcos-ui/events","assignees_url":"https://api.github.com/repos/dcos/dcos-ui/assignees{/user}","branches_url":"https://api.github.com/repos/dcos/dcos-ui/branches{/branch}","tags_url":"https://api.github.com/repos/dcos/dcos-ui/tags","blobs_url":"https://api.github.com/repos/dcos/dcos-ui/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dcos/dcos-ui/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dcos/dcos-ui/git/refs{/sha}","trees_url":"https://api.github.com/repos/dcos/dcos-ui/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dcos/dcos-ui/statuses/{sha}","languages_url":"https://api.github.com/repos/dcos/dcos-ui/languages","stargazers_url":"https://api.github.com/repos/dcos/dcos-ui/stargazers","contributors_url":"https://api.github.com/repos/dcos/dcos-ui/contributors","subscribers_url":"https://api.github.com/repos/dcos/dcos-ui/subscribers","subscription_url":"https://api.github.com/repos/dcos/dcos-ui/subscription","commits_url":"https://api.github.com/repos/dcos/dcos-ui/commits{/sha}","git_commits_url":"https://api.github.com/repos/dcos/dcos-ui/git/commits{/sha}","comments_url":"https://api.github.com/repos/dcos/dcos-ui/comments{/number}","issue_comment_url":"https://api.github.com/repos/dcos/dcos-ui/issues/comments{/number}","contents_url":"https://api.github.com/repos/dcos/dcos-ui/contents/{+path}","compare_url":"https://api.github.com/repos/dcos/dcos-ui/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dcos/dcos-ui/merges","archive_url":"https://api.github.com/repos/dcos/dcos-ui/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dcos/dcos-ui/downloads","issues_url":"https://api.github.com/repos/dcos/dcos-ui/issues{/number}","pulls_url":"https://api.github.com/repos/dcos/dcos-ui/pulls{/number}","milestones_url":"https://api.github.com/repos/dcos/dcos-ui/milestones{/number}","notifications_url":"https://api.github.com/repos/dcos/dcos-ui/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dcos/dcos-ui/labels{/name}","releases_url":"https://api.github.com/repos/dcos/dcos-ui/releases{/id}","deployments_url":"https://api.github.com/repos/dcos/dcos-ui/deployments","created_at":"2016-04-18T22:48:06Z","updated_at":"2016-11-12T07:39:08Z","pushed_at":"2016-11-15T17:22:21Z","git_url":"git://github.com/dcos/dcos-ui.git","ssh_url":"git@github.com:dcos/dcos-ui.git","clone_url":"https://github.com/dcos/dcos-ui.git","svn_url":"https://github.com/dcos/dcos-ui","homepage":null,"size":23424,"stargazers_count":111,"watchers_count":111,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":31,"mirror_url":null,"open_issues_count":30,"forks":31,"open_issues":30,"watchers":111,"default_branch":"master"}},"base":{"label":"dcos:master","ref":"master","sha":"5f0eaf19ed7d869cf8ef33396291c5e07b27638f","user":{"login":"dcos","id":17648048,"avatar_url":"https://avatars.githubusercontent.com/u/17648048?v=3","gravatar_id":"","url":"https://api.github.com/users/dcos","html_url":"https://github.com/dcos","followers_url":"https://api.github.com/users/dcos/followers","following_url":"https://api.github.com/users/dcos/following{/other_user}","gists_url":"https://api.github.com/users/dcos/gists{/gist_id}","starred_url":"https://api.github.com/users/dcos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dcos/subscriptions","organizations_url":"https://api.github.com/users/dcos/orgs","repos_url":"https://api.github.com/users/dcos/repos","events_url":"https://api.github.com/users/dcos/events{/privacy}","received_events_url":"https://api.github.com/users/dcos/received_events","type":"Organization","site_admin":false},"repo":{"id":56547504,"name":"dcos-ui","full_name":"dcos/dcos-ui","owner":{"login":"dcos","id":17648048,"avatar_url":"https://avatars.githubusercontent.com/u/17648048?v=3","gravatar_id":"","url":"https://api.github.com/users/dcos","html_url":"https://github.com/dcos","followers_url":"https://api.github.com/users/dcos/followers","following_url":"https://api.github.com/users/dcos/following{/other_user}","gists_url":"https://api.github.com/users/dcos/gists{/gist_id}","starred_url":"https://api.github.com/users/dcos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dcos/subscriptions","organizations_url":"https://api.github.com/users/dcos/orgs","repos_url":"https://api.github.com/users/dcos/repos","events_url":"https://api.github.com/users/dcos/events{/privacy}","received_events_url":"https://api.github.com/users/dcos/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/dcos/dcos-ui","description":"The UI for The Datacenter Operating System","fork":false,"url":"https://api.github.com/repos/dcos/dcos-ui","forks_url":"https://api.github.com/repos/dcos/dcos-ui/forks","keys_url":"https://api.github.com/repos/dcos/dcos-ui/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dcos/dcos-ui/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dcos/dcos-ui/teams","hooks_url":"https://api.github.com/repos/dcos/dcos-ui/hooks","issue_events_url":"https://api.github.com/repos/dcos/dcos-ui/issues/events{/number}","events_url":"https://api.github.com/repos/dcos/dcos-ui/events","assignees_url":"https://api.github.com/repos/dcos/dcos-ui/assignees{/user}","branches_url":"https://api.github.com/repos/dcos/dcos-ui/branches{/branch}","tags_url":"https://api.github.com/repos/dcos/dcos-ui/tags","blobs_url":"https://api.github.com/repos/dcos/dcos-ui/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dcos/dcos-ui/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dcos/dcos-ui/git/refs{/sha}","trees_url":"https://api.github.com/repos/dcos/dcos-ui/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dcos/dcos-ui/statuses/{sha}","languages_url":"https://api.github.com/repos/dcos/dcos-ui/languages","stargazers_url":"https://api.github.com/repos/dcos/dcos-ui/stargazers","contributors_url":"https://api.github.com/repos/dcos/dcos-ui/contributors","subscribers_url":"https://api.github.com/repos/dcos/dcos-ui/subscribers","subscription_url":"https://api.github.com/repos/dcos/dcos-ui/subscription","commits_url":"https://api.github.com/repos/dcos/dcos-ui/commits{/sha}","git_commits_url":"https://api.github.com/repos/dcos/dcos-ui/git/commits{/sha}","comments_url":"https://api.github.com/repos/dcos/dcos-ui/comments{/number}","issue_comment_url":"https://api.github.com/repos/dcos/dcos-ui/issues/comments{/number}","contents_url":"https://api.github.com/repos/dcos/dcos-ui/contents/{+path}","compare_url":"https://api.github.com/repos/dcos/dcos-ui/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dcos/dcos-ui/merges","archive_url":"https://api.github.com/repos/dcos/dcos-ui/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dcos/dcos-ui/downloads","issues_url":"https://api.github.com/repos/dcos/dcos-ui/issues{/number}","pulls_url":"https://api.github.com/repos/dcos/dcos-ui/pulls{/number}","milestones_url":"https://api.github.com/repos/dcos/dcos-ui/milestones{/number}","notifications_url":"https://api.github.com/repos/dcos/dcos-ui/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dcos/dcos-ui/labels{/name}","releases_url":"https://api.github.com/repos/dcos/dcos-ui/releases{/id}","deployments_url":"https://api.github.com/repos/dcos/dcos-ui/deployments","created_at":"2016-04-18T22:48:06Z","updated_at":"2016-11-12T07:39:08Z","pushed_at":"2016-11-15T17:22:21Z","git_url":"git://github.com/dcos/dcos-ui.git","ssh_url":"git@github.com:dcos/dcos-ui.git","clone_url":"https://github.com/dcos/dcos-ui.git","svn_url":"https://github.com/dcos/dcos-ui","homepage":null,"size":23424,"stargazers_count":111,"watchers_count":111,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":31,"mirror_url":null,"open_issues_count":30,"forks":31,"open_issues":30,"watchers":111,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/dcos/dcos-ui/pulls/1346"},"html":{"href":"https://github.com/dcos/dcos-ui/pull/1346"},"issue":{"href":"https://api.github.com/repos/dcos/dcos-ui/issues/1346"},"comments":{"href":"https://api.github.com/repos/dcos/dcos-ui/issues/1346/comments"},"review_comments":{"href":"https://api.github.com/repos/dcos/dcos-ui/pulls/1346/comments"},"review_comment":{"href":"https://api.github.com/repos/dcos/dcos-ui/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/dcos/dcos-ui/pulls/1346/commits"},"statuses":{"href":"https://api.github.com/repos/dcos/dcos-ui/statuses/261259f9fc6695faef15c38c628cd13ba8aee938"}}}}
{"actor":{"display_login":"jfurrow"}}