springernature / frontend-toolkits

Frontend Component Toolkits for the Elements Design System
MIT License
13 stars 3 forks source link

CSAT input element adds responseRating to survey url query string #884

Closed gypsydave5 closed 1 year ago

gypsydave5 commented 1 year ago

adds the responseRating to the query string of the survey url.

uses responseRating which is what Jon used, but I guess it could be made configurable if anyone ever wanted something different (or to turn it off?).

benjclark commented 1 year ago

I have checked out the branch for this on Dave's fork of the repo. I have run the linting, tests, build and generated the demo - all with Node 14. Everything looks good, no issues. When looking at the generated demo HTML file I can see his changes are correctly appending the rating value to the URL as a responseRating URL param. 👍

gypsydave5 commented 1 year ago

🥳 - thanks ben

gypsydave5 commented 1 year ago

image