hubtype / botonic-examples Goto Github PK
View Code? Open in Web Editor NEWExamples built with Botonic
Examples built with Botonic
Describe the bug
A compile error is thrown to browser when i click on the form given by check reservations menu in Hotel Booking Platform bot
To Reproduce
Steps to reproduce the behaviour:
Compiled with problems:
ERROR
event.path is undefined
handleClickOutside@webpack-internal:///./node_modules/@botonic/react/src/webchat/hooks.js:293:24
What is the expected behaviour?
I should be able to fill and submit the form successfully
About the environment
[email protected]
Linux, Firefox
Additional context
NO
Any idea how I can modify the brand image in typescript (angular)?
adding a string doesn't include it in the static assets, but I can't use the import logo from '../assets/demo.png' as detailed in the js examples.
shadowDOM: true,
theme: {
brand: {
image: '../assets/demo.png'
}
}
Error when clicking on date icon while booking
To Reproduce
Steps to reproduce the behaviour:
What is the expected behaviour?
I should have got a date popup
Error
Compiled with problems:
ERROR
Unable to find node on an unmounted component.
findHostInstanceWithWarning@webpack-internal:///./node_modules/react-dom/cjs/react-dom.development.js:25372:19
findDOMNode@webpack-internal:///./node_modules/react-dom/cjs/react-dom.development.js:26062:12
performEnter@webpack-internal:///./node_modules/react-transition-group/esm/Transition.js:273:92
updateStatus@webpack-internal:///./node_modules/react-transition-group/esm/Transition.js:256:14
componentDidMount@webpack-internal:///./node_modules/react-transition-group/esm/Transition.js:192:10
commitLifeCycles@webpack-internal:///./node_modules/@botonic/react/node_modules/react-dom/cjs/react-dom.development.js:19814:22
commitLayoutEffects@webpack-internal:///./node_modules/@botonic/react/node_modules/react-dom/cjs/react-dom.development.js:22803:23
callCallback@webpack-internal:///./node_modules/@botonic/react/node_modules/react-dom/cjs/react-dom.development.js:188:14
invokeGuardedCallbackDev@webpack-internal:///./node_modules/@botonic/react/node_modules/react-dom/cjs/react-dom.development.js:237:16
invokeGuardedCallback@webpack-internal:///./node_modules/@botonic/react/node_modules/react-dom/cjs/react-dom.development.js:292:31
commitRootImpl@webpack-internal:///./node_modules/@botonic/react/node_modules/react-dom/cjs/react-dom.development.js:22541:30
unstable_runWithPriority@webpack-internal:///./node_modules/@botonic/react/node_modules/scheduler/cjs/scheduler.development.js:653:12
runWithPriority$1@webpack-internal:///./node_modules/@botonic/react/node_modules/react-dom/cjs/react-dom.development.js:11039:10
commitRoot@webpack-internal:///./node_modules/@botonic/react/node_modules/react-dom/cjs/react-dom.development.js:22381:20
finishSyncRender@webpack-internal:///./node_modules/@botonic/react/node_modules/react-dom/cjs/react-dom.development.js:21807:13
performSyncWorkOnRoot@webpack-internal:///./node_modules/@botonic/react/node_modules/react-dom/cjs/react-dom.development.js:21793:23
flushSyncCallbackQueueImpl/<@webpack-internal:///./node_modules/@botonic/react/node_modules/react-dom/cjs/react-dom.development.js:11089:24
unstable_runWithPriority@webpack-internal:///./node_modules/@botonic/react/node_modules/scheduler/cjs/scheduler.development.js:653:12
runWithPriority$1@webpack-internal:///./node_modules/@botonic/react/node_modules/react-dom/cjs/react-dom.development.js:11039:10
flushSyncCallbackQueueImpl@webpack-internal:///./node_modules/@botonic/react/node_modules/react-dom/cjs/react-dom.development.js:11084:24
flushSyncCallbackQueue@webpack-internal:///./node_modules/@botonic/react/node_modules/react-dom/cjs/react-dom.development.js:11072:3
discreteUpdates$1@webpack-internal:///./node_modules/@botonic/react/node_modules/react-dom/cjs/react-dom.development.js:21893:7
discreteUpdates@webpack-internal:///./node_modules/@botonic/react/node_modules/react-dom/cjs/react-dom.development.js:806:12
dispatchDiscreteEvent@webpack-internal:///./node_modules/@botonic/react/node_modules/react-dom/cjs/react-dom.development.js:4168:18
ERROR
Unable to find node on an unmounted component.
findHostInstanceWithWarning@webpack-internal:///./node_modules/react-dom/cjs/react-dom.development.js:25372:19
findDOMNode@webpack-internal:///./node_modules/react-dom/cjs/react-dom.development.js:26062:12
performEnter@webpack-internal:///./node_modules/react-transition-group/esm/Transition.js:273:92
updateStatus@webpack-internal:///./node_modules/react-transition-group/esm/Transition.js:256:14
componentDidMount@webpack-internal:///./node_modules/react-transition-group/esm/Transition.js:192:10
commitLifeCycles@webpack-internal:///./node_modules/@botonic/react/node_modules/react-dom/cjs/react-dom.development.js:19814:22
commitLayoutEffects@webpack-internal:///./node_modules/@botonic/react/node_modules/react-dom/cjs/react-dom.development.js:22803:23
callCallback@webpack-internal:///./node_modules/@botonic/react/node_modules/react-dom/cjs/react-dom.development.js:188:14
invokeGuardedCallbackDev@webpack-internal:///./node_modules/@botonic/react/node_modules/react-dom/cjs/react-dom.development.js:237:16
invokeGuardedCallback@webpack-internal:///./node_modules/@botonic/react/node_modules/react-dom/cjs/react-dom.development.js:292:31
commitRootImpl@webpack-internal:///./node_modules/@botonic/react/node_modules/react-dom/cjs/react-dom.development.js:22541:30
unstable_runWithPriority@webpack-internal:///./node_modules/@botonic/react/node_modules/scheduler/cjs/scheduler.development.js:653:12
runWithPriority$1@webpack-internal:///./node_modules/@botonic/react/node_modules/react-dom/cjs/react-dom.development.js:11039:10
commitRoot@webpack-internal:///./node_modules/@botonic/react/node_modules/react-dom/cjs/react-dom.development.js:22381:20
finishSyncRender@webpack-internal:///./node_modules/@botonic/react/node_modules/react-dom/cjs/react-dom.development.js:21807:13
performSyncWorkOnRoot@webpack-internal:///./node_modules/@botonic/react/node_modules/react-dom/cjs/react-dom.development.js:21793:23
flushSyncCallbackQueueImpl/<@webpack-internal:///./node_modules/@botonic/react/node_modules/react-dom/cjs/react-dom.development.js:11089:24
unstable_runWithPriority@webpack-internal:///./node_modules/@botonic/react/node_modules/scheduler/cjs/scheduler.development.js:653:12
runWithPriority$1@webpack-internal:///./node_modules/@botonic/react/node_modules/react-dom/cjs/react-dom.development.js:11039:10
flushSyncCallbackQueueImpl@webpack-internal:///./node_modules/@botonic/react/node_modules/react-dom/cjs/react-dom.development.js:11084:24
flushSyncCallbackQueue@webpack-internal:///./node_modules/@botonic/react/node_modules/react-dom/cjs/react-dom.development.js:11072:3
discreteUpdates$1@webpack-internal:///./node_modules/@botonic/react/node_modules/react-dom/cjs/react-dom.development.js:21893:7
discreteUpdates@webpack-internal:///./node_modules/@botonic/react/node_modules/react-dom/cjs/react-dom.development.js:806:12
dispatchDiscreteEvent@webpack-internal:///./node_modules/@botonic/react/node_modules/react-dom/cjs/react-dom.development.js:4168:18
ERROR
Unable to find node on an unmounted component.
findHostInstanceWithWarning@webpack-internal:///./node_modules/react-dom/cjs/react-dom.development.js:25372:19
findDOMNode@webpack-internal:///./node_modules/react-dom/cjs/react-dom.development.js:26062:12
performEnter@webpack-internal:///./node_modules/react-transition-group/esm/Transition.js:273:92
updateStatus@webpack-internal:///./node_modules/react-transition-group/esm/Transition.js:256:14
componentDidMount@webpack-internal:///./node_modules/react-transition-group/esm/Transition.js:192:10
commitLifeCycles@webpack-internal:///./node_modules/@botonic/react/node_modules/react-dom/cjs/react-dom.development.js:19814:22
commitLayoutEffects@webpack-internal:///./node_modules/@botonic/react/node_modules/react-dom/cjs/react-dom.development.js:22803:23
callCallback@webpack-internal:///./node_modules/@botonic/react/node_modules/react-dom/cjs/react-dom.development.js:188:14
invokeGuardedCallbackDev@webpack-internal:///./node_modules/@botonic/react/node_modules/react-dom/cjs/react-dom.development.js:237:16
invokeGuardedCallback@webpack-internal:///./node_modules/@botonic/react/node_modules/react-dom/cjs/react-dom.development.js:292:31
commitRootImpl@webpack-internal:///./node_modules/@botonic/react/node_modules/react-dom/cjs/react-dom.development.js:22541:30
unstable_runWithPriority@webpack-internal:///./node_modules/@botonic/react/node_modules/scheduler/cjs/scheduler.development.js:653:12
runWithPriority$1@webpack-internal:///./node_modules/@botonic/react/node_modules/react-dom/cjs/react-dom.development.js:11039:10
commitRoot@webpack-internal:///./node_modules/@botonic/react/node_modules/react-dom/cjs/react-dom.development.js:22381:20
finishSyncRender@webpack-internal:///./node_modules/@botonic/react/node_modules/react-dom/cjs/react-dom.development.js:21807:13
performSyncWorkOnRoot@webpack-internal:///./node_modules/@botonic/react/node_modules/react-dom/cjs/react-dom.development.js:21793:23
flushSyncCallbackQueueImpl/<@webpack-internal:///./node_modules/@botonic/react/node_modules/react-dom/cjs/react-dom.development.js:11089:24
unstable_runWithPriority@webpack-internal:///./node_modules/@botonic/react/node_modules/scheduler/cjs/scheduler.development.js:653:12
runWithPriority$1@webpack-internal:///./node_modules/@botonic/react/node_modules/react-dom/cjs/react-dom.development.js:11039:10
flushSyncCallbackQueueImpl@webpack-internal:///./node_modules/@botonic/react/node_modules/react-dom/cjs/react-dom.development.js:11084:24
flushSyncCallbackQueue@webpack-internal:///./node_modules/@botonic/react/node_modules/react-dom/cjs/react-dom.development.js:11072:3
discreteUpdates$1@webpack-internal:///./node_modules/@botonic/react/node_modules/react-dom/cjs/react-dom.development.js:21893:7
discreteUpdates@webpack-internal:///./node_modules/@botonic/react/node_modules/react-dom/cjs/react-dom.development.js:806:12
dispatchDiscreteEvent@webpack-internal:///./node_modules/@botonic/react/node_modules/react-dom/cjs/react-dom.development.js:4168:18
Create esbuild helpers in @botonic/dx to be able to compile bots with esbuild
Describe the bug
I have deployed the tutorial chatbot using hubtype, integrated it with webchat, and then injected the code snippet into the website, however the external API call is not working and no error message is displayed.
To Reproduce
Steps to reproduce the behaviour:
What is the expected behaviour?
I need to make an external API call and display the response accordingly.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.
Describe the bug
I have tried to install the with the --legacy-peer-deps & --force. It allows botonic serve, but it fails with GET message. I'm not sure if this is related with using the --legacy--peer-deps flag. If I don't use the flags, I don't even get the bot. Running npm with the peer flag loads the chatbot, but doesn't get the user message or does any greeting.
To Reproduce
Steps to reproduce the behaviour:
I try to run the example but there is no response to my testing inputs
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behaviour:
What is the expected behaviour?
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
About the environment
Which versions of botonic packages, and which browser/OS or environment (development/production) are affected by this issue? Did this work in previous versions of botonic packages?
Additional context
Add any other context about the problem here.
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.