{"action":"created","comment":{"url":"https://api.github.com/repos/status-im/status-react/pulls/comments/225222604","pull_request_review_id":164777516,"id":225222604,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIyNTIyMjYwNA==","diff_hunk":"@@ -43,3 +47,64 @@\n (defn load-from [url f]\n   (when-let [uri (url->uri url)]\n     (storages/fetch uri f)))\n+\n+(fx/defn set-input\n+  [{:keys [db]} input-key value]\n+  {:db (update db :extensions/manage assoc input-key {:value value})})\n+\n+(fx/defn fetch [cofx id]\n+  (get-in cofx [:db :account/account :extensions id]))\n+\n+(fx/defn edit\n+  [cofx id]\n+  (let [{:keys [url]} (fetch cofx id)]\n+    (-> (set-input cofx :url (str url))\n+        (assoc :dispatch [:navigate-to :edit-extension]))))","path":"src/status_im/extensions/core.cljs","position":31,"original_position":31,"commit_id":"8ce524edecafbaf2cdbcfbdc6b61e8a0ca43f7ff","original_commit_id":"8ce524edecafbaf2cdbcfbdc6b61e8a0ca43f7ff","user":{"login":"janherich","id":1910609,"node_id":"MDQ6VXNlcjE5MTA2MDk=","avatar_url":"https://avatars1.githubusercontent.com/u/1910609?v=4","gravatar_id":"","url":"https://api.github.com/users/janherich","html_url":"https://github.com/janherich","followers_url":"https://api.github.com/users/janherich/followers","following_url":"https://api.github.com/users/janherich/following{/other_user}","gists_url":"https://api.github.com/users/janherich/gists{/gist_id}","starred_url":"https://api.github.com/users/janherich/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/janherich/subscriptions","organizations_url":"https://api.github.com/users/janherich/orgs","repos_url":"https://api.github.com/users/janherich/repos","events_url":"https://api.github.com/users/janherich/events{/privacy}","received_events_url":"https://api.github.com/users/janherich/received_events","type":"User","site_admin":false},"body":"Should be `navigation/navigate-to` call instead of unnecessary dispatch","created_at":"2018-10-15T15:59:42Z","updated_at":"2018-10-15T15:59:47Z","html_url":"https://github.com/status-im/status-react/pull/6301#discussion_r225222604","pull_request_url":"https://api.github.com/repos/status-im/status-react/pulls/6301","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/status-im/status-react/pulls/comments/225222604"},"html":{"href":"https://github.com/status-im/status-react/pull/6301#discussion_r225222604"},"pull_request":{"href":"https://api.github.com/repos/status-im/status-react/pulls/6301"}}},"pull_request":{"url":"https://api.github.com/repos/status-im/status-react/pulls/6301","id":222575210,"node_id":"MDExOlB1bGxSZXF1ZXN0MjIyNTc1MjEw","html_url":"https://github.com/status-im/status-react/pull/6301","diff_url":"https://github.com/status-im/status-react/pull/6301.diff","patch_url":"https://github.com/status-im/status-react/pull/6301.patch","issue_url":"https://api.github.com/repos/status-im/status-react/issues/6301","number":6301,"state":"open","locked":false,"title":"[#6094]: Persist extensions","user":{"login":"alwx","id":911127,"node_id":"MDQ6VXNlcjkxMTEyNw==","avatar_url":"https://avatars3.githubusercontent.com/u/911127?v=4","gravatar_id":"","url":"https://api.github.com/users/alwx","html_url":"https://github.com/alwx","followers_url":"https://api.github.com/users/alwx/followers","following_url":"https://api.github.com/users/alwx/following{/other_user}","gists_url":"https://api.github.com/users/alwx/gists{/gist_id}","starred_url":"https://api.github.com/users/alwx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alwx/subscriptions","organizations_url":"https://api.github.com/users/alwx/orgs","repos_url":"https://api.github.com/users/alwx/repos","events_url":"https://api.github.com/users/alwx/events{/privacy}","received_events_url":"https://api.github.com/users/alwx/received_events","type":"User","site_admin":false},"body":"Fixes #6094\r\n\r\nAlso includes some very minor refactoring of extensions events","created_at":"2018-10-12T20:16:44Z","updated_at":"2018-10-15T15:59:47Z","closed_at":null,"merged_at":null,"merge_commit_sha":"96fefc28bf13366455c4124a9d4028465bc3f1aa","assignee":null,"assignees":[],"requested_reviewers":[{"login":"jeluard","id":359723,"node_id":"MDQ6VXNlcjM1OTcyMw==","avatar_url":"https://avatars1.githubusercontent.com/u/359723?v=4","gravatar_id":"","url":"https://api.github.com/users/jeluard","html_url":"https://github.com/jeluard","followers_url":"https://api.github.com/users/jeluard/followers","following_url":"https://api.github.com/users/jeluard/following{/other_user}","gists_url":"https://api.github.com/users/jeluard/gists{/gist_id}","starred_url":"https://api.github.com/users/jeluard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeluard/subscriptions","organizations_url":"https://api.github.com/users/jeluard/orgs","repos_url":"https://api.github.com/users/jeluard/repos","events_url":"https://api.github.com/users/jeluard/events{/privacy}","received_events_url":"https://api.github.com/users/jeluard/received_events","type":"User","site_admin":false},{"login":"yenda","id":1181225,"node_id":"MDQ6VXNlcjExODEyMjU=","avatar_url":"https://avatars1.githubusercontent.com/u/1181225?v=4","gravatar_id":"","url":"https://api.github.com/users/yenda","html_url":"https://github.com/yenda","followers_url":"https://api.github.com/users/yenda/followers","following_url":"https://api.github.com/users/yenda/following{/other_user}","gists_url":"https://api.github.com/users/yenda/gists{/gist_id}","starred_url":"https://api.github.com/users/yenda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yenda/subscriptions","organizations_url":"https://api.github.com/users/yenda/orgs","repos_url":"https://api.github.com/users/yenda/repos","events_url":"https://api.github.com/users/yenda/events{/privacy}","received_events_url":"https://api.github.com/users/yenda/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/status-im/status-react/pulls/6301/commits","review_comments_url":"https://api.github.com/repos/status-im/status-react/pulls/6301/comments","review_comment_url":"https://api.github.com/repos/status-im/status-react/pulls/comments{/number}","comments_url":"https://api.github.com/repos/status-im/status-react/issues/6301/comments","statuses_url":"https://api.github.com/repos/status-im/status-react/statuses/8ce524edecafbaf2cdbcfbdc6b61e8a0ca43f7ff","head":{"label":"status-im:feature/#6094","ref":"feature/#6094","sha":"8ce524edecafbaf2cdbcfbdc6b61e8a0ca43f7ff","user":{"login":"status-im","id":11767950,"node_id":"MDEyOk9yZ2FuaXphdGlvbjExNzY3OTUw","avatar_url":"https://avatars1.githubusercontent.com/u/11767950?v=4","gravatar_id":"","url":"https://api.github.com/users/status-im","html_url":"https://github.com/status-im","followers_url":"https://api.github.com/users/status-im/followers","following_url":"https://api.github.com/users/status-im/following{/other_user}","gists_url":"https://api.github.com/users/status-im/gists{/gist_id}","starred_url":"https://api.github.com/users/status-im/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/status-im/subscriptions","organizations_url":"https://api.github.com/users/status-im/orgs","repos_url":"https://api.github.com/users/status-im/repos","events_url":"https://api.github.com/users/status-im/events{/privacy}","received_events_url":"https://api.github.com/users/status-im/received_events","type":"Organization","site_admin":false},"repo":{"id":52308441,"node_id":"MDEwOlJlcG9zaXRvcnk1MjMwODQ0MQ==","name":"status-react","full_name":"status-im/status-react","private":false,"owner":{"login":"status-im","id":11767950,"node_id":"MDEyOk9yZ2FuaXphdGlvbjExNzY3OTUw","avatar_url":"https://avatars1.githubusercontent.com/u/11767950?v=4","gravatar_id":"","url":"https://api.github.com/users/status-im","html_url":"https://github.com/status-im","followers_url":"https://api.github.com/users/status-im/followers","following_url":"https://api.github.com/users/status-im/following{/other_user}","gists_url":"https://api.github.com/users/status-im/gists{/gist_id}","starred_url":"https://api.github.com/users/status-im/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/status-im/subscriptions","organizations_url":"https://api.github.com/users/status-im/orgs","repos_url":"https://api.github.com/users/status-im/repos","events_url":"https://api.github.com/users/status-im/events{/privacy}","received_events_url":"https://api.github.com/users/status-im/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/status-im/status-react","description":"a free (libre) open source, mobile OS for Ethereum","fork":false,"url":"https://api.github.com/repos/status-im/status-react","forks_url":"https://api.github.com/repos/status-im/status-react/forks","keys_url":"https://api.github.com/repos/status-im/status-react/keys{/key_id}","collaborators_url":"https://api.github.com/repos/status-im/status-react/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/status-im/status-react/teams","hooks_url":"https://api.github.com/repos/status-im/status-react/hooks","issue_events_url":"https://api.github.com/repos/status-im/status-react/issues/events{/number}","events_url":"https://api.github.com/repos/status-im/status-react/events","assignees_url":"https://api.github.com/repos/status-im/status-react/assignees{/user}","branches_url":"https://api.github.com/repos/status-im/status-react/branches{/branch}","tags_url":"https://api.github.com/repos/status-im/status-react/tags","blobs_url":"https://api.github.com/repos/status-im/status-react/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/status-im/status-react/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/status-im/status-react/git/refs{/sha}","trees_url":"https://api.github.com/repos/status-im/status-react/git/trees{/sha}","statuses_url":"https://api.github.com/repos/status-im/status-react/statuses/{sha}","languages_url":"https://api.github.com/repos/status-im/status-react/languages","stargazers_url":"https://api.github.com/repos/status-im/status-react/stargazers","contributors_url":"https://api.github.com/repos/status-im/status-react/contributors","subscribers_url":"https://api.github.com/repos/status-im/status-react/subscribers","subscription_url":"https://api.github.com/repos/status-im/status-react/subscription","commits_url":"https://api.github.com/repos/status-im/status-react/commits{/sha}","git_commits_url":"https://api.github.com/repos/status-im/status-react/git/commits{/sha}","comments_url":"https://api.github.com/repos/status-im/status-react/comments{/number}","issue_comment_url":"https://api.github.com/repos/status-im/status-react/issues/comments{/number}","contents_url":"https://api.github.com/repos/status-im/status-react/contents/{+path}","compare_url":"https://api.github.com/repos/status-im/status-react/compare/{base}...{head}","merges_url":"https://api.github.com/repos/status-im/status-react/merges","archive_url":"https://api.github.com/repos/status-im/status-react/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/status-im/status-react/downloads","issues_url":"https://api.github.com/repos/status-im/status-react/issues{/number}","pulls_url":"https://api.github.com/repos/status-im/status-react/pulls{/number}","milestones_url":"https://api.github.com/repos/status-im/status-react/milestones{/number}","notifications_url":"https://api.github.com/repos/status-im/status-react/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/status-im/status-react/labels{/name}","releases_url":"https://api.github.com/repos/status-im/status-react/releases{/id}","deployments_url":"https://api.github.com/repos/status-im/status-react/deployments","created_at":"2016-02-22T21:48:48Z","updated_at":"2018-10-15T15:19:26Z","pushed_at":"2018-10-15T15:52:46Z","git_url":"git://github.com/status-im/status-react.git","ssh_url":"git@github.com:status-im/status-react.git","clone_url":"https://github.com/status-im/status-react.git","svn_url":"https://github.com/status-im/status-react","homepage":"https://status.im","size":71159,"stargazers_count":2448,"watchers_count":2448,"language":"Clojure","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":598,"mirror_url":null,"archived":false,"open_issues_count":499,"license":{"key":"mpl-2.0","name":"Mozilla Public License 2.0","spdx_id":"MPL-2.0","url":"https://api.github.com/licenses/mpl-2.0","node_id":"MDc6TGljZW5zZTE0"},"forks":598,"open_issues":499,"watchers":2448,"default_branch":"develop"}},"base":{"label":"status-im:develop","ref":"develop","sha":"9c362b41a1fa5f51126c519554567ac9efcfd628","user":{"login":"status-im","id":11767950,"node_id":"MDEyOk9yZ2FuaXphdGlvbjExNzY3OTUw","avatar_url":"https://avatars1.githubusercontent.com/u/11767950?v=4","gravatar_id":"","url":"https://api.github.com/users/status-im","html_url":"https://github.com/status-im","followers_url":"https://api.github.com/users/status-im/followers","following_url":"https://api.github.com/users/status-im/following{/other_user}","gists_url":"https://api.github.com/users/status-im/gists{/gist_id}","starred_url":"https://api.github.com/users/status-im/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/status-im/subscriptions","organizations_url":"https://api.github.com/users/status-im/orgs","repos_url":"https://api.github.com/users/status-im/repos","events_url":"https://api.github.com/users/status-im/events{/privacy}","received_events_url":"https://api.github.com/users/status-im/received_events","type":"Organization","site_admin":false},"repo":{"id":52308441,"node_id":"MDEwOlJlcG9zaXRvcnk1MjMwODQ0MQ==","name":"status-react","full_name":"status-im/status-react","private":false,"owner":{"login":"status-im","id":11767950,"node_id":"MDEyOk9yZ2FuaXphdGlvbjExNzY3OTUw","avatar_url":"https://avatars1.githubusercontent.com/u/11767950?v=4","gravatar_id":"","url":"https://api.github.com/users/status-im","html_url":"https://github.com/status-im","followers_url":"https://api.github.com/users/status-im/followers","following_url":"https://api.github.com/users/status-im/following{/other_user}","gists_url":"https://api.github.com/users/status-im/gists{/gist_id}","starred_url":"https://api.github.com/users/status-im/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/status-im/subscriptions","organizations_url":"https://api.github.com/users/status-im/orgs","repos_url":"https://api.github.com/users/status-im/repos","events_url":"https://api.github.com/users/status-im/events{/privacy}","received_events_url":"https://api.github.com/users/status-im/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/status-im/status-react","description":"a free (libre) open source, mobile OS for Ethereum","fork":false,"url":"https://api.github.com/repos/status-im/status-react","forks_url":"https://api.github.com/repos/status-im/status-react/forks","keys_url":"https://api.github.com/repos/status-im/status-react/keys{/key_id}","collaborators_url":"https://api.github.com/repos/status-im/status-react/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/status-im/status-react/teams","hooks_url":"https://api.github.com/repos/status-im/status-react/hooks","issue_events_url":"https://api.github.com/repos/status-im/status-react/issues/events{/number}","events_url":"https://api.github.com/repos/status-im/status-react/events","assignees_url":"https://api.github.com/repos/status-im/status-react/assignees{/user}","branches_url":"https://api.github.com/repos/status-im/status-react/branches{/branch}","tags_url":"https://api.github.com/repos/status-im/status-react/tags","blobs_url":"https://api.github.com/repos/status-im/status-react/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/status-im/status-react/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/status-im/status-react/git/refs{/sha}","trees_url":"https://api.github.com/repos/status-im/status-react/git/trees{/sha}","statuses_url":"https://api.github.com/repos/status-im/status-react/statuses/{sha}","languages_url":"https://api.github.com/repos/status-im/status-react/languages","stargazers_url":"https://api.github.com/repos/status-im/status-react/stargazers","contributors_url":"https://api.github.com/repos/status-im/status-react/contributors","subscribers_url":"https://api.github.com/repos/status-im/status-react/subscribers","subscription_url":"https://api.github.com/repos/status-im/status-react/subscription","commits_url":"https://api.github.com/repos/status-im/status-react/commits{/sha}","git_commits_url":"https://api.github.com/repos/status-im/status-react/git/commits{/sha}","comments_url":"https://api.github.com/repos/status-im/status-react/comments{/number}","issue_comment_url":"https://api.github.com/repos/status-im/status-react/issues/comments{/number}","contents_url":"https://api.github.com/repos/status-im/status-react/contents/{+path}","compare_url":"https://api.github.com/repos/status-im/status-react/compare/{base}...{head}","merges_url":"https://api.github.com/repos/status-im/status-react/merges","archive_url":"https://api.github.com/repos/status-im/status-react/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/status-im/status-react/downloads","issues_url":"https://api.github.com/repos/status-im/status-react/issues{/number}","pulls_url":"https://api.github.com/repos/status-im/status-react/pulls{/number}","milestones_url":"https://api.github.com/repos/status-im/status-react/milestones{/number}","notifications_url":"https://api.github.com/repos/status-im/status-react/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/status-im/status-react/labels{/name}","releases_url":"https://api.github.com/repos/status-im/status-react/releases{/id}","deployments_url":"https://api.github.com/repos/status-im/status-react/deployments","created_at":"2016-02-22T21:48:48Z","updated_at":"2018-10-15T15:19:26Z","pushed_at":"2018-10-15T15:52:46Z","git_url":"git://github.com/status-im/status-react.git","ssh_url":"git@github.com:status-im/status-react.git","clone_url":"https://github.com/status-im/status-react.git","svn_url":"https://github.com/status-im/status-react","homepage":"https://status.im","size":71159,"stargazers_count":2448,"watchers_count":2448,"language":"Clojure","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":598,"mirror_url":null,"archived":false,"open_issues_count":499,"license":{"key":"mpl-2.0","name":"Mozilla Public License 2.0","spdx_id":"MPL-2.0","url":"https://api.github.com/licenses/mpl-2.0","node_id":"MDc6TGljZW5zZTE0"},"forks":598,"open_issues":499,"watchers":2448,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/status-im/status-react/pulls/6301"},"html":{"href":"https://github.com/status-im/status-react/pull/6301"},"issue":{"href":"https://api.github.com/repos/status-im/status-react/issues/6301"},"comments":{"href":"https://api.github.com/repos/status-im/status-react/issues/6301/comments"},"review_comments":{"href":"https://api.github.com/repos/status-im/status-react/pulls/6301/comments"},"review_comment":{"href":"https://api.github.com/repos/status-im/status-react/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/status-im/status-react/pulls/6301/commits"},"statuses":{"href":"https://api.github.com/repos/status-im/status-react/statuses/8ce524edecafbaf2cdbcfbdc6b61e8a0ca43f7ff"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"janherich"}}