{"action":"created","comment":{"url":"https://api.github.com/repos/cerebral/cerebral/pulls/comments/86737838","pull_request_review_id":7379521,"id":86737838,"diff_hunk":"@@ -0,0 +1,81 @@\n+import React from 'react'\n+import {connect} from 'cerebral/react'\n+import Input from './Input'\n+import Textarea from '../Textarea'\n+\n+export default connect(\n+  {\n+    client: `clients.$draft.**`\n+  },\n+  {\n+    cancelEdit: 'clients.escPressed'\n+  },\n+  function ClientForm ({client, cancelEdit}) {\n+    return (\n+      <div className='column'>\n+        <div className='card'>\n+          <div className='card-content'>\n+            <div className='media' onClick={() => cancelEdit()}>\n+              <div className='media-left'>\n+                <figure className='image is-32x32'>\n+                  <img src={client.image || '/img/client-mini.png'} alt='user' />\n+                </figure>\n+              </div>\n+              <div className='media-content'>\n+                <p className='title is-5'>\n+                  {client.name}\n+                </p>\n+                {client.website\n+                  ? <p className='subtitle is-6'>\n+                    <a href={`http://${client.website}`}>{client.website}</a>\n+                  </p>\n+                  : ''\n+                }\n+              </div>\n+            </div>\n+\n+            <div className='content'>\n+              <p className='control'>\n+                <Input field='name' autoFocus placeholder='CompanyName' />\n+              </p>\n+              <p className='control has-icon'>\n+                <Input field='image' placeholder='ImageUrl' />\n+                <i className='fa fa-image' />\n+              </p>\n+              <p className='control has-icon'>\n+                <Input field='website' placeholder='WebsiteUrl' />\n+                <i className='fa fa-globe' />\n+              </p>\n+              <p className='control has-icon'>\n+                <Input field='email' placeholder='Email' />\n+                <i className='fa fa-envelope' />\n+              </p>\n+              <p className='control has-icon'>\n+                <Input field='phone' placeholder='Telephone' />\n+                <i className='fa fa-phone' />\n+              </p>\n+              <p className='control'>\n+                <Textarea field='notes' placeholder='Notes' />\n+              </p>\n+            </div>\n+            <nav className='level'>","path":"packages/cerebral-demo/src/components/ClientForm/index.js","position":61,"original_position":61,"commit_id":"28d87a3205a1dff7932c38076dcfd1acb79a8580","original_commit_id":"55caf8212737fa9f19b5dc5bfb13cb92c35854f8","user":{"login":"gaspard","id":21707,"avatar_url":"https://avatars.githubusercontent.com/u/21707?v=3","gravatar_id":"","url":"https://api.github.com/users/gaspard","html_url":"https://github.com/gaspard","followers_url":"https://api.github.com/users/gaspard/followers","following_url":"https://api.github.com/users/gaspard/following{/other_user}","gists_url":"https://api.github.com/users/gaspard/gists{/gist_id}","starred_url":"https://api.github.com/users/gaspard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gaspard/subscriptions","organizations_url":"https://api.github.com/users/gaspard/orgs","repos_url":"https://api.github.com/users/gaspard/repos","events_url":"https://api.github.com/users/gaspard/events{/privacy}","received_events_url":"https://api.github.com/users/gaspard/received_events","type":"User","site_admin":false},"body":"Yes, removed. Now using space for buttons.","created_at":"2016-11-07T09:31:56Z","updated_at":"2016-11-07T09:31:56Z","html_url":"https://github.com/cerebral/cerebral/pull/388#discussion_r86737838","pull_request_url":"https://api.github.com/repos/cerebral/cerebral/pulls/388","_links":{"self":{"href":"https://api.github.com/repos/cerebral/cerebral/pulls/comments/86737838"},"html":{"href":"https://github.com/cerebral/cerebral/pull/388#discussion_r86737838"},"pull_request":{"href":"https://api.github.com/repos/cerebral/cerebral/pulls/388"}}},"pull_request":{"url":"https://api.github.com/repos/cerebral/cerebral/pulls/388","id":92184933,"html_url":"https://github.com/cerebral/cerebral/pull/388","diff_url":"https://github.com/cerebral/cerebral/pull/388.diff","patch_url":"https://github.com/cerebral/cerebral/pull/388.patch","issue_url":"https://api.github.com/repos/cerebral/cerebral/issues/388","number":388,"state":"open","locked":false,"title":"Wip demo","user":{"login":"gaspard","id":21707,"avatar_url":"https://avatars.githubusercontent.com/u/21707?v=3","gravatar_id":"","url":"https://api.github.com/users/gaspard","html_url":"https://github.com/gaspard","followers_url":"https://api.github.com/users/gaspard/followers","following_url":"https://api.github.com/users/gaspard/following{/other_user}","gists_url":"https://api.github.com/users/gaspard/gists{/gist_id}","starred_url":"https://api.github.com/users/gaspard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gaspard/subscriptions","organizations_url":"https://api.github.com/users/gaspard/orgs","repos_url":"https://api.github.com/users/gaspard/repos","events_url":"https://api.github.com/users/gaspard/events{/privacy}","received_events_url":"https://api.github.com/users/gaspard/received_events","type":"User","site_admin":false},"body":"I have finished the first step of the demo where we can enter time entries, create projects and clients. It is still a work in progress but it has matured enough to be pulled in I think.\r\n\r\nNext steps as I see them:\r\n\r\n1. Refactor this app for best practices (**criticism very very welcome**)\r\n2. Add Firebase module (with authentification)\r\n\r\nCheers :-)","created_at":"2016-11-03T16:02:25Z","updated_at":"2016-11-07T09:31:56Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f8458dcc6af13786561e32090b89ca324d7d35f2","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/cerebral/cerebral/pulls/388/commits","review_comments_url":"https://api.github.com/repos/cerebral/cerebral/pulls/388/comments","review_comment_url":"https://api.github.com/repos/cerebral/cerebral/pulls/comments{/number}","comments_url":"https://api.github.com/repos/cerebral/cerebral/issues/388/comments","statuses_url":"https://api.github.com/repos/cerebral/cerebral/statuses/28d87a3205a1dff7932c38076dcfd1acb79a8580","head":{"label":"cerebral:WIPDemo","ref":"WIPDemo","sha":"28d87a3205a1dff7932c38076dcfd1acb79a8580","user":{"login":"cerebral","id":15994611,"avatar_url":"https://avatars.githubusercontent.com/u/15994611?v=3","gravatar_id":"","url":"https://api.github.com/users/cerebral","html_url":"https://github.com/cerebral","followers_url":"https://api.github.com/users/cerebral/followers","following_url":"https://api.github.com/users/cerebral/following{/other_user}","gists_url":"https://api.github.com/users/cerebral/gists{/gist_id}","starred_url":"https://api.github.com/users/cerebral/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cerebral/subscriptions","organizations_url":"https://api.github.com/users/cerebral/orgs","repos_url":"https://api.github.com/users/cerebral/repos","events_url":"https://api.github.com/users/cerebral/events{/privacy}","received_events_url":"https://api.github.com/users/cerebral/received_events","type":"Organization","site_admin":false},"repo":{"id":35326416,"name":"cerebral","full_name":"cerebral/cerebral","owner":{"login":"cerebral","id":15994611,"avatar_url":"https://avatars.githubusercontent.com/u/15994611?v=3","gravatar_id":"","url":"https://api.github.com/users/cerebral","html_url":"https://github.com/cerebral","followers_url":"https://api.github.com/users/cerebral/followers","following_url":"https://api.github.com/users/cerebral/following{/other_user}","gists_url":"https://api.github.com/users/cerebral/gists{/gist_id}","starred_url":"https://api.github.com/users/cerebral/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cerebral/subscriptions","organizations_url":"https://api.github.com/users/cerebral/orgs","repos_url":"https://api.github.com/users/cerebral/repos","events_url":"https://api.github.com/users/cerebral/events{/privacy}","received_events_url":"https://api.github.com/users/cerebral/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/cerebral/cerebral","description":"A state controller with its own debugger","fork":false,"url":"https://api.github.com/repos/cerebral/cerebral","forks_url":"https://api.github.com/repos/cerebral/cerebral/forks","keys_url":"https://api.github.com/repos/cerebral/cerebral/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cerebral/cerebral/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cerebral/cerebral/teams","hooks_url":"https://api.github.com/repos/cerebral/cerebral/hooks","issue_events_url":"https://api.github.com/repos/cerebral/cerebral/issues/events{/number}","events_url":"https://api.github.com/repos/cerebral/cerebral/events","assignees_url":"https://api.github.com/repos/cerebral/cerebral/assignees{/user}","branches_url":"https://api.github.com/repos/cerebral/cerebral/branches{/branch}","tags_url":"https://api.github.com/repos/cerebral/cerebral/tags","blobs_url":"https://api.github.com/repos/cerebral/cerebral/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cerebral/cerebral/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cerebral/cerebral/git/refs{/sha}","trees_url":"https://api.github.com/repos/cerebral/cerebral/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cerebral/cerebral/statuses/{sha}","languages_url":"https://api.github.com/repos/cerebral/cerebral/languages","stargazers_url":"https://api.github.com/repos/cerebral/cerebral/stargazers","contributors_url":"https://api.github.com/repos/cerebral/cerebral/contributors","subscribers_url":"https://api.github.com/repos/cerebral/cerebral/subscribers","subscription_url":"https://api.github.com/repos/cerebral/cerebral/subscription","commits_url":"https://api.github.com/repos/cerebral/cerebral/commits{/sha}","git_commits_url":"https://api.github.com/repos/cerebral/cerebral/git/commits{/sha}","comments_url":"https://api.github.com/repos/cerebral/cerebral/comments{/number}","issue_comment_url":"https://api.github.com/repos/cerebral/cerebral/issues/comments{/number}","contents_url":"https://api.github.com/repos/cerebral/cerebral/contents/{+path}","compare_url":"https://api.github.com/repos/cerebral/cerebral/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cerebral/cerebral/merges","archive_url":"https://api.github.com/repos/cerebral/cerebral/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cerebral/cerebral/downloads","issues_url":"https://api.github.com/repos/cerebral/cerebral/issues{/number}","pulls_url":"https://api.github.com/repos/cerebral/cerebral/pulls{/number}","milestones_url":"https://api.github.com/repos/cerebral/cerebral/milestones{/number}","notifications_url":"https://api.github.com/repos/cerebral/cerebral/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cerebral/cerebral/labels{/name}","releases_url":"https://api.github.com/repos/cerebral/cerebral/releases{/id}","deployments_url":"https://api.github.com/repos/cerebral/cerebral/deployments","created_at":"2015-05-09T11:40:05Z","updated_at":"2016-11-06T12:23:50Z","pushed_at":"2016-11-06T23:49:55Z","git_url":"git://github.com/cerebral/cerebral.git","ssh_url":"git@github.com:cerebral/cerebral.git","clone_url":"https://github.com/cerebral/cerebral.git","svn_url":"https://github.com/cerebral/cerebral","homepage":"","size":5065,"stargazers_count":841,"watchers_count":841,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":36,"mirror_url":null,"open_issues_count":27,"forks":36,"open_issues":27,"watchers":841,"default_branch":"master"}},"base":{"label":"cerebral:master","ref":"master","sha":"e611338619a574e0a3733462898a2226faf0a092","user":{"login":"cerebral","id":15994611,"avatar_url":"https://avatars.githubusercontent.com/u/15994611?v=3","gravatar_id":"","url":"https://api.github.com/users/cerebral","html_url":"https://github.com/cerebral","followers_url":"https://api.github.com/users/cerebral/followers","following_url":"https://api.github.com/users/cerebral/following{/other_user}","gists_url":"https://api.github.com/users/cerebral/gists{/gist_id}","starred_url":"https://api.github.com/users/cerebral/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cerebral/subscriptions","organizations_url":"https://api.github.com/users/cerebral/orgs","repos_url":"https://api.github.com/users/cerebral/repos","events_url":"https://api.github.com/users/cerebral/events{/privacy}","received_events_url":"https://api.github.com/users/cerebral/received_events","type":"Organization","site_admin":false},"repo":{"id":35326416,"name":"cerebral","full_name":"cerebral/cerebral","owner":{"login":"cerebral","id":15994611,"avatar_url":"https://avatars.githubusercontent.com/u/15994611?v=3","gravatar_id":"","url":"https://api.github.com/users/cerebral","html_url":"https://github.com/cerebral","followers_url":"https://api.github.com/users/cerebral/followers","following_url":"https://api.github.com/users/cerebral/following{/other_user}","gists_url":"https://api.github.com/users/cerebral/gists{/gist_id}","starred_url":"https://api.github.com/users/cerebral/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cerebral/subscriptions","organizations_url":"https://api.github.com/users/cerebral/orgs","repos_url":"https://api.github.com/users/cerebral/repos","events_url":"https://api.github.com/users/cerebral/events{/privacy}","received_events_url":"https://api.github.com/users/cerebral/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/cerebral/cerebral","description":"A state controller with its own debugger","fork":false,"url":"https://api.github.com/repos/cerebral/cerebral","forks_url":"https://api.github.com/repos/cerebral/cerebral/forks","keys_url":"https://api.github.com/repos/cerebral/cerebral/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cerebral/cerebral/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cerebral/cerebral/teams","hooks_url":"https://api.github.com/repos/cerebral/cerebral/hooks","issue_events_url":"https://api.github.com/repos/cerebral/cerebral/issues/events{/number}","events_url":"https://api.github.com/repos/cerebral/cerebral/events","assignees_url":"https://api.github.com/repos/cerebral/cerebral/assignees{/user}","branches_url":"https://api.github.com/repos/cerebral/cerebral/branches{/branch}","tags_url":"https://api.github.com/repos/cerebral/cerebral/tags","blobs_url":"https://api.github.com/repos/cerebral/cerebral/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cerebral/cerebral/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cerebral/cerebral/git/refs{/sha}","trees_url":"https://api.github.com/repos/cerebral/cerebral/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cerebral/cerebral/statuses/{sha}","languages_url":"https://api.github.com/repos/cerebral/cerebral/languages","stargazers_url":"https://api.github.com/repos/cerebral/cerebral/stargazers","contributors_url":"https://api.github.com/repos/cerebral/cerebral/contributors","subscribers_url":"https://api.github.com/repos/cerebral/cerebral/subscribers","subscription_url":"https://api.github.com/repos/cerebral/cerebral/subscription","commits_url":"https://api.github.com/repos/cerebral/cerebral/commits{/sha}","git_commits_url":"https://api.github.com/repos/cerebral/cerebral/git/commits{/sha}","comments_url":"https://api.github.com/repos/cerebral/cerebral/comments{/number}","issue_comment_url":"https://api.github.com/repos/cerebral/cerebral/issues/comments{/number}","contents_url":"https://api.github.com/repos/cerebral/cerebral/contents/{+path}","compare_url":"https://api.github.com/repos/cerebral/cerebral/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cerebral/cerebral/merges","archive_url":"https://api.github.com/repos/cerebral/cerebral/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cerebral/cerebral/downloads","issues_url":"https://api.github.com/repos/cerebral/cerebral/issues{/number}","pulls_url":"https://api.github.com/repos/cerebral/cerebral/pulls{/number}","milestones_url":"https://api.github.com/repos/cerebral/cerebral/milestones{/number}","notifications_url":"https://api.github.com/repos/cerebral/cerebral/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cerebral/cerebral/labels{/name}","releases_url":"https://api.github.com/repos/cerebral/cerebral/releases{/id}","deployments_url":"https://api.github.com/repos/cerebral/cerebral/deployments","created_at":"2015-05-09T11:40:05Z","updated_at":"2016-11-06T12:23:50Z","pushed_at":"2016-11-06T23:49:55Z","git_url":"git://github.com/cerebral/cerebral.git","ssh_url":"git@github.com:cerebral/cerebral.git","clone_url":"https://github.com/cerebral/cerebral.git","svn_url":"https://github.com/cerebral/cerebral","homepage":"","size":5065,"stargazers_count":841,"watchers_count":841,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":36,"mirror_url":null,"open_issues_count":27,"forks":36,"open_issues":27,"watchers":841,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/cerebral/cerebral/pulls/388"},"html":{"href":"https://github.com/cerebral/cerebral/pull/388"},"issue":{"href":"https://api.github.com/repos/cerebral/cerebral/issues/388"},"comments":{"href":"https://api.github.com/repos/cerebral/cerebral/issues/388/comments"},"review_comments":{"href":"https://api.github.com/repos/cerebral/cerebral/pulls/388/comments"},"review_comment":{"href":"https://api.github.com/repos/cerebral/cerebral/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/cerebral/cerebral/pulls/388/commits"},"statuses":{"href":"https://api.github.com/repos/cerebral/cerebral/statuses/28d87a3205a1dff7932c38076dcfd1acb79a8580"}}}}
{"actor":{"display_login":"gaspard"}}