cometchat / cometchat-uikit-vue Goto Github PK
View Code? Open in Web Editor NEWReady-to-use Chat UI Components for Vue (JavaScript/Web)
License: Other
Ready-to-use Chat UI Components for Vue (JavaScript/Web)
License: Other
When clicking on an image in a chat, it is set to cover instead of contain. Furthermore, the close button on the top right gets hidden. I added a short video that shows the issue:
Join a chat, upload an image and click on it to open it.
The wrong parts is on line 188-198 on the CometChatMessageHeader .vue file
if (!isUser) {
avatar = SvgAvatar.getAvatar(
this.item.uid,
this.item.name.charAt(0).toUpperCase()
);
} else {
avatar = SvgAvatar.getAvatar(
this.item.guid,
this.item.name.charAt(0).toUpperCase()
);
}
if !isUser
the avatar
variable should be setted with the generation of the avatar using the guid instead of the uid.
Simple use the ui widget CometChatMessages and see that it does not mount the CometChatMessageHeader because of an exception when type
prop is group and item
prop is a group object.
Please provide the following:
If someone sends a message when the emoji picker is open, the emoji picker disappears.
I added a video for clarification:
The emoji picker should stay open.
"vue": "^2.6.11",
"@cometchat-pro/chat": "^3.0.0-beta1"
This is not really a bug but a request to review the set of instructions stated on the README section of this repository.
The instructions should reference the name of the new repository and not the previous one. It's becoming pretty difficult to follow properly.
I installed cometchat repository but there are too many package issue.
how do I have to integrate login function?
After having built the sample app from https://github.com/elbelel/CometChat-Vue-Chat-App/issues which uses this uikit, interactions like sending a message have a considerable lag. This is especially noticeable in group chats with dozens of messages, where it sometimes takes up to 5 seconds for a message to appear on screen after sending it.
Additionally, the app uses a lot of ram, when sending multiple messages in succession (almost reaching 1 gb) and having CPU spikes every time a message is sent.
Here's a video (using chrome performance monitor):
The sample app should be responsive, RAM usage should stay low and CPU spikes should be lower.
Step 1: Follow the instructions on the cometchat vue setup tutorial: https://www.cometchat.com/tutorials/create-a-chat-app-with-vue
Step 2: Run the app on your machine, select a group and send multiple messages in succession. The app will get slower and slower.
Here's my package.json:
{
"name": "chat",
"version": "0.1.0",
"private": true,
"scripts": {
"serve": "vue-cli-service serve",
"build": "vue-cli-service build",
"lint": "vue-cli-service lint"
},
"dependencies": {
"core-js": "^3.6.5",
"vue": "^2.6.11",
"dateformat": "^4.5.1",
"emoji-mart-vue-fast": "^10.0.1",
"twemoji": "^13.0.2",
"vue-router": "^3.5.1",
"@cometchat-pro/chat": "^3.0.0-beta1"
},
"devDependencies": {
"@vue/cli-plugin-babel": "~4.5.0",
"@vue/cli-plugin-eslint": "~4.5.0",
"@vue/cli-service": "~4.5.0",
"babel-eslint": "^10.1.0",
"eslint": "^6.7.2",
"eslint-plugin-vue": "^6.2.2",
"vue-template-compiler": "^2.6.11"
},
"eslintConfig": {
"root": true,
"env": {
"node": true
},
"extends": [
"plugin:vue/essential",
"eslint:recommended"
],
"parserOptions": {
"parser": "babel-eslint"
},
"rules": {}
},
"browserslist": [
"> 1%",
"last 2 versions",
"not dead"
]
}
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.