alamorre / chat-engine-marketplace Goto Github PK
View Code? Open in Web Editor NEWAn example project to how to integrate Chat Engine into a marketplace
An example project to how to integrate Chat Engine into a marketplace
I have subscribed to your plan thanks for the component, I need your help to lead me on how to use MessageForm instead of MessageFormSocial or chatFeed , because both have problems in my next Js project, I went to the documents and I see MessageForm is the best to use because it's using textarea instead of tag, anyways the problem I'm getting when im trying to import MessageForm is in the screenshot below:
Hi, I have an issue with getOrCreate chat. So basically, I have this piece of code here that has data, and my headers below which store current user credentials.
const [headers, setHeaders] = useState({
'Project-ID': 'project_id_number',
'User-Name': {buyerName},
'User-Secret': "nope",
})
const data = {
"usernames": [buyerName, res.data.firstName],
"is_direct_chat": true
}
console.log(data)
getOrCreateChat(headers, data, chat => setChat(chat))
This is similar to the marketplace case but when I run this, I get a 403 error which means I am still unauthorized to getOrCreateChat. Can you help me out? I am just trying to create a chat between two users, knowing the current user's credentials and the username of the current user and other user.
Would appreciate help with this as soon as possible!:)
Hello whenever i run npm install, i get a warning for deprecated dependecies, i tried to --force it but i still get this error :)
Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './lib/tokenize' is not defined by "exports" in C:\Users*User*\Desktop\chat-engine-marketplace-master\node_modules\postcss-safe-parser\node_modules\postcss\package.json
When going through the tutorial, we followed all of the steps. We cloned the repo, uncommented the lines we were told to uncomment, set both of our .env variables, and ran the commands "yarn" and "yarn start". We are running into an error at the "/" page because of some "cannot access property of undefined" error, which we suspect is because the users aren't being created properly. This leads us to wonder why this is happening, and there may be a problem with the repository that was provided in the guide. Can you please let us know what the fix is for this?
Can you give the backend code as well for this. The link doesn't seem to be working. The one that is mentioned in the blog
I'm currently using the ChatFeed component from the react-chat-engine in my Next.js application. Despite dynamically importing the component to overcome SSR-related issues, I've encountered a persistent problem related to text input. Specifically, when the space key is pressed during text entry, it does not create a whitespace as expected.
To resolve this, I have attempted to set up a JavaScript function that uses an event listener to insert a whitespace each time the space key is pressed. Unfortunately, this workaround is causing further issues and has not successfully resolved the original problem.
I would appreciate any guidance or assistance you could provide to help me address this issue. Please let me know if any additional information is needed from my end to better understand or troubleshoot this problem.
Thank you in advance for your help.
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.