{"action":"created","issue":{"url":"https://api.github.com/repos/the-control-group/voyager/issues/638","repository_url":"https://api.github.com/repos/the-control-group/voyager","labels_url":"https://api.github.com/repos/the-control-group/voyager/issues/638/labels{/name}","comments_url":"https://api.github.com/repos/the-control-group/voyager/issues/638/comments","events_url":"https://api.github.com/repos/the-control-group/voyager/issues/638/events","html_url":"https://github.com/the-control-group/voyager/pull/638","id":203291494,"number":638,"title":"[WIP] Parse BREAD relationships to show labels instead of keys","user":{"login":"Frondor","id":5123709,"avatar_url":"https://avatars.githubusercontent.com/u/5123709?v=3","gravatar_id":"","url":"https://api.github.com/users/Frondor","html_url":"https://github.com/Frondor","followers_url":"https://api.github.com/users/Frondor/followers","following_url":"https://api.github.com/users/Frondor/following{/other_user}","gists_url":"https://api.github.com/users/Frondor/gists{/gist_id}","starred_url":"https://api.github.com/users/Frondor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Frondor/subscriptions","organizations_url":"https://api.github.com/users/Frondor/orgs","repos_url":"https://api.github.com/users/Frondor/repos","events_url":"https://api.github.com/users/Frondor/events{/privacy}","received_events_url":"https://api.github.com/users/Frondor/received_events","type":"User","site_admin":false},"labels":[{"id":469741886,"url":"https://api.github.com/repos/the-control-group/voyager/labels/enhancement","name":"enhancement","color":"84b6eb","default":true},{"id":489759381,"url":"https://api.github.com/repos/the-control-group/voyager/labels/in%20progress","name":"in progress","color":"ededed","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2017-01-26T04:42:34Z","updated_at":"2017-01-27T11:12:00Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/the-control-group/voyager/pulls/638","html_url":"https://github.com/the-control-group/voyager/pull/638","diff_url":"https://github.com/the-control-group/voyager/pull/638.diff","patch_url":"https://github.com/the-control-group/voyager/pull/638.patch"},"body":"Basically, it turns this\r\n![](https://i.gyazo.com/c34f74b94aeff13b8c6f7c8d573f2a3f.png)\r\n![](https://i.gyazo.com/a52e6e5004146f57d0af835155e11c38.png)\r\n\r\ninto this\r\n![](https://i.gyazo.com/c34f74b94aeff13b8c6f7c8d573f2a3f.png)\r\n![](https://i.gyazo.com/0fbc5902e746f255d6f0a748bf432c91.png)\r\n\r\nYou can optionally add a new `page_slug` property to the `relationships` object in the BREAD details in order to display proper links to relationship records. i.e.:\r\n```\r\n{\r\n    \"relationship\": {\r\n        \"key\": \"id\",\r\n        \"label\": \"name\",\r\n        \"page_slug\": \"admin/users\"\r\n    }\r\n}\r\n```\r\n\r\nif no `page_slug` is provided, then the real \"text\" (`relationship.label`) is still being \"resolved\", but no anchor link is created."},"comment":{"url":"https://api.github.com/repos/the-control-group/voyager/issues/comments/275642804","html_url":"https://github.com/the-control-group/voyager/pull/638#issuecomment-275642804","issue_url":"https://api.github.com/repos/the-control-group/voyager/issues/638","id":275642804,"user":{"login":"Frondor","id":5123709,"avatar_url":"https://avatars.githubusercontent.com/u/5123709?v=3","gravatar_id":"","url":"https://api.github.com/users/Frondor","html_url":"https://github.com/Frondor","followers_url":"https://api.github.com/users/Frondor/followers","following_url":"https://api.github.com/users/Frondor/following{/other_user}","gists_url":"https://api.github.com/users/Frondor/gists{/gist_id}","starred_url":"https://api.github.com/users/Frondor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Frondor/subscriptions","organizations_url":"https://api.github.com/users/Frondor/orgs","repos_url":"https://api.github.com/users/Frondor/repos","events_url":"https://api.github.com/users/Frondor/events{/privacy}","received_events_url":"https://api.github.com/users/Frondor/received_events","type":"User","site_admin":false},"created_at":"2017-01-27T11:11:59Z","updated_at":"2017-01-27T11:11:59Z","body":"Travis is throwing a\r\n```\r\n[Symfony\\Component\\Debug\\Exception\\FatalErrorException]                      \r\n  Trait 'TCG\\Voyager\\Http\\Controllers\\Traits\\BreadRelationshipParser' not fou  \r\n  nd \r\n```\r\nbut it is there... (in my fork) How to deal with that? Must it be \"manually\" created by some maintainer first?"}}
{"actor":{"display_login":"Frondor"}}