From f9026d23d4be18ac4a8ea1f7d4fcb04a325709cf Mon Sep 17 00:00:00 2001 From: Yoriiis <2563298+yoriiis@users.noreply.github.com> Date: Thu, 4 Jul 2024 12:13:42 +0200 Subject: [PATCH 1/2] Fix variation switch --- src/shared/assets/content-scripts/content-script.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/shared/assets/content-scripts/content-script.js b/src/shared/assets/content-scripts/content-script.js index cf770d4..382cefa 100644 --- a/src/shared/assets/content-scripts/content-script.js +++ b/src/shared/assets/content-scripts/content-script.js @@ -45,6 +45,7 @@ function changeVariation({ testId, variationId, cookieValue }) { const storage = JSON.parse(window.sessionStorage.getItem(storageKey)) || {} storage[testId] = variationId window.sessionStorage.setItem(storageKey, JSON.stringify(storage)) + window.sessionStorage.setItem('AB_TASTY_QA_ASSISTANT_ENV', 'staging') } /** From 5064b201b2d44bd107a3681dd4b49dc3411b7753 Mon Sep 17 00:00:00 2001 From: Yoriiis <2563298+yoriiis@users.noreply.github.com> Date: Thu, 4 Jul 2024 14:26:01 +0200 Subject: [PATCH 2/2] Update changelog and package version --- CHANGELOG.md | 6 ++++++ package-lock.json | 4 ++-- package.json | 2 +- src/shared/assets/manifests/manifest-v2.json | 2 +- src/shared/assets/manifests/manifest-v3.json | 2 +- 5 files changed, 11 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1c3f36c..938ecf5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # CHANGELOG +## 1.3.5 + +### Fixes + +- Fix variation changes (next) ([#35](https://github.com/yoriiis/abtasty-debugger/pull/35)) + ## 1.3.4 ### Fixes diff --git a/package-lock.json b/package-lock.json index 92898da..8ecb56a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "abtasty-debugger", - "version": "1.3.4", + "version": "1.3.5", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "abtasty-debugger", - "version": "1.3.4", + "version": "1.3.5", "license": "MIT", "dependencies": { "costro": "^1.0.6", diff --git a/package.json b/package.json index b3d5721..49a52d7 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "abtasty-debugger", - "version": "1.3.4", + "version": "1.3.5", "private": true, "description": "Browser extension that simplifies the debugging of A/B tests from AB Tasty and adds useful informations", "homepage": "https://github.com/yoriiis/abtasty-debugger", diff --git a/src/shared/assets/manifests/manifest-v2.json b/src/shared/assets/manifests/manifest-v2.json index 3196581..08eb92d 100644 --- a/src/shared/assets/manifests/manifest-v2.json +++ b/src/shared/assets/manifests/manifest-v2.json @@ -1,6 +1,6 @@ { "name": "AB Tasty Debugger", - "version": "1.3.4", + "version": "1.3.5", "description": "Debug A/B tests from AB Tasty. Open source.", "background": { "scripts": ["background.js"] diff --git a/src/shared/assets/manifests/manifest-v3.json b/src/shared/assets/manifests/manifest-v3.json index bb16883..555edfd 100644 --- a/src/shared/assets/manifests/manifest-v3.json +++ b/src/shared/assets/manifests/manifest-v3.json @@ -1,6 +1,6 @@ { "name": "AB Tasty Debugger", - "version": "1.3.4", + "version": "1.3.5", "description": "Debug A/B tests from AB Tasty. Open source.", "action": { "default_title": "AB Tasty Debugger",