{"action":"created","issue":{"url":"https://api.github.com/repos/smooch/smooch-js/issues/183","repository_url":"https://api.github.com/repos/smooch/smooch-js","labels_url":"https://api.github.com/repos/smooch/smooch-js/issues/183/labels{/name}","comments_url":"https://api.github.com/repos/smooch/smooch-js/issues/183/comments","events_url":"https://api.github.com/repos/smooch/smooch-js/issues/183/events","html_url":"https://github.com/smooch/smooch-js/pull/183","id":135142033,"number":183,"title":"Add support for embedded mode","user":{"login":"lemieux","id":781844,"avatar_url":"https://avatars.githubusercontent.com/u/781844?v=3","gravatar_id":"","url":"https://api.github.com/users/lemieux","html_url":"https://github.com/lemieux","followers_url":"https://api.github.com/users/lemieux/followers","following_url":"https://api.github.com/users/lemieux/following{/other_user}","gists_url":"https://api.github.com/users/lemieux/gists{/gist_id}","starred_url":"https://api.github.com/users/lemieux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lemieux/subscriptions","organizations_url":"https://api.github.com/users/lemieux/orgs","repos_url":"https://api.github.com/users/lemieux/repos","events_url":"https://api.github.com/users/lemieux/events{/privacy}","received_events_url":"https://api.github.com/users/lemieux/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-02-21T01:13:04Z","updated_at":"2016-02-21T01:21:57Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/smooch/smooch-js/pulls/183","html_url":"https://github.com/smooch/smooch-js/pull/183","diff_url":"https://github.com/smooch/smooch-js/pull/183.diff","patch_url":"https://github.com/smooch/smooch-js/pull/183.patch"},"body":"I did a couple of things in this PR : \r\n\r\n- created a new test page for embedded mode (available at `/embedded`)\r\n- ported over our update eslint and esformatter rules\r\n- adjusted CSS to split between normal and embedded mode\r\n- removed jshint stuff\r\n- decoupled `init` from rendering\r\n- used proper unmount mecanism from React to clean up on destroy\r\n\r\nTests are currently missing, but feel free to start reviewing and I'll add them.\r\n\r\nThe CSS split is kinda hackish, but I think it's good enough for a first version. I'll spend time on it this week to clean it up.\r\n\r\n@spasiu @alavers @dannytranlx @Mario54 \r\n"},"comment":{"url":"https://api.github.com/repos/smooch/smooch-js/issues/comments/186715211","html_url":"https://github.com/smooch/smooch-js/pull/183#issuecomment-186715211","issue_url":"https://api.github.com/repos/smooch/smooch-js/issues/183","id":186715211,"user":{"login":"lemieux","id":781844,"avatar_url":"https://avatars.githubusercontent.com/u/781844?v=3","gravatar_id":"","url":"https://api.github.com/users/lemieux","html_url":"https://github.com/lemieux","followers_url":"https://api.github.com/users/lemieux/followers","following_url":"https://api.github.com/users/lemieux/following{/other_user}","gists_url":"https://api.github.com/users/lemieux/gists{/gist_id}","starred_url":"https://api.github.com/users/lemieux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lemieux/subscriptions","organizations_url":"https://api.github.com/users/lemieux/orgs","repos_url":"https://api.github.com/users/lemieux/repos","events_url":"https://api.github.com/users/lemieux/events{/privacy}","received_events_url":"https://api.github.com/users/lemieux/received_events","type":"User","site_admin":false},"created_at":"2016-02-21T01:21:57Z","updated_at":"2016-02-21T01:21:57Z","body":"It also needs documentation."}}