{"action":"created","issue":{"url":"https://api.github.com/repos/TypeStrong/atom-typescript/issues/415","labels_url":"https://api.github.com/repos/TypeStrong/atom-typescript/issues/415/labels{/name}","comments_url":"https://api.github.com/repos/TypeStrong/atom-typescript/issues/415/comments","events_url":"https://api.github.com/repos/TypeStrong/atom-typescript/issues/415/events","html_url":"https://github.com/TypeStrong/atom-typescript/pull/415","id":91182860,"number":415,"title":"Add icon that represents the current file status and remove popup on successful emit","user":{"login":"helarqjsc","id":1840047,"avatar_url":"https://avatars.githubusercontent.com/u/1840047?v=3","gravatar_id":"","url":"https://api.github.com/users/helarqjsc","html_url":"https://github.com/helarqjsc","followers_url":"https://api.github.com/users/helarqjsc/followers","following_url":"https://api.github.com/users/helarqjsc/following{/other_user}","gists_url":"https://api.github.com/users/helarqjsc/gists{/gist_id}","starred_url":"https://api.github.com/users/helarqjsc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/helarqjsc/subscriptions","organizations_url":"https://api.github.com/users/helarqjsc/orgs","repos_url":"https://api.github.com/users/helarqjsc/repos","events_url":"https://api.github.com/users/helarqjsc/events{/privacy}","received_events_url":"https://api.github.com/users/helarqjsc/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-06-26T07:50:31Z","updated_at":"2015-06-26T10:40:22Z","closed_at":"2015-06-26T10:40:22Z","pull_request":{"url":"https://api.github.com/repos/TypeStrong/atom-typescript/pulls/415","html_url":"https://github.com/TypeStrong/atom-typescript/pull/415","diff_url":"https://github.com/TypeStrong/atom-typescript/pull/415.diff","patch_url":"https://github.com/TypeStrong/atom-typescript/pull/415.patch"},"body":"As was proposed by @basarat in #397\r\nIt removes the annoying \"TS emit succeeded\" message on every save and instead adds a small icon on the bottom panel that represents the current state of the compiled JS file. Initially it says \"File might be outdated\", because we don't know the state yet. If the file is successfully compiled and emitted, the status says \"File is up to date\". If the file has been edited, but not saved yet or a compilation error has occurred, it says \"File is outdated\". If there was a compilation error, but emit succeeded, it shows a popup just like before. \r\n\r\nHere what it currently looks like:\r\n![Screenshot](http://i.imgur.com/uPm71nf.png)\r\n\r\nFew things that might need to be fixed:\r\n- The status text takes quite a bit of space on the panel, it might be better to permanently show the icon and display text only on hover;\r\n- \"TypeScript: Build\" command doesn't change the file status yet, only on save compilation does;\r\n- It would be nice to have an option to compile files after the editor has been opened, so the file status is guaranteed to be up to date by default.\r\n\r\nThoughts?\r\n"},"comment":{"url":"https://api.github.com/repos/TypeStrong/atom-typescript/issues/comments/115638579","html_url":"https://github.com/TypeStrong/atom-typescript/pull/415#issuecomment-115638579","issue_url":"https://api.github.com/repos/TypeStrong/atom-typescript/issues/415","id":115638579,"user":{"login":"basarat","id":874898,"avatar_url":"https://avatars.githubusercontent.com/u/874898?v=3","gravatar_id":"","url":"https://api.github.com/users/basarat","html_url":"https://github.com/basarat","followers_url":"https://api.github.com/users/basarat/followers","following_url":"https://api.github.com/users/basarat/following{/other_user}","gists_url":"https://api.github.com/users/basarat/gists{/gist_id}","starred_url":"https://api.github.com/users/basarat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/basarat/subscriptions","organizations_url":"https://api.github.com/users/basarat/orgs","repos_url":"https://api.github.com/users/basarat/repos","events_url":"https://api.github.com/users/basarat/events{/privacy}","received_events_url":"https://api.github.com/users/basarat/received_events","type":"User","site_admin":false},"created_at":"2015-06-26T10:40:20Z","updated_at":"2015-06-26T10:40:20Z","body":"Great work. Thanks a ton! "}}