{"action":"opened","issue":{"url":"https://api.github.com/repos/fossasia/susi_desktop/issues/41","repository_url":"https://api.github.com/repos/fossasia/susi_desktop","labels_url":"https://api.github.com/repos/fossasia/susi_desktop/issues/41/labels{/name}","comments_url":"https://api.github.com/repos/fossasia/susi_desktop/issues/41/comments","events_url":"https://api.github.com/repos/fossasia/susi_desktop/issues/41/events","html_url":"https://github.com/fossasia/susi_desktop/issues/41","id":261362104,"number":41,"title":"Use chat.susi.ai as a submodule","user":{"login":"anshumanv","id":21009455,"avatar_url":"https://avatars0.githubusercontent.com/u/21009455?v=4","gravatar_id":"","url":"https://api.github.com/users/anshumanv","html_url":"https://github.com/anshumanv","followers_url":"https://api.github.com/users/anshumanv/followers","following_url":"https://api.github.com/users/anshumanv/following{/other_user}","gists_url":"https://api.github.com/users/anshumanv/gists{/gist_id}","starred_url":"https://api.github.com/users/anshumanv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anshumanv/subscriptions","organizations_url":"https://api.github.com/users/anshumanv/orgs","repos_url":"https://api.github.com/users/anshumanv/repos","events_url":"https://api.github.com/users/anshumanv/events{/privacy}","received_events_url":"https://api.github.com/users/anshumanv/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-09-28T15:28:02Z","updated_at":"2017-09-28T15:28:02Z","closed_at":null,"author_association":"MEMBER","body":"Problems - \r\n* Current implementation is unreliable and gives improper results.\r\n* UI/UX is too primitive.\r\n* Doesn't support speech input.\r\n* Web links aren't displayed\r\n\r\nSolution -\r\n* Electron provides a very powerful webview tag. Use the webview tag to embed ‘guest’ content (such as web pages) in your Electron app. The guest content is contained within the webview container. An embedded page within your app controls how the guest content is laid out and rendered.\r\n\r\n* I plan to use this tag and use our webapp https://chat.susi.ai/ in our desktop app which will in turn allow us to have all the features of our webapp inside our desktop app (Obviously).\r\n\r\n* Read more if needed here : https://electron.atom.io/docs/api/webview-tag/\r\n\r\nBenefits -\r\n* No need to worry about UI/UX.\r\n* All functionalities of the webapp directly incorporated.\r\n* Prevent from writing extra HTML/CSS for each new feature (not entirely though !) since electron apps are essentially a  browser window rendering some HTML so why not use the already implemented one !\r\n"}}
{"actor":{"display_login":"anshumanv"}}