{"action":"created","issue":{"url":"https://api.github.com/repos/sbrl/Pepperminty-Wiki/issues/59","repository_url":"https://api.github.com/repos/sbrl/Pepperminty-Wiki","labels_url":"https://api.github.com/repos/sbrl/Pepperminty-Wiki/issues/59/labels{/name}","comments_url":"https://api.github.com/repos/sbrl/Pepperminty-Wiki/issues/59/comments","events_url":"https://api.github.com/repos/sbrl/Pepperminty-Wiki/issues/59/events","html_url":"https://github.com/sbrl/Pepperminty-Wiki/issues/59","id":143347963,"number":59,"title":"Preview changes","user":{"login":"sbrl","id":9929737,"avatar_url":"https://avatars2.githubusercontent.com/u/9929737?v=3","gravatar_id":"","url":"https://api.github.com/users/sbrl","html_url":"https://github.com/sbrl","followers_url":"https://api.github.com/users/sbrl/followers","following_url":"https://api.github.com/users/sbrl/following{/other_user}","gists_url":"https://api.github.com/users/sbrl/gists{/gist_id}","starred_url":"https://api.github.com/users/sbrl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sbrl/subscriptions","organizations_url":"https://api.github.com/users/sbrl/orgs","repos_url":"https://api.github.com/users/sbrl/repos","events_url":"https://api.github.com/users/sbrl/events{/privacy}","received_events_url":"https://api.github.com/users/sbrl/received_events","type":"User","site_admin":false},"labels":[{"id":151353742,"url":"https://api.github.com/repos/sbrl/Pepperminty-Wiki/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-03-24T20:13:22Z","updated_at":"2017-06-22T17:58:03Z","closed_at":null,"body":"It would make Pepperminty Wiki much more useable if you could preview changes before you made them.\n"},"comment":{"url":"https://api.github.com/repos/sbrl/Pepperminty-Wiki/issues/comments/310455775","html_url":"https://github.com/sbrl/Pepperminty-Wiki/issues/59#issuecomment-310455775","issue_url":"https://api.github.com/repos/sbrl/Pepperminty-Wiki/issues/59","id":310455775,"user":{"login":"sbrl","id":9929737,"avatar_url":"https://avatars2.githubusercontent.com/u/9929737?v=3","gravatar_id":"","url":"https://api.github.com/users/sbrl","html_url":"https://github.com/sbrl","followers_url":"https://api.github.com/users/sbrl/followers","following_url":"https://api.github.com/users/sbrl/following{/other_user}","gists_url":"https://api.github.com/users/sbrl/gists{/gist_id}","starred_url":"https://api.github.com/users/sbrl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sbrl/subscriptions","organizations_url":"https://api.github.com/users/sbrl/orgs","repos_url":"https://api.github.com/users/sbrl/repos","events_url":"https://api.github.com/users/sbrl/events{/privacy}","received_events_url":"https://api.github.com/users/sbrl/received_events","type":"User","site_admin":false},"created_at":"2017-06-22T17:58:03Z","updated_at":"2017-06-22T17:58:03Z","body":"@ikisler Cool! That would be very helpful if you would like to work on it :smiley_cat:\r\n\r\nYeah, a preview button next to the save button would be great. While I like the idea of it opening in a new page, I think it would be less confusing to have it reload the page and display the preview above :smiley:\r\n\r\nI'd recommend adding a new `page-preview` or `preview-page` action for this. I can think of 2 approaches for integrating the functionality:\r\n\r\n - Putting the `page-preview` action in `page-edit`, and adding the preview button to the html form\r\n - Putting the `page-preview` action in a new module called `feature-preview` or something, and adding a conditional addition to the HTML in `page-edit` based on `module_exists` or even `has_action`\r\n\r\nThe source of Pepperminty Wiki is a bit odd, but that's just because it's been around for a while and I'd like to keep everything inside a single file - at least the initial one you copy to your web server (I know I've cheated a bit with the new parser.... :P). If you need any help, just ask! :smiley: \r\n\r\nLet me know how you get on!"}}
{"actor":{"display_login":"sbrl"}}