{"action":"created","issue":{"url":"https://api.github.com/repos/rap2hpoutre/laravel-log-viewer/issues/26","labels_url":"https://api.github.com/repos/rap2hpoutre/laravel-log-viewer/issues/26/labels{/name}","comments_url":"https://api.github.com/repos/rap2hpoutre/laravel-log-viewer/issues/26/comments","events_url":"https://api.github.com/repos/rap2hpoutre/laravel-log-viewer/issues/26/events","html_url":"https://github.com/rap2hpoutre/laravel-log-viewer/issues/26","id":69927031,"number":26,"title":"Live Stream Log","user":{"login":"CWSpear","id":495855,"avatar_url":"https://avatars.githubusercontent.com/u/495855?v=3","gravatar_id":"","url":"https://api.github.com/users/CWSpear","html_url":"https://github.com/CWSpear","followers_url":"https://api.github.com/users/CWSpear/followers","following_url":"https://api.github.com/users/CWSpear/following{/other_user}","gists_url":"https://api.github.com/users/CWSpear/gists{/gist_id}","starred_url":"https://api.github.com/users/CWSpear/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CWSpear/subscriptions","organizations_url":"https://api.github.com/users/CWSpear/orgs","repos_url":"https://api.github.com/users/CWSpear/repos","events_url":"https://api.github.com/users/CWSpear/events{/privacy}","received_events_url":"https://api.github.com/users/CWSpear/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/rap2hpoutre/laravel-log-viewer/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-04-21T19:08:48Z","updated_at":"2015-05-04T19:20:03Z","closed_at":null,"body":"It would be awesome if the page would automatically update when there are new items to show.\r\n\r\nIdeally, this would be done with sockets. I don't have a lot of experience with sockets in PHP, but I've found it's not nearly as easy as say, Node and `socket.io`.\r\n\r\nI'm really not sure how viable this is in pure PHP (i.e. I don't know that you can really watch for file changes in realtime with PHP), but it would be a super useful feature! Definitely possible and not terrible difficult with Node, but that'd require another dependency.\r\n\r\nJust wanted to throw this out there and see if anyone else had any ideas."},"comment":{"url":"https://api.github.com/repos/rap2hpoutre/laravel-log-viewer/issues/comments/98822984","html_url":"https://github.com/rap2hpoutre/laravel-log-viewer/issues/26#issuecomment-98822984","issue_url":"https://api.github.com/repos/rap2hpoutre/laravel-log-viewer/issues/26","id":98822984,"user":{"login":"CWSpear","id":495855,"avatar_url":"https://avatars.githubusercontent.com/u/495855?v=3","gravatar_id":"","url":"https://api.github.com/users/CWSpear","html_url":"https://github.com/CWSpear","followers_url":"https://api.github.com/users/CWSpear/followers","following_url":"https://api.github.com/users/CWSpear/following{/other_user}","gists_url":"https://api.github.com/users/CWSpear/gists{/gist_id}","starred_url":"https://api.github.com/users/CWSpear/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CWSpear/subscriptions","organizations_url":"https://api.github.com/users/CWSpear/orgs","repos_url":"https://api.github.com/users/CWSpear/repos","events_url":"https://api.github.com/users/CWSpear/events{/privacy}","received_events_url":"https://api.github.com/users/CWSpear/received_events","type":"User","site_admin":false},"created_at":"2015-05-04T19:20:03Z","updated_at":"2015-05-04T19:20:03Z","body":"There are a lot of different places you could approach this from a UX perspective: You could remove paging and you could have a `tail -f` like experience, where it just loads the last ~10 items (and you could load more) and then if you're scrolled to the bottom, it adds more items to the bottom as they're automatically added (and it keeps \"scrolled to bottom\"). Then if they are not scrolled to the bottom, it just maintains they're position (and you could have notifications, or badges, etc).\r\n\r\nOr maybe it's a checkbox to \"stick to bottom.\" etc, etc.\r\n\r\nBut yeah, that'd be extreme. But there's lots of different ways you *could* solve it if you felt like you really wanted to embrace this feature."}}