Comments (3)
@dmonn hey, thanks a lot for checking out the product even before it's launched.
We are actually taking "the component route" while designing the EmbeddedChat. EmbeddedChat is an independent entity that will handle auth for you so you don't need to pass in or worry about anything. For now, we are planning to develop it for a Reactjs web application so that by doing,
<RCComponent
isClosable={true}
setClosableState={setClosableState}
moreOpts={true}
width="100%"
height="40vh"
GOOGLE_CLIENT_ID={process.env.REACT_APP_GOOGLE_CLIENT_ID}
host={'https://your-rc-instance-host-url.com'}
roomId={'GENERAL'}
channelName="General"
anonymousMode={false}
isFullScreenFromStart={false}
/>
will popup the component.
For other frameworks, we suggest that you take "the iframe route" where you create a basic react app and embed the component and then host it, then you can take the URL and give it to the iframe.
Why EmbeddedChat?
- Custom UI modifications
- No UI leaks like the iframe
- Lightweight
- Auth magic
An example can be seen here with tech.co site,
Please feel free to add your thoughts on what you would like us to do or some features that you want to see.
Again, Thanks a lot!
from embeddedchat.
Any other auth options beyond Google SSO would be class! E.g. how would we integrate this for a user chat? Right now we do this via login tokens.
Also, love the auth magic ;) Our auth with iframe generally takes about 2-3 seconds to load. Is this going to be different?
from embeddedchat.
@dmonn sorry for the late reply, was caught up with exams. We will be introducing other Auth options beyond Google SSO after the launch. It was our go-to because most internet users are on Gmail.
We will make a demo video on how to set it up and also different ways to go about it.
It will be super different from the iFrame one, it is very lightweight and super fast (it will feel as if a part of your app).
from embeddedchat.
Related Issues (20)
- [BUG]: Unable to log out a user in reality; it only deletes the ec_token but never invalidates the authToken on the RC server.
- [Feat]: Add a "Mentions" tab where users can see all the messages in which they were mentioned. HOT 1
- User avatar not visible after a message is pinned.
- User avatar not visible after pinning a message.
- User Mention fixes HOT 1
- Implement UIKit Modal Support in EmbeddedChat HOT 6
- Global Context Provider for EmbeddedChat HOT 1
- Align invitation sidebar UI with RocketChat HOT 2
- Feat: Add a 'Files' menu option view the files shared in the channel HOT 4
- Add tooltips to message toolbox HOT 2
- Add download function and file name to messages attachments HOT 1
- Video & image attachments not correctly displayed HOT 4
- [BUG]: Link preview is not available. HOT 2
- Make search tab behavior consistent with threads & RC
- Change starred and pinned message windows to sidebar HOT 13
- Blank appearance of the message list after filtering pinned or starred messages (when no message is pinned or starred) HOT 1
- [BUG] Infinite render of search message component
- Refactor menu components HOT 3
- Irregular positioning and appearance of the tooltip component
- Cannot login EmbeddedChat through username and password HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from embeddedchat.