{"action":"created","issue":{"url":"https://api.github.com/repos/mapbox/mapbox-gl-js/issues/3783","repository_url":"https://api.github.com/repos/mapbox/mapbox-gl-js","labels_url":"https://api.github.com/repos/mapbox/mapbox-gl-js/issues/3783/labels{/name}","comments_url":"https://api.github.com/repos/mapbox/mapbox-gl-js/issues/3783/comments","events_url":"https://api.github.com/repos/mapbox/mapbox-gl-js/issues/3783/events","html_url":"https://github.com/mapbox/mapbox-gl-js/pull/3783","id":194973845,"number":3783,"title":"Make attribution control responsive.","user":{"login":"lennerd","id":1609692,"avatar_url":"https://avatars.githubusercontent.com/u/1609692?v=3","gravatar_id":"","url":"https://api.github.com/users/lennerd","html_url":"https://github.com/lennerd","followers_url":"https://api.github.com/users/lennerd/followers","following_url":"https://api.github.com/users/lennerd/following{/other_user}","gists_url":"https://api.github.com/users/lennerd/gists{/gist_id}","starred_url":"https://api.github.com/users/lennerd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lennerd/subscriptions","organizations_url":"https://api.github.com/users/lennerd/orgs","repos_url":"https://api.github.com/users/lennerd/repos","events_url":"https://api.github.com/users/lennerd/events{/privacy}","received_events_url":"https://api.github.com/users/lennerd/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-12-12T13:26:33Z","updated_at":"2016-12-12T16:04:35Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/mapbox/mapbox-gl-js/pulls/3783","html_url":"https://github.com/mapbox/mapbox-gl-js/pull/3783","diff_url":"https://github.com/mapbox/mapbox-gl-js/pull/3783.diff","patch_url":"https://github.com/mapbox/mapbox-gl-js/pull/3783.patch"},"body":"This PR adds responsiveness to AttributionControl by adding a compact version. This is very similar to the mapbox.js API and can also be activated by passing `compact: true` as an option to the AttributionControl.\r\n\r\n``` js\r\nvar map = new mapboxgl.Map({ attributionControl: false })\r\n    .addControl(new mapboxgl.AttributionControl({\r\n        compact: true\r\n    }));\r\n```\r\n\r\nFixes: #3284\r\n\r\n - [x] briefly describe the changes in this PR\r\n - [x] manually test the debug page\r\n - [ ] gather feedback for the given changes\r\n - [ ] write tests for all new functionalities\r\n - [ ] document any changes to public APIs\r\n\r\nHappy to hear your feedback."},"comment":{"url":"https://api.github.com/repos/mapbox/mapbox-gl-js/issues/comments/266470161","html_url":"https://github.com/mapbox/mapbox-gl-js/pull/3783#issuecomment-266470161","issue_url":"https://api.github.com/repos/mapbox/mapbox-gl-js/issues/3783","id":266470161,"user":{"login":"mollymerp","id":2425307,"avatar_url":"https://avatars.githubusercontent.com/u/2425307?v=3","gravatar_id":"","url":"https://api.github.com/users/mollymerp","html_url":"https://github.com/mollymerp","followers_url":"https://api.github.com/users/mollymerp/followers","following_url":"https://api.github.com/users/mollymerp/following{/other_user}","gists_url":"https://api.github.com/users/mollymerp/gists{/gist_id}","starred_url":"https://api.github.com/users/mollymerp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mollymerp/subscriptions","organizations_url":"https://api.github.com/users/mollymerp/orgs","repos_url":"https://api.github.com/users/mollymerp/repos","events_url":"https://api.github.com/users/mollymerp/events{/privacy}","received_events_url":"https://api.github.com/users/mollymerp/received_events","type":"User","site_admin":false},"created_at":"2016-12-12T16:04:35Z","updated_at":"2016-12-12T16:04:35Z","body":"Thank you for this PR @lennerd!! It is working as expected when I run it locally.\r\n\r\ncc @tristen for design 👀 "}}
{"actor":{"display_login":"mollymerp"}}