{"action":"created","issue":{"url":"https://api.github.com/repos/noripyt/wagtail-react-streamfield/issues/7","repository_url":"https://api.github.com/repos/noripyt/wagtail-react-streamfield","labels_url":"https://api.github.com/repos/noripyt/wagtail-react-streamfield/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/noripyt/wagtail-react-streamfield/issues/7/comments","events_url":"https://api.github.com/repos/noripyt/wagtail-react-streamfield/issues/7/events","html_url":"https://github.com/noripyt/wagtail-react-streamfield/issues/7","id":355756037,"node_id":"MDU6SXNzdWUzNTU3NTYwMzc=","number":7,"title":"Customizable collapsed text?","user":{"login":"coredumperror","id":413571,"node_id":"MDQ6VXNlcjQxMzU3MQ==","avatar_url":"https://avatars2.githubusercontent.com/u/413571?v=4","gravatar_id":"","url":"https://api.github.com/users/coredumperror","html_url":"https://github.com/coredumperror","followers_url":"https://api.github.com/users/coredumperror/followers","following_url":"https://api.github.com/users/coredumperror/following{/other_user}","gists_url":"https://api.github.com/users/coredumperror/gists{/gist_id}","starred_url":"https://api.github.com/users/coredumperror/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coredumperror/subscriptions","organizations_url":"https://api.github.com/users/coredumperror/orgs","repos_url":"https://api.github.com/users/coredumperror/repos","events_url":"https://api.github.com/users/coredumperror/events{/privacy}","received_events_url":"https://api.github.com/users/coredumperror/received_events","type":"User","site_admin":false},"labels":[{"id":1029141688,"node_id":"MDU6TGFiZWwxMDI5MTQxNjg4","url":"https://api.github.com/repos/noripyt/wagtail-react-streamfield/labels/enhancement","name":"enhancement","color":"a2eeef","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-08-30T21:11:56Z","updated_at":"2018-11-20T17:44:30Z","closed_at":null,"author_association":"NONE","body":"As I mentioned over on the wagtail queue, it'd be nice if the text that's displayed when a block is collapsed were customizable. It's supposedly possible, but how does it work?"},"comment":{"url":"https://api.github.com/repos/noripyt/wagtail-react-streamfield/issues/comments/440366765","html_url":"https://github.com/noripyt/wagtail-react-streamfield/issues/7#issuecomment-440366765","issue_url":"https://api.github.com/repos/noripyt/wagtail-react-streamfield/issues/7","id":440366765,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0MDM2Njc2NQ==","user":{"login":"fpoulain","id":32539071,"node_id":"MDQ6VXNlcjMyNTM5MDcx","avatar_url":"https://avatars3.githubusercontent.com/u/32539071?v=4","gravatar_id":"","url":"https://api.github.com/users/fpoulain","html_url":"https://github.com/fpoulain","followers_url":"https://api.github.com/users/fpoulain/followers","following_url":"https://api.github.com/users/fpoulain/following{/other_user}","gists_url":"https://api.github.com/users/fpoulain/gists{/gist_id}","starred_url":"https://api.github.com/users/fpoulain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fpoulain/subscriptions","organizations_url":"https://api.github.com/users/fpoulain/orgs","repos_url":"https://api.github.com/users/fpoulain/repos","events_url":"https://api.github.com/users/fpoulain/events{/privacy}","received_events_url":"https://api.github.com/users/fpoulain/received_events","type":"User","site_admin":false},"created_at":"2018-11-20T17:44:30Z","updated_at":"2018-11-20T17:44:30Z","author_association":"NONE","body":"Hi,\r\n\r\nOn some StructBlock I experience weird behavior with this titleTemplate.\r\n\r\nWhen I use integerfield as child, it takes it (the number) as a title ; which looks weird.\r\n![capture d ecran de 2018-11-20 18-40-02](https://user-images.githubusercontent.com/32539071/48792150-ca4c3480-ecf3-11e8-9cc4-169f41ab5f43.png)\r\n\r\nIf I overload get_definition, then I define a title text but I am unable to add the block-type css class which makes it visually as like as others titles.\r\n![capture d ecran de 2018-11-20 18-39-22](https://user-images.githubusercontent.com/32539071/48792151-ca4c3480-ecf3-11e8-8e1e-44ddf51f608f.png)\r\n\r\nFinally, the block type is displayed at right whereas with other structs it is not the case.\r\n\r\nI guess it is relied to some ability to display txt values of the struct but it breaks some homogeneity.\r\n\r\nHow do you think about it ?"}}
{"actor":{"display_login":"fpoulain"}}