{"action":"created","issue":{"url":"https://api.github.com/repos/torchbox/wagtail/issues/2285","repository_url":"https://api.github.com/repos/torchbox/wagtail","labels_url":"https://api.github.com/repos/torchbox/wagtail/issues/2285/labels{/name}","comments_url":"https://api.github.com/repos/torchbox/wagtail/issues/2285/comments","events_url":"https://api.github.com/repos/torchbox/wagtail/issues/2285/events","html_url":"https://github.com/torchbox/wagtail/pull/2285","id":136921429,"number":2285,"title":"Add distinct icons to blocks","user":{"login":"benjaoming","id":374612,"avatar_url":"https://avatars.githubusercontent.com/u/374612?v=3","gravatar_id":"","url":"https://api.github.com/users/benjaoming","html_url":"https://github.com/benjaoming","followers_url":"https://api.github.com/users/benjaoming/followers","following_url":"https://api.github.com/users/benjaoming/following{/other_user}","gists_url":"https://api.github.com/users/benjaoming/gists{/gist_id}","starred_url":"https://api.github.com/users/benjaoming/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benjaoming/subscriptions","organizations_url":"https://api.github.com/users/benjaoming/orgs","repos_url":"https://api.github.com/users/benjaoming/repos","events_url":"https://api.github.com/users/benjaoming/events{/privacy}","received_events_url":"https://api.github.com/users/benjaoming/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/torchbox/wagtail/labels/Streamfield","name":"Streamfield","color":"8777ED"},{"url":"https://api.github.com/repos/torchbox/wagtail/labels/UI%20/%20UX","name":"UI / UX","color":"207de5"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2016-02-27T13:54:07Z","updated_at":"2016-02-29T15:13:03Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/torchbox/wagtail/pulls/2285","html_url":"https://github.com/torchbox/wagtail/pull/2285","diff_url":"https://github.com/torchbox/wagtail/pull/2285.diff","patch_url":"https://github.com/torchbox/wagtail/pull/2285.patch"},"body":"It's pretty hard to navigate the many different block types in a StreamField that permits lots of different blocks. So I used the icons from the current style guide. Some of the icon names and semantic intentions might be a little besides the way they're used, but in case the icon changes, I don't think it'll cause a major disaster :)\r\n\r\nI moved a couple of subclass `class Meta` to the end of the class definition because it's easier to always know where to look for them."},"comment":{"url":"https://api.github.com/repos/torchbox/wagtail/issues/comments/190252241","html_url":"https://github.com/torchbox/wagtail/pull/2285#issuecomment-190252241","issue_url":"https://api.github.com/repos/torchbox/wagtail/issues/2285","id":190252241,"user":{"login":"alexgleason","id":3639540,"avatar_url":"https://avatars.githubusercontent.com/u/3639540?v=3","gravatar_id":"","url":"https://api.github.com/users/alexgleason","html_url":"https://github.com/alexgleason","followers_url":"https://api.github.com/users/alexgleason/followers","following_url":"https://api.github.com/users/alexgleason/following{/other_user}","gists_url":"https://api.github.com/users/alexgleason/gists{/gist_id}","starred_url":"https://api.github.com/users/alexgleason/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexgleason/subscriptions","organizations_url":"https://api.github.com/users/alexgleason/orgs","repos_url":"https://api.github.com/users/alexgleason/repos","events_url":"https://api.github.com/users/alexgleason/events{/privacy}","received_events_url":"https://api.github.com/users/alexgleason/received_events","type":"User","site_admin":false},"created_at":"2016-02-29T15:13:02Z","updated_at":"2016-02-29T15:13:02Z","body":"I had envisioned something like this icon, turned to its side for a ListBlock. http://fontawesome.io/icon/columns/\r\n\r\nBut I see what Matthew is saying. The fact that it's a list isn't necessarily the important thing about a ListBlock. For instance if you have a list of phone numbers, do you want the icon above, or do you want the icon of a phone? I think it does probably make sense to not have defaults on structural block types.\r\n\r\nWe do appreciate your contribution @benjaoming ! I agree that have defaults on non-structural types will be helpful and desired. Thank you for submitting."}}