Skip to content

Release 4.2058.0

Compare
Choose a tag to compare
@github-actions github-actions released this 13 Jan 15:46
· 14 commits to latest since this release
82706e5

WSTEAMA-1521 - JumpTo extra variations (#12266)

* WSTEAMA-1521 - JumpTo extra variations

* Update ArticlePage.tsx

* Add optimizely event tracking to OJs

* Update index.stories.tsx

* Type fixes for now

* Allow sendOptimizelyEvents to be undefined in other cases

* Story updates

* Make headings optional

* Move variation titles to translation file

* Update index.tsx

* Add new experiment flag

* Make variation variable name more generic

* Testing setting MVT ATI values

* Check for optimizely inside useOptimizelyVariation hook

* Update index.test.jsx

* Update index.test.ts

* Delete experimentTopStories as this is deleted in an upcoming PR

* Skip optimizely recommendation tests as this isn%27t used

* Revert "Skip optimizely recommendation tests as this isn%27t used"

This reverts commit 737886d.

* Comment out useOptimizelyVariation in view/click hooks

* Revert "Delete experimentTopStories as this is deleted in an upcoming PR"

This reverts commit 48f6c45.

* Revert useOptimizelyVariation changes

* Revert "Update index.test.ts"

This reverts commit d80f811.

* Update index.test.ts

* Update index.test.tsx

* Add optimizely variation to window object

* Add check for optimizely to ensure the experimentVariant value should be set

* Update index.stories.tsx

* Update index.stories.tsx

* Update index.stories.tsx

* Keep service name in translations

* Update index.tsx

* Use optimizely.getVariation API instead of window object

* Standardise naming convention for Optimizely keys

* Test fixes

* Remove && check since we%27re using optional chaining