{"action":"created","comment":{"url":"https://api.github.com/repos/rackerlabs/design-system/pulls/comments/241155198","pull_request_review_id":184356552,"id":241155198,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDI0MTE1NTE5OA==","diff_hunk":"@@ -0,0 +1,208 @@\n+---\n+title: Bulk Selection\n+parent: Tables\n+layout: component\n+category: Components\n+usage: >\n+  Bulk selection refers to the ways a user can simultaneously select and deselect multiple table rows. After bulk selection, the user can act on the group of selected objects. There are three types of bulk selection: keyboard, parent checkbox, and Select All and Deselect All.\n+preview-image: preview-images/tables-controls.svg\n+status: stable\n+resource: true\n+last-modified: 2018-12-11\n+helix-ui-css: false\n+helix-ui-javascript: false\n+---\n+\n+{% include toc.html %}\n+\n+<section class=\"static-section\" markdown=\"1\">\n+\n+<div class=\"hxRow\"  markdown=\"1\">\n+\n+{% column left:\"hxCol hxSpan-12-xs hxSpan-12-sm hxSpan-8-md hxSpan-8-lg\" %}\n+\n+## When to use\n+\n+Add bulk selection options to a table when you want users to be able to select (or deselect) all visible rows, and then perform an action on the group of selected rows. If the information you are presenting in a table is read-only, do not provide bulk selection.\n+\n+When compared to selecting checkboxes individually, bulk selection is a more convenient approach to selecting or deselecting all visible rows.\n+\n+{% endcolumn %}\n+\n+</div>\n+\n+</section>\n+\n+<section class=\"static-section\" markdown=\"1\">\n+\n+<div class=\"hxRow\"  markdown=\"1\">\n+\n+{% column left:\"hxCol hxSpan-12-xs hxSpan-12-sm hxSpan-8-md hxSpan-8-lg\" %}\n+\n+## Best practices\n+\n+Consider the following best practices when you add bulk selection to a table:\n+\n+- The table should support the keyboard shortcuts to selecting multiple objects. For example, after selecting a row, the user can hold down the **Shift** key and select another row. This action selects all rows between the first and second selections.\n+- Construct the selection bucket so that the **Deselect All** option launches a confirmation modal that asks the user to confirm their choice.\n+- xxxxxx.\n+- xxxxxx.\n+- xxcxxx.\n+\n+{% endcolumn %}\n+\n+</div>\n+\n+</section>\n+\n+<section class=\"static-section\" markdown=\"1\">\n+\n+<div class=\"hxRow\"  markdown=\"1\">\n+\n+{% column left:\"hxCol hxSpan-12-xs hxSpan-12-sm hxSpan-8-md hxSpan-8-lg\" %}\n+\n+## Specifications\n+\n+Use the following specifications when you construct bulk selection.\n+\n+{% endcolumn %}\n+\n+</div>\n+\n+</section>\n+\n+<section class=\"static-section\" markdown=\"1\">\n+\n+<div class=\"hxRow\"  markdown=\"1\">\n+\n+{% column left:\"hxCol hxSpan-12-xs hxSpan-12-sm hxSpan-4-md hxSpan-4-lg\" %}\n+\n+### Composition\n+\n+Bulk selection contains the following elements:\n+\n+- **Parent checkbox (required)**: When the user selects the parent checkbox, all children checkboxes are selected. When the user deselects the parent checkbox, all children checkboxes are deselected.\n+- **Select All (optional)**: When the user clicks **Select All**, all records on the current page are selected.","path":"_component_design/bulk-selection.md","position":85,"original_position":85,"commit_id":"e2e1d7fa938cd7f02a45ae8fa161e4d8f4f5cced","original_commit_id":"e2e1d7fa938cd7f02a45ae8fa161e4d8f4f5cced","user":{"login":"chri2547","id":35463610,"node_id":"MDQ6VXNlcjM1NDYzNjEw","avatar_url":"https://avatars2.githubusercontent.com/u/35463610?v=4","gravatar_id":"","url":"https://api.github.com/users/chri2547","html_url":"https://github.com/chri2547","followers_url":"https://api.github.com/users/chri2547/followers","following_url":"https://api.github.com/users/chri2547/following{/other_user}","gists_url":"https://api.github.com/users/chri2547/gists{/gist_id}","starred_url":"https://api.github.com/users/chri2547/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chri2547/subscriptions","organizations_url":"https://api.github.com/users/chri2547/orgs","repos_url":"https://api.github.com/users/chri2547/repos","events_url":"https://api.github.com/users/chri2547/events{/privacy}","received_events_url":"https://api.github.com/users/chri2547/received_events","type":"User","site_admin":false},"body":"Wound up removing this element.","created_at":"2018-12-12T19:31:26Z","updated_at":"2018-12-12T19:31:26Z","html_url":"https://github.com/rackerlabs/design-system/pull/607#discussion_r241155198","pull_request_url":"https://api.github.com/repos/rackerlabs/design-system/pulls/607","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/rackerlabs/design-system/pulls/comments/241155198"},"html":{"href":"https://github.com/rackerlabs/design-system/pull/607#discussion_r241155198"},"pull_request":{"href":"https://api.github.com/repos/rackerlabs/design-system/pulls/607"}},"in_reply_to_id":241111736},"pull_request":{"url":"https://api.github.com/repos/rackerlabs/design-system/pulls/607","id":235833627,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM1ODMzNjI3","html_url":"https://github.com/rackerlabs/design-system/pull/607","diff_url":"https://github.com/rackerlabs/design-system/pull/607.diff","patch_url":"https://github.com/rackerlabs/design-system/pull/607.patch","issue_url":"https://api.github.com/repos/rackerlabs/design-system/issues/607","number":607,"state":"open","locked":false,"title":"Bulk selection - new IA","user":{"login":"chri2547","id":35463610,"node_id":"MDQ6VXNlcjM1NDYzNjEw","avatar_url":"https://avatars2.githubusercontent.com/u/35463610?v=4","gravatar_id":"","url":"https://api.github.com/users/chri2547","html_url":"https://github.com/chri2547","followers_url":"https://api.github.com/users/chri2547/followers","following_url":"https://api.github.com/users/chri2547/following{/other_user}","gists_url":"https://api.github.com/users/chri2547/gists{/gist_id}","starred_url":"https://api.github.com/users/chri2547/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chri2547/subscriptions","organizations_url":"https://api.github.com/users/chri2547/orgs","repos_url":"https://api.github.com/users/chri2547/repos","events_url":"https://api.github.com/users/chri2547/events{/privacy}","received_events_url":"https://api.github.com/users/chri2547/received_events","type":"User","site_admin":false},"body":"\r\n![image](https://user-images.githubusercontent.com/35463610/49822983-35fa4e00-fd44-11e8-890f-365e93559ad2.png)\r\n\r\n","created_at":"2018-12-04T14:41:35Z","updated_at":"2018-12-12T19:31:26Z","closed_at":null,"merged_at":null,"merge_commit_sha":"3261e4d85221cc3522acc2095ab909067b9678ce","assignee":null,"assignees":[],"requested_reviewers":[{"login":"palindromebart","id":5124722,"node_id":"MDQ6VXNlcjUxMjQ3MjI=","avatar_url":"https://avatars2.githubusercontent.com/u/5124722?v=4","gravatar_id":"","url":"https://api.github.com/users/palindromebart","html_url":"https://github.com/palindromebart","followers_url":"https://api.github.com/users/palindromebart/followers","following_url":"https://api.github.com/users/palindromebart/following{/other_user}","gists_url":"https://api.github.com/users/palindromebart/gists{/gist_id}","starred_url":"https://api.github.com/users/palindromebart/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/palindromebart/subscriptions","organizations_url":"https://api.github.com/users/palindromebart/orgs","repos_url":"https://api.github.com/users/palindromebart/repos","events_url":"https://api.github.com/users/palindromebart/events{/privacy}","received_events_url":"https://api.github.com/users/palindromebart/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[{"id":674944869,"node_id":"MDU6TGFiZWw2NzQ5NDQ4Njk=","url":"https://api.github.com/repos/rackerlabs/design-system/labels/status-needs-review","name":"status-needs-review","color":"f9d0c4","default":false},{"id":674937922,"node_id":"MDU6TGFiZWw2NzQ5Mzc5MjI=","url":"https://api.github.com/repos/rackerlabs/design-system/labels/type-documentation","name":"type-documentation","color":"d4c5f9","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/rackerlabs/design-system/pulls/607/commits","review_comments_url":"https://api.github.com/repos/rackerlabs/design-system/pulls/607/comments","review_comment_url":"https://api.github.com/repos/rackerlabs/design-system/pulls/comments{/number}","comments_url":"https://api.github.com/repos/rackerlabs/design-system/issues/607/comments","statuses_url":"https://api.github.com/repos/rackerlabs/design-system/statuses/e2e1d7fa938cd7f02a45ae8fa161e4d8f4f5cced","head":{"label":"chri2547:bulk-selection","ref":"bulk-selection","sha":"e2e1d7fa938cd7f02a45ae8fa161e4d8f4f5cced","user":{"login":"chri2547","id":35463610,"node_id":"MDQ6VXNlcjM1NDYzNjEw","avatar_url":"https://avatars2.githubusercontent.com/u/35463610?v=4","gravatar_id":"","url":"https://api.github.com/users/chri2547","html_url":"https://github.com/chri2547","followers_url":"https://api.github.com/users/chri2547/followers","following_url":"https://api.github.com/users/chri2547/following{/other_user}","gists_url":"https://api.github.com/users/chri2547/gists{/gist_id}","starred_url":"https://api.github.com/users/chri2547/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chri2547/subscriptions","organizations_url":"https://api.github.com/users/chri2547/orgs","repos_url":"https://api.github.com/users/chri2547/repos","events_url":"https://api.github.com/users/chri2547/events{/privacy}","received_events_url":"https://api.github.com/users/chri2547/received_events","type":"User","site_admin":false},"repo":{"id":118138334,"node_id":"MDEwOlJlcG9zaXRvcnkxMTgxMzgzMzQ=","name":"design-system","full_name":"chri2547/design-system","private":false,"owner":{"login":"chri2547","id":35463610,"node_id":"MDQ6VXNlcjM1NDYzNjEw","avatar_url":"https://avatars2.githubusercontent.com/u/35463610?v=4","gravatar_id":"","url":"https://api.github.com/users/chri2547","html_url":"https://github.com/chri2547","followers_url":"https://api.github.com/users/chri2547/followers","following_url":"https://api.github.com/users/chri2547/following{/other_user}","gists_url":"https://api.github.com/users/chri2547/gists{/gist_id}","starred_url":"https://api.github.com/users/chri2547/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chri2547/subscriptions","organizations_url":"https://api.github.com/users/chri2547/orgs","repos_url":"https://api.github.com/users/chri2547/repos","events_url":"https://api.github.com/users/chri2547/events{/privacy}","received_events_url":"https://api.github.com/users/chri2547/received_events","type":"User","site_admin":false},"html_url":"https://github.com/chri2547/design-system","description":"A prototype of the Design System created by Rackspace Experience Design","fork":true,"url":"https://api.github.com/repos/chri2547/design-system","forks_url":"https://api.github.com/repos/chri2547/design-system/forks","keys_url":"https://api.github.com/repos/chri2547/design-system/keys{/key_id}","collaborators_url":"https://api.github.com/repos/chri2547/design-system/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/chri2547/design-system/teams","hooks_url":"https://api.github.com/repos/chri2547/design-system/hooks","issue_events_url":"https://api.github.com/repos/chri2547/design-system/issues/events{/number}","events_url":"https://api.github.com/repos/chri2547/design-system/events","assignees_url":"https://api.github.com/repos/chri2547/design-system/assignees{/user}","branches_url":"https://api.github.com/repos/chri2547/design-system/branches{/branch}","tags_url":"https://api.github.com/repos/chri2547/design-system/tags","blobs_url":"https://api.github.com/repos/chri2547/design-system/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/chri2547/design-system/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/chri2547/design-system/git/refs{/sha}","trees_url":"https://api.github.com/repos/chri2547/design-system/git/trees{/sha}","statuses_url":"https://api.github.com/repos/chri2547/design-system/statuses/{sha}","languages_url":"https://api.github.com/repos/chri2547/design-system/languages","stargazers_url":"https://api.github.com/repos/chri2547/design-system/stargazers","contributors_url":"https://api.github.com/repos/chri2547/design-system/contributors","subscribers_url":"https://api.github.com/repos/chri2547/design-system/subscribers","subscription_url":"https://api.github.com/repos/chri2547/design-system/subscription","commits_url":"https://api.github.com/repos/chri2547/design-system/commits{/sha}","git_commits_url":"https://api.github.com/repos/chri2547/design-system/git/commits{/sha}","comments_url":"https://api.github.com/repos/chri2547/design-system/comments{/number}","issue_comment_url":"https://api.github.com/repos/chri2547/design-system/issues/comments{/number}","contents_url":"https://api.github.com/repos/chri2547/design-system/contents/{+path}","compare_url":"https://api.github.com/repos/chri2547/design-system/compare/{base}...{head}","merges_url":"https://api.github.com/repos/chri2547/design-system/merges","archive_url":"https://api.github.com/repos/chri2547/design-system/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/chri2547/design-system/downloads","issues_url":"https://api.github.com/repos/chri2547/design-system/issues{/number}","pulls_url":"https://api.github.com/repos/chri2547/design-system/pulls{/number}","milestones_url":"https://api.github.com/repos/chri2547/design-system/milestones{/number}","notifications_url":"https://api.github.com/repos/chri2547/design-system/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/chri2547/design-system/labels{/name}","releases_url":"https://api.github.com/repos/chri2547/design-system/releases{/id}","deployments_url":"https://api.github.com/repos/chri2547/design-system/deployments","created_at":"2018-01-19T14:55:51Z","updated_at":"2018-11-26T23:03:12Z","pushed_at":"2018-12-11T18:23:01Z","git_url":"git://github.com/chri2547/design-system.git","ssh_url":"git@github.com:chri2547/design-system.git","clone_url":"https://github.com/chri2547/design-system.git","svn_url":"https://github.com/chri2547/design-system","homepage":"","size":276580,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"staging"}},"base":{"label":"rackerlabs:staging","ref":"staging","sha":"50f0867b2b15f79dc69595ac1800913f9e20dcbd","user":{"login":"rackerlabs","id":84293,"node_id":"MDEyOk9yZ2FuaXphdGlvbjg0Mjkz","avatar_url":"https://avatars1.githubusercontent.com/u/84293?v=4","gravatar_id":"","url":"https://api.github.com/users/rackerlabs","html_url":"https://github.com/rackerlabs","followers_url":"https://api.github.com/users/rackerlabs/followers","following_url":"https://api.github.com/users/rackerlabs/following{/other_user}","gists_url":"https://api.github.com/users/rackerlabs/gists{/gist_id}","starred_url":"https://api.github.com/users/rackerlabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rackerlabs/subscriptions","organizations_url":"https://api.github.com/users/rackerlabs/orgs","repos_url":"https://api.github.com/users/rackerlabs/repos","events_url":"https://api.github.com/users/rackerlabs/events{/privacy}","received_events_url":"https://api.github.com/users/rackerlabs/received_events","type":"Organization","site_admin":false},"repo":{"id":63092460,"node_id":"MDEwOlJlcG9zaXRvcnk2MzA5MjQ2MA==","name":"design-system","full_name":"rackerlabs/design-system","private":false,"owner":{"login":"rackerlabs","id":84293,"node_id":"MDEyOk9yZ2FuaXphdGlvbjg0Mjkz","avatar_url":"https://avatars1.githubusercontent.com/u/84293?v=4","gravatar_id":"","url":"https://api.github.com/users/rackerlabs","html_url":"https://github.com/rackerlabs","followers_url":"https://api.github.com/users/rackerlabs/followers","following_url":"https://api.github.com/users/rackerlabs/following{/other_user}","gists_url":"https://api.github.com/users/rackerlabs/gists{/gist_id}","starred_url":"https://api.github.com/users/rackerlabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rackerlabs/subscriptions","organizations_url":"https://api.github.com/users/rackerlabs/orgs","repos_url":"https://api.github.com/users/rackerlabs/repos","events_url":"https://api.github.com/users/rackerlabs/events{/privacy}","received_events_url":"https://api.github.com/users/rackerlabs/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/rackerlabs/design-system","description":"A prototype of the Design System created by Rackspace Experience Design","fork":false,"url":"https://api.github.com/repos/rackerlabs/design-system","forks_url":"https://api.github.com/repos/rackerlabs/design-system/forks","keys_url":"https://api.github.com/repos/rackerlabs/design-system/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rackerlabs/design-system/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rackerlabs/design-system/teams","hooks_url":"https://api.github.com/repos/rackerlabs/design-system/hooks","issue_events_url":"https://api.github.com/repos/rackerlabs/design-system/issues/events{/number}","events_url":"https://api.github.com/repos/rackerlabs/design-system/events","assignees_url":"https://api.github.com/repos/rackerlabs/design-system/assignees{/user}","branches_url":"https://api.github.com/repos/rackerlabs/design-system/branches{/branch}","tags_url":"https://api.github.com/repos/rackerlabs/design-system/tags","blobs_url":"https://api.github.com/repos/rackerlabs/design-system/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rackerlabs/design-system/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rackerlabs/design-system/git/refs{/sha}","trees_url":"https://api.github.com/repos/rackerlabs/design-system/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rackerlabs/design-system/statuses/{sha}","languages_url":"https://api.github.com/repos/rackerlabs/design-system/languages","stargazers_url":"https://api.github.com/repos/rackerlabs/design-system/stargazers","contributors_url":"https://api.github.com/repos/rackerlabs/design-system/contributors","subscribers_url":"https://api.github.com/repos/rackerlabs/design-system/subscribers","subscription_url":"https://api.github.com/repos/rackerlabs/design-system/subscription","commits_url":"https://api.github.com/repos/rackerlabs/design-system/commits{/sha}","git_commits_url":"https://api.github.com/repos/rackerlabs/design-system/git/commits{/sha}","comments_url":"https://api.github.com/repos/rackerlabs/design-system/comments{/number}","issue_comment_url":"https://api.github.com/repos/rackerlabs/design-system/issues/comments{/number}","contents_url":"https://api.github.com/repos/rackerlabs/design-system/contents/{+path}","compare_url":"https://api.github.com/repos/rackerlabs/design-system/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rackerlabs/design-system/merges","archive_url":"https://api.github.com/repos/rackerlabs/design-system/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rackerlabs/design-system/downloads","issues_url":"https://api.github.com/repos/rackerlabs/design-system/issues{/number}","pulls_url":"https://api.github.com/repos/rackerlabs/design-system/pulls{/number}","milestones_url":"https://api.github.com/repos/rackerlabs/design-system/milestones{/number}","notifications_url":"https://api.github.com/repos/rackerlabs/design-system/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rackerlabs/design-system/labels{/name}","releases_url":"https://api.github.com/repos/rackerlabs/design-system/releases{/id}","deployments_url":"https://api.github.com/repos/rackerlabs/design-system/deployments","created_at":"2016-07-11T18:33:13Z","updated_at":"2018-11-20T17:32:30Z","pushed_at":"2018-12-11T18:23:05Z","git_url":"git://github.com/rackerlabs/design-system.git","ssh_url":"git@github.com:rackerlabs/design-system.git","clone_url":"https://github.com/rackerlabs/design-system.git","svn_url":"https://github.com/rackerlabs/design-system","homepage":"","size":276455,"stargazers_count":12,"watchers_count":12,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":13,"mirror_url":null,"archived":false,"open_issues_count":36,"license":null,"forks":13,"open_issues":36,"watchers":12,"default_branch":"staging"}},"_links":{"self":{"href":"https://api.github.com/repos/rackerlabs/design-system/pulls/607"},"html":{"href":"https://github.com/rackerlabs/design-system/pull/607"},"issue":{"href":"https://api.github.com/repos/rackerlabs/design-system/issues/607"},"comments":{"href":"https://api.github.com/repos/rackerlabs/design-system/issues/607/comments"},"review_comments":{"href":"https://api.github.com/repos/rackerlabs/design-system/pulls/607/comments"},"review_comment":{"href":"https://api.github.com/repos/rackerlabs/design-system/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/rackerlabs/design-system/pulls/607/commits"},"statuses":{"href":"https://api.github.com/repos/rackerlabs/design-system/statuses/e2e1d7fa938cd7f02a45ae8fa161e4d8f4f5cced"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"chri2547"}}