{"action":"created","comment":{"url":"https://api.github.com/repos/wix/wix-ui/pulls/comments/230578634","pull_request_review_id":171352527,"id":230578634,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIzMDU3ODYzNA==","diff_hunk":"@@ -0,0 +1,12 @@\n+import * as React from \"react\";\n+import { Avatar } from \"./avatar\";\n+import Registry from \"@ui-autotools/registry\";\n+\n+const avatarMetadata = Registry.getComponentMetadata(Avatar);\n+\n+avatarMetadata.addSim({\n+  title: \"default\",\n+  props: {\n+    name: 'John Doe'\n+  }\n+});","path":"packages/wix-ui-core/src/components/avatar/avatar.meta.tsx","position":12,"original_position":12,"commit_id":"86a1f9789a306b61bb6a72cab5fd924ed54fa68f","original_commit_id":"86a1f9789a306b61bb6a72cab5fd924ed54fa68f","user":{"login":"JoMarton","id":18241740,"node_id":"MDQ6VXNlcjE4MjQxNzQw","avatar_url":"https://avatars1.githubusercontent.com/u/18241740?v=4","gravatar_id":"","url":"https://api.github.com/users/JoMarton","html_url":"https://github.com/JoMarton","followers_url":"https://api.github.com/users/JoMarton/followers","following_url":"https://api.github.com/users/JoMarton/following{/other_user}","gists_url":"https://api.github.com/users/JoMarton/gists{/gist_id}","starred_url":"https://api.github.com/users/JoMarton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JoMarton/subscriptions","organizations_url":"https://api.github.com/users/JoMarton/orgs","repos_url":"https://api.github.com/users/JoMarton/repos","events_url":"https://api.github.com/users/JoMarton/events{/privacy}","received_events_url":"https://api.github.com/users/JoMarton/received_events","type":"User","site_admin":false},"body":"I think there be additional simulations for icon and image modes","created_at":"2018-11-04T07:44:29Z","updated_at":"2018-11-04T07:44:29Z","html_url":"https://github.com/wix/wix-ui/pull/840#discussion_r230578634","pull_request_url":"https://api.github.com/repos/wix/wix-ui/pulls/840","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/wix/wix-ui/pulls/comments/230578634"},"html":{"href":"https://github.com/wix/wix-ui/pull/840#discussion_r230578634"},"pull_request":{"href":"https://api.github.com/repos/wix/wix-ui/pulls/840"}}},"pull_request":{"url":"https://api.github.com/repos/wix/wix-ui/pulls/840","id":226625980,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI2NjI1OTgw","html_url":"https://github.com/wix/wix-ui/pull/840","diff_url":"https://github.com/wix/wix-ui/pull/840.diff","patch_url":"https://github.com/wix/wix-ui/pull/840.patch","issue_url":"https://api.github.com/repos/wix/wix-ui/issues/840","number":840,"state":"open","locked":false,"title":"WIP - `<Avatar/>` initial ","user":{"login":"hepiyellow","id":6338722,"node_id":"MDQ6VXNlcjYzMzg3MjI=","avatar_url":"https://avatars2.githubusercontent.com/u/6338722?v=4","gravatar_id":"","url":"https://api.github.com/users/hepiyellow","html_url":"https://github.com/hepiyellow","followers_url":"https://api.github.com/users/hepiyellow/followers","following_url":"https://api.github.com/users/hepiyellow/following{/other_user}","gists_url":"https://api.github.com/users/hepiyellow/gists{/gist_id}","starred_url":"https://api.github.com/users/hepiyellow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hepiyellow/subscriptions","organizations_url":"https://api.github.com/users/hepiyellow/orgs","repos_url":"https://api.github.com/users/hepiyellow/repos","events_url":"https://api.github.com/users/hepiyellow/events{/privacy}","received_events_url":"https://api.github.com/users/hepiyellow/received_events","type":"User","site_admin":false},"body":"## Initial implementation Avatar\r\nAPI spec:\r\nhttps://github.com/wix/wix-ui/tree/master/packages/wix-ui-core/src/components/avatar\r\n\r\nZeplin:\r\nhttps://zpl.io/bo9B5jG\r\n\r\n### This PR includes\r\n- minimal component with initials only\r\n- stylesheet\r\n- story\r\n- test , driver\r\n- backoffice theme - with only sizes and colors\r\n- backoffice story\r\n- new default theme (with avatar stylesheet)\r\n\r\n### This PR does not include:\r\n- Image fallback\r\n- title, aria-label, alt handling","created_at":"2018-10-29T16:22:48Z","updated_at":"2018-11-04T07:44:29Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1334fffff8fb688002b5107f8919ae79ba4f1a59","assignee":null,"assignees":[],"requested_reviewers":[{"login":"lbelinsk","id":18248989,"node_id":"MDQ6VXNlcjE4MjQ4OTg5","avatar_url":"https://avatars1.githubusercontent.com/u/18248989?v=4","gravatar_id":"","url":"https://api.github.com/users/lbelinsk","html_url":"https://github.com/lbelinsk","followers_url":"https://api.github.com/users/lbelinsk/followers","following_url":"https://api.github.com/users/lbelinsk/following{/other_user}","gists_url":"https://api.github.com/users/lbelinsk/gists{/gist_id}","starred_url":"https://api.github.com/users/lbelinsk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lbelinsk/subscriptions","organizations_url":"https://api.github.com/users/lbelinsk/orgs","repos_url":"https://api.github.com/users/lbelinsk/repos","events_url":"https://api.github.com/users/lbelinsk/events{/privacy}","received_events_url":"https://api.github.com/users/lbelinsk/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[{"id":1078327016,"node_id":"MDU6TGFiZWwxMDc4MzI3MDE2","url":"https://api.github.com/repos/wix/wix-ui/labels/WIP","name":"WIP","color":"a7f9a4","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/wix/wix-ui/pulls/840/commits","review_comments_url":"https://api.github.com/repos/wix/wix-ui/pulls/840/comments","review_comment_url":"https://api.github.com/repos/wix/wix-ui/pulls/comments{/number}","comments_url":"https://api.github.com/repos/wix/wix-ui/issues/840/comments","statuses_url":"https://api.github.com/repos/wix/wix-ui/statuses/86a1f9789a306b61bb6a72cab5fd924ed54fa68f","head":{"label":"wix:avatar/initial","ref":"avatar/initial","sha":"86a1f9789a306b61bb6a72cab5fd924ed54fa68f","user":{"login":"wix","id":686511,"node_id":"MDEyOk9yZ2FuaXphdGlvbjY4NjUxMQ==","avatar_url":"https://avatars1.githubusercontent.com/u/686511?v=4","gravatar_id":"","url":"https://api.github.com/users/wix","html_url":"https://github.com/wix","followers_url":"https://api.github.com/users/wix/followers","following_url":"https://api.github.com/users/wix/following{/other_user}","gists_url":"https://api.github.com/users/wix/gists{/gist_id}","starred_url":"https://api.github.com/users/wix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wix/subscriptions","organizations_url":"https://api.github.com/users/wix/orgs","repos_url":"https://api.github.com/users/wix/repos","events_url":"https://api.github.com/users/wix/events{/privacy}","received_events_url":"https://api.github.com/users/wix/received_events","type":"Organization","site_admin":false},"repo":{"id":102359519,"node_id":"MDEwOlJlcG9zaXRvcnkxMDIzNTk1MTk=","name":"wix-ui","full_name":"wix/wix-ui","private":false,"owner":{"login":"wix","id":686511,"node_id":"MDEyOk9yZ2FuaXphdGlvbjY4NjUxMQ==","avatar_url":"https://avatars1.githubusercontent.com/u/686511?v=4","gravatar_id":"","url":"https://api.github.com/users/wix","html_url":"https://github.com/wix","followers_url":"https://api.github.com/users/wix/followers","following_url":"https://api.github.com/users/wix/following{/other_user}","gists_url":"https://api.github.com/users/wix/gists{/gist_id}","starred_url":"https://api.github.com/users/wix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wix/subscriptions","organizations_url":"https://api.github.com/users/wix/orgs","repos_url":"https://api.github.com/users/wix/repos","events_url":"https://api.github.com/users/wix/events{/privacy}","received_events_url":"https://api.github.com/users/wix/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/wix/wix-ui","description":null,"fork":false,"url":"https://api.github.com/repos/wix/wix-ui","forks_url":"https://api.github.com/repos/wix/wix-ui/forks","keys_url":"https://api.github.com/repos/wix/wix-ui/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wix/wix-ui/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wix/wix-ui/teams","hooks_url":"https://api.github.com/repos/wix/wix-ui/hooks","issue_events_url":"https://api.github.com/repos/wix/wix-ui/issues/events{/number}","events_url":"https://api.github.com/repos/wix/wix-ui/events","assignees_url":"https://api.github.com/repos/wix/wix-ui/assignees{/user}","branches_url":"https://api.github.com/repos/wix/wix-ui/branches{/branch}","tags_url":"https://api.github.com/repos/wix/wix-ui/tags","blobs_url":"https://api.github.com/repos/wix/wix-ui/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wix/wix-ui/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wix/wix-ui/git/refs{/sha}","trees_url":"https://api.github.com/repos/wix/wix-ui/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wix/wix-ui/statuses/{sha}","languages_url":"https://api.github.com/repos/wix/wix-ui/languages","stargazers_url":"https://api.github.com/repos/wix/wix-ui/stargazers","contributors_url":"https://api.github.com/repos/wix/wix-ui/contributors","subscribers_url":"https://api.github.com/repos/wix/wix-ui/subscribers","subscription_url":"https://api.github.com/repos/wix/wix-ui/subscription","commits_url":"https://api.github.com/repos/wix/wix-ui/commits{/sha}","git_commits_url":"https://api.github.com/repos/wix/wix-ui/git/commits{/sha}","comments_url":"https://api.github.com/repos/wix/wix-ui/comments{/number}","issue_comment_url":"https://api.github.com/repos/wix/wix-ui/issues/comments{/number}","contents_url":"https://api.github.com/repos/wix/wix-ui/contents/{+path}","compare_url":"https://api.github.com/repos/wix/wix-ui/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wix/wix-ui/merges","archive_url":"https://api.github.com/repos/wix/wix-ui/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wix/wix-ui/downloads","issues_url":"https://api.github.com/repos/wix/wix-ui/issues{/number}","pulls_url":"https://api.github.com/repos/wix/wix-ui/pulls{/number}","milestones_url":"https://api.github.com/repos/wix/wix-ui/milestones{/number}","notifications_url":"https://api.github.com/repos/wix/wix-ui/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wix/wix-ui/labels{/name}","releases_url":"https://api.github.com/repos/wix/wix-ui/releases{/id}","deployments_url":"https://api.github.com/repos/wix/wix-ui/deployments","created_at":"2017-09-04T12:34:56Z","updated_at":"2018-11-02T08:50:11Z","pushed_at":"2018-11-02T15:08:47Z","git_url":"git://github.com/wix/wix-ui.git","ssh_url":"git@github.com:wix/wix-ui.git","clone_url":"https://github.com/wix/wix-ui.git","svn_url":"https://github.com/wix/wix-ui","homepage":null,"size":5112,"stargazers_count":38,"watchers_count":38,"language":"TypeScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":15,"mirror_url":null,"archived":false,"open_issues_count":82,"license":null,"forks":15,"open_issues":82,"watchers":38,"default_branch":"master"}},"base":{"label":"wix:master","ref":"master","sha":"b6de544ed6e0b1cf3a1828747d58f328798ee6fe","user":{"login":"wix","id":686511,"node_id":"MDEyOk9yZ2FuaXphdGlvbjY4NjUxMQ==","avatar_url":"https://avatars1.githubusercontent.com/u/686511?v=4","gravatar_id":"","url":"https://api.github.com/users/wix","html_url":"https://github.com/wix","followers_url":"https://api.github.com/users/wix/followers","following_url":"https://api.github.com/users/wix/following{/other_user}","gists_url":"https://api.github.com/users/wix/gists{/gist_id}","starred_url":"https://api.github.com/users/wix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wix/subscriptions","organizations_url":"https://api.github.com/users/wix/orgs","repos_url":"https://api.github.com/users/wix/repos","events_url":"https://api.github.com/users/wix/events{/privacy}","received_events_url":"https://api.github.com/users/wix/received_events","type":"Organization","site_admin":false},"repo":{"id":102359519,"node_id":"MDEwOlJlcG9zaXRvcnkxMDIzNTk1MTk=","name":"wix-ui","full_name":"wix/wix-ui","private":false,"owner":{"login":"wix","id":686511,"node_id":"MDEyOk9yZ2FuaXphdGlvbjY4NjUxMQ==","avatar_url":"https://avatars1.githubusercontent.com/u/686511?v=4","gravatar_id":"","url":"https://api.github.com/users/wix","html_url":"https://github.com/wix","followers_url":"https://api.github.com/users/wix/followers","following_url":"https://api.github.com/users/wix/following{/other_user}","gists_url":"https://api.github.com/users/wix/gists{/gist_id}","starred_url":"https://api.github.com/users/wix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wix/subscriptions","organizations_url":"https://api.github.com/users/wix/orgs","repos_url":"https://api.github.com/users/wix/repos","events_url":"https://api.github.com/users/wix/events{/privacy}","received_events_url":"https://api.github.com/users/wix/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/wix/wix-ui","description":null,"fork":false,"url":"https://api.github.com/repos/wix/wix-ui","forks_url":"https://api.github.com/repos/wix/wix-ui/forks","keys_url":"https://api.github.com/repos/wix/wix-ui/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wix/wix-ui/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wix/wix-ui/teams","hooks_url":"https://api.github.com/repos/wix/wix-ui/hooks","issue_events_url":"https://api.github.com/repos/wix/wix-ui/issues/events{/number}","events_url":"https://api.github.com/repos/wix/wix-ui/events","assignees_url":"https://api.github.com/repos/wix/wix-ui/assignees{/user}","branches_url":"https://api.github.com/repos/wix/wix-ui/branches{/branch}","tags_url":"https://api.github.com/repos/wix/wix-ui/tags","blobs_url":"https://api.github.com/repos/wix/wix-ui/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wix/wix-ui/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wix/wix-ui/git/refs{/sha}","trees_url":"https://api.github.com/repos/wix/wix-ui/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wix/wix-ui/statuses/{sha}","languages_url":"https://api.github.com/repos/wix/wix-ui/languages","stargazers_url":"https://api.github.com/repos/wix/wix-ui/stargazers","contributors_url":"https://api.github.com/repos/wix/wix-ui/contributors","subscribers_url":"https://api.github.com/repos/wix/wix-ui/subscribers","subscription_url":"https://api.github.com/repos/wix/wix-ui/subscription","commits_url":"https://api.github.com/repos/wix/wix-ui/commits{/sha}","git_commits_url":"https://api.github.com/repos/wix/wix-ui/git/commits{/sha}","comments_url":"https://api.github.com/repos/wix/wix-ui/comments{/number}","issue_comment_url":"https://api.github.com/repos/wix/wix-ui/issues/comments{/number}","contents_url":"https://api.github.com/repos/wix/wix-ui/contents/{+path}","compare_url":"https://api.github.com/repos/wix/wix-ui/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wix/wix-ui/merges","archive_url":"https://api.github.com/repos/wix/wix-ui/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wix/wix-ui/downloads","issues_url":"https://api.github.com/repos/wix/wix-ui/issues{/number}","pulls_url":"https://api.github.com/repos/wix/wix-ui/pulls{/number}","milestones_url":"https://api.github.com/repos/wix/wix-ui/milestones{/number}","notifications_url":"https://api.github.com/repos/wix/wix-ui/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wix/wix-ui/labels{/name}","releases_url":"https://api.github.com/repos/wix/wix-ui/releases{/id}","deployments_url":"https://api.github.com/repos/wix/wix-ui/deployments","created_at":"2017-09-04T12:34:56Z","updated_at":"2018-11-02T08:50:11Z","pushed_at":"2018-11-02T15:08:47Z","git_url":"git://github.com/wix/wix-ui.git","ssh_url":"git@github.com:wix/wix-ui.git","clone_url":"https://github.com/wix/wix-ui.git","svn_url":"https://github.com/wix/wix-ui","homepage":null,"size":5112,"stargazers_count":38,"watchers_count":38,"language":"TypeScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":15,"mirror_url":null,"archived":false,"open_issues_count":82,"license":null,"forks":15,"open_issues":82,"watchers":38,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/wix/wix-ui/pulls/840"},"html":{"href":"https://github.com/wix/wix-ui/pull/840"},"issue":{"href":"https://api.github.com/repos/wix/wix-ui/issues/840"},"comments":{"href":"https://api.github.com/repos/wix/wix-ui/issues/840/comments"},"review_comments":{"href":"https://api.github.com/repos/wix/wix-ui/pulls/840/comments"},"review_comment":{"href":"https://api.github.com/repos/wix/wix-ui/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/wix/wix-ui/pulls/840/commits"},"statuses":{"href":"https://api.github.com/repos/wix/wix-ui/statuses/86a1f9789a306b61bb6a72cab5fd924ed54fa68f"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"JoMarton"}}