dharness / react-chat-window

Intercom-style live chat window written in react
The Unlicense
677 stars 252 forks source link

How to hide Attachment Icon? #134

Open NaumanMoazzam opened 5 years ago

NaumanMoazzam commented 5 years ago

I love using reactchat-window, but i am enable to hide File (Attachment) icon. Like I have disabled the emojis.

NaumanMoazzam commented 5 years ago

@heatherbooker please help!

heatherbooker commented 5 years ago

Hi @NaumanMoazzam , sorry for the delay. If you are talking about using something similar to the showEmoji prop to disable showing the file attachment icon, unfortunately we don't have that feature yet. If you'd like to see it happen, either

  1. I can convert this issue to a feature request which will be considered for future developement, or
  2. You can feel free to open a pull request following the contributors guidelines, where you look through the code and add a similar prop for the file attachments. Thanks for your interest and I'm sorry for the inconvenience of this not existing yet!
NaumanMoazzam commented 5 years ago

@heatherbooker Thanks for your reply.

132 is already created by someone. It just need review. If you could do that. It will be GREAT.

Thanks for your time. Really love using it.

heatherbooker commented 5 years ago

Great thanks for the heads up! I've reviewed it, if the required change is made I will be happy to merge.

rburton commented 5 years ago

FYI - I've clone this project and have been adding features to it. The widget is going to be called "react-chat-windower" so it doesn't clash with the NPM project.

https://github.com/rburton/react-chat-window/tree/feature/enhancements-1.2.0

I already have the hide/show file attachment button. I'll be adding features early this week.

heatherbooker commented 5 years ago

Hi @rburton! Are you interested in taking over ownership of the original project instead? Me and @dharness are not able to keep up (as you can tell! :)) and we would love to hand it over to someone capable and eager. Let me know! You could open a new issue so we can talk about the details further if you like. Cheers!

NaumanMoazzam commented 5 years ago

@rburton Same. I have been adding some add-ons to this project. But that is for my private use. We can help the community tho.

@heatherbooker I think if rburton agrees. We can continue.

kumarmpk commented 4 years ago

@heatherbooker @rburton Hi is there a way to hide attachment icon? does showFilePicker works?

ahmedkhalidbutt commented 4 years ago

@heatherbooker if the required change is made for this issue. Can you kindly merge it so we can use the npm package with the latest updates?

destyand commented 3 years ago

i used a styling like this, maybe can help

.sc-user-input--button { visibility: hidden; }