{"action":"created","issue":{"url":"https://api.github.com/repos/juju/juju-gui/issues/1038","labels_url":"https://api.github.com/repos/juju/juju-gui/issues/1038/labels{/name}","comments_url":"https://api.github.com/repos/juju/juju-gui/issues/1038/comments","events_url":"https://api.github.com/repos/juju/juju-gui/issues/1038/events","html_url":"https://github.com/juju/juju-gui/pull/1038","id":119988328,"number":1038,"title":"Implement filetree.","user":{"login":"kadams54","id":378036,"avatar_url":"https://avatars.githubusercontent.com/u/378036?v=3","gravatar_id":"","url":"https://api.github.com/users/kadams54","html_url":"https://github.com/kadams54","followers_url":"https://api.github.com/users/kadams54/followers","following_url":"https://api.github.com/users/kadams54/following{/other_user}","gists_url":"https://api.github.com/users/kadams54/gists{/gist_id}","starred_url":"https://api.github.com/users/kadams54/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kadams54/subscriptions","organizations_url":"https://api.github.com/users/kadams54/orgs","repos_url":"https://api.github.com/users/kadams54/repos","events_url":"https://api.github.com/users/kadams54/events{/privacy}","received_events_url":"https://api.github.com/users/kadams54/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":12,"created_at":"2015-12-02T16:59:46Z","updated_at":"2015-12-08T15:42:11Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/juju/juju-gui/pulls/1038","html_url":"https://github.com/juju/juju-gui/pull/1038","diff_url":"https://github.com/juju/juju-gui/pull/1038.diff","patch_url":"https://github.com/juju/juju-gui/pull/1038.patch"},"body":""},"comment":{"url":"https://api.github.com/repos/juju/juju-gui/issues/comments/162921759","html_url":"https://github.com/juju/juju-gui/pull/1038#issuecomment-162921759","issue_url":"https://api.github.com/repos/juju/juju-gui/issues/1038","id":162921759,"user":{"login":"kadams54","id":378036,"avatar_url":"https://avatars.githubusercontent.com/u/378036?v=3","gravatar_id":"","url":"https://api.github.com/users/kadams54","html_url":"https://github.com/kadams54","followers_url":"https://api.github.com/users/kadams54/followers","following_url":"https://api.github.com/users/kadams54/following{/other_user}","gists_url":"https://api.github.com/users/kadams54/gists{/gist_id}","starred_url":"https://api.github.com/users/kadams54/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kadams54/subscriptions","organizations_url":"https://api.github.com/users/kadams54/orgs","repos_url":"https://api.github.com/users/kadams54/repos","events_url":"https://api.github.com/users/kadams54/events{/privacy}","received_events_url":"https://api.github.com/users/kadams54/received_events","type":"User","site_admin":false},"created_at":"2015-12-08T15:42:11Z","updated_at":"2015-12-08T15:42:11Z","body":"I did some investigating into the \"elbow\" issue. jujucharms.com has the \"elbow\" on files only. If you view a directory that has another directory as it's last child, you can see the border hanging down:\r\n\r\n![jujucharms.com directory](http://cl.ly/image/3R3H172D1T3F/Image%202015-12-08%20at%2010.33.13%20AM.png)\r\n\r\nThe solution jujucharms.com uses the make an elbow also prevents us from dealing with overflow, so you end up with directory listings that look like this:\r\n\r\n![jujucharms.com wrap](http://cl.ly/image/0B0S0E1u1a3R/Image%202015-12-08%20at%2010.37.00%20AM.png)\r\n\r\nPersonally I'd rather have ellipsis on long file names and consistent non-elbows for both files and directories:\r\n\r\n![truncated with no elbows](http://cl.ly/image/310u1J372D3s/Image%202015-12-08%20at%2010.41.36%20AM.png)\r\n\r\nBut I can do elbows and wrapping if we want 100% compatibility with jujucharms.com."}}