{"action":"created","comment":{"url":"https://api.github.com/repos/Microsoft/fast-dna/pulls/comments/245271688","pull_request_review_id":189333722,"id":245271688,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDI0NTI3MTY4OA==","diff_hunk":"@@ -0,0 +1,13 @@\n+# Action Toggle\n+*Action toggle* should be used as control on or around an interactive region of the page that affects the region or items within the region. It usually represents a switch between one of two states.\n+\n+## Usage\n+Use *action toggle* for specific control around a functional state. Labeling can be done using a glyph and text, but could also contain just a glyph or just text. Make sure the text and glyph clearly represent the expected function. When only a glyph is used to label the button, include a tooltip in a span element following the button element.\n+\n+The \"selectedGlyph\" and \"unselectedGlyph\" props take a function that returns a ReactNode to render the glyph (ie. a [render prop](https://reactjs.org/docs/render-props.html)).  Note that the function should accept a string parameter that is applied as a classname to the top level element of the resulting node.  This classname  will be populated by the *action toggle* component to use an internally generated class (\"actionToggle_selectedGlyph\" & \"actionToggle_unselectedGlyph\") to apply to the glyphs for styling. \n+\n+## Style guidance\n+Multiple related *action toggle* controls should be grouped together visually to reinforce their associated functionality. Place the toggle where it is not hidden or obscured in the clutter of the page.","path":"packages/fast-components-react-msft/src/action-toggle/README.md","position":10,"original_position":10,"commit_id":"9bb838fa1a5b46c3d32026c46bcd8ac8c4945d72","original_commit_id":"9bb838fa1a5b46c3d32026c46bcd8ac8c4945d72","user":{"login":"Falkicon","id":943328,"node_id":"MDQ6VXNlcjk0MzMyOA==","avatar_url":"https://avatars1.githubusercontent.com/u/943328?v=4","gravatar_id":"","url":"https://api.github.com/users/Falkicon","html_url":"https://github.com/Falkicon","followers_url":"https://api.github.com/users/Falkicon/followers","following_url":"https://api.github.com/users/Falkicon/following{/other_user}","gists_url":"https://api.github.com/users/Falkicon/gists{/gist_id}","starred_url":"https://api.github.com/users/Falkicon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Falkicon/subscriptions","organizations_url":"https://api.github.com/users/Falkicon/orgs","repos_url":"https://api.github.com/users/Falkicon/repos","events_url":"https://api.github.com/users/Falkicon/events{/privacy}","received_events_url":"https://api.github.com/users/Falkicon/received_events","type":"User","site_admin":false},"body":"You can remove the word \"together\". e.g. \"controls should be grouped visually to reinforce\"","created_at":"2019-01-04T11:15:34Z","updated_at":"2019-01-04T11:15:34Z","html_url":"https://github.com/Microsoft/fast-dna/pull/1257#discussion_r245271688","pull_request_url":"https://api.github.com/repos/Microsoft/fast-dna/pulls/1257","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/Microsoft/fast-dna/pulls/comments/245271688"},"html":{"href":"https://github.com/Microsoft/fast-dna/pull/1257#discussion_r245271688"},"pull_request":{"href":"https://api.github.com/repos/Microsoft/fast-dna/pulls/1257"}}},"pull_request":{"url":"https://api.github.com/repos/Microsoft/fast-dna/pulls/1257","id":241791056,"node_id":"MDExOlB1bGxSZXF1ZXN0MjQxNzkxMDU2","html_url":"https://github.com/Microsoft/fast-dna/pull/1257","diff_url":"https://github.com/Microsoft/fast-dna/pull/1257.diff","patch_url":"https://github.com/Microsoft/fast-dna/pull/1257.patch","issue_url":"https://api.github.com/repos/Microsoft/fast-dna/issues/1257","number":1257,"state":"open","locked":false,"title":"feat: add action toggle component ","user":{"login":"scomea","id":7649425,"node_id":"MDQ6VXNlcjc2NDk0MjU=","avatar_url":"https://avatars0.githubusercontent.com/u/7649425?v=4","gravatar_id":"","url":"https://api.github.com/users/scomea","html_url":"https://github.com/scomea","followers_url":"https://api.github.com/users/scomea/followers","following_url":"https://api.github.com/users/scomea/following{/other_user}","gists_url":"https://api.github.com/users/scomea/gists{/gist_id}","starred_url":"https://api.github.com/users/scomea/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scomea/subscriptions","organizations_url":"https://api.github.com/users/scomea/orgs","repos_url":"https://api.github.com/users/scomea/repos","events_url":"https://api.github.com/users/scomea/events{/privacy}","received_events_url":"https://api.github.com/users/scomea/received_events","type":"User","site_admin":false},"body":"# Description\r\nAdd an action toggle styled component.  \r\n(This pr went stale over the holidays and this is the revived version - https://github.com/Microsoft/fast-dna/pull/1162)\r\n\r\n## Motivation & context\r\nCloses #1131 - Create \"action toggle\" as a new composed MSFT component.\r\n\r\n## Issue type checklist\r\n\r\n<!--- What type of change are you submitting? Put an x in the box that applies: -->\r\n\r\n- [ ] **Chore**: A change that does not impact distributed packages.\r\n- [ ] **Bug fix**: A change that fixes an issue, link to the issue above.\r\n- [X] **New feature**: A change that adds functionality.\r\n\r\n**Is this a breaking change?**\r\n- [ ] This change causes current functionality to break.\r\n\r\n## Process & policy checklist\r\n- [X] I have added tests for my changes.\r\n- [X] I have tested my changes.\r\n- [X] I have updated the project documentation to reflect my changes.\r\n- [X] I have read the [CONTRIBUTING](https://github.com/Microsoft/fast-dna/blob/master/CONTRIBUTING.md) documentation and followed the [standards](https://microsoft.github.io/fast-dna/docs/en/contributing/standards) for this project\r\n","created_at":"2019-01-02T16:35:18Z","updated_at":"2019-01-04T11:15:34Z","closed_at":null,"merged_at":null,"merge_commit_sha":"38867e32813cd51aff30d7f5f311b6ebae84b3fb","assignee":null,"assignees":[],"requested_reviewers":[{"login":"chrisdholt","id":13071055,"node_id":"MDQ6VXNlcjEzMDcxMDU1","avatar_url":"https://avatars2.githubusercontent.com/u/13071055?v=4","gravatar_id":"","url":"https://api.github.com/users/chrisdholt","html_url":"https://github.com/chrisdholt","followers_url":"https://api.github.com/users/chrisdholt/followers","following_url":"https://api.github.com/users/chrisdholt/following{/other_user}","gists_url":"https://api.github.com/users/chrisdholt/gists{/gist_id}","starred_url":"https://api.github.com/users/chrisdholt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrisdholt/subscriptions","organizations_url":"https://api.github.com/users/chrisdholt/orgs","repos_url":"https://api.github.com/users/chrisdholt/repos","events_url":"https://api.github.com/users/chrisdholt/events{/privacy}","received_events_url":"https://api.github.com/users/chrisdholt/received_events","type":"User","site_admin":false},{"login":"awentzel","id":16669785,"node_id":"MDQ6VXNlcjE2NjY5Nzg1","avatar_url":"https://avatars1.githubusercontent.com/u/16669785?v=4","gravatar_id":"","url":"https://api.github.com/users/awentzel","html_url":"https://github.com/awentzel","followers_url":"https://api.github.com/users/awentzel/followers","following_url":"https://api.github.com/users/awentzel/following{/other_user}","gists_url":"https://api.github.com/users/awentzel/gists{/gist_id}","starred_url":"https://api.github.com/users/awentzel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/awentzel/subscriptions","organizations_url":"https://api.github.com/users/awentzel/orgs","repos_url":"https://api.github.com/users/awentzel/repos","events_url":"https://api.github.com/users/awentzel/events{/privacy}","received_events_url":"https://api.github.com/users/awentzel/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/Microsoft/fast-dna/pulls/1257/commits","review_comments_url":"https://api.github.com/repos/Microsoft/fast-dna/pulls/1257/comments","review_comment_url":"https://api.github.com/repos/Microsoft/fast-dna/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Microsoft/fast-dna/issues/1257/comments","statuses_url":"https://api.github.com/repos/Microsoft/fast-dna/statuses/9bb838fa1a5b46c3d32026c46bcd8ac8c4945d72","head":{"label":"Microsoft:users/scomea/action-toggle","ref":"users/scomea/action-toggle","sha":"9bb838fa1a5b46c3d32026c46bcd8ac8c4945d72","user":{"login":"Microsoft","id":6154722,"node_id":"MDEyOk9yZ2FuaXphdGlvbjYxNTQ3MjI=","avatar_url":"https://avatars2.githubusercontent.com/u/6154722?v=4","gravatar_id":"","url":"https://api.github.com/users/Microsoft","html_url":"https://github.com/Microsoft","followers_url":"https://api.github.com/users/Microsoft/followers","following_url":"https://api.github.com/users/Microsoft/following{/other_user}","gists_url":"https://api.github.com/users/Microsoft/gists{/gist_id}","starred_url":"https://api.github.com/users/Microsoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Microsoft/subscriptions","organizations_url":"https://api.github.com/users/Microsoft/orgs","repos_url":"https://api.github.com/users/Microsoft/repos","events_url":"https://api.github.com/users/Microsoft/events{/privacy}","received_events_url":"https://api.github.com/users/Microsoft/received_events","type":"Organization","site_admin":false},"repo":{"id":123625732,"node_id":"MDEwOlJlcG9zaXRvcnkxMjM2MjU3MzI=","name":"fast-dna","full_name":"Microsoft/fast-dna","private":false,"owner":{"login":"Microsoft","id":6154722,"node_id":"MDEyOk9yZ2FuaXphdGlvbjYxNTQ3MjI=","avatar_url":"https://avatars2.githubusercontent.com/u/6154722?v=4","gravatar_id":"","url":"https://api.github.com/users/Microsoft","html_url":"https://github.com/Microsoft","followers_url":"https://api.github.com/users/Microsoft/followers","following_url":"https://api.github.com/users/Microsoft/following{/other_user}","gists_url":"https://api.github.com/users/Microsoft/gists{/gist_id}","starred_url":"https://api.github.com/users/Microsoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Microsoft/subscriptions","organizations_url":"https://api.github.com/users/Microsoft/orgs","repos_url":"https://api.github.com/users/Microsoft/repos","events_url":"https://api.github.com/users/Microsoft/events{/privacy}","received_events_url":"https://api.github.com/users/Microsoft/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/Microsoft/fast-dna","description":"An unopinionated system of components, development tools, and utilities used à la carte or as a suite to build enterprise-grade websites and applications.","fork":false,"url":"https://api.github.com/repos/Microsoft/fast-dna","forks_url":"https://api.github.com/repos/Microsoft/fast-dna/forks","keys_url":"https://api.github.com/repos/Microsoft/fast-dna/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Microsoft/fast-dna/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Microsoft/fast-dna/teams","hooks_url":"https://api.github.com/repos/Microsoft/fast-dna/hooks","issue_events_url":"https://api.github.com/repos/Microsoft/fast-dna/issues/events{/number}","events_url":"https://api.github.com/repos/Microsoft/fast-dna/events","assignees_url":"https://api.github.com/repos/Microsoft/fast-dna/assignees{/user}","branches_url":"https://api.github.com/repos/Microsoft/fast-dna/branches{/branch}","tags_url":"https://api.github.com/repos/Microsoft/fast-dna/tags","blobs_url":"https://api.github.com/repos/Microsoft/fast-dna/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Microsoft/fast-dna/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Microsoft/fast-dna/git/refs{/sha}","trees_url":"https://api.github.com/repos/Microsoft/fast-dna/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Microsoft/fast-dna/statuses/{sha}","languages_url":"https://api.github.com/repos/Microsoft/fast-dna/languages","stargazers_url":"https://api.github.com/repos/Microsoft/fast-dna/stargazers","contributors_url":"https://api.github.com/repos/Microsoft/fast-dna/contributors","subscribers_url":"https://api.github.com/repos/Microsoft/fast-dna/subscribers","subscription_url":"https://api.github.com/repos/Microsoft/fast-dna/subscription","commits_url":"https://api.github.com/repos/Microsoft/fast-dna/commits{/sha}","git_commits_url":"https://api.github.com/repos/Microsoft/fast-dna/git/commits{/sha}","comments_url":"https://api.github.com/repos/Microsoft/fast-dna/comments{/number}","issue_comment_url":"https://api.github.com/repos/Microsoft/fast-dna/issues/comments{/number}","contents_url":"https://api.github.com/repos/Microsoft/fast-dna/contents/{+path}","compare_url":"https://api.github.com/repos/Microsoft/fast-dna/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Microsoft/fast-dna/merges","archive_url":"https://api.github.com/repos/Microsoft/fast-dna/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Microsoft/fast-dna/downloads","issues_url":"https://api.github.com/repos/Microsoft/fast-dna/issues{/number}","pulls_url":"https://api.github.com/repos/Microsoft/fast-dna/pulls{/number}","milestones_url":"https://api.github.com/repos/Microsoft/fast-dna/milestones{/number}","notifications_url":"https://api.github.com/repos/Microsoft/fast-dna/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Microsoft/fast-dna/labels{/name}","releases_url":"https://api.github.com/repos/Microsoft/fast-dna/releases{/id}","deployments_url":"https://api.github.com/repos/Microsoft/fast-dna/deployments","created_at":"2018-03-02T20:10:30Z","updated_at":"2019-01-04T05:25:31Z","pushed_at":"2019-01-04T06:05:39Z","git_url":"git://github.com/Microsoft/fast-dna.git","ssh_url":"git@github.com:Microsoft/fast-dna.git","clone_url":"https://github.com/Microsoft/fast-dna.git","svn_url":"https://github.com/Microsoft/fast-dna","homepage":"","size":14840,"stargazers_count":271,"watchers_count":271,"language":"TypeScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":32,"mirror_url":null,"archived":false,"open_issues_count":126,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":32,"open_issues":126,"watchers":271,"default_branch":"master"}},"base":{"label":"Microsoft:master","ref":"master","sha":"30ffb6d000e3a0648064d0defe82c0697297a7ef","user":{"login":"Microsoft","id":6154722,"node_id":"MDEyOk9yZ2FuaXphdGlvbjYxNTQ3MjI=","avatar_url":"https://avatars2.githubusercontent.com/u/6154722?v=4","gravatar_id":"","url":"https://api.github.com/users/Microsoft","html_url":"https://github.com/Microsoft","followers_url":"https://api.github.com/users/Microsoft/followers","following_url":"https://api.github.com/users/Microsoft/following{/other_user}","gists_url":"https://api.github.com/users/Microsoft/gists{/gist_id}","starred_url":"https://api.github.com/users/Microsoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Microsoft/subscriptions","organizations_url":"https://api.github.com/users/Microsoft/orgs","repos_url":"https://api.github.com/users/Microsoft/repos","events_url":"https://api.github.com/users/Microsoft/events{/privacy}","received_events_url":"https://api.github.com/users/Microsoft/received_events","type":"Organization","site_admin":false},"repo":{"id":123625732,"node_id":"MDEwOlJlcG9zaXRvcnkxMjM2MjU3MzI=","name":"fast-dna","full_name":"Microsoft/fast-dna","private":false,"owner":{"login":"Microsoft","id":6154722,"node_id":"MDEyOk9yZ2FuaXphdGlvbjYxNTQ3MjI=","avatar_url":"https://avatars2.githubusercontent.com/u/6154722?v=4","gravatar_id":"","url":"https://api.github.com/users/Microsoft","html_url":"https://github.com/Microsoft","followers_url":"https://api.github.com/users/Microsoft/followers","following_url":"https://api.github.com/users/Microsoft/following{/other_user}","gists_url":"https://api.github.com/users/Microsoft/gists{/gist_id}","starred_url":"https://api.github.com/users/Microsoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Microsoft/subscriptions","organizations_url":"https://api.github.com/users/Microsoft/orgs","repos_url":"https://api.github.com/users/Microsoft/repos","events_url":"https://api.github.com/users/Microsoft/events{/privacy}","received_events_url":"https://api.github.com/users/Microsoft/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/Microsoft/fast-dna","description":"An unopinionated system of components, development tools, and utilities used à la carte or as a suite to build enterprise-grade websites and applications.","fork":false,"url":"https://api.github.com/repos/Microsoft/fast-dna","forks_url":"https://api.github.com/repos/Microsoft/fast-dna/forks","keys_url":"https://api.github.com/repos/Microsoft/fast-dna/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Microsoft/fast-dna/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Microsoft/fast-dna/teams","hooks_url":"https://api.github.com/repos/Microsoft/fast-dna/hooks","issue_events_url":"https://api.github.com/repos/Microsoft/fast-dna/issues/events{/number}","events_url":"https://api.github.com/repos/Microsoft/fast-dna/events","assignees_url":"https://api.github.com/repos/Microsoft/fast-dna/assignees{/user}","branches_url":"https://api.github.com/repos/Microsoft/fast-dna/branches{/branch}","tags_url":"https://api.github.com/repos/Microsoft/fast-dna/tags","blobs_url":"https://api.github.com/repos/Microsoft/fast-dna/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Microsoft/fast-dna/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Microsoft/fast-dna/git/refs{/sha}","trees_url":"https://api.github.com/repos/Microsoft/fast-dna/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Microsoft/fast-dna/statuses/{sha}","languages_url":"https://api.github.com/repos/Microsoft/fast-dna/languages","stargazers_url":"https://api.github.com/repos/Microsoft/fast-dna/stargazers","contributors_url":"https://api.github.com/repos/Microsoft/fast-dna/contributors","subscribers_url":"https://api.github.com/repos/Microsoft/fast-dna/subscribers","subscription_url":"https://api.github.com/repos/Microsoft/fast-dna/subscription","commits_url":"https://api.github.com/repos/Microsoft/fast-dna/commits{/sha}","git_commits_url":"https://api.github.com/repos/Microsoft/fast-dna/git/commits{/sha}","comments_url":"https://api.github.com/repos/Microsoft/fast-dna/comments{/number}","issue_comment_url":"https://api.github.com/repos/Microsoft/fast-dna/issues/comments{/number}","contents_url":"https://api.github.com/repos/Microsoft/fast-dna/contents/{+path}","compare_url":"https://api.github.com/repos/Microsoft/fast-dna/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Microsoft/fast-dna/merges","archive_url":"https://api.github.com/repos/Microsoft/fast-dna/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Microsoft/fast-dna/downloads","issues_url":"https://api.github.com/repos/Microsoft/fast-dna/issues{/number}","pulls_url":"https://api.github.com/repos/Microsoft/fast-dna/pulls{/number}","milestones_url":"https://api.github.com/repos/Microsoft/fast-dna/milestones{/number}","notifications_url":"https://api.github.com/repos/Microsoft/fast-dna/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Microsoft/fast-dna/labels{/name}","releases_url":"https://api.github.com/repos/Microsoft/fast-dna/releases{/id}","deployments_url":"https://api.github.com/repos/Microsoft/fast-dna/deployments","created_at":"2018-03-02T20:10:30Z","updated_at":"2019-01-04T05:25:31Z","pushed_at":"2019-01-04T06:05:39Z","git_url":"git://github.com/Microsoft/fast-dna.git","ssh_url":"git@github.com:Microsoft/fast-dna.git","clone_url":"https://github.com/Microsoft/fast-dna.git","svn_url":"https://github.com/Microsoft/fast-dna","homepage":"","size":14840,"stargazers_count":271,"watchers_count":271,"language":"TypeScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":32,"mirror_url":null,"archived":false,"open_issues_count":126,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":32,"open_issues":126,"watchers":271,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Microsoft/fast-dna/pulls/1257"},"html":{"href":"https://github.com/Microsoft/fast-dna/pull/1257"},"issue":{"href":"https://api.github.com/repos/Microsoft/fast-dna/issues/1257"},"comments":{"href":"https://api.github.com/repos/Microsoft/fast-dna/issues/1257/comments"},"review_comments":{"href":"https://api.github.com/repos/Microsoft/fast-dna/pulls/1257/comments"},"review_comment":{"href":"https://api.github.com/repos/Microsoft/fast-dna/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Microsoft/fast-dna/pulls/1257/commits"},"statuses":{"href":"https://api.github.com/repos/Microsoft/fast-dna/statuses/9bb838fa1a5b46c3d32026c46bcd8ac8c4945d72"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"Falkicon"}}