mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-26 20:39:08 +01:00
b73f543b23
* Add 'What's New' notification popup * Move selectors from shared/notifications into ui/ directory * Use keys for localized message in whats new notifications objects, to ensure notifications will be translated. * Remove unused swaps intro popup locale messages * Fix keys of whats new notification locales * Remove notifications messages and descriptions from comment in shared/notifications * Move notifcationActionFunctions to shared/notifications and make it stateless * Get notification data from constants instead of state in whats-new-popup * Code cleanup * Fix build quote reference to swapsEthToken, broken during rebase * Rename notificationFilters to notificationToExclude to clarify its purpose * Documentation for getSortedNotificationsToShow * Move notification action functions from shared/ to whats-new-popup.js * Stop setting swapsWelcomeMessageHasBeenShown to state in app-state controller * Update e2e tests for whats new popup changes * Updating migration files * Addressing feedback part 1 * Addressing feedback part 2 * Remove unnecessary div in whats-new-popup * Change getNotificationsToExclude to getNotificationsToInclude for use in the getSortedNotificationsToShow selector * Delete intro-popup directory and test files * Lint fix * Add notifiction state to address-entry fixture * Use two separate functions for rendering first and subsequent notifications in the whats-new-popup * Ensure that string literals are passed to t for whats new popup text * Update import-ui fixtures to include notificaiton controller state * Remove unnecessary, accidental change confirm-approve * Remove swaps notification in favour of mobile swaps as first notifcation and TBD 3rd notification * Update whats-new-popup to use intersection observer api to detect if notification has been seen * Add notifications to send-edit and threebox e2e test fixtures * Update ui/app/selectors/selectors.js Co-authored-by: Mark Stacey <markjstacey@gmail.com> * Update ui/app/selectors/selectors.js Co-authored-by: Mark Stacey <markjstacey@gmail.com> * Clean up locale code for whats-new-popup notifications * Disconnect observers in whats-new-popup when their callback is first called * Add test case for migration 58 for when the AppStateController does not exist * Rename popover components containerRef to popoverWrapRef * Fix messages.json * Update notification messages and images * Rename popoverWrapRef -> popoverRef in whats-new-popup and popover.component * Only create one observer, and only after images have loaded, in whats-new-popup * Set width and height on whats-new-popup image, instead of setting state on img load * Update ui/app/components/app/whats-new-popup/whats-new-popup.js Co-authored-by: Mark Stacey <markjstacey@gmail.com> * Code clean up in whats new popup re: notification rendering and action functions * Code cleanup in render notification functions of whats-new-popup * Update ui/app/components/app/whats-new-popup/whats-new-popup.js Co-authored-by: Mark Stacey <markjstacey@gmail.com> * lint fix * Update and localize notification dates * Clean up date code in shred/notifications/index.js Co-authored-by: ryanml <ryanlanese@gmail.com> Co-authored-by: Mark Stacey <markjstacey@gmail.com>
137 lines
3.6 KiB
JSON
137 lines
3.6 KiB
JSON
{
|
|
"data": {
|
|
"AppStateController": {
|
|
"mkrMigrationReminderTimestamp": null
|
|
},
|
|
"CachedBalancesController": {
|
|
"cachedBalances": {
|
|
"4": {}
|
|
}
|
|
},
|
|
"CurrencyController": {
|
|
"conversionDate": 1594323667.203,
|
|
"conversionRate": 14205.88,
|
|
"currentCurrency": "php",
|
|
"nativeCurrency": "ETH"
|
|
},
|
|
"IncomingTransactionsController": {
|
|
"incomingTransactions": {},
|
|
"incomingTxLastFetchedBlocksByNetwork": {
|
|
"goerli": null,
|
|
"kovan": null,
|
|
"mainnet": null,
|
|
"rinkeby": 5570536
|
|
}
|
|
},
|
|
"KeyringController": {
|
|
"vault": "{\"data\":\"s6TpYjlUNsn7ifhEFTkuDGBUM1GyOlPrim7JSjtfIxgTt8/6MiXgiR/CtFfR4dWW2xhq85/NGIBYEeWrZThGdKGarBzeIqBfLFhw9n509jprzJ0zc2Rf+9HVFGLw+xxC4xPxgCS0IIWeAJQ+XtGcHmn0UZXriXm8Ja4kdlow6SWinB7sr/WM3R0+frYs4WgllkwggDf2/Tv6VHygvLnhtzp6hIJFyTjh+l/KnyJTyZW1TkZhDaNDzX3SCOHT\",\"iv\":\"FbeHDAW5afeWNORfNJBR0Q==\",\"salt\":\"TxZ+WbCW6891C9LK/hbMAoUsSEW1E8pyGLVBU6x5KR8=\"}"
|
|
},
|
|
"NetworkController": {
|
|
"network": "1337",
|
|
"provider": {
|
|
"nickname": "Localhost 8545",
|
|
"rpcUrl": "http://localhost:8545",
|
|
"chainId": "0x539",
|
|
"ticker": "ETH",
|
|
"type": "rpc"
|
|
}
|
|
},
|
|
"NotificationController": {
|
|
"notifications": {
|
|
"1": {
|
|
"isShown": true
|
|
},
|
|
"2": {
|
|
"isShown": true
|
|
},
|
|
"3": {
|
|
"isShown": true
|
|
}
|
|
}
|
|
},
|
|
"OnboardingController": {
|
|
"onboardingTabs": {},
|
|
"seedPhraseBackedUp": false
|
|
},
|
|
"PermissionsMetadata": {
|
|
"domainMetadata": {
|
|
"metamask.github.io": {
|
|
"icon": null,
|
|
"name": "M E T A M A S K M E S H T E S T"
|
|
}
|
|
},
|
|
"permissionsHistory": {},
|
|
"permissionsLog": [
|
|
{
|
|
"id": 746677923,
|
|
"method": "eth_accounts",
|
|
"methodType": "restricted",
|
|
"origin": "metamask.github.io",
|
|
"request": {
|
|
"id": 746677923,
|
|
"jsonrpc": "2.0",
|
|
"method": "eth_accounts",
|
|
"origin": "metamask.github.io",
|
|
"params": []
|
|
},
|
|
"requestTime": 1575697241368,
|
|
"response": {
|
|
"id": 746677923,
|
|
"jsonrpc": "2.0",
|
|
"result": []
|
|
},
|
|
"responseTime": 1575697241370,
|
|
"success": true
|
|
}
|
|
]
|
|
},
|
|
"PreferencesController": {
|
|
"accountTokens": {
|
|
"0x5cfe73b6021e818b776b421b1c4db2474086a7e1": {
|
|
"rinkeby": [],
|
|
"ropsten": []
|
|
}
|
|
},
|
|
"assetImages": {},
|
|
"completedOnboarding": true,
|
|
"currentLocale": "en",
|
|
"featureFlags": {
|
|
"showIncomingTransactions": true,
|
|
"transactionTime": false
|
|
},
|
|
"firstTimeFlowType": "create",
|
|
"forgottenPassword": false,
|
|
"frequentRpcListDetail": [],
|
|
"identities": {
|
|
"0x5cfe73b6021e818b776b421b1c4db2474086a7e1": {
|
|
"address": "0x5cfe73b6021e818b776b421b1c4db2474086a7e1",
|
|
"name": "Account 1"
|
|
}
|
|
},
|
|
"knownMethodData": {},
|
|
"lostIdentities": {},
|
|
"metaMetricsId": null,
|
|
"metaMetricsSendCount": 0,
|
|
"participateInMetaMetrics": false,
|
|
"preferences": {
|
|
"showFiatInTestnets": true,
|
|
"useNativeCurrencyAsPrimaryCurrency": true
|
|
},
|
|
"selectedAddress": "0x5cfe73b6021e818b776b421b1c4db2474086a7e1",
|
|
"suggestedTokens": {},
|
|
"tokens": [],
|
|
"useBlockie": false,
|
|
"useNonceField": false,
|
|
"usePhishDetect": true
|
|
},
|
|
"config": {},
|
|
"firstTimeInfo": {
|
|
"date": 1575697234195,
|
|
"version": "7.7.0"
|
|
}
|
|
},
|
|
"meta": {
|
|
"version": 40
|
|
}
|
|
}
|