react-chat's People
Forkers
manish-spinx iamnoumanimran buzzaw91 cjgodfather njcodesx bonekyaw zkro jjuanrivvera99 xploregopi fziliotti darylmil victoroluwaseun davidchoi-dev hasankasamali bengitiger manozkumarj muhammed9955 raju-31416 greeninjack ssagar19 renaldyhidayatt dancywritter joskid ducda0 abdulhafiz-yusuf junghwisu harshshaw ajmal001 bhanukirant99 shinarasheed williamthoudam vaishnavi-13 shrushti2000 yashavkumar mizan-codepadding utthamhcsc theprogrammingking lequangnamsoraly2009 k-e-r-l ebtehalah awaisshah228 sammyken90 joshclonereact-chat's Issues
All chatcards have the same time 'a few seconds ago'
/client/src/components/views/ChatPage/Sections/ChatCard.js
line 38 :
<span>{moment(props.createdAt).fromNow()}</span>
instead of
<span>{moment().fromNow()}</span>
chat Display
i can't see any message on screen probably there is issue in renderCard function plz help
renderCards=()=>{
this.props.chats.chats
&& this.props.chats.chats.map((chat)=>(
<ChatCard key={chat._id}
{...chat}
/>
}
I'm not able to show the texts in the chat, like the demonstration in YouTube
Hi, there.
I'm not abble to send a text. In console I may see that the text is going, but I'm no abble to see it in front-end, like John presents in his video at YouTube. I've tried to signin with a user, and signup as other user, and signin as this other user and nothing happens.
I appreciate if you could help me as soon as possible.
Regards.
Issue with _id working for chats
I have added data into the mongodb atlas database and the Error i am getting is below:
TypeError: Cannot read property '_id' of undefined
ChatPage.submitChatMessage
src/components/views/ChatPage/ChatPage.js:97
94 |
95 |
96 | let chatMessage = this.state.chatMessage
97 | let userId = this.props.user.userData._id
| ^ 98 | let userName = this.props.user.userData.name;
99 | let userImage = this.props.user.userData.image;
100 | let nowTime = moment();
The auth is buggy. Not restricting chat access to logged-out users.
TypeError: this.props.chats.chats.map is not a function
client/src/components/views/ChatPage/ChatPage.js:11
Image is not displaying in the chat window
when trying to send the image or video in the chat it is not displaying in the chat window instead it is showing the file name.
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.