diff --git a/.tool-versions b/.tool-versions new file mode 100644 index 000000000..343dc534c --- /dev/null +++ b/.tool-versions @@ -0,0 +1 @@ +nodejs 18.18.2 diff --git a/toolkits/global/packages/global-customer-satisfaction-input/HISTORY.md b/toolkits/global/packages/global-customer-satisfaction-input/HISTORY.md index 4ce91f207..6c8e4bacf 100644 --- a/toolkits/global/packages/global-customer-satisfaction-input/HISTORY.md +++ b/toolkits/global/packages/global-customer-satisfaction-input/HISTORY.md @@ -1,5 +1,8 @@ # History +## 1.1.0 (2024-11-10) + * Appends "userJourneys" and "additionalInfo" parameters to the generated survey URL if not empty. + ## 1.0.3 (2023-09-18) * Fixes issue with visually hidden elements causing an overflow due to absolute positioning. @@ -14,14 +17,14 @@ * BREAKING * Brings component up to date with v32.0.0 of Brand Context * Note: Please ensure your application also uses v32.0.0 of Brand Context - * Removes dependency on Global Forms component. + * Removes dependency on Global Forms component. * Note: Please uninstall Global Forms if you do not use elsewhere in your application. * Note: The data model needed for this component has been greatly simplified. Please consider updating your application view model where needed. - * Introduces new data field: id. + * Introduces new data field: id. * Note: Please refer to docs for more info. Please consider updating your application view model if needed. - * Removes CSAT component design tokens. + * Removes CSAT component design tokens. * Note: Please update your import path from "00-tokens/default.tokens.scss" to "10-settings/default.scss" - * Major refactor of component's HTML and Sass. + * Major refactor of component's HTML and Sass. * Note: If you do not consume the HTML directly from the installed package please update the HTML in your application. * New functionality: now appends responseRating URL param to survey question link href. Refer to the docs for more info. diff --git a/toolkits/global/packages/global-customer-satisfaction-input/README.md b/toolkits/global/packages/global-customer-satisfaction-input/README.md index f8e4c5de4..88a8c30ef 100644 --- a/toolkits/global/packages/global-customer-satisfaction-input/README.md +++ b/toolkits/global/packages/global-customer-satisfaction-input/README.md @@ -4,7 +4,7 @@ The Global Customer Satisfaction Input component is the frontend for an overall The component comprises a set of 5 pictographic radio inputs used to collect a satisfaction score from our customers. The user is able to submit one of the following scores: Awful, Bad, OK, Good, Great. -It is a JavaScript dependent component. When a user interacts with the component an event is dispatched to `window.dataLayer` allowing customer satisfaction score data and context data scraped from the page to be sent to Google Tag Manager and Google Cloud Big Query. +It is a JavaScript dependent component. When a user interacts with the component an event is dispatched to `window.dataLayer` allowing customer satisfaction score data and context data scraped from the page to be sent to Google Tag Manager and Google Cloud Big Query. ## Usage This documents how to implement this component on your website. If your project does not use Elements you can still use this component, see refer to the `Projects that do not use Elements` section below. @@ -42,7 +42,7 @@ Consume the component's Handlebars view template found in the `/view/` directory If you are unable to consume view templates in your project you can still use this component. Use the component demo to generate the HTML. This can be done as follows: -1. Edit the JSON data file found at `/demo/context.json` and define the data you need for your instance (see below Data section) +1. Edit the JSON data file found at `/demo/context.json` and define the data you need for your instance (see below Data section) 2. Run `npm run demo -- -p global-customer-satisfaction-input` 3. Copy the `