{"action":"opened","number":482,"pull_request":{"url":"https://api.github.com/repos/thoughtbot/administrate/pulls/482","id":60225287,"html_url":"https://github.com/thoughtbot/administrate/pull/482","diff_url":"https://github.com/thoughtbot/administrate/pull/482.diff","patch_url":"https://github.com/thoughtbot/administrate/pull/482.patch","issue_url":"https://api.github.com/repos/thoughtbot/administrate/issues/482","number":482,"state":"open","locked":false,"title":"Wrap table cell contents instead of CSS truncation","user":{"login":"iangreenleaf","id":78887,"avatar_url":"https://avatars.githubusercontent.com/u/78887?v=3","gravatar_id":"","url":"https://api.github.com/users/iangreenleaf","html_url":"https://github.com/iangreenleaf","followers_url":"https://api.github.com/users/iangreenleaf/followers","following_url":"https://api.github.com/users/iangreenleaf/following{/other_user}","gists_url":"https://api.github.com/users/iangreenleaf/gists{/gist_id}","starred_url":"https://api.github.com/users/iangreenleaf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iangreenleaf/subscriptions","organizations_url":"https://api.github.com/users/iangreenleaf/orgs","repos_url":"https://api.github.com/users/iangreenleaf/repos","events_url":"https://api.github.com/users/iangreenleaf/events{/privacy}","received_events_url":"https://api.github.com/users/iangreenleaf/received_events","type":"User","site_admin":false},"body":"I'm not sure what discussion led to this being added since the ticket referenced in ae61171e isn't public. However, I don't like the existing solution because:\r\n\r\n * It [doesn't work](https://administrate-prototype.herokuapp.com/admin/customers?direction=desc&order=updated_at)\r\n * The `Field::Text` type already offers truncation with ellipsis, so it duplicates logic to also perform that here. If someone sets a truncation value in their dashboard, they shouldn't have to fiddle with the CSS to have their chosen length respected.\r\n\r\nThis changes table cells to wrap normally, and to force line breaks on super long strings that don't have a natural break.","created_at":"2016-02-22T19:20:00Z","updated_at":"2016-02-22T19:20:00Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/thoughtbot/administrate/pulls/482/commits","review_comments_url":"https://api.github.com/repos/thoughtbot/administrate/pulls/482/comments","review_comment_url":"https://api.github.com/repos/thoughtbot/administrate/pulls/comments{/number}","comments_url":"https://api.github.com/repos/thoughtbot/administrate/issues/482/comments","statuses_url":"https://api.github.com/repos/thoughtbot/administrate/statuses/4edc397fcb50d35ccce63dced357e2e2791fea9d","head":{"label":"iangreenleaf:table-white-space","ref":"table-white-space","sha":"4edc397fcb50d35ccce63dced357e2e2791fea9d","user":{"login":"iangreenleaf","id":78887,"avatar_url":"https://avatars.githubusercontent.com/u/78887?v=3","gravatar_id":"","url":"https://api.github.com/users/iangreenleaf","html_url":"https://github.com/iangreenleaf","followers_url":"https://api.github.com/users/iangreenleaf/followers","following_url":"https://api.github.com/users/iangreenleaf/following{/other_user}","gists_url":"https://api.github.com/users/iangreenleaf/gists{/gist_id}","starred_url":"https://api.github.com/users/iangreenleaf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iangreenleaf/subscriptions","organizations_url":"https://api.github.com/users/iangreenleaf/orgs","repos_url":"https://api.github.com/users/iangreenleaf/repos","events_url":"https://api.github.com/users/iangreenleaf/events{/privacy}","received_events_url":"https://api.github.com/users/iangreenleaf/received_events","type":"User","site_admin":false},"repo":{"id":52298329,"name":"administrate","full_name":"iangreenleaf/administrate","owner":{"login":"iangreenleaf","id":78887,"avatar_url":"https://avatars.githubusercontent.com/u/78887?v=3","gravatar_id":"","url":"https://api.github.com/users/iangreenleaf","html_url":"https://github.com/iangreenleaf","followers_url":"https://api.github.com/users/iangreenleaf/followers","following_url":"https://api.github.com/users/iangreenleaf/following{/other_user}","gists_url":"https://api.github.com/users/iangreenleaf/gists{/gist_id}","starred_url":"https://api.github.com/users/iangreenleaf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iangreenleaf/subscriptions","organizations_url":"https://api.github.com/users/iangreenleaf/orgs","repos_url":"https://api.github.com/users/iangreenleaf/repos","events_url":"https://api.github.com/users/iangreenleaf/events{/privacy}","received_events_url":"https://api.github.com/users/iangreenleaf/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/iangreenleaf/administrate","description":"A Rails engine that helps you put together a super-flexible admin dashboard.","fork":true,"url":"https://api.github.com/repos/iangreenleaf/administrate","forks_url":"https://api.github.com/repos/iangreenleaf/administrate/forks","keys_url":"https://api.github.com/repos/iangreenleaf/administrate/keys{/key_id}","collaborators_url":"https://api.github.com/repos/iangreenleaf/administrate/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/iangreenleaf/administrate/teams","hooks_url":"https://api.github.com/repos/iangreenleaf/administrate/hooks","issue_events_url":"https://api.github.com/repos/iangreenleaf/administrate/issues/events{/number}","events_url":"https://api.github.com/repos/iangreenleaf/administrate/events","assignees_url":"https://api.github.com/repos/iangreenleaf/administrate/assignees{/user}","branches_url":"https://api.github.com/repos/iangreenleaf/administrate/branches{/branch}","tags_url":"https://api.github.com/repos/iangreenleaf/administrate/tags","blobs_url":"https://api.github.com/repos/iangreenleaf/administrate/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/iangreenleaf/administrate/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/iangreenleaf/administrate/git/refs{/sha}","trees_url":"https://api.github.com/repos/iangreenleaf/administrate/git/trees{/sha}","statuses_url":"https://api.github.com/repos/iangreenleaf/administrate/statuses/{sha}","languages_url":"https://api.github.com/repos/iangreenleaf/administrate/languages","stargazers_url":"https://api.github.com/repos/iangreenleaf/administrate/stargazers","contributors_url":"https://api.github.com/repos/iangreenleaf/administrate/contributors","subscribers_url":"https://api.github.com/repos/iangreenleaf/administrate/subscribers","subscription_url":"https://api.github.com/repos/iangreenleaf/administrate/subscription","commits_url":"https://api.github.com/repos/iangreenleaf/administrate/commits{/sha}","git_commits_url":"https://api.github.com/repos/iangreenleaf/administrate/git/commits{/sha}","comments_url":"https://api.github.com/repos/iangreenleaf/administrate/comments{/number}","issue_comment_url":"https://api.github.com/repos/iangreenleaf/administrate/issues/comments{/number}","contents_url":"https://api.github.com/repos/iangreenleaf/administrate/contents/{+path}","compare_url":"https://api.github.com/repos/iangreenleaf/administrate/compare/{base}...{head}","merges_url":"https://api.github.com/repos/iangreenleaf/administrate/merges","archive_url":"https://api.github.com/repos/iangreenleaf/administrate/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/iangreenleaf/administrate/downloads","issues_url":"https://api.github.com/repos/iangreenleaf/administrate/issues{/number}","pulls_url":"https://api.github.com/repos/iangreenleaf/administrate/pulls{/number}","milestones_url":"https://api.github.com/repos/iangreenleaf/administrate/milestones{/number}","notifications_url":"https://api.github.com/repos/iangreenleaf/administrate/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/iangreenleaf/administrate/labels{/name}","releases_url":"https://api.github.com/repos/iangreenleaf/administrate/releases{/id}","deployments_url":"https://api.github.com/repos/iangreenleaf/administrate/deployments","created_at":"2016-02-22T19:14:01Z","updated_at":"2016-02-22T19:14:02Z","pushed_at":"2016-02-22T19:14:11Z","git_url":"git://github.com/iangreenleaf/administrate.git","ssh_url":"git@github.com:iangreenleaf/administrate.git","clone_url":"https://github.com/iangreenleaf/administrate.git","svn_url":"https://github.com/iangreenleaf/administrate","homepage":"http://administrate-prototype.herokuapp.com/admin","size":643,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"thoughtbot:master","ref":"master","sha":"7c244c31b5b5609bcab7da808709182860b50cd3","user":{"login":"thoughtbot","id":6183,"avatar_url":"https://avatars.githubusercontent.com/u/6183?v=3","gravatar_id":"","url":"https://api.github.com/users/thoughtbot","html_url":"https://github.com/thoughtbot","followers_url":"https://api.github.com/users/thoughtbot/followers","following_url":"https://api.github.com/users/thoughtbot/following{/other_user}","gists_url":"https://api.github.com/users/thoughtbot/gists{/gist_id}","starred_url":"https://api.github.com/users/thoughtbot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thoughtbot/subscriptions","organizations_url":"https://api.github.com/users/thoughtbot/orgs","repos_url":"https://api.github.com/users/thoughtbot/repos","events_url":"https://api.github.com/users/thoughtbot/events{/privacy}","received_events_url":"https://api.github.com/users/thoughtbot/received_events","type":"Organization","site_admin":false},"repo":{"id":33739333,"name":"administrate","full_name":"thoughtbot/administrate","owner":{"login":"thoughtbot","id":6183,"avatar_url":"https://avatars.githubusercontent.com/u/6183?v=3","gravatar_id":"","url":"https://api.github.com/users/thoughtbot","html_url":"https://github.com/thoughtbot","followers_url":"https://api.github.com/users/thoughtbot/followers","following_url":"https://api.github.com/users/thoughtbot/following{/other_user}","gists_url":"https://api.github.com/users/thoughtbot/gists{/gist_id}","starred_url":"https://api.github.com/users/thoughtbot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thoughtbot/subscriptions","organizations_url":"https://api.github.com/users/thoughtbot/orgs","repos_url":"https://api.github.com/users/thoughtbot/repos","events_url":"https://api.github.com/users/thoughtbot/events{/privacy}","received_events_url":"https://api.github.com/users/thoughtbot/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/thoughtbot/administrate","description":"A Rails engine that helps you put together a super-flexible admin dashboard.","fork":false,"url":"https://api.github.com/repos/thoughtbot/administrate","forks_url":"https://api.github.com/repos/thoughtbot/administrate/forks","keys_url":"https://api.github.com/repos/thoughtbot/administrate/keys{/key_id}","collaborators_url":"https://api.github.com/repos/thoughtbot/administrate/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/thoughtbot/administrate/teams","hooks_url":"https://api.github.com/repos/thoughtbot/administrate/hooks","issue_events_url":"https://api.github.com/repos/thoughtbot/administrate/issues/events{/number}","events_url":"https://api.github.com/repos/thoughtbot/administrate/events","assignees_url":"https://api.github.com/repos/thoughtbot/administrate/assignees{/user}","branches_url":"https://api.github.com/repos/thoughtbot/administrate/branches{/branch}","tags_url":"https://api.github.com/repos/thoughtbot/administrate/tags","blobs_url":"https://api.github.com/repos/thoughtbot/administrate/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/thoughtbot/administrate/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/thoughtbot/administrate/git/refs{/sha}","trees_url":"https://api.github.com/repos/thoughtbot/administrate/git/trees{/sha}","statuses_url":"https://api.github.com/repos/thoughtbot/administrate/statuses/{sha}","languages_url":"https://api.github.com/repos/thoughtbot/administrate/languages","stargazers_url":"https://api.github.com/repos/thoughtbot/administrate/stargazers","contributors_url":"https://api.github.com/repos/thoughtbot/administrate/contributors","subscribers_url":"https://api.github.com/repos/thoughtbot/administrate/subscribers","subscription_url":"https://api.github.com/repos/thoughtbot/administrate/subscription","commits_url":"https://api.github.com/repos/thoughtbot/administrate/commits{/sha}","git_commits_url":"https://api.github.com/repos/thoughtbot/administrate/git/commits{/sha}","comments_url":"https://api.github.com/repos/thoughtbot/administrate/comments{/number}","issue_comment_url":"https://api.github.com/repos/thoughtbot/administrate/issues/comments{/number}","contents_url":"https://api.github.com/repos/thoughtbot/administrate/contents/{+path}","compare_url":"https://api.github.com/repos/thoughtbot/administrate/compare/{base}...{head}","merges_url":"https://api.github.com/repos/thoughtbot/administrate/merges","archive_url":"https://api.github.com/repos/thoughtbot/administrate/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/thoughtbot/administrate/downloads","issues_url":"https://api.github.com/repos/thoughtbot/administrate/issues{/number}","pulls_url":"https://api.github.com/repos/thoughtbot/administrate/pulls{/number}","milestones_url":"https://api.github.com/repos/thoughtbot/administrate/milestones{/number}","notifications_url":"https://api.github.com/repos/thoughtbot/administrate/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/thoughtbot/administrate/labels{/name}","releases_url":"https://api.github.com/repos/thoughtbot/administrate/releases{/id}","deployments_url":"https://api.github.com/repos/thoughtbot/administrate/deployments","created_at":"2015-04-10T16:43:02Z","updated_at":"2016-02-22T03:17:59Z","pushed_at":"2016-02-22T15:42:06Z","git_url":"git://github.com/thoughtbot/administrate.git","ssh_url":"git@github.com:thoughtbot/administrate.git","clone_url":"https://github.com/thoughtbot/administrate.git","svn_url":"https://github.com/thoughtbot/administrate","homepage":"http://administrate-prototype.herokuapp.com/admin","size":1151,"stargazers_count":2273,"watchers_count":2273,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":190,"mirror_url":null,"open_issues_count":129,"forks":190,"open_issues":129,"watchers":2273,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/thoughtbot/administrate/pulls/482"},"html":{"href":"https://github.com/thoughtbot/administrate/pull/482"},"issue":{"href":"https://api.github.com/repos/thoughtbot/administrate/issues/482"},"comments":{"href":"https://api.github.com/repos/thoughtbot/administrate/issues/482/comments"},"review_comments":{"href":"https://api.github.com/repos/thoughtbot/administrate/pulls/482/comments"},"review_comment":{"href":"https://api.github.com/repos/thoughtbot/administrate/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/thoughtbot/administrate/pulls/482/commits"},"statuses":{"href":"https://api.github.com/repos/thoughtbot/administrate/statuses/4edc397fcb50d35ccce63dced357e2e2791fea9d"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":2,"deletions":4,"changed_files":1}}