{"action":"closed","issue":{"url":"https://api.github.com/repos/jlongster/debugger.html/issues/368","repository_url":"https://api.github.com/repos/jlongster/debugger.html","labels_url":"https://api.github.com/repos/jlongster/debugger.html/issues/368/labels{/name}","comments_url":"https://api.github.com/repos/jlongster/debugger.html/issues/368/comments","events_url":"https://api.github.com/repos/jlongster/debugger.html/issues/368/events","html_url":"https://github.com/jlongster/debugger.html/issues/368","id":166631006,"number":368,"title":"Pretty Print Source","user":{"login":"clarkbw","id":2134,"avatar_url":"https://avatars.githubusercontent.com/u/2134?v=3","gravatar_id":"","url":"https://api.github.com/users/clarkbw","html_url":"https://github.com/clarkbw","followers_url":"https://api.github.com/users/clarkbw/followers","following_url":"https://api.github.com/users/clarkbw/following{/other_user}","gists_url":"https://api.github.com/users/clarkbw/gists{/gist_id}","starred_url":"https://api.github.com/users/clarkbw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clarkbw/subscriptions","organizations_url":"https://api.github.com/users/clarkbw/orgs","repos_url":"https://api.github.com/users/clarkbw/repos","events_url":"https://api.github.com/users/clarkbw/events{/privacy}","received_events_url":"https://api.github.com/users/clarkbw/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"jasonLaster","id":254562,"avatar_url":"https://avatars.githubusercontent.com/u/254562?v=3","gravatar_id":"","url":"https://api.github.com/users/jasonLaster","html_url":"https://github.com/jasonLaster","followers_url":"https://api.github.com/users/jasonLaster/followers","following_url":"https://api.github.com/users/jasonLaster/following{/other_user}","gists_url":"https://api.github.com/users/jasonLaster/gists{/gist_id}","starred_url":"https://api.github.com/users/jasonLaster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jasonLaster/subscriptions","organizations_url":"https://api.github.com/users/jasonLaster/orgs","repos_url":"https://api.github.com/users/jasonLaster/repos","events_url":"https://api.github.com/users/jasonLaster/events{/privacy}","received_events_url":"https://api.github.com/users/jasonLaster/received_events","type":"User","site_admin":false},"assignees":[{"login":"jasonLaster","id":254562,"avatar_url":"https://avatars.githubusercontent.com/u/254562?v=3","gravatar_id":"","url":"https://api.github.com/users/jasonLaster","html_url":"https://github.com/jasonLaster","followers_url":"https://api.github.com/users/jasonLaster/followers","following_url":"https://api.github.com/users/jasonLaster/following{/other_user}","gists_url":"https://api.github.com/users/jasonLaster/gists{/gist_id}","starred_url":"https://api.github.com/users/jasonLaster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jasonLaster/subscriptions","organizations_url":"https://api.github.com/users/jasonLaster/orgs","repos_url":"https://api.github.com/users/jasonLaster/repos","events_url":"https://api.github.com/users/jasonLaster/events{/privacy}","received_events_url":"https://api.github.com/users/jasonLaster/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/jlongster/debugger.html/milestones/6","html_url":"https://github.com/jlongster/debugger.html/milestones/Sprint%202","labels_url":"https://api.github.com/repos/jlongster/debugger.html/milestones/6/labels","id":1869955,"number":6,"title":"Sprint 2","description":"https://mozilla.aha.io/releases/DEBUGX-R-15","creator":{"login":"jasonLaster","id":254562,"avatar_url":"https://avatars.githubusercontent.com/u/254562?v=3","gravatar_id":"","url":"https://api.github.com/users/jasonLaster","html_url":"https://github.com/jasonLaster","followers_url":"https://api.github.com/users/jasonLaster/followers","following_url":"https://api.github.com/users/jasonLaster/following{/other_user}","gists_url":"https://api.github.com/users/jasonLaster/gists{/gist_id}","starred_url":"https://api.github.com/users/jasonLaster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jasonLaster/subscriptions","organizations_url":"https://api.github.com/users/jasonLaster/orgs","repos_url":"https://api.github.com/users/jasonLaster/repos","events_url":"https://api.github.com/users/jasonLaster/events{/privacy}","received_events_url":"https://api.github.com/users/jasonLaster/received_events","type":"User","site_admin":false},"open_issues":12,"closed_issues":13,"state":"open","created_at":"2016-07-07T13:30:41Z","updated_at":"2016-07-27T16:59:44Z","due_on":"2016-08-01T07:00:00Z","closed_at":null},"comments":6,"created_at":"2016-07-20T16:58:16Z","updated_at":"2016-07-27T16:59:44Z","closed_at":"2016-07-27T16:59:44Z","body":"Pretty print allows  a developer to view a formatted version of the file.  For any files that are minified or poorly formatted this option creates a readable version and because it creates new lines it allows for breakpoints to be added where they weren't easily added before.\r\n\r\n- [ ] button to turn on pretty print, likely located in the bottom bar \r\n- [ ] possibly need a progress bar (may need to file separate issue for this)\r\n\r\nI've seen @helenvholmes designs for this bug I can't find them right now. 😭 \r\n\r\nChrome opens a new tab with the `:formatted` version of the file.  In general I like this approach because it is additive.  However it is a little confusing how to get back to this file.  Perhaps there should be an alternate formatted version in the file tree as well?  Not a problem we need to solve right away.\r\n\r\nFirefox currently doesn't give access to both source versions at the same time, instead it replaces the existing source file with the formatted version.  If we agree that having a separate version is a good plan, and I think it is, perhaps we look to solve this issue later and just allow Firefox to do what it does for now.\r\n\r\nFor now we should go with just the manual approach for now, nothing fancy that recognizes the need for pretty print and offers it.  We can do follow up issues for that later.\r\n"}}
{"actor":{"display_login":"jasonLaster"}}