{"action":"created","issue":{"url":"https://api.github.com/repos/percy/percy-web/issues/722","repository_url":"https://api.github.com/repos/percy/percy-web","labels_url":"https://api.github.com/repos/percy/percy-web/issues/722/labels{/name}","comments_url":"https://api.github.com/repos/percy/percy-web/issues/722/comments","events_url":"https://api.github.com/repos/percy/percy-web/issues/722/events","html_url":"https://github.com/percy/percy-web/pull/722","id":360041533,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE1Mzk2Mjkw","number":722,"title":"Remove `window.location.replace` make the back button work properly","user":{"login":"Robdel12","id":2072894,"node_id":"MDQ6VXNlcjIwNzI4OTQ=","avatar_url":"https://avatars1.githubusercontent.com/u/2072894?v=4","gravatar_id":"","url":"https://api.github.com/users/Robdel12","html_url":"https://github.com/Robdel12","followers_url":"https://api.github.com/users/Robdel12/followers","following_url":"https://api.github.com/users/Robdel12/following{/other_user}","gists_url":"https://api.github.com/users/Robdel12/gists{/gist_id}","starred_url":"https://api.github.com/users/Robdel12/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Robdel12/subscriptions","organizations_url":"https://api.github.com/users/Robdel12/orgs","repos_url":"https://api.github.com/users/Robdel12/repos","events_url":"https://api.github.com/users/Robdel12/events{/privacy}","received_events_url":"https://api.github.com/users/Robdel12/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-09-13T19:51:14Z","updated_at":"2018-09-14T20:42:25Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/percy/percy-web/pulls/722","html_url":"https://github.com/percy/percy-web/pull/722","diff_url":"https://github.com/percy/percy-web/pull/722.diff","patch_url":"https://github.com/percy/percy-web/pull/722.patch"},"body":"## Description\r\n\r\nWhile clicking around the marketing site of percy I noticed the\r\nredirect to the docs page uses `window.location.replace`, which\r\ndoesn't add to the browser history. So when I used the back button I\r\nended up two pages ago rather than the page I was actually on before.\r\n\r\nI did a grep of the project to see where this was used and it doesn't\r\n_seem_ like the replace is a specific design decision, but I could be\r\nwrong! If so we can split this out into two different methods to\r\nhandle replacing and setting.\r\n\r\n## Pictures\r\n\r\n**Before**\r\n![2018-09-13 14 47 03](https://user-images.githubusercontent.com/2072894/45512006-1a42d400-b764-11e8-80f9-f1df5e18a215.gif)\r\n\r\n**After**\r\n![2018-09-13 14 48 12](https://user-images.githubusercontent.com/2072894/45512013-1d3dc480-b764-11e8-8f0d-6d3b8821add0.gif)\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/percy/percy-web/issues/comments/421478828","html_url":"https://github.com/percy/percy-web/pull/722#issuecomment-421478828","issue_url":"https://api.github.com/repos/percy/percy-web/issues/722","id":421478828,"node_id":"MDEyOklzc3VlQ29tbWVudDQyMTQ3ODgyOA==","user":{"login":"Robdel12","id":2072894,"node_id":"MDQ6VXNlcjIwNzI4OTQ=","avatar_url":"https://avatars1.githubusercontent.com/u/2072894?v=4","gravatar_id":"","url":"https://api.github.com/users/Robdel12","html_url":"https://github.com/Robdel12","followers_url":"https://api.github.com/users/Robdel12/followers","following_url":"https://api.github.com/users/Robdel12/following{/other_user}","gists_url":"https://api.github.com/users/Robdel12/gists{/gist_id}","starred_url":"https://api.github.com/users/Robdel12/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Robdel12/subscriptions","organizations_url":"https://api.github.com/users/Robdel12/orgs","repos_url":"https://api.github.com/users/Robdel12/repos","events_url":"https://api.github.com/users/Robdel12/events{/privacy}","received_events_url":"https://api.github.com/users/Robdel12/received_events","type":"User","site_admin":false},"created_at":"2018-09-14T20:42:25Z","updated_at":"2018-09-14T20:42:25Z","author_association":"CONTRIBUTOR","body":"Sweet, I'll get it fixed up 💯 "}}
{"actor":{"display_login":"Robdel12"}}