{"action":"created","issue":{"url":"https://api.github.com/repos/wordpress-mobile/WordPress-Android/issues/3749","repository_url":"https://api.github.com/repos/wordpress-mobile/WordPress-Android","labels_url":"https://api.github.com/repos/wordpress-mobile/WordPress-Android/issues/3749/labels{/name}","comments_url":"https://api.github.com/repos/wordpress-mobile/WordPress-Android/issues/3749/comments","events_url":"https://api.github.com/repos/wordpress-mobile/WordPress-Android/issues/3749/events","html_url":"https://github.com/wordpress-mobile/WordPress-Android/pull/3749","id":133718581,"number":3749,"title":"Custom notifications filter layout with wrapping Fixes #3481","user":{"login":"hypest","id":1032913,"avatar_url":"https://avatars.githubusercontent.com/u/1032913?v=3","gravatar_id":"","url":"https://api.github.com/users/hypest","html_url":"https://github.com/hypest","followers_url":"https://api.github.com/users/hypest/followers","following_url":"https://api.github.com/users/hypest/following{/other_user}","gists_url":"https://api.github.com/users/hypest/gists{/gist_id}","starred_url":"https://api.github.com/users/hypest/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hypest/subscriptions","organizations_url":"https://api.github.com/users/hypest/orgs","repos_url":"https://api.github.com/users/hypest/repos","events_url":"https://api.github.com/users/hypest/events{/privacy}","received_events_url":"https://api.github.com/users/hypest/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/wordpress-mobile/WordPress-Android/labels/Notifications","name":"Notifications","color":"0000ff"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2016-02-15T13:55:27Z","updated_at":"2016-02-15T17:32:12Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/wordpress-mobile/WordPress-Android/pulls/3749","html_url":"https://github.com/wordpress-mobile/WordPress-Android/pull/3749","diff_url":"https://github.com/wordpress-mobile/WordPress-Android/pull/3749.diff","patch_url":"https://github.com/wordpress-mobile/WordPress-Android/pull/3749.patch"},"body":"This is a custom, RadioGroup-like layout that allows the filters list to wrap if space is not enough for the filter names.\r\n\r\nUnfortunately, the filter borders are emulated (using margins and a background colour for the parent container) and support for dedicated border for the selected filter is not supported. Instead, the background of the selected filter is made a bit more dark than it used to be (`grey_lighten_30` instead of `grey_lighten`). For the same reason, the rounded corners of the \"radiogroup\" are not supported.\r\n\r\nThis PR introduces a few design changes so, it would be useful if a designer could chime into this as well (@mattmiklic maybe?).\r\n\r\nThis fixes #3481.\r\n\r\nHappy to hear to any comments!\r\n\r\nHere's how it looks on the Nexus 5X (with a few artificially long filter names to trigger the wrapping):\r\n\r\n![wrapping-filters-group](https://cloud.githubusercontent.com/assets/1032913/13050364/90d8955e-d3fb-11e5-89da-e3c7970ceaa3.png)\r\n"},"comment":{"url":"https://api.github.com/repos/wordpress-mobile/WordPress-Android/issues/comments/184318277","html_url":"https://github.com/wordpress-mobile/WordPress-Android/pull/3749#issuecomment-184318277","issue_url":"https://api.github.com/repos/wordpress-mobile/WordPress-Android/issues/3749","id":184318277,"user":{"login":"mattmiklic","id":1396552,"avatar_url":"https://avatars.githubusercontent.com/u/1396552?v=3","gravatar_id":"","url":"https://api.github.com/users/mattmiklic","html_url":"https://github.com/mattmiklic","followers_url":"https://api.github.com/users/mattmiklic/followers","following_url":"https://api.github.com/users/mattmiklic/following{/other_user}","gists_url":"https://api.github.com/users/mattmiklic/gists{/gist_id}","starred_url":"https://api.github.com/users/mattmiklic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mattmiklic/subscriptions","organizations_url":"https://api.github.com/users/mattmiklic/orgs","repos_url":"https://api.github.com/users/mattmiklic/repos","events_url":"https://api.github.com/users/mattmiklic/events{/privacy}","received_events_url":"https://api.github.com/users/mattmiklic/received_events","type":"User","site_admin":false},"created_at":"2016-02-15T17:32:12Z","updated_at":"2016-02-15T17:32:12Z","body":"Would it be reasonable to try to reduce the font size when text overflows?"}}