chat-ui
Helpful commands
npm publish
npm start
npm run build
Bookmarklet
To preview the production chat widget on an ad-hoc website, you can use a bookmarklet. Create a bookmark in your browser, but instead of pasting in an http(s) URL, paste in the following code:
javascript: ((d) => {
const s = d.createElement("script");
s.type = "module";
let p = prompt(
"Enter an org/building URL pair",
"test-company/e2e-yardi-test-building"
);
if (!p) return;
s.src = `https://unpkg.com/@meetelise/chat#${p}`;
d.body.appendChild(s);
})(document);
This bookmarklet will not work on some pages due to Content Security Policy (CSP) settings, but it will work on https://get.meetelise.com/demo.