-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* POC Citrouille * Add hooks * Add halloween theme & icons * Make use of feature flag * Add caching to useFeatureFlags * Use session storage for flags --------- Co-authored-by: thibautbremand <thibaut.bremand@gmail.com>
- Loading branch information
1 parent
2150f33
commit d08d421
Showing
13 changed files
with
279 additions
and
95 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
export const SECONDARY_GRAY = '#797A7F'; | ||
export const ERROR_RED = '#F44336'; | ||
export const GEMWALLET_BLUE = '#87CEEB'; | ||
export const GEMWALLET_HALLOWEEN_ORANGE = '#FFA500'; |
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,10 +1,14 @@ | ||
// Keys | ||
export const STORAGE_CURRENT_WINDOW_ID = 'currentWindowId'; | ||
export const STORAGE_CUSTOM_NETWORKS = 'customNetworks'; | ||
export const STORAGE_FEATURE_FLAGS = 'featureFlags'; | ||
export const STORAGE_NETWORK = 'network'; | ||
export const STORAGE_PERMISSION_SUBMIT_BULK = 'permissionSubmitBulkTransactions'; | ||
export const STORAGE_REMEMBER_SESSION = 'rememberSession'; | ||
export const STORAGE_SELECTED_WALLET = 'selectedWallet'; | ||
export const STORAGE_STATE_TRANSACTION = 'hasTxInProgress'; | ||
export const STORAGE_TRUSTED_APPS = 'trustedApps'; | ||
export const STORAGE_WALLETS = 'wallets'; | ||
|
||
// TTL | ||
export const TTL_FEATURE_FLAGS = 60 * 60 * 1000; // 1 hour |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
export * from './useFeatureFlags'; |
Oops, something went wrong.