-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(extension): shared wallets feature flags are now controlled via …
…posthog
- Loading branch information
1 parent
368acc1
commit 8dc2acd
Showing
17 changed files
with
142 additions
and
98 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 8 additions & 8 deletions
16
apps/browser-extension-wallet/src/providers/ExperimentsProvider/config.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,22 @@ | ||
import { ExperimentName, ExperimentsConfig, FallbackConfiguration } from './types'; | ||
|
||
export const fallbackConfiguration: FallbackConfiguration = { | ||
[ExperimentName.COMBINED_NAME_PASSWORD_ONBOARDING_SCREEN]: 'control', | ||
export const getDefaultFeatureFlags = (): FallbackConfiguration => ({ | ||
[ExperimentName.CREATE_PAPER_WALLET]: false, | ||
[ExperimentName.RESTORE_PAPER_WALLET]: false | ||
}; | ||
[ExperimentName.RESTORE_PAPER_WALLET]: false, | ||
[ExperimentName.SHARED_WALLETS]: false | ||
}); | ||
|
||
export const experiments: ExperimentsConfig = { | ||
[ExperimentName.COMBINED_NAME_PASSWORD_ONBOARDING_SCREEN]: { | ||
variants: ['control', 'test'], | ||
default: 'control' | ||
}, | ||
[ExperimentName.CREATE_PAPER_WALLET]: { | ||
value: false, | ||
default: false | ||
}, | ||
[ExperimentName.RESTORE_PAPER_WALLET]: { | ||
value: false, | ||
default: false | ||
}, | ||
[ExperimentName.SHARED_WALLETS]: { | ||
value: false, | ||
default: false | ||
} | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.