{"action":"created","issue":{"url":"https://api.github.com/repos/kasper/phoenix/issues/108","repository_url":"https://api.github.com/repos/kasper/phoenix","labels_url":"https://api.github.com/repos/kasper/phoenix/issues/108/labels{/name}","comments_url":"https://api.github.com/repos/kasper/phoenix/issues/108/comments","events_url":"https://api.github.com/repos/kasper/phoenix/issues/108/events","html_url":"https://github.com/kasper/phoenix/issues/108","id":162946925,"number":108,"title":"Name and stylistic changes to the API","user":{"login":"kasper","id":925851,"avatar_url":"https://avatars.githubusercontent.com/u/925851?v=3","gravatar_id":"","url":"https://api.github.com/users/kasper","html_url":"https://github.com/kasper","followers_url":"https://api.github.com/users/kasper/followers","following_url":"https://api.github.com/users/kasper/following{/other_user}","gists_url":"https://api.github.com/users/kasper/gists{/gist_id}","starred_url":"https://api.github.com/users/kasper/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kasper/subscriptions","organizations_url":"https://api.github.com/users/kasper/orgs","repos_url":"https://api.github.com/users/kasper/repos","events_url":"https://api.github.com/users/kasper/events{/privacy}","received_events_url":"https://api.github.com/users/kasper/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/kasper/phoenix/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"closed","locked":false,"assignee":{"login":"kasper","id":925851,"avatar_url":"https://avatars.githubusercontent.com/u/925851?v=3","gravatar_id":"","url":"https://api.github.com/users/kasper","html_url":"https://github.com/kasper","followers_url":"https://api.github.com/users/kasper/followers","following_url":"https://api.github.com/users/kasper/following{/other_user}","gists_url":"https://api.github.com/users/kasper/gists{/gist_id}","starred_url":"https://api.github.com/users/kasper/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kasper/subscriptions","organizations_url":"https://api.github.com/users/kasper/orgs","repos_url":"https://api.github.com/users/kasper/repos","events_url":"https://api.github.com/users/kasper/events{/privacy}","received_events_url":"https://api.github.com/users/kasper/received_events","type":"User","site_admin":false},"assignees":[{"login":"kasper","id":925851,"avatar_url":"https://avatars.githubusercontent.com/u/925851?v=3","gravatar_id":"","url":"https://api.github.com/users/kasper","html_url":"https://github.com/kasper","followers_url":"https://api.github.com/users/kasper/followers","following_url":"https://api.github.com/users/kasper/following{/other_user}","gists_url":"https://api.github.com/users/kasper/gists{/gist_id}","starred_url":"https://api.github.com/users/kasper/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kasper/subscriptions","organizations_url":"https://api.github.com/users/kasper/orgs","repos_url":"https://api.github.com/users/kasper/repos","events_url":"https://api.github.com/users/kasper/events{/privacy}","received_events_url":"https://api.github.com/users/kasper/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/kasper/phoenix/milestones/7","html_url":"https://github.com/kasper/phoenix/milestones/2.2","labels_url":"https://api.github.com/repos/kasper/phoenix/milestones/7/labels","id":1738733,"number":7,"title":"2.2","description":"","creator":{"login":"kasper","id":925851,"avatar_url":"https://avatars.githubusercontent.com/u/925851?v=3","gravatar_id":"","url":"https://api.github.com/users/kasper","html_url":"https://github.com/kasper","followers_url":"https://api.github.com/users/kasper/followers","following_url":"https://api.github.com/users/kasper/following{/other_user}","gists_url":"https://api.github.com/users/kasper/gists{/gist_id}","starred_url":"https://api.github.com/users/kasper/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kasper/subscriptions","organizations_url":"https://api.github.com/users/kasper/orgs","repos_url":"https://api.github.com/users/kasper/repos","events_url":"https://api.github.com/users/kasper/events{/privacy}","received_events_url":"https://api.github.com/users/kasper/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":10,"state":"open","created_at":"2016-04-29T15:11:22Z","updated_at":"2016-07-09T10:49:49Z","due_on":null,"closed_at":null},"comments":5,"created_at":"2016-06-29T14:55:27Z","updated_at":"2016-07-09T12:17:04Z","closed_at":"2016-07-09T10:49:49Z","body":"Make some name and stylistic changes to the API to make it more coherent. Many of these are remains from the refactor and have bothered me partly due to their naming, but partly due to not feeling natural.\r\n\r\nIt’s most likely reasonable to change these, but make the existing ones aliases, deprecate them and remove then in the future — so that users don’t have to make configuration changes so often?\r\n\r\nAny others?\r\n\r\n### Screen\r\n\r\n1. [x] `Screen.mainScreen() -> Screen.main()`\r\n2. [x] `Screen.screens() -> Screen.all()`\r\n3. [x] `#visibleWindows() -> #windows({ visible: true })`\r\n\r\n### Space\r\n\r\n4. [x] `Space.activeSpace() -> Space.active()`\r\n5. [x] `Space.spaces() -> Space.all()`\r\n6. [x] `#visibleWindows() -> #windows({ visible: true })`\r\n\r\n### App\r\n\r\n7. [x] `App.focusedApp() -> App.focused()`\r\n8. [x] `App.runningApps() -> App.all()`\r\n9. [x] `#visibleWindows() -> #windows({ visible: true })`\r\n10. [x] `#forceTerminate() -> #terminate({ force: true })`\r\n\r\n### Window\r\n\r\n11. [x] `Window.focusedWindow() -> Window.focused()`\r\n12. [x] `Window.windows() -> Window.all()`\r\n13. [x] `Window.visibleWindows() -> Window.all({ visible: true })`\r\n14. [x] `Window.visibleWindowsInOrder() -> Window.recent()`\r\n15. [x] `#otherWindowsOnSameScreen() -> #others({ screen: window.screen })`\r\n16. [x] `#otherWindowsOnAllScreens() -> #others()`\r\n17. [x] `#windowsToWest() -> #neighbors('west')`\r\n18. [x] `#windowsToEast() -> #neighbors('east')`\r\n19. [x] `#windowsToNorth() -> #neighbors('north')`\r\n20. [x] `#windowsToSouth() -> #neighbors('south')`\r\n21. [x] `#focusClosestWindowInWest() -> #focusClosestNeighbor('west')`\r\n22. [x] `#focusClosestWindowInEast() -> #focusClosestNeighbor('east')`\r\n23. [x] `#focusClosestWindowInNorth() -> #focusClosestNeighbor('north')`\r\n24. [x] `#focusClosestWindowInSouth() -> #focusClosestNeighbor('south)`"},"comment":{"url":"https://api.github.com/repos/kasper/phoenix/issues/comments/231531652","html_url":"https://github.com/kasper/phoenix/issues/108#issuecomment-231531652","issue_url":"https://api.github.com/repos/kasper/phoenix/issues/108","id":231531652,"user":{"login":"kasper","id":925851,"avatar_url":"https://avatars.githubusercontent.com/u/925851?v=3","gravatar_id":"","url":"https://api.github.com/users/kasper","html_url":"https://github.com/kasper","followers_url":"https://api.github.com/users/kasper/followers","following_url":"https://api.github.com/users/kasper/following{/other_user}","gists_url":"https://api.github.com/users/kasper/gists{/gist_id}","starred_url":"https://api.github.com/users/kasper/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kasper/subscriptions","organizations_url":"https://api.github.com/users/kasper/orgs","repos_url":"https://api.github.com/users/kasper/repos","events_url":"https://api.github.com/users/kasper/events{/privacy}","received_events_url":"https://api.github.com/users/kasper/received_events","type":"User","site_admin":false},"created_at":"2016-07-09T12:17:04Z","updated_at":"2016-07-09T12:17:04Z","body":"Everything seems to be working as expected, please report any issues found!"}}
{"actor":{"display_login":"kasper"}}