{"action":"created","comment":{"url":"https://api.github.com/repos/PayEx/design.payex.com/pulls/comments/226910767","pull_request_review_id":166835995,"id":226910767,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIyNjkxMDc2Nw==","diff_hunk":"@@ -0,0 +1,161 @@\n+import React, { Component } from \"react\";\n+import { Link } from \"react-router-dom\";\n+import PrismCode from \"react-prism\";\n+\n+import { ComponentPreview, DocToc, ExperimentalComponentAlert } from \"#\";\n+import { sidebar } from \"$/px-script\";\n+import SidebarComponent from \"@/Sidebar\";\n+\n+const sidebarItems = [\n+    {\n+        name: \"Home\",\n+        icon: \"home\"\n+    },\n+    {\n+        name: \"Transactions\",\n+        icon: \"shopping_cart\"\n+    },\n+    {\n+        name: \"Notifications\",\n+        icon: \"notification_important\"\n+    },\n+    {\n+        name: \"Language\",\n+        icon: \"language\"\n+    },\n+    {\n+        name: \"Account\",\n+        icon: \"account_balance\"\n+    },\n+    {\n+        name: \"Authentication\",\n+        icon: \"fingerprint\"\n+    }\n+];\n+\n+const sidebarItemsTwoLevels = [\n+    {\n+        name: \"Home\",\n+        icon: \"home\"\n+    },\n+    {\n+        name: \"Transactions\",\n+        icon: \"shopping_cart\",\n+        subItems: [\"Purchase history\", \"Invoice\"]\n+    },\n+    {\n+        name: \"Notifications\",\n+        icon: \"notification_important\"\n+    },\n+    {\n+        name: \"Language\",\n+        icon: \"language\"\n+    },\n+    {\n+        name: \"Account\",\n+        icon: \"account_balance\",\n+        subItems: [\"Email\", \"Information\", \"Other things\"]\n+    }\n+];\n+\n+const StandardSidebar = () => (\n+    <>\n+        <h2 id=\"sidebar-standard\">Standard sidebar</h2>\n+        <p>\n+            Add class <code className=\"token property\">.sidebar</code> and <code className=\"token property\">.sidebar-(desired_size)-vertical-wide</code> to a nav containing an <PrismCode className=\"language-html\">{\"<ul>\"}</PrismCode> to get a standard sidebar.","path":"src/App/Documentation/components/Sidebar/index.js","position":65,"original_position":65,"commit_id":"3fca988edccf5b3e0e71343151f67fe6b8719c91","original_commit_id":"3fca988edccf5b3e0e71343151f67fe6b8719c91","user":{"login":"Akswii","id":9350120,"node_id":"MDQ6VXNlcjkzNTAxMjA=","avatar_url":"https://avatars1.githubusercontent.com/u/9350120?v=4","gravatar_id":"","url":"https://api.github.com/users/Akswii","html_url":"https://github.com/Akswii","followers_url":"https://api.github.com/users/Akswii/followers","following_url":"https://api.github.com/users/Akswii/following{/other_user}","gists_url":"https://api.github.com/users/Akswii/gists{/gist_id}","starred_url":"https://api.github.com/users/Akswii/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Akswii/subscriptions","organizations_url":"https://api.github.com/users/Akswii/orgs","repos_url":"https://api.github.com/users/Akswii/repos","events_url":"https://api.github.com/users/Akswii/events{/privacy}","received_events_url":"https://api.github.com/users/Akswii/received_events","type":"User","site_admin":false},"body":"I don't currently have  `<Attribute />` and `<Property />` available. Using brackets to show where you can use desired_size makes it so it's read as a variable.","created_at":"2018-10-22T06:48:10Z","updated_at":"2018-10-22T06:48:14Z","html_url":"https://github.com/PayEx/design.payex.com/pull/52#discussion_r226910767","pull_request_url":"https://api.github.com/repos/PayEx/design.payex.com/pulls/52","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/PayEx/design.payex.com/pulls/comments/226910767"},"html":{"href":"https://github.com/PayEx/design.payex.com/pull/52#discussion_r226910767"},"pull_request":{"href":"https://api.github.com/repos/PayEx/design.payex.com/pulls/52"}},"in_reply_to_id":226660675},"pull_request":{"url":"https://api.github.com/repos/PayEx/design.payex.com/pulls/52","id":224199115,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI0MTk5MTE1","html_url":"https://github.com/PayEx/design.payex.com/pull/52","diff_url":"https://github.com/PayEx/design.payex.com/pull/52.diff","patch_url":"https://github.com/PayEx/design.payex.com/pull/52.patch","issue_url":"https://api.github.com/repos/PayEx/design.payex.com/issues/52","number":52,"state":"open","locked":false,"title":"Feature/sidebar v2","user":{"login":"Akswii","id":9350120,"node_id":"MDQ6VXNlcjkzNTAxMjA=","avatar_url":"https://avatars1.githubusercontent.com/u/9350120?v=4","gravatar_id":"","url":"https://api.github.com/users/Akswii","html_url":"https://github.com/Akswii","followers_url":"https://api.github.com/users/Akswii/followers","following_url":"https://api.github.com/users/Akswii/following{/other_user}","gists_url":"https://api.github.com/users/Akswii/gists{/gist_id}","starred_url":"https://api.github.com/users/Akswii/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Akswii/subscriptions","organizations_url":"https://api.github.com/users/Akswii/orgs","repos_url":"https://api.github.com/users/Akswii/repos","events_url":"https://api.github.com/users/Akswii/events{/privacy}","received_events_url":"https://api.github.com/users/Akswii/received_events","type":"User","site_admin":false},"body":"Added new component sidebar.","created_at":"2018-10-19T07:51:12Z","updated_at":"2018-10-22T06:48:13Z","closed_at":null,"merged_at":null,"merge_commit_sha":"16ba624d82a73f9facd669e52f2b3224e252a2c7","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":831232192,"node_id":"MDU6TGFiZWw4MzEyMzIxOTI=","url":"https://api.github.com/repos/PayEx/design.payex.com/labels/enhancement","name":"enhancement","color":"a2eeef","default":true}],"milestone":null,"commits_url":"https://api.github.com/repos/PayEx/design.payex.com/pulls/52/commits","review_comments_url":"https://api.github.com/repos/PayEx/design.payex.com/pulls/52/comments","review_comment_url":"https://api.github.com/repos/PayEx/design.payex.com/pulls/comments{/number}","comments_url":"https://api.github.com/repos/PayEx/design.payex.com/issues/52/comments","statuses_url":"https://api.github.com/repos/PayEx/design.payex.com/statuses/3fca988edccf5b3e0e71343151f67fe6b8719c91","head":{"label":"PayEx:feature/sidebar_v2","ref":"feature/sidebar_v2","sha":"3fca988edccf5b3e0e71343151f67fe6b8719c91","user":{"login":"PayEx","id":11072946,"node_id":"MDEyOk9yZ2FuaXphdGlvbjExMDcyOTQ2","avatar_url":"https://avatars2.githubusercontent.com/u/11072946?v=4","gravatar_id":"","url":"https://api.github.com/users/PayEx","html_url":"https://github.com/PayEx","followers_url":"https://api.github.com/users/PayEx/followers","following_url":"https://api.github.com/users/PayEx/following{/other_user}","gists_url":"https://api.github.com/users/PayEx/gists{/gist_id}","starred_url":"https://api.github.com/users/PayEx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PayEx/subscriptions","organizations_url":"https://api.github.com/users/PayEx/orgs","repos_url":"https://api.github.com/users/PayEx/repos","events_url":"https://api.github.com/users/PayEx/events{/privacy}","received_events_url":"https://api.github.com/users/PayEx/received_events","type":"Organization","site_admin":false},"repo":{"id":120770255,"node_id":"MDEwOlJlcG9zaXRvcnkxMjA3NzAyNTU=","name":"design.payex.com","full_name":"PayEx/design.payex.com","private":false,"owner":{"login":"PayEx","id":11072946,"node_id":"MDEyOk9yZ2FuaXphdGlvbjExMDcyOTQ2","avatar_url":"https://avatars2.githubusercontent.com/u/11072946?v=4","gravatar_id":"","url":"https://api.github.com/users/PayEx","html_url":"https://github.com/PayEx","followers_url":"https://api.github.com/users/PayEx/followers","following_url":"https://api.github.com/users/PayEx/following{/other_user}","gists_url":"https://api.github.com/users/PayEx/gists{/gist_id}","starred_url":"https://api.github.com/users/PayEx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PayEx/subscriptions","organizations_url":"https://api.github.com/users/PayEx/orgs","repos_url":"https://api.github.com/users/PayEx/repos","events_url":"https://api.github.com/users/PayEx/events{/privacy}","received_events_url":"https://api.github.com/users/PayEx/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/PayEx/design.payex.com","description":"The new PayEx DesignGuide","fork":false,"url":"https://api.github.com/repos/PayEx/design.payex.com","forks_url":"https://api.github.com/repos/PayEx/design.payex.com/forks","keys_url":"https://api.github.com/repos/PayEx/design.payex.com/keys{/key_id}","collaborators_url":"https://api.github.com/repos/PayEx/design.payex.com/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/PayEx/design.payex.com/teams","hooks_url":"https://api.github.com/repos/PayEx/design.payex.com/hooks","issue_events_url":"https://api.github.com/repos/PayEx/design.payex.com/issues/events{/number}","events_url":"https://api.github.com/repos/PayEx/design.payex.com/events","assignees_url":"https://api.github.com/repos/PayEx/design.payex.com/assignees{/user}","branches_url":"https://api.github.com/repos/PayEx/design.payex.com/branches{/branch}","tags_url":"https://api.github.com/repos/PayEx/design.payex.com/tags","blobs_url":"https://api.github.com/repos/PayEx/design.payex.com/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/PayEx/design.payex.com/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/PayEx/design.payex.com/git/refs{/sha}","trees_url":"https://api.github.com/repos/PayEx/design.payex.com/git/trees{/sha}","statuses_url":"https://api.github.com/repos/PayEx/design.payex.com/statuses/{sha}","languages_url":"https://api.github.com/repos/PayEx/design.payex.com/languages","stargazers_url":"https://api.github.com/repos/PayEx/design.payex.com/stargazers","contributors_url":"https://api.github.com/repos/PayEx/design.payex.com/contributors","subscribers_url":"https://api.github.com/repos/PayEx/design.payex.com/subscribers","subscription_url":"https://api.github.com/repos/PayEx/design.payex.com/subscription","commits_url":"https://api.github.com/repos/PayEx/design.payex.com/commits{/sha}","git_commits_url":"https://api.github.com/repos/PayEx/design.payex.com/git/commits{/sha}","comments_url":"https://api.github.com/repos/PayEx/design.payex.com/comments{/number}","issue_comment_url":"https://api.github.com/repos/PayEx/design.payex.com/issues/comments{/number}","contents_url":"https://api.github.com/repos/PayEx/design.payex.com/contents/{+path}","compare_url":"https://api.github.com/repos/PayEx/design.payex.com/compare/{base}...{head}","merges_url":"https://api.github.com/repos/PayEx/design.payex.com/merges","archive_url":"https://api.github.com/repos/PayEx/design.payex.com/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/PayEx/design.payex.com/downloads","issues_url":"https://api.github.com/repos/PayEx/design.payex.com/issues{/number}","pulls_url":"https://api.github.com/repos/PayEx/design.payex.com/pulls{/number}","milestones_url":"https://api.github.com/repos/PayEx/design.payex.com/milestones{/number}","notifications_url":"https://api.github.com/repos/PayEx/design.payex.com/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/PayEx/design.payex.com/labels{/name}","releases_url":"https://api.github.com/repos/PayEx/design.payex.com/releases{/id}","deployments_url":"https://api.github.com/repos/PayEx/design.payex.com/deployments","created_at":"2018-02-08T14:15:50Z","updated_at":"2018-10-11T13:00:16Z","pushed_at":"2018-10-19T13:50:16Z","git_url":"git://github.com/PayEx/design.payex.com.git","ssh_url":"git@github.com:PayEx/design.payex.com.git","clone_url":"https://github.com/PayEx/design.payex.com.git","svn_url":"https://github.com/PayEx/design.payex.com","homepage":"https://design.payex.com","size":22800,"stargazers_count":5,"watchers_count":5,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":13,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":13,"watchers":5,"default_branch":"master"}},"base":{"label":"PayEx:develop","ref":"develop","sha":"18ec041762b6fc6367a21db02f12919c70da0a61","user":{"login":"PayEx","id":11072946,"node_id":"MDEyOk9yZ2FuaXphdGlvbjExMDcyOTQ2","avatar_url":"https://avatars2.githubusercontent.com/u/11072946?v=4","gravatar_id":"","url":"https://api.github.com/users/PayEx","html_url":"https://github.com/PayEx","followers_url":"https://api.github.com/users/PayEx/followers","following_url":"https://api.github.com/users/PayEx/following{/other_user}","gists_url":"https://api.github.com/users/PayEx/gists{/gist_id}","starred_url":"https://api.github.com/users/PayEx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PayEx/subscriptions","organizations_url":"https://api.github.com/users/PayEx/orgs","repos_url":"https://api.github.com/users/PayEx/repos","events_url":"https://api.github.com/users/PayEx/events{/privacy}","received_events_url":"https://api.github.com/users/PayEx/received_events","type":"Organization","site_admin":false},"repo":{"id":120770255,"node_id":"MDEwOlJlcG9zaXRvcnkxMjA3NzAyNTU=","name":"design.payex.com","full_name":"PayEx/design.payex.com","private":false,"owner":{"login":"PayEx","id":11072946,"node_id":"MDEyOk9yZ2FuaXphdGlvbjExMDcyOTQ2","avatar_url":"https://avatars2.githubusercontent.com/u/11072946?v=4","gravatar_id":"","url":"https://api.github.com/users/PayEx","html_url":"https://github.com/PayEx","followers_url":"https://api.github.com/users/PayEx/followers","following_url":"https://api.github.com/users/PayEx/following{/other_user}","gists_url":"https://api.github.com/users/PayEx/gists{/gist_id}","starred_url":"https://api.github.com/users/PayEx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PayEx/subscriptions","organizations_url":"https://api.github.com/users/PayEx/orgs","repos_url":"https://api.github.com/users/PayEx/repos","events_url":"https://api.github.com/users/PayEx/events{/privacy}","received_events_url":"https://api.github.com/users/PayEx/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/PayEx/design.payex.com","description":"The new PayEx DesignGuide","fork":false,"url":"https://api.github.com/repos/PayEx/design.payex.com","forks_url":"https://api.github.com/repos/PayEx/design.payex.com/forks","keys_url":"https://api.github.com/repos/PayEx/design.payex.com/keys{/key_id}","collaborators_url":"https://api.github.com/repos/PayEx/design.payex.com/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/PayEx/design.payex.com/teams","hooks_url":"https://api.github.com/repos/PayEx/design.payex.com/hooks","issue_events_url":"https://api.github.com/repos/PayEx/design.payex.com/issues/events{/number}","events_url":"https://api.github.com/repos/PayEx/design.payex.com/events","assignees_url":"https://api.github.com/repos/PayEx/design.payex.com/assignees{/user}","branches_url":"https://api.github.com/repos/PayEx/design.payex.com/branches{/branch}","tags_url":"https://api.github.com/repos/PayEx/design.payex.com/tags","blobs_url":"https://api.github.com/repos/PayEx/design.payex.com/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/PayEx/design.payex.com/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/PayEx/design.payex.com/git/refs{/sha}","trees_url":"https://api.github.com/repos/PayEx/design.payex.com/git/trees{/sha}","statuses_url":"https://api.github.com/repos/PayEx/design.payex.com/statuses/{sha}","languages_url":"https://api.github.com/repos/PayEx/design.payex.com/languages","stargazers_url":"https://api.github.com/repos/PayEx/design.payex.com/stargazers","contributors_url":"https://api.github.com/repos/PayEx/design.payex.com/contributors","subscribers_url":"https://api.github.com/repos/PayEx/design.payex.com/subscribers","subscription_url":"https://api.github.com/repos/PayEx/design.payex.com/subscription","commits_url":"https://api.github.com/repos/PayEx/design.payex.com/commits{/sha}","git_commits_url":"https://api.github.com/repos/PayEx/design.payex.com/git/commits{/sha}","comments_url":"https://api.github.com/repos/PayEx/design.payex.com/comments{/number}","issue_comment_url":"https://api.github.com/repos/PayEx/design.payex.com/issues/comments{/number}","contents_url":"https://api.github.com/repos/PayEx/design.payex.com/contents/{+path}","compare_url":"https://api.github.com/repos/PayEx/design.payex.com/compare/{base}...{head}","merges_url":"https://api.github.com/repos/PayEx/design.payex.com/merges","archive_url":"https://api.github.com/repos/PayEx/design.payex.com/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/PayEx/design.payex.com/downloads","issues_url":"https://api.github.com/repos/PayEx/design.payex.com/issues{/number}","pulls_url":"https://api.github.com/repos/PayEx/design.payex.com/pulls{/number}","milestones_url":"https://api.github.com/repos/PayEx/design.payex.com/milestones{/number}","notifications_url":"https://api.github.com/repos/PayEx/design.payex.com/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/PayEx/design.payex.com/labels{/name}","releases_url":"https://api.github.com/repos/PayEx/design.payex.com/releases{/id}","deployments_url":"https://api.github.com/repos/PayEx/design.payex.com/deployments","created_at":"2018-02-08T14:15:50Z","updated_at":"2018-10-11T13:00:16Z","pushed_at":"2018-10-19T13:50:16Z","git_url":"git://github.com/PayEx/design.payex.com.git","ssh_url":"git@github.com:PayEx/design.payex.com.git","clone_url":"https://github.com/PayEx/design.payex.com.git","svn_url":"https://github.com/PayEx/design.payex.com","homepage":"https://design.payex.com","size":22800,"stargazers_count":5,"watchers_count":5,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":13,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":13,"watchers":5,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/PayEx/design.payex.com/pulls/52"},"html":{"href":"https://github.com/PayEx/design.payex.com/pull/52"},"issue":{"href":"https://api.github.com/repos/PayEx/design.payex.com/issues/52"},"comments":{"href":"https://api.github.com/repos/PayEx/design.payex.com/issues/52/comments"},"review_comments":{"href":"https://api.github.com/repos/PayEx/design.payex.com/pulls/52/comments"},"review_comment":{"href":"https://api.github.com/repos/PayEx/design.payex.com/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/PayEx/design.payex.com/pulls/52/commits"},"statuses":{"href":"https://api.github.com/repos/PayEx/design.payex.com/statuses/3fca988edccf5b3e0e71343151f67fe6b8719c91"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"Akswii"}}