Skip to content

Commit

Permalink
Merge pull request #35 from yoriiis/fix/switch-variation
Browse files Browse the repository at this point in the history
Fix variation switch
  • Loading branch information
yoriiis authored Jul 4, 2024
2 parents 2bc6592 + 5064b20 commit 781e83c
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 5 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
1 change: 1 addition & 0 deletions src/shared/assets/content-scripts/content-script.js
Original file line number Diff line number Diff line change
Expand Up @@ -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')
}

/**
Expand Down
2 changes: 1 addition & 1 deletion src/shared/assets/manifests/manifest-v2.json
Original file line number Diff line number Diff line change
@@ -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"]
Expand Down
2 changes: 1 addition & 1 deletion src/shared/assets/manifests/manifest-v3.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down

0 comments on commit 781e83c

Please sign in to comment.