{"action":"created","issue":{"url":"https://api.github.com/repos/datahq/data-desktop/issues/6","repository_url":"https://api.github.com/repos/datahq/data-desktop","labels_url":"https://api.github.com/repos/datahq/data-desktop/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/datahq/data-desktop/issues/6/comments","events_url":"https://api.github.com/repos/datahq/data-desktop/issues/6/events","html_url":"https://github.com/datahq/data-desktop/issues/6","id":274096989,"number":6,"title":"Showcase on drag and drop (prior pushing)","user":{"login":"anuveyatsu","id":17809581,"avatar_url":"https://avatars1.githubusercontent.com/u/17809581?v=4","gravatar_id":"","url":"https://api.github.com/users/anuveyatsu","html_url":"https://github.com/anuveyatsu","followers_url":"https://api.github.com/users/anuveyatsu/followers","following_url":"https://api.github.com/users/anuveyatsu/following{/other_user}","gists_url":"https://api.github.com/users/anuveyatsu/gists{/gist_id}","starred_url":"https://api.github.com/users/anuveyatsu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anuveyatsu/subscriptions","organizations_url":"https://api.github.com/users/anuveyatsu/orgs","repos_url":"https://api.github.com/users/anuveyatsu/repos","events_url":"https://api.github.com/users/anuveyatsu/events{/privacy}","received_events_url":"https://api.github.com/users/anuveyatsu/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"anuveyatsu","id":17809581,"avatar_url":"https://avatars1.githubusercontent.com/u/17809581?v=4","gravatar_id":"","url":"https://api.github.com/users/anuveyatsu","html_url":"https://github.com/anuveyatsu","followers_url":"https://api.github.com/users/anuveyatsu/followers","following_url":"https://api.github.com/users/anuveyatsu/following{/other_user}","gists_url":"https://api.github.com/users/anuveyatsu/gists{/gist_id}","starred_url":"https://api.github.com/users/anuveyatsu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anuveyatsu/subscriptions","organizations_url":"https://api.github.com/users/anuveyatsu/orgs","repos_url":"https://api.github.com/users/anuveyatsu/repos","events_url":"https://api.github.com/users/anuveyatsu/events{/privacy}","received_events_url":"https://api.github.com/users/anuveyatsu/received_events","type":"User","site_admin":false},"assignees":[{"login":"anuveyatsu","id":17809581,"avatar_url":"https://avatars1.githubusercontent.com/u/17809581?v=4","gravatar_id":"","url":"https://api.github.com/users/anuveyatsu","html_url":"https://github.com/anuveyatsu","followers_url":"https://api.github.com/users/anuveyatsu/followers","following_url":"https://api.github.com/users/anuveyatsu/following{/other_user}","gists_url":"https://api.github.com/users/anuveyatsu/gists{/gist_id}","starred_url":"https://api.github.com/users/anuveyatsu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anuveyatsu/subscriptions","organizations_url":"https://api.github.com/users/anuveyatsu/orgs","repos_url":"https://api.github.com/users/anuveyatsu/repos","events_url":"https://api.github.com/users/anuveyatsu/events{/privacy}","received_events_url":"https://api.github.com/users/anuveyatsu/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/datahq/data-desktop/milestones/4","html_url":"https://github.com/datahq/data-desktop/milestone/4","labels_url":"https://api.github.com/repos/datahq/data-desktop/milestones/4/labels","id":2889476,"number":4,"title":"Sprint - 4 Dec 2017","description":"","creator":{"login":"Mikanebu","id":19908588,"avatar_url":"https://avatars2.githubusercontent.com/u/19908588?v=4","gravatar_id":"","url":"https://api.github.com/users/Mikanebu","html_url":"https://github.com/Mikanebu","followers_url":"https://api.github.com/users/Mikanebu/followers","following_url":"https://api.github.com/users/Mikanebu/following{/other_user}","gists_url":"https://api.github.com/users/Mikanebu/gists{/gist_id}","starred_url":"https://api.github.com/users/Mikanebu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Mikanebu/subscriptions","organizations_url":"https://api.github.com/users/Mikanebu/orgs","repos_url":"https://api.github.com/users/Mikanebu/repos","events_url":"https://api.github.com/users/Mikanebu/events{/privacy}","received_events_url":"https://api.github.com/users/Mikanebu/received_events","type":"User","site_admin":false},"open_issues":3,"closed_issues":1,"state":"open","created_at":"2017-11-06T06:14:28Z","updated_at":"2017-11-23T05:24:37Z","due_on":"2017-12-04T08:00:00Z","closed_at":null},"comments":1,"created_at":"2017-11-15T09:59:03Z","updated_at":"2017-11-23T05:24:37Z","closed_at":"2017-11-23T05:24:37Z","author_association":"COLLABORATOR","body":"*As a desktop app user I want to see my data's showcase prior publishing online so I can fix any problems and I am in full control of what's going to be live.*\r\n\r\nSomething like \"local showcase\" which is simplified version of the showcase on the website. On this page, we should report about any issues in data, e.g., validation errors. This page also can have a graph if there are a view + preview tables using original resources. This \"local showcase\" would use original datapackage.json so some attributes generated by assembler would be skipped:\r\n\r\n* Title - YES\r\n* Summary table - YES but no size, formats and created/modified dates\r\n* Short readme - YES\r\n* Graph - YES\r\n* Data Files table - NO as we don't have derived versions (but we can have a placeholder if necessary)\r\n* Preview table - YES\r\n* Field information table - YES\r\n* Readme - YES\r\n* Instructions - NO\r\n\r\n## Acceptance criteria\r\n\r\n* [x] when I drag and drop a single file it shows me showcase page for this file\r\n* [x] when I drag and drop a \"datapackage.json\" file it shows me showcase page generated from it\r\n\r\n## Tasks\r\n\r\n* [x] set up a templating language\r\n* [x] copy over showcase page's template from frontend lib\r\n* [x] copy over bundle.js for rendering graphs and tables\r\n* [x] refactor index.js to handle \"on drop\" events on tray\r\n* [x] create showcase.js module to manage dropped files and generate showcase page\r\n  * [x] if dropped file is datapackage.json, it should generate showcase page from it\r\n  * [x] if dropped file is data file, it should generate datapackage for it and then generate showcase page (similar to cli approach `prepareDatasetFromFile` funciton)"},"comment":{"url":"https://api.github.com/repos/datahq/data-desktop/issues/comments/346534206","html_url":"https://github.com/datahq/data-desktop/issues/6#issuecomment-346534206","issue_url":"https://api.github.com/repos/datahq/data-desktop/issues/6","id":346534206,"user":{"login":"anuveyatsu","id":17809581,"avatar_url":"https://avatars1.githubusercontent.com/u/17809581?v=4","gravatar_id":"","url":"https://api.github.com/users/anuveyatsu","html_url":"https://github.com/anuveyatsu","followers_url":"https://api.github.com/users/anuveyatsu/followers","following_url":"https://api.github.com/users/anuveyatsu/following{/other_user}","gists_url":"https://api.github.com/users/anuveyatsu/gists{/gist_id}","starred_url":"https://api.github.com/users/anuveyatsu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anuveyatsu/subscriptions","organizations_url":"https://api.github.com/users/anuveyatsu/orgs","repos_url":"https://api.github.com/users/anuveyatsu/repos","events_url":"https://api.github.com/users/anuveyatsu/events{/privacy}","received_events_url":"https://api.github.com/users/anuveyatsu/received_events","type":"User","site_admin":false},"created_at":"2017-11-23T05:24:37Z","updated_at":"2017-11-23T05:24:37Z","author_association":"COLLABORATOR","body":"FIXED and fully working from v0.2.2 - https://github.com/datahq/data-desktop/releases/tag/v0.2.2"}}
{"actor":{"display_login":"anuveyatsu"}}