chat21 / chat21-web-widget Goto Github PK
View Code? Open in Web Editor NEWChat widget built on top of Firebase/MQTT to emebd chat features into your web/mobile apps.
Home Page: http://www.tiledesk.com
License: MIT License
Chat widget built on top of Firebase/MQTT to emebd chat features into your web/mobile apps.
Home Page: http://www.tiledesk.com
License: MIT License
Getting below error when integrating chat21 widget in angular 7 and 8 .
Uncaught TypeError: parentJsonpFunction is not a function
at webpackJsonpCallback (inline.bundle.js:20)
at polyfills.bundle.js:1
chat21 is angular 5 project
so i think webpack version mismatch is the problem .
kindly help to fix this
Quando viene chiusa una conversazione, cioè quando l'utente viene eliminato da users > idusers > groups > id-group > members, in automatico viene disabilitato l'invio nuovi messaggi nel widget dei messaggi e mostrato il popup di votazione (step1) e commento (step2). NB bisogna sostituire il servizio da richiamare!!!!
vedi esempio: https://www.helpshift.com/static/medias/features/07-In-app-messaging.mp4
adding .chat21 class before every styles
I see a few customization (https://widget.tiledesk.com/v3). Where Can I find this source code ?
environment:
npm -v = 6.13.4
node -v = v12.16.1
OS: macOS
i've installed cloud functions , create a firebase database.
git clone git clone https://github.com/chat21/chat21-web-widget.git
npm install
and i got errors:
n=0" "--node_napi_label=node-v72"
gyp ERR! cwd /Users/fer/Documents/desarrollo/javascript/chat21-web-widget/node_modules/grpc
gyp ERR! node -v v12.16.1
gyp ERR! node-gyp -v v5.0.5
gyp ERR! not ok
node-pre-gyp ERR! build error
node-pre-gyp ERR! stack Error: Failed to execute '/usr/local/bin/node /usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --library=static_library --module=/Users/fer/Documents/desarrollo/javascript/chat21-web-widget/node_modules/grpc/src/node/extension_binary/node-v72-darwin-x64-unknown/grpc_node.node --module_name=grpc_node --module_path=/Users/fer/Documents/desarrollo/javascript/chat21-web-widget/node_modules/grpc/src/node/extension_binary/node-v72-darwin-x64-unknown --napi_version=5 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v72' (1)
node-pre-gyp ERR! stack at ChildProcess. (/Users/fer/Documents/desarrollo/javascript/chat21-web-widget/node_modules/grpc/node_modules/node-pre-gyp/lib/util/compile.js:83:29)
node-pre-gyp ERR! stack at ChildProcess.emit (events.js:311:20)
node-pre-gyp ERR! stack at maybeClose (internal/child_process.js:1021:16)
node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:286:5)
node-pre-gyp ERR! System Darwin 17.7.0
node-pre-gyp ERR! command "/usr/local/bin/node" "/Users/fer/Documents/desarrollo/javascript/chat21-web-widget/node_modules/grpc/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build" "--library=static_library"
node-pre-gyp ERR! cwd /Users/fer/Documents/desarrollo/javascript/chat21-web-widget/node_modules/grpc
node-pre-gyp ERR! node -v v12.16.1
node-pre-gyp ERR! node-pre-gyp -v v0.12.0
node-pre-gyp ERR! not ok
Failed to execute '/usr/local/bin/node /usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --library=static_library --module=/Users/fer/Documents/desarrollo/javascript/chat21-web-widget/node_modules/grpc/src/node/extension_binary/node-v72-darwin-x64-unknown/grpc_node.node --module_name=grpc_node --module_path=/Users/fer/Documents/desarrollo/javascript/chat21-web-widget/node_modules/grpc/src/node/extension_binary/node-v72-darwin-x64-unknown --napi_version=5 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v72' (1)
npm WARN [email protected] requires a peer of ajv@^6.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of @angular/core@^4.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/fsevents):
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] install: node install
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] install: node-pre-gyp install --fallback-to-build --library=static_library
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
Hi guys,
We are currently getting the following error: The custom token corresponds to a different audience.
We have double checked our API details and have spoken to Google Firebase support and they are suggesting
that it could be an issue with how chat21 has integrated firebase. Does anyone have any recommendations / suggestions?
Thanks again,
Lewis
When I send a piece of Chinese text, its style seems to be invalid
From the README file, it states to copy the content of dist folder to your webserver.
But there seems to be no dist folder
Hello Andrea.
We'd like to try your project to organize chat between users on our website. I got a bit confused about how to set up the widget to allow it. My project is on Django and I'm going to use a custom token to authenticate users in Firebase. I see some functionality related to it in the code (file auth.service.ts
, function authenticateFirebaseCustomToken
), but not sure how to create a proper widget configuration.
I have successfully deployed the cloud functions, created groups (using HTTP API) and created a user to user chat on iOS (derived from your demo apps). It's awesome!
Could you help me to setup the web widget for my use case (user to user chat)? Maybe you have some instructions somewhere or maybe you have some time to give me hints regarding it?
Maybe the right question should be: is it the right piece of software to use for my use case? :)
Thank you for advance!
I have followed all directions and I was able to deploy the app.
The database, rules and functions are deployed successfully.
In the public folder I see an example web application to test chat service but I see it was not published in Firebase after deploy. How can I publish the content of the public folder to a hosted web app so I can test it?
see here https://bitsofco.de/async-vs-defer/
I have tried tiledesk installation using docker-compose by following the steps in the below link, https://developer.tiledesk.com/installation/install-tiledesk-with-firebase-chat21-engine/running-tiledesk-with-docker-compose#1-run-docker-compose-services which gives me the below error,
Error: firebase config is not defined. Please create your widget-config.json. See the Chat21-Web_widget Installation Page in main.bundle.js
Any help would be highly appreciated
Regards,
I tried to install web-widget alongside with tiledesk-server, tiledesk-dashboard. I published cloud functions on firebase. And I tried to go to widget location, it was just giving me blank page. I checked console. There was bunch of messages like Failed to load resource: the server responded with a status of 400 (). It was working one day. And then stopped.
Is it possible to have options to integrate chatbots? Probably I would like to integrate dialogflow api's with chat21. Have a chatbot to answer questions, if the bot is not able to answer, I want to handoff it to a live human agent. I think this would be a great feature for chat21.
Cciao team,
Looking to run this on my desktop a couple of question if you don't mind :
On the environments.ts
On the utils globals.ts
BASE_LOCATION = Api URL ? ( currently https://widget.tiledesk.com/v2 )
POWERED = include the hosting file right ?
I got innumerable errors on undefined getBaseLocation function
Thanks for your help again.
Cecilio
la selezione deve avvenire tramite dropdown.
in ogni messaggio aggiungere il campo message.department=DIPARTIMENTO SELEZIONATO
i'm install it by source code with tiledesk-server, but i can not find mqtt server, how can i config the mqtt?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.