{"action":"created","issue":{"url":"https://api.github.com/repos/czcorpus/kontext/issues/405","repository_url":"https://api.github.com/repos/czcorpus/kontext","labels_url":"https://api.github.com/repos/czcorpus/kontext/issues/405/labels{/name}","comments_url":"https://api.github.com/repos/czcorpus/kontext/issues/405/comments","events_url":"https://api.github.com/repos/czcorpus/kontext/issues/405/events","html_url":"https://github.com/czcorpus/kontext/issues/405","id":79464112,"number":405,"title":"Link with tree query (for parsed corpora)","user":{"login":"stranak","id":371106,"avatar_url":"https://avatars.githubusercontent.com/u/371106?v=3","gravatar_id":"","url":"https://api.github.com/users/stranak","html_url":"https://github.com/stranak","followers_url":"https://api.github.com/users/stranak/followers","following_url":"https://api.github.com/users/stranak/following{/other_user}","gists_url":"https://api.github.com/users/stranak/gists{/gist_id}","starred_url":"https://api.github.com/users/stranak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stranak/subscriptions","organizations_url":"https://api.github.com/users/stranak/orgs","repos_url":"https://api.github.com/users/stranak/repos","events_url":"https://api.github.com/users/stranak/events{/privacy}","received_events_url":"https://api.github.com/users/stranak/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/czcorpus/kontext/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-05-22T13:53:38Z","updated_at":"2016-02-24T13:09:06Z","closed_at":null,"body":"Analogous to #404, allow to see the tree of any sentence (with the match on each line) in a tree query system (e.g. http://lindat.mff.cuni.cz/services/pmltq/, configurable).\r\n\r\nPossibly visualise the tree there (in the external service) and also show it in the Kontext UI somehow (similarly to the dictionaries)? "},"comment":{"url":"https://api.github.com/repos/czcorpus/kontext/issues/comments/188249300","html_url":"https://github.com/czcorpus/kontext/issues/405#issuecomment-188249300","issue_url":"https://api.github.com/repos/czcorpus/kontext/issues/405","id":188249300,"user":{"login":"natalink","id":2538188,"avatar_url":"https://avatars.githubusercontent.com/u/2538188?v=3","gravatar_id":"","url":"https://api.github.com/users/natalink","html_url":"https://github.com/natalink","followers_url":"https://api.github.com/users/natalink/followers","following_url":"https://api.github.com/users/natalink/following{/other_user}","gists_url":"https://api.github.com/users/natalink/gists{/gist_id}","starred_url":"https://api.github.com/users/natalink/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/natalink/subscriptions","organizations_url":"https://api.github.com/users/natalink/orgs","repos_url":"https://api.github.com/users/natalink/repos","events_url":"https://api.github.com/users/natalink/events{/privacy}","received_events_url":"https://api.github.com/users/natalink/received_events","type":"User","site_admin":false},"created_at":"2016-02-24T13:09:06Z","updated_at":"2016-02-24T13:09:06Z","body":"The preliminary implementation of Tree view tool is described here: https://github.com/ufal/lindat-kontext/issues/9 , the respective commits attached. Following are some issues to solve.\r\n1. the trees are displayed in popupbox, and is not draggable (maybe add some function to popupbox.js ?)\r\n2. we could move the symbol of PML-TQ somewhere else - it is displayed at the end of the concordance line now, and on a small screen, you have to scroll to the right in order to see the icon\r\n3. only some of the corpora (at least from Lindat) will have this functionality. So far I just put a condition to view.tmpl ( #if $corpname == 'syntaxtest_cs_a' ), but it should be reimplemented in a more sophisticated way (e.g. like with audio files)  \r\n![tree-view](https://cloud.githubusercontent.com/assets/2538188/13286218/0e91a8b8-db00-11e5-8f91-271e921ef26b.png)\r\n\r\n\r\n"}}