This repository has been archived by the owner on Jul 15, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 171
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1930 from LedgerHQ/feature/rating
feature/rating ratings feature flag added
- Loading branch information
Showing
2 changed files
with
47 additions
and
1 deletion.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,4 +7,49 @@ export const defaultFeatures: DefaultFeatures = { | |
pushNotifications: { | ||
enabled: false, | ||
}, | ||
ratings: { | ||
enabled: false, | ||
params: { | ||
happy_moments: [ | ||
{ | ||
route_name: "ReceiveConfirmation", | ||
timer: 2000, | ||
type: "on_enter", | ||
}, | ||
{ | ||
route_name: "ClaimRewardsValidationSuccess", | ||
timer: 2000, | ||
type: "on_enter", | ||
}, | ||
{ | ||
route_name: "SendValidationSuccess", | ||
timer: 2000, | ||
type: "on_enter", | ||
}, | ||
{ | ||
route_name: "MarketDetail", | ||
timer: 3000, | ||
type: "on_enter", | ||
}, | ||
], | ||
conditions: { | ||
not_now_delay: { | ||
days: 15, | ||
}, | ||
disappointed_delay: { | ||
days: 90, | ||
}, | ||
satisfied_then_not_now_delay: { | ||
days: 3, | ||
}, | ||
minimum_accounts_number: 3, | ||
minimum_app_starts_number: 3, | ||
minimum_duration_since_app_first_start: { | ||
days: 3, | ||
}, | ||
minimum_number_of_app_starts_since_last_crash: 2, | ||
}, | ||
support_email: "[email protected]", | ||
}, | ||
}, | ||
}; |
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,11 @@ | ||
// Add others with union (e.g. "learn" | "market" | "foo") | ||
export type FeatureId = "learn" | "pushNotifications"; | ||
export type FeatureId = "learn" | "pushNotifications" | "ratings"; | ||
|
||
// We use objects instead of direct booleans for potential future improvements | ||
// like feature versioning etc | ||
export type Feature = { | ||
enabled: boolean; | ||
params?: any; | ||
}; | ||
|
||
export type DefaultFeatures = { [key in FeatureId]: Feature }; |
d65a585
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
✅ 2 txs ($25.60) for Bot Staging Explorer 'Ethereum'
Details of the 2 mutations
Spec BSC (6)
Spec Polygon (failed)
Spec Ethereum (failed)
Spec Ethereum Classic (6)
Spec Ethereum Ropsten (failed)
Details of the 11 uncovered mutations
Spec BSC (2)
Spec Polygon (2)
Spec Ethereum (6)
Spec Ethereum Ropsten (1)
Portfolio ($25.60)
Details of the 5 currencies
d65a585
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
✅ 56 txs ❌ 6 txs⚠️ 1 specs ($256.87) for Bot 'Phosphore'
1 critical spec errors
Spec Polkadot failed!
6 mutation errors
Details of the 62 mutations
Spec Algorand (6)
Spec Bitcoin (5)
Spec Bitcoin Testnet (22)
Spec Bitcoin Cash (7)
Spec Bitcoin Gold (5)
Spec Dash (2)
Spec Digibyte (7)
Spec DogeCoin (7)
Spec Komodo (5)
Spec Litecoin (7)
Spec Peercoin (5)
Spec PivX (5)
Spec Qtum (5)
Spec Stakenet (5)
Spec Vertcoin (5)
Spec Viacoin (5)
Spec ZCash (5)
Spec Horizen (5)
Spec Decred (failed)
Spec Celo (5)
Spec Cosmos (21)
Spec Crypto.org Testnet (7)
Spec Crypto.org (failed)
Spec Elrond (3)
Spec BSC (7)
Spec Polygon (10)
Spec Ethereum (failed)
Spec Ethereum Classic (6)
Spec Ethereum Ropsten (10)
Spec Polkadot (failed)
Spec XRP (5)
Spec Solana (7)
Spec Stellar (failed)
Spec Tezos (failed)
Spec Tron (failed)
Details of the 79 uncovered mutations
Spec Algorand (2)
Spec Bitcoin (4)
Spec Bitcoin Gold (2)
Spec Dash (4)
Spec Digibyte (2)
Spec DogeCoin (2)
Spec Komodo (1)
Spec Litecoin (1)
Spec Peercoin (1)
Spec PivX (1)
Spec Qtum (2)
Spec Stakenet (3)
Spec Vertcoin (2)
Spec Viacoin (3)
Spec ZCash (4)
Spec Horizen (1)
Spec Decred (4)
Spec Cosmos (3)
Spec Crypto.org (1)
Spec Elrond (1)
Spec BSC (2)
Spec Polygon (1)
Spec Ethereum (6)
Spec Polkadot (5)
Spec Solana (5)
Spec Stellar (1)
Spec Tezos (7)
Spec Tron (8)
Portfolio ($256.87)
Details of the 35 currencies
d65a585
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
✅ 2 txs ($26.28) for Bot Staging Explorer 'Ethereum'
Details of the 2 mutations
Spec BSC (6)
Spec Polygon (failed)
Spec Ethereum (failed)
Spec Ethereum Classic (6)
Spec Ethereum Ropsten (failed)
Details of the 11 uncovered mutations
Spec BSC (2)
Spec Polygon (2)
Spec Ethereum (6)
Spec Ethereum Ropsten (1)
Portfolio ($26.28)
Details of the 5 currencies
d65a585
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
✅ 57 txs ❌ 7 txs ($277.46) for Bot 'Phosphore'
7 mutation errors
Details of the 64 mutations
Spec Algorand (6)
Spec Bitcoin (5)
Spec Bitcoin Testnet (22)
Spec Bitcoin Cash (7)
Spec Bitcoin Gold (5)
Spec Dash (2)
Spec Digibyte (7)
Spec DogeCoin (7)
Spec Komodo (5)
Spec Litecoin (7)
Spec Peercoin (5)
Spec PivX (5)
Spec Qtum (5)
Spec Stakenet (5)
Spec Vertcoin (5)
Spec Viacoin (5)
Spec ZCash (5)
Spec Horizen (5)
Spec Decred (failed)
Spec Celo (5)
Spec Cosmos (21)
Spec Crypto.org Testnet (7)
Spec Crypto.org (failed)
Spec Elrond (3)
Spec BSC (7)
Spec Polygon (10)
Spec Ethereum (failed)
Spec Ethereum Classic (6)
Spec Ethereum Ropsten (10)
Spec Polkadot (2)
Spec XRP (5)
Spec Solana (7)
Spec Stellar (failed)
Spec Tezos (failed)
Spec Tron (failed)
Details of the 77 uncovered mutations
Spec Algorand (2)
Spec Bitcoin (4)
Spec Bitcoin Gold (2)
Spec Dash (4)
Spec Digibyte (2)
Spec DogeCoin (1)
Spec Komodo (1)
Spec Litecoin (1)
Spec Peercoin (1)
Spec PivX (1)
Spec Qtum (2)
Spec Stakenet (3)
Spec Vertcoin (2)
Spec Viacoin (2)
Spec ZCash (4)
Spec Horizen (1)
Spec Decred (4)
Spec Cosmos (4)
Spec Crypto.org (1)
Spec Elrond (1)
Spec BSC (2)
Spec Polygon (1)
Spec Ethereum (6)
Spec Polkadot (5)
Spec Solana (4)
Spec Stellar (1)
Spec Tezos (7)
Spec Tron (8)
Portfolio ($277.46)
Details of the 35 currencies
d65a585
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
✅ 54 txs ❌ 6 txs⚠️ 1 specs ($278.19) for Bot 'Phosphore'
1 critical spec errors
Spec Solana failed!
6 mutation errors
Details of the 60 mutations
Spec Algorand (6)
Spec Bitcoin (5)
Spec Bitcoin Testnet (22)
Spec Bitcoin Cash (7)
Spec Bitcoin Gold (5)
Spec Dash (2)
Spec Digibyte (7)
Spec DogeCoin (7)
Spec Komodo (5)
Spec Litecoin (7)
Spec Peercoin (5)
Spec PivX (5)
Spec Qtum (5)
Spec Stakenet (5)
Spec Vertcoin (5)
Spec Viacoin (5)
Spec ZCash (5)
Spec Horizen (5)
Spec Decred (failed)
Spec Celo (5)
Spec Cosmos (21)
Spec Crypto.org Testnet (7)
Spec Crypto.org (failed)
Spec Elrond (3)
Spec BSC (7)
Spec Polygon (10)
Spec Ethereum (failed)
Spec Ethereum Classic (6)
Spec Ethereum Ropsten (10)
Spec Polkadot (2)
Spec XRP (5)
Spec Solana (6)
Spec Stellar (failed)
Spec Tezos (failed)
Spec Tron (failed)
Details of the 81 uncovered mutations
Spec Algorand (2)
Spec Bitcoin (4)
Spec Bitcoin Cash (1)
Spec Bitcoin Gold (2)
Spec Dash (4)
Spec Digibyte (2)
Spec DogeCoin (1)
Spec Komodo (1)
Spec Litecoin (1)
Spec Peercoin (1)
Spec PivX (1)
Spec Qtum (2)
Spec Stakenet (2)
Spec Vertcoin (2)
Spec Viacoin (2)
Spec ZCash (4)
Spec Horizen (2)
Spec Decred (4)
Spec Cosmos (6)
Spec Crypto.org (1)
Spec Elrond (1)
Spec BSC (2)
Spec Polygon (1)
Spec Ethereum (6)
Spec Polkadot (5)
Spec Solana (5)
Spec Stellar (1)
Spec Tezos (7)
Spec Tron (8)
Portfolio ($278.19)
Details of the 35 currencies