-
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-10161: Create leijuke script for Telia ACE chat #772
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi!
Great review instructions, thanks!
- I'm occasionally seeing the chat not opening on click. Instead the whole button disappears. Reloading the page helps, but it's kinda bad experience for the user.
- The chat on my instance is missing chat_title and the chat only has the speech_bubble icon, no text
- Translations are not working, as in the loading text does not get translated.
- After opening the chat once, closing it and reloading the page, the chat seems to automatically open in a different state (chevron_down visible). Is this an ACE bug or a bug in how we initialise the chat once cookies are set? The same happens also if I accept all cookies upon entering the site on a fresh browser. Are we sure it will not open connections to a chat person on each pageload?
- We need to enable linters in this repository, this code does not pass our HDBT linters that might catch problems etc.
All in all, code seems to be mostly of good quality, these issues are still blockers IMO. So close. :)
2d2b005
to
d586bf9
Compare
Selectors have been added to the HDBT theme and the PR instructions have been updated. |
Unfortunately all of these issues come from the Telia ACE code, but we'll report these to Telia after testing the Chat in the correct demo environment. Some of these might be caused by the local domain being whitelisted and others are configuration issues.
Yes, the user needs to click a button inside the chat window (and enter their name etc) before anything is connected to the system.
This should be working now, can you try rerunning
This file should be compliant with the linter rules now. Created a new ticket for linting all scripts in platform config: https://helsinkisolutionoffice.atlassian.net/browse/UHF-10251 |
930e0af
to
5541963
Compare
4a3228f
to
796da02
Compare
Quality Gate passedIssues Measures |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks mostly good to me. The translations do not seem to work on my instance, it still keeps saying the loading thing in Englist on a Finnish page.
Sorry it took so long to review. 🌹
I thin k we can Approve this if you double check the language thing on your machine.
UHF-10161, UHF-9328
What was done
How to install
git pull origin dev
make fresh
composer require drupal/helfi_platform_config:dev-UHF-10161-telia-ace-script
composer require drupal/hdbt:dev-UHF-10161-telia-ace-script
drush locale:check && drush locale:update
make drush-updb drush-cr
How to test
matkapalvelut-chat_en
,matkapalvelut-chat_fi
andmatkapalvelut-chat_sv
/helsingin-matkapalvelu
,/helsingfors-resetjanst
and/helsinki-transport-service
Continuous documentation
Translations
Other PRs