This project is not covered by Drupal’s security advisory policy.
Say Hello Dialogflow can be helpful with fast plug and play. Component consist Drupal 8 with Angular 5 https://v5.angular.io/docs with Dialogflow services ( https://dialogflow.com )
For Developers:
(Picture no. 1) https://www.drupal.org/files/project-images/module_component_1.png
1. To change Drupal 8 JS, please edit es6.js file and use YARN with Webpack using below command:
cd YOUR-DRUPAL-INSTALLATION/modules/contrib/say_hello_dialogflow && yarn run build:js && node_modules/.bin/webpack -p && drush cr
2. To change Angular Logic, please edit Angular component and use NPM with Webpack using below command:
cd YOUR-DRUPAL-INSTALLATION/modules/custom/say_hello_dialogflow/js/ng/dialogflow && ng build --aot --prod --build-optimizer --output-hashing=none && drush cr
3. To add new Command Action, please override Service and follow the logic from point 1 and 2. For the simplicity, actual version can be used only with the command Open Menu Item Name and it would only print the button to redirect user to other page
4. To display debug, once Redux installed, please open Configuration and save config with enabled Debug. That's that, block will include to Drupal JS settings and will load them to the Angular component which will transparently display Redux Store state During user traffic.
5. To run single unit tests, use below command:
cd YOUR-DRUPAL-INSTALLATION/core && sudo -u www-data ../../vendor/bin/phpunit --debug ../modules/contrib/say_hello_dialogflow/tests/src/Functional/SayHelloDialogflowPage.php
For Site Builders:
(Picture no. 2) https://www.drupal.org/files/project-images/module-dialogflow-presentati...
Project information
- Minimally maintained
Maintainers monitor issues, but fast responses are not guaranteed. - Module categories: Decoupled, Developer Tools, Site Structure
- Created by ChS on , updated
- This project is not covered by the security advisory policy.
Use at your own risk! It may have publicly disclosed vulnerabilities.