{"action":"created","issue":{"url":"https://api.github.com/repos/guardian/explain-maker/issues/27","repository_url":"https://api.github.com/repos/guardian/explain-maker","labels_url":"https://api.github.com/repos/guardian/explain-maker/issues/27/labels{/name}","comments_url":"https://api.github.com/repos/guardian/explain-maker/issues/27/comments","events_url":"https://api.github.com/repos/guardian/explain-maker/issues/27/events","html_url":"https://github.com/guardian/explain-maker/pull/27","id":165986534,"number":27,"title":"Multiple user interface (visual and functionalities) and backend updates","user":{"login":"shtukas","id":6035518,"avatar_url":"https://avatars.githubusercontent.com/u/6035518?v=3","gravatar_id":"","url":"https://api.github.com/users/shtukas","html_url":"https://github.com/shtukas","followers_url":"https://api.github.com/users/shtukas/followers","following_url":"https://api.github.com/users/shtukas/following{/other_user}","gists_url":"https://api.github.com/users/shtukas/gists{/gist_id}","starred_url":"https://api.github.com/users/shtukas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shtukas/subscriptions","organizations_url":"https://api.github.com/users/shtukas/orgs","repos_url":"https://api.github.com/users/shtukas/repos","events_url":"https://api.github.com/users/shtukas/events{/privacy}","received_events_url":"https://api.github.com/users/shtukas/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-07-17T17:29:58Z","updated_at":"2016-07-17T17:30:33Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/guardian/explain-maker/pulls/27","html_url":"https://github.com/guardian/explain-maker/pull/27","diff_url":"https://github.com/guardian/explain-maker/pull/27.diff","patch_url":"https://github.com/guardian/explain-maker/pull/27.patch"},"body":"Multiple user interface and backend updates:\r\n\r\nIn this commit:\r\n\r\nA. User Interface Visuals: the CSS directives for the Dashboard and the Editor have been updated. In particular the Editor has been entirely redesigned. \r\n\r\nB. User Interface Functionalities:\r\n    1. The dashboard has a correct rendering of the last modified time (possible due to an update in the data model, by which explainers now carry their last modified timestamp).\r\n    2. The dashboard now has a [Create New] button which allows for the creation of new items. Note that items are created with an id set to a UUID. A default title and default body are automatically set.\r\n    3. The Editor now has a \"status bar\" which indicates (when relevant) that an item is in draft state (meaning has underdone modifications since the last publish operation). This allows the user to be aware of the fact that the item current contents are not live yet. \r\n    4. Along with the status bar comes a [Publish] button which performs the publishing of the current draft. \r\n\r\nC. Backend Updates: The backend updates are mostly supporting the extension of the Explainer datatype and the additional operations. In particular we moved from \r\n\r\n```\r\ncase class Explainer(\r\n              id                     : String,\r\n              headline               : String,\r\n              body                   : String)\r\n```\r\n\r\nto\r\n\r\n```\r\ncase class Explainer(\r\n              id                     : String,\r\n              headline               : String,\r\n              body                   : String,\r\n              last_update_time_milli : Option[Long],\r\n              headline_published     : Option[String],\r\n              body_published         : Option[String])\r\n```\r\n\r\nNote that using the Option decorator doesn't affect the functionalities and was mostly introduced so that the code remains backward compatible with any pre-update items in the data store. \r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/guardian/explain-maker/issues/comments/233193431","html_url":"https://github.com/guardian/explain-maker/pull/27#issuecomment-233193431","issue_url":"https://api.github.com/repos/guardian/explain-maker/issues/27","id":233193431,"user":{"login":"shtukas","id":6035518,"avatar_url":"https://avatars.githubusercontent.com/u/6035518?v=3","gravatar_id":"","url":"https://api.github.com/users/shtukas","html_url":"https://github.com/shtukas","followers_url":"https://api.github.com/users/shtukas/followers","following_url":"https://api.github.com/users/shtukas/following{/other_user}","gists_url":"https://api.github.com/users/shtukas/gists{/gist_id}","starred_url":"https://api.github.com/users/shtukas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shtukas/subscriptions","organizations_url":"https://api.github.com/users/shtukas/orgs","repos_url":"https://api.github.com/users/shtukas/repos","events_url":"https://api.github.com/users/shtukas/events{/privacy}","received_events_url":"https://api.github.com/users/shtukas/received_events","type":"User","site_admin":false},"created_at":"2016-07-17T17:30:33Z","updated_at":"2016-07-17T17:30:33Z","body":"CODE is currently running this branch"}}
{"actor":{"display_login":"shtukas"}}