Skip to content

WIP - hardcode adding the userway widget for evaluation purposes - #4421

Open
stephenhand wants to merge 1 commit into
masterfrom
CHI-3894-userway
Open

WIP - hardcode adding the userway widget for evaluation purposes#4421
stephenhand wants to merge 1 commit into
masterfrom
CHI-3894-userway

Conversation

@stephenhand

Copy link
Copy Markdown
Collaborator

Description

Checklist

  • Corresponding issue has been opened
  • New tests added
  • Feature flags added
  • Strings are localized
  • Tested for chat contacts
  • Tested for call contacts

Other Related Issues

None

Verification steps

AFTER YOU MERGE

  1. Cut a release tag using the Github workflow. Wait for it to complete and notify in the #aselo-deploys Slack channel.
  2. Comment on the ticket with the release tag version AND any additional instructions required to configure an environment to test the changes.
  3. Only then move the ticket into the QA column in JIRA

You are responsible for ensuring the above steps are completed. If you move a ticket into QA without advising what version to test, the QA team will assume the latest tag has the changes. If it does not, the following confusion is on you! :-P

Copilot AI review requested due to automatic review settings May 28, 2026 12:51

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds an evaluation-only UserWay widget injection to the Flex HRM plugin and adds a convenience start script for Zimbabwe staging webchat.

Changes:

  • Injects the UserWay widget script during HrmFormPlugin.init().
  • Adds start:zw_stg for running the webchat app with Zimbabwe staging config.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
plugin-hrm-form/src/HrmFormPlugin.tsx Adds runtime injection of the UserWay accessibility widget script.
aselo-webchat-react-app/package.json Adds a Zimbabwe staging local start script.

Comment on lines +195 to +201
const script = document.createElement('script');

script.src = 'https://cdn.userway.org/widget.js';
script.dataset.account = 'wrsnwawFhK';
script.async = true;

document.body.appendChild(script);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants