{"action":"created","comment":{"url":"https://api.github.com/repos/adsk-hig/hig/pulls/comments/119227076","pull_request_review_id":41087551,"id":119227076,"diff_hunk":"@@ -186,6 +186,85 @@\n                                 \"profileSettingsLabel\": \"{String} profileSettingsLabel\",\n                                 \"signOutLabel\": \"{String} signOutLabel\"\n                             }\n+                        },\n+                        \"ProjectAccountSwitcher\": {\n+                            \"methods\": {\n+                                \"addAccount\": {\n+                                    \"desc\": \"Pass in an instance of a ProjectAccountSwitcher Account\",\n+                                    \"params\": [\n+                                        \"{Account} [ReferenceAccount]\",\n+                                        \"{Account} [ReferenceAccount] - (Optional) reference node for insertBefore\"\n+                                    ]\n+                                },\n+                                \"addProject\": {\n+                                    \"desc\": \"Pass in an instance of a ProjectAccountSwitcher Project\",\n+                                    \"params\": [\n+                                        \"{Project} [ReferenceProject]\",\n+                                        \"{Project} [ReferenceProject] - (Optional) reference node for insertBefore\"\n+                                    ]\n+                                },\n+                                \"open\": {\n+                                    \"desc\": \"opens the profile\"\n+                                },\n+                                \"close\": {\n+                                    \"desc\": \"closes the profile\"\n+                                },\n+                                \"setActive\": {\n+                                    \"desc\": \"Pass an instance of either Account or Project\",\n+                                    \"params\": [\n+                                        \"{Account or Project} - The account or project currently chosen\"\n+                                    ]\n+                                },","path":"src/interface/interface.json","position":32,"original_position":32,"commit_id":"efa94cee5af4e91603f748997c5f27efd8aa2da3","original_commit_id":"efa94cee5af4e91603f748997c5f27efd8aa2da3","user":{"login":"nfiniteset","id":178653,"avatar_url":"https://avatars3.githubusercontent.com/u/178653?v=3","gravatar_id":"","url":"https://api.github.com/users/nfiniteset","html_url":"https://github.com/nfiniteset","followers_url":"https://api.github.com/users/nfiniteset/followers","following_url":"https://api.github.com/users/nfiniteset/following{/other_user}","gists_url":"https://api.github.com/users/nfiniteset/gists{/gist_id}","starred_url":"https://api.github.com/users/nfiniteset/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nfiniteset/subscriptions","organizations_url":"https://api.github.com/users/nfiniteset/orgs","repos_url":"https://api.github.com/users/nfiniteset/repos","events_url":"https://api.github.com/users/nfiniteset/events{/privacy}","received_events_url":"https://api.github.com/users/nfiniteset/received_events","type":"User","site_admin":false},"body":"The only thing I wonder about here is that projects and accounts have different shaped images. Do I let consumers set an image of any aspect ratio? If not, I also need a method to set if the active thing is a project or an account.\r\n\r\n","created_at":"2017-05-30T22:02:11Z","updated_at":"2017-05-30T22:02:11Z","html_url":"https://github.com/adsk-hig/hig/pull/42#discussion_r119227076","pull_request_url":"https://api.github.com/repos/adsk-hig/hig/pulls/42","_links":{"self":{"href":"https://api.github.com/repos/adsk-hig/hig/pulls/comments/119227076"},"html":{"href":"https://github.com/adsk-hig/hig/pull/42#discussion_r119227076"},"pull_request":{"href":"https://api.github.com/repos/adsk-hig/hig/pulls/42"}}},"pull_request":{"url":"https://api.github.com/repos/adsk-hig/hig/pulls/42","id":123144070,"html_url":"https://github.com/adsk-hig/hig/pull/42","diff_url":"https://github.com/adsk-hig/hig/pull/42.diff","patch_url":"https://github.com/adsk-hig/hig/pull/42.patch","issue_url":"https://api.github.com/repos/adsk-hig/hig/issues/42","number":42,"state":"open","locked":false,"title":"First stab at ProjectAccountSwitcher interface","user":{"login":"nfiniteset","id":178653,"avatar_url":"https://avatars3.githubusercontent.com/u/178653?v=3","gravatar_id":"","url":"https://api.github.com/users/nfiniteset","html_url":"https://github.com/nfiniteset","followers_url":"https://api.github.com/users/nfiniteset/followers","following_url":"https://api.github.com/users/nfiniteset/following{/other_user}","gists_url":"https://api.github.com/users/nfiniteset/gists{/gist_id}","starred_url":"https://api.github.com/users/nfiniteset/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nfiniteset/subscriptions","organizations_url":"https://api.github.com/users/nfiniteset/orgs","repos_url":"https://api.github.com/users/nfiniteset/repos","events_url":"https://api.github.com/users/nfiniteset/events{/privacy}","received_events_url":"https://api.github.com/users/nfiniteset/received_events","type":"User","site_admin":false},"body":"References #14","created_at":"2017-05-30T21:07:56Z","updated_at":"2017-05-30T22:02:11Z","closed_at":null,"merged_at":null,"merge_commit_sha":"736ffda5742334648978a756794911fc76919d8d","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/adsk-hig/hig/pulls/42/commits","review_comments_url":"https://api.github.com/repos/adsk-hig/hig/pulls/42/comments","review_comment_url":"https://api.github.com/repos/adsk-hig/hig/pulls/comments{/number}","comments_url":"https://api.github.com/repos/adsk-hig/hig/issues/42/comments","statuses_url":"https://api.github.com/repos/adsk-hig/hig/statuses/efa94cee5af4e91603f748997c5f27efd8aa2da3","head":{"label":"adsk-hig:features/project-account-switcher-14","ref":"features/project-account-switcher-14","sha":"efa94cee5af4e91603f748997c5f27efd8aa2da3","user":{"login":"adsk-hig","id":26884643,"avatar_url":"https://avatars1.githubusercontent.com/u/26884643?v=3","gravatar_id":"","url":"https://api.github.com/users/adsk-hig","html_url":"https://github.com/adsk-hig","followers_url":"https://api.github.com/users/adsk-hig/followers","following_url":"https://api.github.com/users/adsk-hig/following{/other_user}","gists_url":"https://api.github.com/users/adsk-hig/gists{/gist_id}","starred_url":"https://api.github.com/users/adsk-hig/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adsk-hig/subscriptions","organizations_url":"https://api.github.com/users/adsk-hig/orgs","repos_url":"https://api.github.com/users/adsk-hig/repos","events_url":"https://api.github.com/users/adsk-hig/events{/privacy}","received_events_url":"https://api.github.com/users/adsk-hig/received_events","type":"Organization","site_admin":false},"repo":{"id":87124532,"name":"hig","full_name":"adsk-hig/hig","owner":{"login":"adsk-hig","id":26884643,"avatar_url":"https://avatars1.githubusercontent.com/u/26884643?v=3","gravatar_id":"","url":"https://api.github.com/users/adsk-hig","html_url":"https://github.com/adsk-hig","followers_url":"https://api.github.com/users/adsk-hig/followers","following_url":"https://api.github.com/users/adsk-hig/following{/other_user}","gists_url":"https://api.github.com/users/adsk-hig/gists{/gist_id}","starred_url":"https://api.github.com/users/adsk-hig/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adsk-hig/subscriptions","organizations_url":"https://api.github.com/users/adsk-hig/orgs","repos_url":"https://api.github.com/users/adsk-hig/repos","events_url":"https://api.github.com/users/adsk-hig/events{/privacy}","received_events_url":"https://api.github.com/users/adsk-hig/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/adsk-hig/hig","description":":seedling:","fork":false,"url":"https://api.github.com/repos/adsk-hig/hig","forks_url":"https://api.github.com/repos/adsk-hig/hig/forks","keys_url":"https://api.github.com/repos/adsk-hig/hig/keys{/key_id}","collaborators_url":"https://api.github.com/repos/adsk-hig/hig/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/adsk-hig/hig/teams","hooks_url":"https://api.github.com/repos/adsk-hig/hig/hooks","issue_events_url":"https://api.github.com/repos/adsk-hig/hig/issues/events{/number}","events_url":"https://api.github.com/repos/adsk-hig/hig/events","assignees_url":"https://api.github.com/repos/adsk-hig/hig/assignees{/user}","branches_url":"https://api.github.com/repos/adsk-hig/hig/branches{/branch}","tags_url":"https://api.github.com/repos/adsk-hig/hig/tags","blobs_url":"https://api.github.com/repos/adsk-hig/hig/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/adsk-hig/hig/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/adsk-hig/hig/git/refs{/sha}","trees_url":"https://api.github.com/repos/adsk-hig/hig/git/trees{/sha}","statuses_url":"https://api.github.com/repos/adsk-hig/hig/statuses/{sha}","languages_url":"https://api.github.com/repos/adsk-hig/hig/languages","stargazers_url":"https://api.github.com/repos/adsk-hig/hig/stargazers","contributors_url":"https://api.github.com/repos/adsk-hig/hig/contributors","subscribers_url":"https://api.github.com/repos/adsk-hig/hig/subscribers","subscription_url":"https://api.github.com/repos/adsk-hig/hig/subscription","commits_url":"https://api.github.com/repos/adsk-hig/hig/commits{/sha}","git_commits_url":"https://api.github.com/repos/adsk-hig/hig/git/commits{/sha}","comments_url":"https://api.github.com/repos/adsk-hig/hig/comments{/number}","issue_comment_url":"https://api.github.com/repos/adsk-hig/hig/issues/comments{/number}","contents_url":"https://api.github.com/repos/adsk-hig/hig/contents/{+path}","compare_url":"https://api.github.com/repos/adsk-hig/hig/compare/{base}...{head}","merges_url":"https://api.github.com/repos/adsk-hig/hig/merges","archive_url":"https://api.github.com/repos/adsk-hig/hig/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/adsk-hig/hig/downloads","issues_url":"https://api.github.com/repos/adsk-hig/hig/issues{/number}","pulls_url":"https://api.github.com/repos/adsk-hig/hig/pulls{/number}","milestones_url":"https://api.github.com/repos/adsk-hig/hig/milestones{/number}","notifications_url":"https://api.github.com/repos/adsk-hig/hig/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/adsk-hig/hig/labels{/name}","releases_url":"https://api.github.com/repos/adsk-hig/hig/releases{/id}","deployments_url":"https://api.github.com/repos/adsk-hig/hig/deployments","created_at":"2017-04-03T21:55:02Z","updated_at":"2017-05-25T22:41:51Z","pushed_at":"2017-05-30T21:59:49Z","git_url":"git://github.com/adsk-hig/hig.git","ssh_url":"git@github.com:adsk-hig/hig.git","clone_url":"https://github.com/adsk-hig/hig.git","svn_url":"https://github.com/adsk-hig/hig","homepage":"","size":284,"stargazers_count":3,"watchers_count":3,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":1,"mirror_url":null,"open_issues_count":19,"forks":1,"open_issues":19,"watchers":3,"default_branch":"master"}},"base":{"label":"adsk-hig:master","ref":"master","sha":"8528025b252f5c60830c846d0a34cff2fbdd812a","user":{"login":"adsk-hig","id":26884643,"avatar_url":"https://avatars1.githubusercontent.com/u/26884643?v=3","gravatar_id":"","url":"https://api.github.com/users/adsk-hig","html_url":"https://github.com/adsk-hig","followers_url":"https://api.github.com/users/adsk-hig/followers","following_url":"https://api.github.com/users/adsk-hig/following{/other_user}","gists_url":"https://api.github.com/users/adsk-hig/gists{/gist_id}","starred_url":"https://api.github.com/users/adsk-hig/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adsk-hig/subscriptions","organizations_url":"https://api.github.com/users/adsk-hig/orgs","repos_url":"https://api.github.com/users/adsk-hig/repos","events_url":"https://api.github.com/users/adsk-hig/events{/privacy}","received_events_url":"https://api.github.com/users/adsk-hig/received_events","type":"Organization","site_admin":false},"repo":{"id":87124532,"name":"hig","full_name":"adsk-hig/hig","owner":{"login":"adsk-hig","id":26884643,"avatar_url":"https://avatars1.githubusercontent.com/u/26884643?v=3","gravatar_id":"","url":"https://api.github.com/users/adsk-hig","html_url":"https://github.com/adsk-hig","followers_url":"https://api.github.com/users/adsk-hig/followers","following_url":"https://api.github.com/users/adsk-hig/following{/other_user}","gists_url":"https://api.github.com/users/adsk-hig/gists{/gist_id}","starred_url":"https://api.github.com/users/adsk-hig/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adsk-hig/subscriptions","organizations_url":"https://api.github.com/users/adsk-hig/orgs","repos_url":"https://api.github.com/users/adsk-hig/repos","events_url":"https://api.github.com/users/adsk-hig/events{/privacy}","received_events_url":"https://api.github.com/users/adsk-hig/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/adsk-hig/hig","description":":seedling:","fork":false,"url":"https://api.github.com/repos/adsk-hig/hig","forks_url":"https://api.github.com/repos/adsk-hig/hig/forks","keys_url":"https://api.github.com/repos/adsk-hig/hig/keys{/key_id}","collaborators_url":"https://api.github.com/repos/adsk-hig/hig/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/adsk-hig/hig/teams","hooks_url":"https://api.github.com/repos/adsk-hig/hig/hooks","issue_events_url":"https://api.github.com/repos/adsk-hig/hig/issues/events{/number}","events_url":"https://api.github.com/repos/adsk-hig/hig/events","assignees_url":"https://api.github.com/repos/adsk-hig/hig/assignees{/user}","branches_url":"https://api.github.com/repos/adsk-hig/hig/branches{/branch}","tags_url":"https://api.github.com/repos/adsk-hig/hig/tags","blobs_url":"https://api.github.com/repos/adsk-hig/hig/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/adsk-hig/hig/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/adsk-hig/hig/git/refs{/sha}","trees_url":"https://api.github.com/repos/adsk-hig/hig/git/trees{/sha}","statuses_url":"https://api.github.com/repos/adsk-hig/hig/statuses/{sha}","languages_url":"https://api.github.com/repos/adsk-hig/hig/languages","stargazers_url":"https://api.github.com/repos/adsk-hig/hig/stargazers","contributors_url":"https://api.github.com/repos/adsk-hig/hig/contributors","subscribers_url":"https://api.github.com/repos/adsk-hig/hig/subscribers","subscription_url":"https://api.github.com/repos/adsk-hig/hig/subscription","commits_url":"https://api.github.com/repos/adsk-hig/hig/commits{/sha}","git_commits_url":"https://api.github.com/repos/adsk-hig/hig/git/commits{/sha}","comments_url":"https://api.github.com/repos/adsk-hig/hig/comments{/number}","issue_comment_url":"https://api.github.com/repos/adsk-hig/hig/issues/comments{/number}","contents_url":"https://api.github.com/repos/adsk-hig/hig/contents/{+path}","compare_url":"https://api.github.com/repos/adsk-hig/hig/compare/{base}...{head}","merges_url":"https://api.github.com/repos/adsk-hig/hig/merges","archive_url":"https://api.github.com/repos/adsk-hig/hig/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/adsk-hig/hig/downloads","issues_url":"https://api.github.com/repos/adsk-hig/hig/issues{/number}","pulls_url":"https://api.github.com/repos/adsk-hig/hig/pulls{/number}","milestones_url":"https://api.github.com/repos/adsk-hig/hig/milestones{/number}","notifications_url":"https://api.github.com/repos/adsk-hig/hig/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/adsk-hig/hig/labels{/name}","releases_url":"https://api.github.com/repos/adsk-hig/hig/releases{/id}","deployments_url":"https://api.github.com/repos/adsk-hig/hig/deployments","created_at":"2017-04-03T21:55:02Z","updated_at":"2017-05-25T22:41:51Z","pushed_at":"2017-05-30T21:59:49Z","git_url":"git://github.com/adsk-hig/hig.git","ssh_url":"git@github.com:adsk-hig/hig.git","clone_url":"https://github.com/adsk-hig/hig.git","svn_url":"https://github.com/adsk-hig/hig","homepage":"","size":284,"stargazers_count":3,"watchers_count":3,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":1,"mirror_url":null,"open_issues_count":19,"forks":1,"open_issues":19,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/adsk-hig/hig/pulls/42"},"html":{"href":"https://github.com/adsk-hig/hig/pull/42"},"issue":{"href":"https://api.github.com/repos/adsk-hig/hig/issues/42"},"comments":{"href":"https://api.github.com/repos/adsk-hig/hig/issues/42/comments"},"review_comments":{"href":"https://api.github.com/repos/adsk-hig/hig/pulls/42/comments"},"review_comment":{"href":"https://api.github.com/repos/adsk-hig/hig/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/adsk-hig/hig/pulls/42/commits"},"statuses":{"href":"https://api.github.com/repos/adsk-hig/hig/statuses/efa94cee5af4e91603f748997c5f27efd8aa2da3"}}}}
{"actor":{"display_login":"nfiniteset"}}