{"action":"created","issue":{"url":"https://api.github.com/repos/NicholasEli/skeleton-cms/issues/7","labels_url":"https://api.github.com/repos/NicholasEli/skeleton-cms/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/NicholasEli/skeleton-cms/issues/7/comments","events_url":"https://api.github.com/repos/NicholasEli/skeleton-cms/issues/7/events","html_url":"https://github.com/NicholasEli/skeleton-cms/pull/7","id":99929033,"number":7,"title":"Ajax to reload page list when a new one is submitted","user":{"login":"jneubauer","id":871073,"avatar_url":"https://avatars.githubusercontent.com/u/871073?v=3","gravatar_id":"","url":"https://api.github.com/users/jneubauer","html_url":"https://github.com/jneubauer","followers_url":"https://api.github.com/users/jneubauer/followers","following_url":"https://api.github.com/users/jneubauer/following{/other_user}","gists_url":"https://api.github.com/users/jneubauer/gists{/gist_id}","starred_url":"https://api.github.com/users/jneubauer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jneubauer/subscriptions","organizations_url":"https://api.github.com/users/jneubauer/orgs","repos_url":"https://api.github.com/users/jneubauer/repos","events_url":"https://api.github.com/users/jneubauer/events{/privacy}","received_events_url":"https://api.github.com/users/jneubauer/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-08-09T21:04:51Z","updated_at":"2015-08-12T01:15:16Z","closed_at":"2015-08-12T01:14:48Z","pull_request":{"url":"https://api.github.com/repos/NicholasEli/skeleton-cms/pulls/7","html_url":"https://github.com/NicholasEli/skeleton-cms/pull/7","diff_url":"https://github.com/NicholasEli/skeleton-cms/pull/7.diff","patch_url":"https://github.com/NicholasEli/skeleton-cms/pull/7.patch"},"body":"Ok, so this is something that you may or may not want - it was just something that came to mind last night.\r\n\r\nSo as of right now when you submit something, nothing happens visibly (besides the notices that I added).\r\nThis is a draft of trying to (starting with pages) refresh the list of items using ajax when a new item is submitted, to show the new item in the list.\r\n\r\n- additional proof that it was successfully created\r\n- is a start towards being able to immediately select an item that was submitted, to edit/delete it (probably more useful for modules than anything else)\r\n\r\nsince this is currently only applied to pages, I went ahead and updated the list to only show the actual file name, since that is what users will be looking for (the rest (i.e., /pages/page-name/) is pretty redundant).\r\n\r\n(feel free to reject anything, I don't mean to influence or change the direction of your application, just playing with some usability stuff to make it easier for users, there may be better ways of doing this)"},"comment":{"url":"https://api.github.com/repos/NicholasEli/skeleton-cms/issues/comments/130128663","html_url":"https://github.com/NicholasEli/skeleton-cms/pull/7#issuecomment-130128663","issue_url":"https://api.github.com/repos/NicholasEli/skeleton-cms/issues/7","id":130128663,"user":{"login":"NicholasEli","id":5045760,"avatar_url":"https://avatars.githubusercontent.com/u/5045760?v=3","gravatar_id":"","url":"https://api.github.com/users/NicholasEli","html_url":"https://github.com/NicholasEli","followers_url":"https://api.github.com/users/NicholasEli/followers","following_url":"https://api.github.com/users/NicholasEli/following{/other_user}","gists_url":"https://api.github.com/users/NicholasEli/gists{/gist_id}","starred_url":"https://api.github.com/users/NicholasEli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NicholasEli/subscriptions","organizations_url":"https://api.github.com/users/NicholasEli/orgs","repos_url":"https://api.github.com/users/NicholasEli/repos","events_url":"https://api.github.com/users/NicholasEli/events{/privacy}","received_events_url":"https://api.github.com/users/NicholasEli/received_events","type":"User","site_admin":false},"created_at":"2015-08-12T01:15:15Z","updated_at":"2015-08-12T01:15:15Z","body":"Nope this one is good, I was thinking the same thing"}}