1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-10-22 11:22:43 +02:00
metamask-extension/app/scripts/lib
Mark Stacey df85ab6e10
Implement asset page (#8696)
A new page has been created for viewing assets. This replaces the old
`selectedToken` state, which previously would augment the home page
to show token-specific information.

The new asset page shows the standard token overview as seen previously
on the home page, plus a history filtered to show just transactions
relevant to that token.

The actions that were available in the old token list menu have been
moved to a "Token Options" menu that mirrors the "Account Options"
menu.

The `selectedTokenAddress` state has been removed, as it is no longer
being used for anything.

`getMetaMetricState` has been renamed to `getBackgroundMetaMetricState`
because its sole purpose is extracting data from the background state
to send metrics from the background. It's not really a selector, but
it was convenient for it to use the same selectors the UI uses to
extract background data, so I left it there for now.

A new Redux store has been added to track state related to browser history.
The most recent "overview" page (i.e. the home page or the asset page) is
currently being tracked, so that actions taken from the asset page can return
the user back to the asset page when the action has finished.
2020-06-01 14:54:32 -03:00
..
ens-ipfs Support IPNS address translations (#8502) 2020-05-14 07:56:27 -02:30
migrator Move default export declaration to Migrator class (#8407) 2020-04-26 00:02:41 -02:30
account-tracker.js Cleanup network enums (#8627) 2020-05-20 08:57:45 -07:00
auto-reload.js Define global web3 as non-enumerable (#8634) 2020-05-20 20:18:25 -07:00
backend-metametrics.js Implement asset page (#8696) 2020-06-01 14:54:32 -03:00
buy-eth-url.js Move export defaults statements alongside their objects (#8525) 2020-05-05 19:49:38 -02:30
cleanErrorStack.js Move export defaults statements alongside their objects (#8525) 2020-05-05 19:49:38 -02:30
ComposableObservableStore.js Move export defaults statements alongside their objects (#8525) 2020-05-05 19:49:38 -02:30
createLoggerMiddleware.js Move export defaults statements alongside their objects (#8525) 2020-05-05 19:49:38 -02:30
createOnboardingMiddleware.js Move export defaults statements alongside their objects (#8525) 2020-05-05 19:49:38 -02:30
createOriginMiddleware.js Move export defaults statements alongside their objects (#8525) 2020-05-05 19:49:38 -02:30
createStreamSink.js Move export defaults statements alongside their objects (#8525) 2020-05-05 19:49:38 -02:30
createTabIdMiddleware.js Move export defaults statements alongside their objects (#8525) 2020-05-05 19:49:38 -02:30
decrypt-message-manager.js Implementation encrypt/decrypt feature (#7831) 2020-02-19 14:24:16 -04:00
encryption-public-key-manager.js LoginPerSite: Support multiple accounts without automatic switching (#8079) 2020-03-06 13:34:56 -08:00
enums.js Cleanup network enums (#8627) 2020-05-20 08:57:45 -07:00
extractEthjsErrorMessage.js Move export defaults statements alongside their objects (#8525) 2020-05-05 19:49:38 -02:30
fetch-with-timeout.js Prevent accidental use of globals (#8340) 2020-04-15 14:23:27 -03:00
freezeGlobals.js Consistent jsdoc syntax (#7755) 2020-01-13 14:36:36 -04:00
get-first-preferred-lang-code.js Move export defaults statements alongside their objects (#8525) 2020-05-05 19:49:38 -02:30
getObjStructure.js Move export defaults statements alongside their objects (#8525) 2020-05-05 19:49:38 -02:30
local-store.js Consistent jsdoc syntax (#7755) 2020-01-13 14:36:36 -04:00
message-manager.js Enable arrow-parens ESLint rule 2020-02-15 17:04:21 -03:30
network-store.js Move export defaults statements alongside their objects (#8525) 2020-05-05 19:49:38 -02:30
nodeify.js Consistent jsdoc syntax (#7755) 2020-01-13 14:36:36 -04:00
notification-manager.js Remove unused NotificationManager#closePopup (#8530) 2020-05-05 21:02:29 -02:30
personal-message-manager.js Enable arrow-parens ESLint rule 2020-02-15 17:04:21 -03:30
random-id.js Move export defaults statements alongside their objects (#8525) 2020-05-05 19:49:38 -02:30
reportFailedTxToSentry.js Move export defaults statements alongside their objects (#8525) 2020-05-05 19:49:38 -02:30
seed-phrase-verifier.js Consistent jsdoc syntax (#7755) 2020-01-13 14:36:36 -04:00
select-chain-id.js Cleanup network enums (#8627) 2020-05-20 08:57:45 -07:00
setupFetchDebugging.js Move export defaults statements alongside their objects (#8525) 2020-05-05 19:49:38 -02:30
setupSentry.js Move export defaults statements alongside their objects (#8525) 2020-05-05 19:49:38 -02:30
stream-utils.js Consistent jsdoc syntax (#7755) 2020-01-13 14:36:36 -04:00
typed-message-manager.js Enable arrow-parens ESLint rule 2020-02-15 17:04:21 -03:30
util.js Delete unused util functions (#8622) 2020-05-20 10:36:41 -02:30