Comments (10)
@shavone328 Glad I could help π If you end up having questions or issues, don't hesitate to ask! And good luck!
from rasa-webchat.
If you are able to implement those features yourself, I'd recommend you to fork the repository and start using your own fork. That's what I did for my team's needs π
There has not been recent activity on opened PRs so I don't know how likely it is to get new features in that way.
So while for example I would be willing to implement at least that user avatar, there's no guarantee it will make it into the widget (of course, might code might also just not be up to par to be merged π
).
from rasa-webchat.
@rajalala Would you mind telling me the steps to do that? I tried following the steps in the contributing.md file but I keep running into errors while trying to do npm run build. Did you update your version of react as well? I'm currently using 17.0.2 for my project. I'm very sorry if this sounds like s dumb questions, I'm very new to this.
from rasa-webchat.
@shavone328 No worries, I struggled at first as well! This is just a quick reply to get you started but I can provide more details if needed.
You are running to a libsass
error right? That's because libsass
(or node-sass
or some internal dependency, I don't remember anymore) does not support Node 15 or newer. So you can get the project installed and running by downgrading Node to version 14. I'd recommend you to install nvm
cause then you can just run nvm use 14
each time you work with the widget.
And regarding React 17: yes, I updated React and actually made PR here (#405).
from rasa-webchat.
@rajalala thank you! I'll try doing that and hopefully it will work. Every time I make a change to the widget and need to test it, I will have to do npm run build correct?
from rasa-webchat.
@shavone328 no problem, hope it all works out!
You can either manually run the build (npm run build
as you said) or use npm run dev
to have webpack automatically rebuild the project every time you do a chance. That will run the widget configured in file dev/index.html
. I've found that to be helpful - especially when doing style changes where I want to see results right away.
However, when with that the widget did not show up if not connected to a chatbot. To fix that you can:
- set parameter
withRules
tofalse
(by default it'strue
) - or fixing the issue of
hideWhenNotConnected
not being followed whenwithRules
istrue
(it's one line fix)
from rasa-webchat.
@rajalala good to know thank you!! Did you have to import it into a dummy react app to test it, or would running npm run dev
show all the changes?
from rasa-webchat.
@shavone328 When doing widget specific changes I found easier and faster to just use that dev script and dev/index.html
π
Later I'd do some final testing in the context of the app that uses it by installing it from local folder or from Github repo. But that is not a requirement - just something I found helpful as in my case widget and rest of the app have some interaction.
from rasa-webchat.
@rajalala ahh again thank you so much! I was so worried before that my question would just be left out into the void but you've been so helpful!
from rasa-webchat.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
from rasa-webchat.
Related Issues (20)
- Link Image Address HOT 1
- ΒΏCan I change the parameter language that goes in customData to the widget, without recharging the page? HOT 2
- Starting the conversation HOT 1
- how can i get response of socket.io HOT 1
- JWT authentication HOT 1
- Unable to connect to websocket getting handshake error and unable to customize the chat bot HOT 2
- How to use in Angular project HOT 1
- Table is not rendered HOT 1
- How can I change file and import it into my project? HOT 1
- I don't want the link in the button to open in a new tab. HOT 1
- Rasa 3? HOT 7
- Custom Button in the header HOT 4
- showFullScreenButton and displayUnreadCount HOT 1
- React integration HOT 1
- Not able to clone and run the code in my local HOT 3
- tooltipPayload overwrites initPayload HOT 2
- Not sure about what is the purpose of dispatch evalUrl function HOT 1
- Adding a custom component to RASA web-chat HOT 1
- Getting 'AsyncServer.enter_room' was never awaited error. HOT 2
- Bot does not respond HOT 1
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.
from rasa-webchat.