1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-24 11:01:41 +01:00
metamask-extension/ui/app/pages/settings
Brad Decker 2f50e9fd72
Restore timing function (#8774)
* restore and enhance the time est feature

background: we had a feature for showing a time estimate on pending txs
that was accidently removed during the redesign implementation. This PR
restores that feature and also enhances it:
1. Displays the time estimate on all views instead of just fullscreen
2. Uses Intl.RelativeTimeFormat to format the time
3. Adds a way to toggle the feature flag.
4. Uses a hook to calculate the time remaining instead of a component

* Update app/_locales/en/messages.json

Co-authored-by: Mark Stacey <markjstacey@gmail.com>

* do not display on test nets

Co-authored-by: Mark Stacey <markjstacey@gmail.com>
2020-06-12 13:46:01 -05:00
..
advanced-tab Restore timing function (#8774) 2020-06-12 13:46:01 -05:00
alerts-tab add useI18nContext shortcut hook (#8635) 2020-05-21 10:26:49 -05:00
contact-list-tab Consolidate and dedupe send selectors (#8506) 2020-05-04 12:06:28 -07:00
info-tab Simplify settings tab render functions (#8551) 2020-05-07 21:55:25 -03:00
networks-tab Warn users to only add custom networks that they trust (#8789) 2020-06-12 11:21:29 -07:00
security-tab Simplify settings tab render functions (#8551) 2020-05-07 21:55:25 -03:00
settings-tab Rename preferencesSelector selector to getPreferences (#8647) 2020-05-26 03:41:58 -02:30
index.js Address book send plus contact list (#6914) 2019-07-31 17:26:44 -02:30
index.scss Warn users to only add custom networks that they trust (#8789) 2020-06-12 11:21:29 -07:00
settings.component.js Implement asset page (#8696) 2020-06-01 14:54:32 -03:00
settings.container.js Implement asset page (#8696) 2020-06-01 14:54:32 -03:00