{"action":"created","issue":{"url":"https://api.github.com/repos/ufoai/ufoai/issues/20","labels_url":"https://api.github.com/repos/ufoai/ufoai/issues/20/labels{/name}","comments_url":"https://api.github.com/repos/ufoai/ufoai/issues/20/comments","events_url":"https://api.github.com/repos/ufoai/ufoai/issues/20/events","html_url":"https://github.com/ufoai/ufoai/pull/20","id":89761861,"number":20,"title":"ui lua integration: full feature implementation","user":{"login":"rxadmin","id":5462188,"avatar_url":"https://avatars.githubusercontent.com/u/5462188?v=3","gravatar_id":"","url":"https://api.github.com/users/rxadmin","html_url":"https://github.com/rxadmin","followers_url":"https://api.github.com/users/rxadmin/followers","following_url":"https://api.github.com/users/rxadmin/following{/other_user}","gists_url":"https://api.github.com/users/rxadmin/gists{/gist_id}","starred_url":"https://api.github.com/users/rxadmin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rxadmin/subscriptions","organizations_url":"https://api.github.com/users/rxadmin/orgs","repos_url":"https://api.github.com/users/rxadmin/repos","events_url":"https://api.github.com/users/rxadmin/events{/privacy}","received_events_url":"https://api.github.com/users/rxadmin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-06-20T12:14:18Z","updated_at":"2015-07-16T00:18:05Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/ufoai/ufoai/pulls/20","html_url":"https://github.com/ufoai/ufoai/pull/20","diff_url":"https://github.com/ufoai/ufoai/pull/20.diff","patch_url":"https://github.com/ufoai/ufoai/pull/20.patch"},"body":"Renewed pull request, created a clean(er) history using rebase. This feature adds lua integration to the user interface. The implementation works side-by-side the existing .ufo scripts.\r\n\r\nHow do I merge it with the main branch?"},"comment":{"url":"https://api.github.com/repos/ufoai/ufoai/issues/comments/121786538","html_url":"https://github.com/ufoai/ufoai/pull/20#issuecomment-121786538","issue_url":"https://api.github.com/repos/ufoai/ufoai/issues/20","id":121786538,"user":{"login":"DarkRainX","id":8475616,"avatar_url":"https://avatars.githubusercontent.com/u/8475616?v=3","gravatar_id":"","url":"https://api.github.com/users/DarkRainX","html_url":"https://github.com/DarkRainX","followers_url":"https://api.github.com/users/DarkRainX/followers","following_url":"https://api.github.com/users/DarkRainX/following{/other_user}","gists_url":"https://api.github.com/users/DarkRainX/gists{/gist_id}","starred_url":"https://api.github.com/users/DarkRainX/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DarkRainX/subscriptions","organizations_url":"https://api.github.com/users/DarkRainX/orgs","repos_url":"https://api.github.com/users/DarkRainX/repos","events_url":"https://api.github.com/users/DarkRainX/events{/privacy}","received_events_url":"https://api.github.com/users/DarkRainX/received_events","type":"User","site_admin":false},"created_at":"2015-07-16T00:18:05Z","updated_at":"2015-07-16T00:18:05Z","body":"Ok, I updated _assests_base.ufo and compiled, there seems to be a problem in the files using ufoscrip when overriding nodes from components created with lua, this breaks all base view windows except the main one (haven't checked others), example as found in hospital.ufo, aircraft.ufo and others:\r\n\r\n```\r\nwindow <window_name>\r\n{\r\n\t{\r\n\t\tfill\t\ttrue\r\n\t}\r\n\t// BaseContainerPanel component created with lua\r\n\tBaseContainerPanel base_container {\r\n\t\t// This node won't show in the hospital window: seems to have size default to (0,0)\r\n\t\t// instead of inheriting it from the component (other windows specify a size for this node)\r\n\t\t// with { size \"<X> <Y>\" } here\r\n\t\tpanel mainBody {\r\n\t\t\t// This node won't show in any of the base sections!\r\n\t\t\t// Again seems to default to a size of (0, 0)\r\n\t\t\tpanel header {\r\n\t\t\t\t{}\r\n\t\t\t\tstring title\r\n\t\t\t\t{\r\n\t\t\t\t\t// No idea if string is set here, most likely not (see below),\r\n\t\t\t\t\t// but can't see the header at all anyway\r\n\t\t\t\t\tstring\t\t\t\"_Hospital\"\r\n\t\t\t\t}\r\n\t\t\t}\r\n\r\n\t\t// <Base section specific nodes here>\r\n\r\n\t\t// This string is never set in any of the base sections\r\n\t\tdata wnd_name { string \"<base section name here>\" }\r\n\t}\r\n```\r\n\r\nAny idea why could this be? It works fine if the component is created with ufoscript"}}