{"action":"created","comment":{"url":"https://api.github.com/repos/LedgerHQ/ledger-live-desktop/pulls/comments/194443924","pull_request_review_id":127617008,"id":194443924,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDE5NDQ0MzkyNA==","diff_hunk":"@@ -89,31 +92,49 @@ class FirmwareUpdate extends PureComponent<Props, State> {\n   }\n \n   render() {\n-    const { t, ...props } = this.props\n+    const { t, infos } = this.props\n     const { latestFirmware } = this.state\n \n-    if (!latestFirmware) {\n-      return null\n-    }\n-\n     return (\n-      <Box flow={4} {...props}>\n-        <Card flow={2} {...props}>\n-          <Box horizontal align=\"center\" flow={2}>\n-            <Text ff=\"Open Sans|Regular\" fontSize={4}>{`${t('manager:latestFirmware')}: ${\n-              latestFirmware.name\n-            }`}</Text>\n-            <Button outline onClick={this.installFirmware(latestFirmware)}>\n-              {t('manager:install')}\n-            </Button>\n+      <Card px={4} py={25}>\n+        <Box horizontal align=\"center\" flow={2}>\n+          <Box color=\"dark\">\n+            <NanoS size={30} />\n+          </Box>\n+          <Box>\n+            <Box horizontal align=\"center\">\n+              <Text ff=\"Open Sans|SemiBold\" fontSize={4} color=\"dark\">\n+                Ledger Nano S\n+              </Text>\n+              <Box color=\"wallet\" style={{ marginLeft: 10 }}>\n+                <CheckFull size={13} color=\"wallet\" />\n+              </Box>\n+            </Box>\n+            <Text ff=\"Open Sans|SemiBold\" fontSize={2}>\n+              Firmware {infos.version}\n+            </Text>\n           </Box>\n-          <Box\n-            fontSize={3}\n-            style={{ whiteSpace: 'pre' }}\n-            dangerouslySetInnerHTML={{ __html: latestFirmware.notes }}\n-          />\n-        </Card>\n-      </Box>\n+          {latestFirmware && (\n+            <Fragment>\n+              <Text\n+                ff=\"Open Sans|Regular\"\n+                fontSize={4}\n+                style={{ marginLeft: 'auto', marginRight: 15 }}\n+              >\n+                {t('manager:latestFirmware', { version: latestFirmware.name })}\n+              </Text>\n+              <Button primary onClick={this.installFirmware(latestFirmware)}>\n+                {t('manager:installFirmware')}\n+              </Button>\n+            </Fragment>\n+          )}","path":"src/components/ManagerPage/FirmwareUpdate.js","position":null,"original_position":79,"commit_id":"a77a8e113bd14d769fb5ee5f22de7f49419442f8","original_commit_id":"c55dba1583eb430a438a6a009411730cb78b28c3","user":{"login":"valpinkman","id":671786,"node_id":"MDQ6VXNlcjY3MTc4Ng==","avatar_url":"https://avatars0.githubusercontent.com/u/671786?v=4","gravatar_id":"","url":"https://api.github.com/users/valpinkman","html_url":"https://github.com/valpinkman","followers_url":"https://api.github.com/users/valpinkman/followers","following_url":"https://api.github.com/users/valpinkman/following{/other_user}","gists_url":"https://api.github.com/users/valpinkman/gists{/gist_id}","starred_url":"https://api.github.com/users/valpinkman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/valpinkman/subscriptions","organizations_url":"https://api.github.com/users/valpinkman/orgs","repos_url":"https://api.github.com/users/valpinkman/repos","events_url":"https://api.github.com/users/valpinkman/events{/privacy}","received_events_url":"https://api.github.com/users/valpinkman/received_events","type":"User","site_admin":false},"body":"Okay, fixes are done @gre ","created_at":"2018-06-11T15:21:48Z","updated_at":"2018-06-11T15:21:48Z","html_url":"https://github.com/LedgerHQ/ledger-live-desktop/pull/502#discussion_r194443924","pull_request_url":"https://api.github.com/repos/LedgerHQ/ledger-live-desktop/pulls/502","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/LedgerHQ/ledger-live-desktop/pulls/comments/194443924"},"html":{"href":"https://github.com/LedgerHQ/ledger-live-desktop/pull/502#discussion_r194443924"},"pull_request":{"href":"https://api.github.com/repos/LedgerHQ/ledger-live-desktop/pulls/502"}},"in_reply_to_id":194416929},"pull_request":{"url":"https://api.github.com/repos/LedgerHQ/ledger-live-desktop/pulls/502","id":193992781,"node_id":"MDExOlB1bGxSZXF1ZXN0MTkzOTkyNzgx","html_url":"https://github.com/LedgerHQ/ledger-live-desktop/pull/502","diff_url":"https://github.com/LedgerHQ/ledger-live-desktop/pull/502.diff","patch_url":"https://github.com/LedgerHQ/ledger-live-desktop/pull/502.patch","issue_url":"https://api.github.com/repos/LedgerHQ/ledger-live-desktop/issues/502","number":502,"state":"closed","locked":false,"title":"ui for firmware update","user":{"login":"valpinkman","id":671786,"node_id":"MDQ6VXNlcjY3MTc4Ng==","avatar_url":"https://avatars0.githubusercontent.com/u/671786?v=4","gravatar_id":"","url":"https://api.github.com/users/valpinkman","html_url":"https://github.com/valpinkman","followers_url":"https://api.github.com/users/valpinkman/followers","following_url":"https://api.github.com/users/valpinkman/following{/other_user}","gists_url":"https://api.github.com/users/valpinkman/gists{/gist_id}","starred_url":"https://api.github.com/users/valpinkman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/valpinkman/subscriptions","organizations_url":"https://api.github.com/users/valpinkman/orgs","repos_url":"https://api.github.com/users/valpinkman/repos","events_url":"https://api.github.com/users/valpinkman/events{/privacy}","received_events_url":"https://api.github.com/users/valpinkman/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-06-11T14:05:54Z","updated_at":"2018-06-11T15:21:48Z","closed_at":"2018-06-11T15:17:30Z","merged_at":"2018-06-11T15:17:30Z","merge_commit_sha":"8936afdc924620a1947ac8c1037076f66d6f0910","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/LedgerHQ/ledger-live-desktop/pulls/502/commits","review_comments_url":"https://api.github.com/repos/LedgerHQ/ledger-live-desktop/pulls/502/comments","review_comment_url":"https://api.github.com/repos/LedgerHQ/ledger-live-desktop/pulls/comments{/number}","comments_url":"https://api.github.com/repos/LedgerHQ/ledger-live-desktop/issues/502/comments","statuses_url":"https://api.github.com/repos/LedgerHQ/ledger-live-desktop/statuses/a77a8e113bd14d769fb5ee5f22de7f49419442f8","head":{"label":"valpinkman:manager-firmware-ui","ref":"manager-firmware-ui","sha":"a77a8e113bd14d769fb5ee5f22de7f49419442f8","user":{"login":"valpinkman","id":671786,"node_id":"MDQ6VXNlcjY3MTc4Ng==","avatar_url":"https://avatars0.githubusercontent.com/u/671786?v=4","gravatar_id":"","url":"https://api.github.com/users/valpinkman","html_url":"https://github.com/valpinkman","followers_url":"https://api.github.com/users/valpinkman/followers","following_url":"https://api.github.com/users/valpinkman/following{/other_user}","gists_url":"https://api.github.com/users/valpinkman/gists{/gist_id}","starred_url":"https://api.github.com/users/valpinkman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/valpinkman/subscriptions","organizations_url":"https://api.github.com/users/valpinkman/orgs","repos_url":"https://api.github.com/users/valpinkman/repos","events_url":"https://api.github.com/users/valpinkman/events{/privacy}","received_events_url":"https://api.github.com/users/valpinkman/received_events","type":"User","site_admin":false},"repo":{"id":133391263,"node_id":"MDEwOlJlcG9zaXRvcnkxMzMzOTEyNjM=","name":"ledger-live-desktop","full_name":"valpinkman/ledger-live-desktop","owner":{"login":"valpinkman","id":671786,"node_id":"MDQ6VXNlcjY3MTc4Ng==","avatar_url":"https://avatars0.githubusercontent.com/u/671786?v=4","gravatar_id":"","url":"https://api.github.com/users/valpinkman","html_url":"https://github.com/valpinkman","followers_url":"https://api.github.com/users/valpinkman/followers","following_url":"https://api.github.com/users/valpinkman/following{/other_user}","gists_url":"https://api.github.com/users/valpinkman/gists{/gist_id}","starred_url":"https://api.github.com/users/valpinkman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/valpinkman/subscriptions","organizations_url":"https://api.github.com/users/valpinkman/orgs","repos_url":"https://api.github.com/users/valpinkman/repos","events_url":"https://api.github.com/users/valpinkman/events{/privacy}","received_events_url":"https://api.github.com/users/valpinkman/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/valpinkman/ledger-live-desktop","description":"Ledger Live (Desktop)","fork":true,"url":"https://api.github.com/repos/valpinkman/ledger-live-desktop","forks_url":"https://api.github.com/repos/valpinkman/ledger-live-desktop/forks","keys_url":"https://api.github.com/repos/valpinkman/ledger-live-desktop/keys{/key_id}","collaborators_url":"https://api.github.com/repos/valpinkman/ledger-live-desktop/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/valpinkman/ledger-live-desktop/teams","hooks_url":"https://api.github.com/repos/valpinkman/ledger-live-desktop/hooks","issue_events_url":"https://api.github.com/repos/valpinkman/ledger-live-desktop/issues/events{/number}","events_url":"https://api.github.com/repos/valpinkman/ledger-live-desktop/events","assignees_url":"https://api.github.com/repos/valpinkman/ledger-live-desktop/assignees{/user}","branches_url":"https://api.github.com/repos/valpinkman/ledger-live-desktop/branches{/branch}","tags_url":"https://api.github.com/repos/valpinkman/ledger-live-desktop/tags","blobs_url":"https://api.github.com/repos/valpinkman/ledger-live-desktop/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/valpinkman/ledger-live-desktop/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/valpinkman/ledger-live-desktop/git/refs{/sha}","trees_url":"https://api.github.com/repos/valpinkman/ledger-live-desktop/git/trees{/sha}","statuses_url":"https://api.github.com/repos/valpinkman/ledger-live-desktop/statuses/{sha}","languages_url":"https://api.github.com/repos/valpinkman/ledger-live-desktop/languages","stargazers_url":"https://api.github.com/repos/valpinkman/ledger-live-desktop/stargazers","contributors_url":"https://api.github.com/repos/valpinkman/ledger-live-desktop/contributors","subscribers_url":"https://api.github.com/repos/valpinkman/ledger-live-desktop/subscribers","subscription_url":"https://api.github.com/repos/valpinkman/ledger-live-desktop/subscription","commits_url":"https://api.github.com/repos/valpinkman/ledger-live-desktop/commits{/sha}","git_commits_url":"https://api.github.com/repos/valpinkman/ledger-live-desktop/git/commits{/sha}","comments_url":"https://api.github.com/repos/valpinkman/ledger-live-desktop/comments{/number}","issue_comment_url":"https://api.github.com/repos/valpinkman/ledger-live-desktop/issues/comments{/number}","contents_url":"https://api.github.com/repos/valpinkman/ledger-live-desktop/contents/{+path}","compare_url":"https://api.github.com/repos/valpinkman/ledger-live-desktop/compare/{base}...{head}","merges_url":"https://api.github.com/repos/valpinkman/ledger-live-desktop/merges","archive_url":"https://api.github.com/repos/valpinkman/ledger-live-desktop/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/valpinkman/ledger-live-desktop/downloads","issues_url":"https://api.github.com/repos/valpinkman/ledger-live-desktop/issues{/number}","pulls_url":"https://api.github.com/repos/valpinkman/ledger-live-desktop/pulls{/number}","milestones_url":"https://api.github.com/repos/valpinkman/ledger-live-desktop/milestones{/number}","notifications_url":"https://api.github.com/repos/valpinkman/ledger-live-desktop/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/valpinkman/ledger-live-desktop/labels{/name}","releases_url":"https://api.github.com/repos/valpinkman/ledger-live-desktop/releases{/id}","deployments_url":"https://api.github.com/repos/valpinkman/ledger-live-desktop/deployments","created_at":"2018-05-14T16:31:44Z","updated_at":"2018-06-11T14:55:44Z","pushed_at":"2018-06-11T15:21:34Z","git_url":"git://github.com/valpinkman/ledger-live-desktop.git","ssh_url":"git@github.com:valpinkman/ledger-live-desktop.git","clone_url":"https://github.com/valpinkman/ledger-live-desktop.git","svn_url":"https://github.com/valpinkman/ledger-live-desktop","homepage":"https://ledgerhq.github.io/ledger-live-desktop/","size":8346,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"LedgerHQ:master","ref":"master","sha":"93c03e6682055bcfaefc094157651a3c4df4e383","user":{"login":"LedgerHQ","id":9784193,"node_id":"MDEyOk9yZ2FuaXphdGlvbjk3ODQxOTM=","avatar_url":"https://avatars1.githubusercontent.com/u/9784193?v=4","gravatar_id":"","url":"https://api.github.com/users/LedgerHQ","html_url":"https://github.com/LedgerHQ","followers_url":"https://api.github.com/users/LedgerHQ/followers","following_url":"https://api.github.com/users/LedgerHQ/following{/other_user}","gists_url":"https://api.github.com/users/LedgerHQ/gists{/gist_id}","starred_url":"https://api.github.com/users/LedgerHQ/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LedgerHQ/subscriptions","organizations_url":"https://api.github.com/users/LedgerHQ/orgs","repos_url":"https://api.github.com/users/LedgerHQ/repos","events_url":"https://api.github.com/users/LedgerHQ/events{/privacy}","received_events_url":"https://api.github.com/users/LedgerHQ/received_events","type":"Organization","site_admin":false},"repo":{"id":82679495,"node_id":"MDEwOlJlcG9zaXRvcnk4MjY3OTQ5NQ==","name":"ledger-live-desktop","full_name":"LedgerHQ/ledger-live-desktop","owner":{"login":"LedgerHQ","id":9784193,"node_id":"MDEyOk9yZ2FuaXphdGlvbjk3ODQxOTM=","avatar_url":"https://avatars1.githubusercontent.com/u/9784193?v=4","gravatar_id":"","url":"https://api.github.com/users/LedgerHQ","html_url":"https://github.com/LedgerHQ","followers_url":"https://api.github.com/users/LedgerHQ/followers","following_url":"https://api.github.com/users/LedgerHQ/following{/other_user}","gists_url":"https://api.github.com/users/LedgerHQ/gists{/gist_id}","starred_url":"https://api.github.com/users/LedgerHQ/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LedgerHQ/subscriptions","organizations_url":"https://api.github.com/users/LedgerHQ/orgs","repos_url":"https://api.github.com/users/LedgerHQ/repos","events_url":"https://api.github.com/users/LedgerHQ/events{/privacy}","received_events_url":"https://api.github.com/users/LedgerHQ/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/LedgerHQ/ledger-live-desktop","description":"Ledger Live (Desktop)","fork":false,"url":"https://api.github.com/repos/LedgerHQ/ledger-live-desktop","forks_url":"https://api.github.com/repos/LedgerHQ/ledger-live-desktop/forks","keys_url":"https://api.github.com/repos/LedgerHQ/ledger-live-desktop/keys{/key_id}","collaborators_url":"https://api.github.com/repos/LedgerHQ/ledger-live-desktop/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/LedgerHQ/ledger-live-desktop/teams","hooks_url":"https://api.github.com/repos/LedgerHQ/ledger-live-desktop/hooks","issue_events_url":"https://api.github.com/repos/LedgerHQ/ledger-live-desktop/issues/events{/number}","events_url":"https://api.github.com/repos/LedgerHQ/ledger-live-desktop/events","assignees_url":"https://api.github.com/repos/LedgerHQ/ledger-live-desktop/assignees{/user}","branches_url":"https://api.github.com/repos/LedgerHQ/ledger-live-desktop/branches{/branch}","tags_url":"https://api.github.com/repos/LedgerHQ/ledger-live-desktop/tags","blobs_url":"https://api.github.com/repos/LedgerHQ/ledger-live-desktop/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/LedgerHQ/ledger-live-desktop/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/LedgerHQ/ledger-live-desktop/git/refs{/sha}","trees_url":"https://api.github.com/repos/LedgerHQ/ledger-live-desktop/git/trees{/sha}","statuses_url":"https://api.github.com/repos/LedgerHQ/ledger-live-desktop/statuses/{sha}","languages_url":"https://api.github.com/repos/LedgerHQ/ledger-live-desktop/languages","stargazers_url":"https://api.github.com/repos/LedgerHQ/ledger-live-desktop/stargazers","contributors_url":"https://api.github.com/repos/LedgerHQ/ledger-live-desktop/contributors","subscribers_url":"https://api.github.com/repos/LedgerHQ/ledger-live-desktop/subscribers","subscription_url":"https://api.github.com/repos/LedgerHQ/ledger-live-desktop/subscription","commits_url":"https://api.github.com/repos/LedgerHQ/ledger-live-desktop/commits{/sha}","git_commits_url":"https://api.github.com/repos/LedgerHQ/ledger-live-desktop/git/commits{/sha}","comments_url":"https://api.github.com/repos/LedgerHQ/ledger-live-desktop/comments{/number}","issue_comment_url":"https://api.github.com/repos/LedgerHQ/ledger-live-desktop/issues/comments{/number}","contents_url":"https://api.github.com/repos/LedgerHQ/ledger-live-desktop/contents/{+path}","compare_url":"https://api.github.com/repos/LedgerHQ/ledger-live-desktop/compare/{base}...{head}","merges_url":"https://api.github.com/repos/LedgerHQ/ledger-live-desktop/merges","archive_url":"https://api.github.com/repos/LedgerHQ/ledger-live-desktop/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/LedgerHQ/ledger-live-desktop/downloads","issues_url":"https://api.github.com/repos/LedgerHQ/ledger-live-desktop/issues{/number}","pulls_url":"https://api.github.com/repos/LedgerHQ/ledger-live-desktop/pulls{/number}","milestones_url":"https://api.github.com/repos/LedgerHQ/ledger-live-desktop/milestones{/number}","notifications_url":"https://api.github.com/repos/LedgerHQ/ledger-live-desktop/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/LedgerHQ/ledger-live-desktop/labels{/name}","releases_url":"https://api.github.com/repos/LedgerHQ/ledger-live-desktop/releases{/id}","deployments_url":"https://api.github.com/repos/LedgerHQ/ledger-live-desktop/deployments","created_at":"2017-02-21T12:52:13Z","updated_at":"2018-06-11T15:20:09Z","pushed_at":"2018-06-11T15:20:07Z","git_url":"git://github.com/LedgerHQ/ledger-live-desktop.git","ssh_url":"git@github.com:LedgerHQ/ledger-live-desktop.git","clone_url":"https://github.com/LedgerHQ/ledger-live-desktop.git","svn_url":"https://github.com/LedgerHQ/ledger-live-desktop","homepage":"https://ledgerhq.github.io/ledger-live-desktop/","size":8370,"stargazers_count":44,"watchers_count":44,"language":"JavaScript","has_issues":false,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":19,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":19,"open_issues":1,"watchers":44,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/LedgerHQ/ledger-live-desktop/pulls/502"},"html":{"href":"https://github.com/LedgerHQ/ledger-live-desktop/pull/502"},"issue":{"href":"https://api.github.com/repos/LedgerHQ/ledger-live-desktop/issues/502"},"comments":{"href":"https://api.github.com/repos/LedgerHQ/ledger-live-desktop/issues/502/comments"},"review_comments":{"href":"https://api.github.com/repos/LedgerHQ/ledger-live-desktop/pulls/502/comments"},"review_comment":{"href":"https://api.github.com/repos/LedgerHQ/ledger-live-desktop/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/LedgerHQ/ledger-live-desktop/pulls/502/commits"},"statuses":{"href":"https://api.github.com/repos/LedgerHQ/ledger-live-desktop/statuses/a77a8e113bd14d769fb5ee5f22de7f49419442f8"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"valpinkman"}}