{"action":"created","comment":{"url":"https://api.github.com/repos/rackerlabs/encore-ui/pulls/comments/41304438","id":41304438,"diff_hunk":"@@ -103,8 +174,122 @@ angular.module('encore.ui.rxStatusColumn', [])\n  * @ngdoc service\n  * @name rxStatusColumn.service:rxStatusMappings\n  * @description\n+ *\n  * A set of methods for creating mappings between a product's notion\n  * of statuses, and the status identifiers used in encore-ui\n+ *\n+ * To accommodate different statuses, the `rxStatusMappings` factory includes\n+ * methods for defining mappings from your own statuses to the six defined ones.\n+ * The basic methods for this are `rxStatusMappings.addGlobal()` and\n+ * `rxStatusMappings.addAPI()`.\n+ *\n+ * ## addGlobal()\n+ *\n+ * `rxStatusMappings.addGlobal()` takes an object as an argument, with the\n+ * keys being your own product's statuses, and the values being one of the six\n+ * internal statuses that it should map to. For example:\n+ *\n+ * <pre>\n+ * rxStatusMappings.addGlobal({\n+ *     'RUNNING': 'ACTIVE',\n+ *     'STANDBY': 'INFO',\n+ *     'SUSPENDED': 'WARNING',\n+ *     'FAILURE': 'ERROR'\n+ * });\n+ * </pre>\n+ *\n+ * These mappings will be used throughout all instances of `rx-status-column`\n+ * in your code.\n+ *\n+ * ## addAPI()\n+ *\n+ * Say that you are using three APIs in your product, `X`, `Y` and `Z`. Both\n+ * `X` and `Y` define a status `\"FOO\"`, which you want to map to encore-ui's\n+ * `\"WARNING\"`. You can declare this  mapping with\n+ * `rxStatusMappings.addGlobal({ 'FOO': 'WARNING' })`. But your API `Z` also\n+ * returns a `\"FOO\"` status, which you need mapped to encore-ui's","path":"src/rxStatusColumn/rxStatusColumn.js","position":146,"original_position":146,"commit_id":"117fbdba7074f113e3d7ffa3397f677fc9a73588","original_commit_id":"117fbdba7074f113e3d7ffa3397f677fc9a73588","user":{"login":"100stacks","id":10120600,"avatar_url":"https://avatars.githubusercontent.com/u/10120600?v=3","gravatar_id":"","url":"https://api.github.com/users/100stacks","html_url":"https://github.com/100stacks","followers_url":"https://api.github.com/users/100stacks/followers","following_url":"https://api.github.com/users/100stacks/following{/other_user}","gists_url":"https://api.github.com/users/100stacks/gists{/gist_id}","starred_url":"https://api.github.com/users/100stacks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/100stacks/subscriptions","organizations_url":"https://api.github.com/users/100stacks/orgs","repos_url":"https://api.github.com/users/100stacks/repos","events_url":"https://api.github.com/users/100stacks/events{/privacy}","received_events_url":"https://api.github.com/users/100stacks/received_events","type":"User","site_admin":false},"body":"Same suggestion...change `encore-ui` to `EncoreUI`","created_at":"2015-10-06T18:40:06Z","updated_at":"2015-10-06T18:40:06Z","html_url":"https://github.com/rackerlabs/encore-ui/pull/1282#discussion_r41304438","pull_request_url":"https://api.github.com/repos/rackerlabs/encore-ui/pulls/1282","_links":{"self":{"href":"https://api.github.com/repos/rackerlabs/encore-ui/pulls/comments/41304438"},"html":{"href":"https://github.com/rackerlabs/encore-ui/pull/1282#discussion_r41304438"},"pull_request":{"href":"https://api.github.com/repos/rackerlabs/encore-ui/pulls/1282"}}},"pull_request":{"url":"https://api.github.com/repos/rackerlabs/encore-ui/pulls/1282","id":46920275,"html_url":"https://github.com/rackerlabs/encore-ui/pull/1282","diff_url":"https://github.com/rackerlabs/encore-ui/pull/1282.diff","patch_url":"https://github.com/rackerlabs/encore-ui/pull/1282.patch","issue_url":"https://api.github.com/repos/rackerlabs/encore-ui/issues/1282","number":1282,"state":"open","locked":false,"title":"feat(docs): FRMW-199 - Migrate rxStatusColumn docs","user":{"login":"bry4n","id":73400,"avatar_url":"https://avatars.githubusercontent.com/u/73400?v=3","gravatar_id":"","url":"https://api.github.com/users/bry4n","html_url":"https://github.com/bry4n","followers_url":"https://api.github.com/users/bry4n/followers","following_url":"https://api.github.com/users/bry4n/following{/other_user}","gists_url":"https://api.github.com/users/bry4n/gists{/gist_id}","starred_url":"https://api.github.com/users/bry4n/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bry4n/subscriptions","organizations_url":"https://api.github.com/users/bry4n/orgs","repos_url":"https://api.github.com/users/bry4n/repos","events_url":"https://api.github.com/users/bry4n/events{/privacy}","received_events_url":"https://api.github.com/users/bry4n/received_events","type":"User","site_admin":false},"body":"JIRA: https://jira.rax.io/browse/FRMW-199\r\n\r\n* [ ] Dev LGTM\r\n* [ ] Dev LGTM","created_at":"2015-10-06T15:44:58Z","updated_at":"2015-10-06T18:40:06Z","closed_at":null,"merged_at":null,"merge_commit_sha":"77141e36167412e3e5161116d4341230e4234bcb","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/rackerlabs/encore-ui/pulls/1282/commits","review_comments_url":"https://api.github.com/repos/rackerlabs/encore-ui/pulls/1282/comments","review_comment_url":"https://api.github.com/repos/rackerlabs/encore-ui/pulls/comments{/number}","comments_url":"https://api.github.com/repos/rackerlabs/encore-ui/issues/1282/comments","statuses_url":"https://api.github.com/repos/rackerlabs/encore-ui/statuses/117fbdba7074f113e3d7ffa3397f677fc9a73588","head":{"label":"bry4n:FRMW-199-migrate-rxstatuscolumn","ref":"FRMW-199-migrate-rxstatuscolumn","sha":"117fbdba7074f113e3d7ffa3397f677fc9a73588","user":{"login":"bry4n","id":73400,"avatar_url":"https://avatars.githubusercontent.com/u/73400?v=3","gravatar_id":"","url":"https://api.github.com/users/bry4n","html_url":"https://github.com/bry4n","followers_url":"https://api.github.com/users/bry4n/followers","following_url":"https://api.github.com/users/bry4n/following{/other_user}","gists_url":"https://api.github.com/users/bry4n/gists{/gist_id}","starred_url":"https://api.github.com/users/bry4n/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bry4n/subscriptions","organizations_url":"https://api.github.com/users/bry4n/orgs","repos_url":"https://api.github.com/users/bry4n/repos","events_url":"https://api.github.com/users/bry4n/events{/privacy}","received_events_url":"https://api.github.com/users/bry4n/received_events","type":"User","site_admin":false},"repo":{"id":41702853,"name":"encore-ui","full_name":"bry4n/encore-ui","owner":{"login":"bry4n","id":73400,"avatar_url":"https://avatars.githubusercontent.com/u/73400?v=3","gravatar_id":"","url":"https://api.github.com/users/bry4n","html_url":"https://github.com/bry4n","followers_url":"https://api.github.com/users/bry4n/followers","following_url":"https://api.github.com/users/bry4n/following{/other_user}","gists_url":"https://api.github.com/users/bry4n/gists{/gist_id}","starred_url":"https://api.github.com/users/bry4n/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bry4n/subscriptions","organizations_url":"https://api.github.com/users/bry4n/orgs","repos_url":"https://api.github.com/users/bry4n/repos","events_url":"https://api.github.com/users/bry4n/events{/privacy}","received_events_url":"https://api.github.com/users/bry4n/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/bry4n/encore-ui","description":"UI Framework for Encore","fork":true,"url":"https://api.github.com/repos/bry4n/encore-ui","forks_url":"https://api.github.com/repos/bry4n/encore-ui/forks","keys_url":"https://api.github.com/repos/bry4n/encore-ui/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bry4n/encore-ui/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bry4n/encore-ui/teams","hooks_url":"https://api.github.com/repos/bry4n/encore-ui/hooks","issue_events_url":"https://api.github.com/repos/bry4n/encore-ui/issues/events{/number}","events_url":"https://api.github.com/repos/bry4n/encore-ui/events","assignees_url":"https://api.github.com/repos/bry4n/encore-ui/assignees{/user}","branches_url":"https://api.github.com/repos/bry4n/encore-ui/branches{/branch}","tags_url":"https://api.github.com/repos/bry4n/encore-ui/tags","blobs_url":"https://api.github.com/repos/bry4n/encore-ui/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bry4n/encore-ui/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bry4n/encore-ui/git/refs{/sha}","trees_url":"https://api.github.com/repos/bry4n/encore-ui/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bry4n/encore-ui/statuses/{sha}","languages_url":"https://api.github.com/repos/bry4n/encore-ui/languages","stargazers_url":"https://api.github.com/repos/bry4n/encore-ui/stargazers","contributors_url":"https://api.github.com/repos/bry4n/encore-ui/contributors","subscribers_url":"https://api.github.com/repos/bry4n/encore-ui/subscribers","subscription_url":"https://api.github.com/repos/bry4n/encore-ui/subscription","commits_url":"https://api.github.com/repos/bry4n/encore-ui/commits{/sha}","git_commits_url":"https://api.github.com/repos/bry4n/encore-ui/git/commits{/sha}","comments_url":"https://api.github.com/repos/bry4n/encore-ui/comments{/number}","issue_comment_url":"https://api.github.com/repos/bry4n/encore-ui/issues/comments{/number}","contents_url":"https://api.github.com/repos/bry4n/encore-ui/contents/{+path}","compare_url":"https://api.github.com/repos/bry4n/encore-ui/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bry4n/encore-ui/merges","archive_url":"https://api.github.com/repos/bry4n/encore-ui/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bry4n/encore-ui/downloads","issues_url":"https://api.github.com/repos/bry4n/encore-ui/issues{/number}","pulls_url":"https://api.github.com/repos/bry4n/encore-ui/pulls{/number}","milestones_url":"https://api.github.com/repos/bry4n/encore-ui/milestones{/number}","notifications_url":"https://api.github.com/repos/bry4n/encore-ui/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bry4n/encore-ui/labels{/name}","releases_url":"https://api.github.com/repos/bry4n/encore-ui/releases{/id}","created_at":"2015-08-31T22:02:16Z","updated_at":"2015-08-31T22:02:18Z","pushed_at":"2015-10-06T18:11:49Z","git_url":"git://github.com/bry4n/encore-ui.git","ssh_url":"git@github.com:bry4n/encore-ui.git","clone_url":"https://github.com/bry4n/encore-ui.git","svn_url":"https://github.com/bry4n/encore-ui","homepage":"http://rackerlabs.github.io/encore-ui/","size":24453,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"rackerlabs:master","ref":"master","sha":"b3bebb2b7b4937a64238d7237945922a7d3b0c43","user":{"login":"rackerlabs","id":84293,"avatar_url":"https://avatars.githubusercontent.com/u/84293?v=3","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":11432401,"name":"encore-ui","full_name":"rackerlabs/encore-ui","owner":{"login":"rackerlabs","id":84293,"avatar_url":"https://avatars.githubusercontent.com/u/84293?v=3","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},"private":false,"html_url":"https://github.com/rackerlabs/encore-ui","description":"UI Framework for Encore","fork":false,"url":"https://api.github.com/repos/rackerlabs/encore-ui","forks_url":"https://api.github.com/repos/rackerlabs/encore-ui/forks","keys_url":"https://api.github.com/repos/rackerlabs/encore-ui/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rackerlabs/encore-ui/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rackerlabs/encore-ui/teams","hooks_url":"https://api.github.com/repos/rackerlabs/encore-ui/hooks","issue_events_url":"https://api.github.com/repos/rackerlabs/encore-ui/issues/events{/number}","events_url":"https://api.github.com/repos/rackerlabs/encore-ui/events","assignees_url":"https://api.github.com/repos/rackerlabs/encore-ui/assignees{/user}","branches_url":"https://api.github.com/repos/rackerlabs/encore-ui/branches{/branch}","tags_url":"https://api.github.com/repos/rackerlabs/encore-ui/tags","blobs_url":"https://api.github.com/repos/rackerlabs/encore-ui/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rackerlabs/encore-ui/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rackerlabs/encore-ui/git/refs{/sha}","trees_url":"https://api.github.com/repos/rackerlabs/encore-ui/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rackerlabs/encore-ui/statuses/{sha}","languages_url":"https://api.github.com/repos/rackerlabs/encore-ui/languages","stargazers_url":"https://api.github.com/repos/rackerlabs/encore-ui/stargazers","contributors_url":"https://api.github.com/repos/rackerlabs/encore-ui/contributors","subscribers_url":"https://api.github.com/repos/rackerlabs/encore-ui/subscribers","subscription_url":"https://api.github.com/repos/rackerlabs/encore-ui/subscription","commits_url":"https://api.github.com/repos/rackerlabs/encore-ui/commits{/sha}","git_commits_url":"https://api.github.com/repos/rackerlabs/encore-ui/git/commits{/sha}","comments_url":"https://api.github.com/repos/rackerlabs/encore-ui/comments{/number}","issue_comment_url":"https://api.github.com/repos/rackerlabs/encore-ui/issues/comments{/number}","contents_url":"https://api.github.com/repos/rackerlabs/encore-ui/contents/{+path}","compare_url":"https://api.github.com/repos/rackerlabs/encore-ui/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rackerlabs/encore-ui/merges","archive_url":"https://api.github.com/repos/rackerlabs/encore-ui/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rackerlabs/encore-ui/downloads","issues_url":"https://api.github.com/repos/rackerlabs/encore-ui/issues{/number}","pulls_url":"https://api.github.com/repos/rackerlabs/encore-ui/pulls{/number}","milestones_url":"https://api.github.com/repos/rackerlabs/encore-ui/milestones{/number}","notifications_url":"https://api.github.com/repos/rackerlabs/encore-ui/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rackerlabs/encore-ui/labels{/name}","releases_url":"https://api.github.com/repos/rackerlabs/encore-ui/releases{/id}","created_at":"2013-07-15T20:06:52Z","updated_at":"2015-09-10T15:50:43Z","pushed_at":"2015-10-06T18:11:50Z","git_url":"git://github.com/rackerlabs/encore-ui.git","ssh_url":"git@github.com:rackerlabs/encore-ui.git","clone_url":"https://github.com/rackerlabs/encore-ui.git","svn_url":"https://github.com/rackerlabs/encore-ui","homepage":"http://rackerlabs.github.io/encore-ui/","size":34772,"stargazers_count":37,"watchers_count":37,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":44,"mirror_url":null,"open_issues_count":85,"forks":44,"open_issues":85,"watchers":37,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/rackerlabs/encore-ui/pulls/1282"},"html":{"href":"https://github.com/rackerlabs/encore-ui/pull/1282"},"issue":{"href":"https://api.github.com/repos/rackerlabs/encore-ui/issues/1282"},"comments":{"href":"https://api.github.com/repos/rackerlabs/encore-ui/issues/1282/comments"},"review_comments":{"href":"https://api.github.com/repos/rackerlabs/encore-ui/pulls/1282/comments"},"review_comment":{"href":"https://api.github.com/repos/rackerlabs/encore-ui/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/rackerlabs/encore-ui/pulls/1282/commits"},"statuses":{"href":"https://api.github.com/repos/rackerlabs/encore-ui/statuses/117fbdba7074f113e3d7ffa3397f677fc9a73588"}}}}