{"action":"created","issue":{"url":"https://api.github.com/repos/vizabi/vizabi/issues/2270","repository_url":"https://api.github.com/repos/vizabi/vizabi","labels_url":"https://api.github.com/repos/vizabi/vizabi/issues/2270/labels{/name}","comments_url":"https://api.github.com/repos/vizabi/vizabi/issues/2270/comments","events_url":"https://api.github.com/repos/vizabi/vizabi/issues/2270/events","html_url":"https://github.com/vizabi/vizabi/issues/2270","id":195514099,"number":2270,"title":"Support \"folder\" in DataModel","user":{"login":"jheeffer","id":1596071,"avatar_url":"https://avatars.githubusercontent.com/u/1596071?v=3","gravatar_id":"","url":"https://api.github.com/users/jheeffer","html_url":"https://github.com/jheeffer","followers_url":"https://api.github.com/users/jheeffer/followers","following_url":"https://api.github.com/users/jheeffer/following{/other_user}","gists_url":"https://api.github.com/users/jheeffer/gists{/gist_id}","starred_url":"https://api.github.com/users/jheeffer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jheeffer/subscriptions","organizations_url":"https://api.github.com/users/jheeffer/orgs","repos_url":"https://api.github.com/users/jheeffer/repos","events_url":"https://api.github.com/users/jheeffer/events{/privacy}","received_events_url":"https://api.github.com/users/jheeffer/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"angieskazka","id":3648190,"avatar_url":"https://avatars.githubusercontent.com/u/3648190?v=3","gravatar_id":"","url":"https://api.github.com/users/angieskazka","html_url":"https://github.com/angieskazka","followers_url":"https://api.github.com/users/angieskazka/followers","following_url":"https://api.github.com/users/angieskazka/following{/other_user}","gists_url":"https://api.github.com/users/angieskazka/gists{/gist_id}","starred_url":"https://api.github.com/users/angieskazka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/angieskazka/subscriptions","organizations_url":"https://api.github.com/users/angieskazka/orgs","repos_url":"https://api.github.com/users/angieskazka/repos","events_url":"https://api.github.com/users/angieskazka/events{/privacy}","received_events_url":"https://api.github.com/users/angieskazka/received_events","type":"User","site_admin":false},"assignees":[{"login":"angieskazka","id":3648190,"avatar_url":"https://avatars.githubusercontent.com/u/3648190?v=3","gravatar_id":"","url":"https://api.github.com/users/angieskazka","html_url":"https://github.com/angieskazka","followers_url":"https://api.github.com/users/angieskazka/followers","following_url":"https://api.github.com/users/angieskazka/following{/other_user}","gists_url":"https://api.github.com/users/angieskazka/gists{/gist_id}","starred_url":"https://api.github.com/users/angieskazka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/angieskazka/subscriptions","organizations_url":"https://api.github.com/users/angieskazka/orgs","repos_url":"https://api.github.com/users/angieskazka/repos","events_url":"https://api.github.com/users/angieskazka/events{/privacy}","received_events_url":"https://api.github.com/users/angieskazka/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/vizabi/vizabi/milestones/58","html_url":"https://github.com/vizabi/vizabi/milestone/58","labels_url":"https://api.github.com/repos/vizabi/vizabi/milestones/58/labels","id":2195310,"number":58,"title":"Release 0.18.1","description":"","creator":{"login":"angieskazka","id":3648190,"avatar_url":"https://avatars.githubusercontent.com/u/3648190?v=3","gravatar_id":"","url":"https://api.github.com/users/angieskazka","html_url":"https://github.com/angieskazka","followers_url":"https://api.github.com/users/angieskazka/followers","following_url":"https://api.github.com/users/angieskazka/following{/other_user}","gists_url":"https://api.github.com/users/angieskazka/gists{/gist_id}","starred_url":"https://api.github.com/users/angieskazka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/angieskazka/subscriptions","organizations_url":"https://api.github.com/users/angieskazka/orgs","repos_url":"https://api.github.com/users/angieskazka/repos","events_url":"https://api.github.com/users/angieskazka/events{/privacy}","received_events_url":"https://api.github.com/users/angieskazka/received_events","type":"User","site_admin":false},"open_issues":11,"closed_issues":13,"state":"open","created_at":"2016-12-13T23:21:39Z","updated_at":"2016-12-17T22:47:12Z","due_on":"2016-12-21T00:00:00Z","closed_at":null},"comments":2,"created_at":"2016-12-14T12:05:55Z","updated_at":"2016-12-19T09:44:19Z","closed_at":null,"body":"TreeMenu should read `folder` property in DataModel and use it to decide where indicators from a datasource will be located in the treemenu.\r\n\r\nWhen folder is present, the indicators from the datasource are shown in a folder on root level.\r\n\r\n```  \r\n  \"data\": {\r\n    \"reader\": \"csv\",\r\n    \"path\": \"foo.csv\",\r\n    \"folder\": \"Foo folder\"\r\n  }\r\n```\r\n\r\nWhen folder is absent, the indicators from the datasource are shown loaded on root level (and possibly merged with other indicators from other datasources on root level).\r\n\r\n```\r\n  \"data\": {\r\n    \"reader\": \"csv\",\r\n    \"path\": \"foo.csv\"\r\n  }\r\n```\r\n\r\nWhen there is a conflict between two datasources (they both define the same folders), indicators are merged, regardless of if one datasource starts on root and the other has its own folder.\r\n\r\n```  \r\n  \"data\": {\r\n    \"reader\": \"csv\",\r\n    \"path\": \"foo.csv\",\r\n    \"folder\": \"Foo folder\"\r\n  }\r\n  \"data_2\": {\r\n    \"reader\": \"csv\",\r\n    \"path\": \"foo.csv\"\r\n  }\r\nAnd data_2 contains \"Foo folder\" in tags.\r\n```"},"comment":{"url":"https://api.github.com/repos/vizabi/vizabi/issues/comments/267922158","html_url":"https://github.com/vizabi/vizabi/issues/2270#issuecomment-267922158","issue_url":"https://api.github.com/repos/vizabi/vizabi/issues/2270","id":267922158,"user":{"login":"jheeffer","id":1596071,"avatar_url":"https://avatars.githubusercontent.com/u/1596071?v=3","gravatar_id":"","url":"https://api.github.com/users/jheeffer","html_url":"https://github.com/jheeffer","followers_url":"https://api.github.com/users/jheeffer/followers","following_url":"https://api.github.com/users/jheeffer/following{/other_user}","gists_url":"https://api.github.com/users/jheeffer/gists{/gist_id}","starred_url":"https://api.github.com/users/jheeffer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jheeffer/subscriptions","organizations_url":"https://api.github.com/users/jheeffer/orgs","repos_url":"https://api.github.com/users/jheeffer/repos","events_url":"https://api.github.com/users/jheeffer/events{/privacy}","received_events_url":"https://api.github.com/users/jheeffer/received_events","type":"User","site_admin":false},"created_at":"2016-12-19T09:44:19Z","updated_at":"2016-12-19T09:44:19Z","body":"Ok, how could you do what you did for Liav? Merge csv on root?"}}
{"actor":{"display_login":"jheeffer"}}