{"action":"created","issue":{"url":"https://api.github.com/repos/ILSCeV/lara-vedst/issues/101","repository_url":"https://api.github.com/repos/ILSCeV/lara-vedst","labels_url":"https://api.github.com/repos/ILSCeV/lara-vedst/issues/101/labels{/name}","comments_url":"https://api.github.com/repos/ILSCeV/lara-vedst/issues/101/comments","events_url":"https://api.github.com/repos/ILSCeV/lara-vedst/issues/101/events","html_url":"https://github.com/ILSCeV/lara-vedst/issues/101","id":139705035,"number":101,"title":"Implement timestamps","user":{"login":"4D44H","id":11014468,"avatar_url":"https://avatars.githubusercontent.com/u/11014468?v=3","gravatar_id":"","url":"https://api.github.com/users/4D44H","html_url":"https://github.com/4D44H","followers_url":"https://api.github.com/users/4D44H/followers","following_url":"https://api.github.com/users/4D44H/following{/other_user}","gists_url":"https://api.github.com/users/4D44H/gists{/gist_id}","starred_url":"https://api.github.com/users/4D44H/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/4D44H/subscriptions","organizations_url":"https://api.github.com/users/4D44H/orgs","repos_url":"https://api.github.com/users/4D44H/repos","events_url":"https://api.github.com/users/4D44H/events{/privacy}","received_events_url":"https://api.github.com/users/4D44H/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ILSCeV/lara-vedst/labels/Enhancement","name":"Enhancement","color":"c2e0c6"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/ILSCeV/lara-vedst/milestones/2","html_url":"https://github.com/ILSCeV/lara-vedst/milestones/Maybe%20/%20Later","labels_url":"https://api.github.com/repos/ILSCeV/lara-vedst/milestones/2/labels","id":1007508,"number":2,"title":"Maybe / Later","description":"","creator":{"login":"4D44H","id":11014468,"avatar_url":"https://avatars.githubusercontent.com/u/11014468?v=3","gravatar_id":"","url":"https://api.github.com/users/4D44H","html_url":"https://github.com/4D44H","followers_url":"https://api.github.com/users/4D44H/followers","following_url":"https://api.github.com/users/4D44H/following{/other_user}","gists_url":"https://api.github.com/users/4D44H/gists{/gist_id}","starred_url":"https://api.github.com/users/4D44H/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/4D44H/subscriptions","organizations_url":"https://api.github.com/users/4D44H/orgs","repos_url":"https://api.github.com/users/4D44H/repos","events_url":"https://api.github.com/users/4D44H/events{/privacy}","received_events_url":"https://api.github.com/users/4D44H/received_events","type":"User","site_admin":false},"open_issues":42,"closed_issues":22,"state":"open","created_at":"2015-03-05T13:19:33Z","updated_at":"2016-10-12T18:33:01Z","due_on":"2016-12-31T00:00:00Z","closed_at":null},"comments":2,"created_at":"2016-03-09T21:26:41Z","updated_at":"2016-10-23T00:25:30Z","closed_at":null,"body":"If a schedule entry is changed, update information in users' browser.\r\nThe Schedule itself is updated through revisions update on every entry change - \"updated_at\" field is reset to current time, we can piggyback on that.\r\nThis could be done in real-time with e.g. Firebase or Redis, but no real need for this much work - just use regular AJAX polling\r\n\r\nToDo:\r\n* [ ]  save last seen timestamp for each schedule on screen in an array\r\n* [ ]  create a route which gets a schedule id and last seen timestamp, compares it to schedule's current timestamp and returns either \"false\" for \"no change\" or a set of changed entries and an updated timestamp\r\n* [ ]  poll the server in the background every 5-30 sec for a change in schedule(s) timestamp(s)\r\n* [ ]  on change update user perspective and last seen timestamp, highlight changes for a short time\r\n* [ ]  (maybe) poll more often on monday/tuesday evenings during club/cafe meetings"},"comment":{"url":"https://api.github.com/repos/ILSCeV/lara-vedst/issues/comments/255562114","html_url":"https://github.com/ILSCeV/lara-vedst/issues/101#issuecomment-255562114","issue_url":"https://api.github.com/repos/ILSCeV/lara-vedst/issues/101","id":255562114,"user":{"login":"4D44H","id":11014468,"avatar_url":"https://avatars.githubusercontent.com/u/11014468?v=3","gravatar_id":"","url":"https://api.github.com/users/4D44H","html_url":"https://github.com/4D44H","followers_url":"https://api.github.com/users/4D44H/followers","following_url":"https://api.github.com/users/4D44H/following{/other_user}","gists_url":"https://api.github.com/users/4D44H/gists{/gist_id}","starred_url":"https://api.github.com/users/4D44H/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/4D44H/subscriptions","organizations_url":"https://api.github.com/users/4D44H/orgs","repos_url":"https://api.github.com/users/4D44H/repos","events_url":"https://api.github.com/users/4D44H/events{/privacy}","received_events_url":"https://api.github.com/users/4D44H/received_events","type":"User","site_admin":false},"created_at":"2016-10-23T00:25:30Z","updated_at":"2016-10-23T00:25:30Z","body":"![](https://github.trello.services/images/mini-trello-icon.png) [[3] System: propagate changes in entries to users in real time](https://trello.com/c/URzOGUF6/74-3-system-propagate-changes-in-entries-to-users-in-real-time)"}}
{"actor":{"display_login":"4D44H"}}