{"action":"created","comment":{"url":"https://api.github.com/repos/open-company/open-company-web/pulls/comments/51586023","id":51586023,"diff_hunk":"@@ -2,15 +2,154 @@\n   (:require [om.core :as om :include-macros true]\n             [om-tools.core :as om-core :refer-macros [defcomponent]]\n             [om-tools.dom :as dom :include-macros true]\n-            [open-company-web.lib.utils :as utils]))\n+            [open-company-web.lib.utils :as utils]\n+            [open-company-web.components.finances.utils :as finances-utils]\n+            [open-company-web.components.growth.utils :as growth-utils]\n+            [open-company-web.components.ui.charts :refer (column-chart)]\n+            [open-company-web.components.finances.finances :refer (finances)]\n+            [open-company-web.components.growth.growth :refer (growth)]))\n+\n+(defn- get-body [section-data section]\n+  (cond","path":"src/open_company_web/components/topic.cljs","position":13,"original_position":13,"commit_id":"7e9a674c31bf3e37d4a437a70d18e17e6a0907be","original_commit_id":"7e9a674c31bf3e37d4a437a70d18e17e6a0907be","user":{"login":"belucid","id":12163,"avatar_url":"https://avatars.githubusercontent.com/u/12163?v=3","gravatar_id":"","url":"https://api.github.com/users/belucid","html_url":"https://github.com/belucid","followers_url":"https://api.github.com/users/belucid/followers","following_url":"https://api.github.com/users/belucid/following{/other_user}","gists_url":"https://api.github.com/users/belucid/gists{/gist_id}","starred_url":"https://api.github.com/users/belucid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/belucid/subscriptions","organizations_url":"https://api.github.com/users/belucid/orgs","repos_url":"https://api.github.com/users/belucid/repos","events_url":"https://api.github.com/users/belucid/events{/privacy}","received_events_url":"https://api.github.com/users/belucid/received_events","type":"User","site_admin":false},"body":"This is probably better/more idiomatic:\r\n\r\n```clojure\r\n(if (#{:finances :growth} section)\r\n  (get-in section-data [:body :notes])\r\n  (:body section-data))\r\n```\r\n","created_at":"2016-02-02T15:47:03Z","updated_at":"2016-02-02T15:47:03Z","html_url":"https://github.com/open-company/open-company-web/pull/72#discussion_r51586023","pull_request_url":"https://api.github.com/repos/open-company/open-company-web/pulls/72","_links":{"self":{"href":"https://api.github.com/repos/open-company/open-company-web/pulls/comments/51586023"},"html":{"href":"https://github.com/open-company/open-company-web/pull/72#discussion_r51586023"},"pull_request":{"href":"https://api.github.com/repos/open-company/open-company-web/pulls/72"}}},"pull_request":{"url":"https://api.github.com/repos/open-company/open-company-web/pulls/72","id":57739333,"html_url":"https://github.com/open-company/open-company-web/pull/72","diff_url":"https://github.com/open-company/open-company-web/pull/72.diff","patch_url":"https://github.com/open-company/open-company-web/pull/72.patch","issue_url":"https://api.github.com/repos/open-company/open-company-web/issues/72","number":72,"state":"open","locked":false,"title":"Responsive dashboard","user":{"login":"bago2k4","id":642704,"avatar_url":"https://avatars.githubusercontent.com/u/642704?v=3","gravatar_id":"","url":"https://api.github.com/users/bago2k4","html_url":"https://github.com/bago2k4","followers_url":"https://api.github.com/users/bago2k4/followers","following_url":"https://api.github.com/users/bago2k4/following{/other_user}","gists_url":"https://api.github.com/users/bago2k4/gists{/gist_id}","starred_url":"https://api.github.com/users/bago2k4/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bago2k4/subscriptions","organizations_url":"https://api.github.com/users/bago2k4/orgs","repos_url":"https://api.github.com/users/bago2k4/repos","events_url":"https://api.github.com/users/bago2k4/events{/privacy}","received_events_url":"https://api.github.com/users/bago2k4/received_events","type":"User","site_admin":false},"body":"cards:\r\n- https://trello.com/c/iMPdOWak\r\n- https://trello.com/c/iNCsK0mh\r\n- https://trello.com/c/68DxJQ20\r\n- https://trello.com/c/9g6RQnO1\r\n- https://trello.com/c/glg8sNWt\r\n- https://trello.com/c/kQuxcsn5\r\n- https://trello.com/c/VkepRQV9\r\n\r\nTo test:\r\n- deploy this branch (locally it would a problem since some resources like adobe fonts won't load using your local ip address)\r\n- navigate to the home page\r\n- select a company dashboard (the best is buffer as it has all kind of data)\r\n- check the dashboard on your computer\r\n- check the dashboard on your mobile device (iOS and android if possible)\r\n- check the dashboard on a table if can","created_at":"2016-01-30T13:07:02Z","updated_at":"2016-02-02T15:47:03Z","closed_at":null,"merged_at":null,"merge_commit_sha":"42340eceea51d9a169b037dbe6ff962345140daf","assignee":{"login":"belucid","id":12163,"avatar_url":"https://avatars.githubusercontent.com/u/12163?v=3","gravatar_id":"","url":"https://api.github.com/users/belucid","html_url":"https://github.com/belucid","followers_url":"https://api.github.com/users/belucid/followers","following_url":"https://api.github.com/users/belucid/following{/other_user}","gists_url":"https://api.github.com/users/belucid/gists{/gist_id}","starred_url":"https://api.github.com/users/belucid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/belucid/subscriptions","organizations_url":"https://api.github.com/users/belucid/orgs","repos_url":"https://api.github.com/users/belucid/repos","events_url":"https://api.github.com/users/belucid/events{/privacy}","received_events_url":"https://api.github.com/users/belucid/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/open-company/open-company-web/pulls/72/commits","review_comments_url":"https://api.github.com/repos/open-company/open-company-web/pulls/72/comments","review_comment_url":"https://api.github.com/repos/open-company/open-company-web/pulls/comments{/number}","comments_url":"https://api.github.com/repos/open-company/open-company-web/issues/72/comments","statuses_url":"https://api.github.com/repos/open-company/open-company-web/statuses/7e9a674c31bf3e37d4a437a70d18e17e6a0907be","head":{"label":"open-company:responsive-dashboard","ref":"responsive-dashboard","sha":"7e9a674c31bf3e37d4a437a70d18e17e6a0907be","user":{"login":"open-company","id":13063090,"avatar_url":"https://avatars.githubusercontent.com/u/13063090?v=3","gravatar_id":"","url":"https://api.github.com/users/open-company","html_url":"https://github.com/open-company","followers_url":"https://api.github.com/users/open-company/followers","following_url":"https://api.github.com/users/open-company/following{/other_user}","gists_url":"https://api.github.com/users/open-company/gists{/gist_id}","starred_url":"https://api.github.com/users/open-company/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/open-company/subscriptions","organizations_url":"https://api.github.com/users/open-company/orgs","repos_url":"https://api.github.com/users/open-company/repos","events_url":"https://api.github.com/users/open-company/events{/privacy}","received_events_url":"https://api.github.com/users/open-company/received_events","type":"Organization","site_admin":false},"repo":{"id":38428276,"name":"open-company-web","full_name":"open-company/open-company-web","owner":{"login":"open-company","id":13063090,"avatar_url":"https://avatars.githubusercontent.com/u/13063090?v=3","gravatar_id":"","url":"https://api.github.com/users/open-company","html_url":"https://github.com/open-company","followers_url":"https://api.github.com/users/open-company/followers","following_url":"https://api.github.com/users/open-company/following{/other_user}","gists_url":"https://api.github.com/users/open-company/gists{/gist_id}","starred_url":"https://api.github.com/users/open-company/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/open-company/subscriptions","organizations_url":"https://api.github.com/users/open-company/orgs","repos_url":"https://api.github.com/users/open-company/repos","events_url":"https://api.github.com/users/open-company/events{/privacy}","received_events_url":"https://api.github.com/users/open-company/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/open-company/open-company-web","description":"OPENcompany Web Application","fork":false,"url":"https://api.github.com/repos/open-company/open-company-web","forks_url":"https://api.github.com/repos/open-company/open-company-web/forks","keys_url":"https://api.github.com/repos/open-company/open-company-web/keys{/key_id}","collaborators_url":"https://api.github.com/repos/open-company/open-company-web/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/open-company/open-company-web/teams","hooks_url":"https://api.github.com/repos/open-company/open-company-web/hooks","issue_events_url":"https://api.github.com/repos/open-company/open-company-web/issues/events{/number}","events_url":"https://api.github.com/repos/open-company/open-company-web/events","assignees_url":"https://api.github.com/repos/open-company/open-company-web/assignees{/user}","branches_url":"https://api.github.com/repos/open-company/open-company-web/branches{/branch}","tags_url":"https://api.github.com/repos/open-company/open-company-web/tags","blobs_url":"https://api.github.com/repos/open-company/open-company-web/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/open-company/open-company-web/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/open-company/open-company-web/git/refs{/sha}","trees_url":"https://api.github.com/repos/open-company/open-company-web/git/trees{/sha}","statuses_url":"https://api.github.com/repos/open-company/open-company-web/statuses/{sha}","languages_url":"https://api.github.com/repos/open-company/open-company-web/languages","stargazers_url":"https://api.github.com/repos/open-company/open-company-web/stargazers","contributors_url":"https://api.github.com/repos/open-company/open-company-web/contributors","subscribers_url":"https://api.github.com/repos/open-company/open-company-web/subscribers","subscription_url":"https://api.github.com/repos/open-company/open-company-web/subscription","commits_url":"https://api.github.com/repos/open-company/open-company-web/commits{/sha}","git_commits_url":"https://api.github.com/repos/open-company/open-company-web/git/commits{/sha}","comments_url":"https://api.github.com/repos/open-company/open-company-web/comments{/number}","issue_comment_url":"https://api.github.com/repos/open-company/open-company-web/issues/comments{/number}","contents_url":"https://api.github.com/repos/open-company/open-company-web/contents/{+path}","compare_url":"https://api.github.com/repos/open-company/open-company-web/compare/{base}...{head}","merges_url":"https://api.github.com/repos/open-company/open-company-web/merges","archive_url":"https://api.github.com/repos/open-company/open-company-web/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/open-company/open-company-web/downloads","issues_url":"https://api.github.com/repos/open-company/open-company-web/issues{/number}","pulls_url":"https://api.github.com/repos/open-company/open-company-web/pulls{/number}","milestones_url":"https://api.github.com/repos/open-company/open-company-web/milestones{/number}","notifications_url":"https://api.github.com/repos/open-company/open-company-web/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/open-company/open-company-web/labels{/name}","releases_url":"https://api.github.com/repos/open-company/open-company-web/releases{/id}","deployments_url":"https://api.github.com/repos/open-company/open-company-web/deployments","created_at":"2015-07-02T11:10:09Z","updated_at":"2016-01-13T17:36:19Z","pushed_at":"2016-02-02T14:32:30Z","git_url":"git://github.com/open-company/open-company-web.git","ssh_url":"git@github.com:open-company/open-company-web.git","clone_url":"https://github.com/open-company/open-company-web.git","svn_url":"https://github.com/open-company/open-company-web","homepage":"","size":2260,"stargazers_count":7,"watchers_count":7,"language":"Clojure","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":7,"default_branch":"mainline"}},"base":{"label":"open-company:mainline","ref":"mainline","sha":"02cd17f1641e9f78c95b729424866c62c9002ed1","user":{"login":"open-company","id":13063090,"avatar_url":"https://avatars.githubusercontent.com/u/13063090?v=3","gravatar_id":"","url":"https://api.github.com/users/open-company","html_url":"https://github.com/open-company","followers_url":"https://api.github.com/users/open-company/followers","following_url":"https://api.github.com/users/open-company/following{/other_user}","gists_url":"https://api.github.com/users/open-company/gists{/gist_id}","starred_url":"https://api.github.com/users/open-company/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/open-company/subscriptions","organizations_url":"https://api.github.com/users/open-company/orgs","repos_url":"https://api.github.com/users/open-company/repos","events_url":"https://api.github.com/users/open-company/events{/privacy}","received_events_url":"https://api.github.com/users/open-company/received_events","type":"Organization","site_admin":false},"repo":{"id":38428276,"name":"open-company-web","full_name":"open-company/open-company-web","owner":{"login":"open-company","id":13063090,"avatar_url":"https://avatars.githubusercontent.com/u/13063090?v=3","gravatar_id":"","url":"https://api.github.com/users/open-company","html_url":"https://github.com/open-company","followers_url":"https://api.github.com/users/open-company/followers","following_url":"https://api.github.com/users/open-company/following{/other_user}","gists_url":"https://api.github.com/users/open-company/gists{/gist_id}","starred_url":"https://api.github.com/users/open-company/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/open-company/subscriptions","organizations_url":"https://api.github.com/users/open-company/orgs","repos_url":"https://api.github.com/users/open-company/repos","events_url":"https://api.github.com/users/open-company/events{/privacy}","received_events_url":"https://api.github.com/users/open-company/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/open-company/open-company-web","description":"OPENcompany Web Application","fork":false,"url":"https://api.github.com/repos/open-company/open-company-web","forks_url":"https://api.github.com/repos/open-company/open-company-web/forks","keys_url":"https://api.github.com/repos/open-company/open-company-web/keys{/key_id}","collaborators_url":"https://api.github.com/repos/open-company/open-company-web/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/open-company/open-company-web/teams","hooks_url":"https://api.github.com/repos/open-company/open-company-web/hooks","issue_events_url":"https://api.github.com/repos/open-company/open-company-web/issues/events{/number}","events_url":"https://api.github.com/repos/open-company/open-company-web/events","assignees_url":"https://api.github.com/repos/open-company/open-company-web/assignees{/user}","branches_url":"https://api.github.com/repos/open-company/open-company-web/branches{/branch}","tags_url":"https://api.github.com/repos/open-company/open-company-web/tags","blobs_url":"https://api.github.com/repos/open-company/open-company-web/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/open-company/open-company-web/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/open-company/open-company-web/git/refs{/sha}","trees_url":"https://api.github.com/repos/open-company/open-company-web/git/trees{/sha}","statuses_url":"https://api.github.com/repos/open-company/open-company-web/statuses/{sha}","languages_url":"https://api.github.com/repos/open-company/open-company-web/languages","stargazers_url":"https://api.github.com/repos/open-company/open-company-web/stargazers","contributors_url":"https://api.github.com/repos/open-company/open-company-web/contributors","subscribers_url":"https://api.github.com/repos/open-company/open-company-web/subscribers","subscription_url":"https://api.github.com/repos/open-company/open-company-web/subscription","commits_url":"https://api.github.com/repos/open-company/open-company-web/commits{/sha}","git_commits_url":"https://api.github.com/repos/open-company/open-company-web/git/commits{/sha}","comments_url":"https://api.github.com/repos/open-company/open-company-web/comments{/number}","issue_comment_url":"https://api.github.com/repos/open-company/open-company-web/issues/comments{/number}","contents_url":"https://api.github.com/repos/open-company/open-company-web/contents/{+path}","compare_url":"https://api.github.com/repos/open-company/open-company-web/compare/{base}...{head}","merges_url":"https://api.github.com/repos/open-company/open-company-web/merges","archive_url":"https://api.github.com/repos/open-company/open-company-web/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/open-company/open-company-web/downloads","issues_url":"https://api.github.com/repos/open-company/open-company-web/issues{/number}","pulls_url":"https://api.github.com/repos/open-company/open-company-web/pulls{/number}","milestones_url":"https://api.github.com/repos/open-company/open-company-web/milestones{/number}","notifications_url":"https://api.github.com/repos/open-company/open-company-web/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/open-company/open-company-web/labels{/name}","releases_url":"https://api.github.com/repos/open-company/open-company-web/releases{/id}","deployments_url":"https://api.github.com/repos/open-company/open-company-web/deployments","created_at":"2015-07-02T11:10:09Z","updated_at":"2016-01-13T17:36:19Z","pushed_at":"2016-02-02T14:32:30Z","git_url":"git://github.com/open-company/open-company-web.git","ssh_url":"git@github.com:open-company/open-company-web.git","clone_url":"https://github.com/open-company/open-company-web.git","svn_url":"https://github.com/open-company/open-company-web","homepage":"","size":2260,"stargazers_count":7,"watchers_count":7,"language":"Clojure","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":7,"default_branch":"mainline"}},"_links":{"self":{"href":"https://api.github.com/repos/open-company/open-company-web/pulls/72"},"html":{"href":"https://github.com/open-company/open-company-web/pull/72"},"issue":{"href":"https://api.github.com/repos/open-company/open-company-web/issues/72"},"comments":{"href":"https://api.github.com/repos/open-company/open-company-web/issues/72/comments"},"review_comments":{"href":"https://api.github.com/repos/open-company/open-company-web/pulls/72/comments"},"review_comment":{"href":"https://api.github.com/repos/open-company/open-company-web/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/open-company/open-company-web/pulls/72/commits"},"statuses":{"href":"https://api.github.com/repos/open-company/open-company-web/statuses/7e9a674c31bf3e37d4a437a70d18e17e6a0907be"}}}}