-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
UHF-9274: Basic implementation of Telia ACE widget. #652
Conversation
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## main #652 +/- ##
============================================
- Coverage 13.75% 13.03% -0.72%
- Complexity 238 241 +3
============================================
Files 27 28 +1
Lines 880 928 +48
============================================
Hits 121 121
- Misses 759 807 +48 ☔ View full report in Codecov by Sentry. |
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
UHF-9274
What was done
Creates an embed block for Telia ACE chat widgets. Actual chat functionality can't be tested locally yet because local domains aren't whitelisted on Telia's end, but the widget is visible on the demo site: https://drupal-helfi-drupal-platform-test.test.hel.ninja/fi/new-telia-ace-widget
How to install
git pull origin dev
make fresh
composer require drupal/helfi_platform_config:dev-UHF-9274-telia-ace
make drush-cr
/wds/instances/J5XKjqJt/ACEWebSDK.min.js
How to test
<a class="hidden" href="//acewebsdk//local-chat-asiointi"></a>
element is thereACEWebSDK.min.js
script is embedded on the page and has theasync
parameterwindow.chat_user_consent
object is available on the pagedrush cex -y
drush cim -y
.