1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00
metamask-extension/ui/app
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
..
components Restore timing function (#8774) 2020-06-12 13:46:01 -05:00
contexts Implement asset page (#8696) 2020-06-01 14:54:32 -03:00
css Fix connect hardware styling (#8680) 2020-05-28 11:47:48 -07:00
ducks Remove some unused state keys (#8776) 2020-06-10 14:51:12 -02:30
helpers Extract token to fiat conversion (#8777) 2020-06-10 15:04:56 -03:00
hooks Restore timing function (#8774) 2020-06-12 13:46:01 -05:00
pages Restore timing function (#8774) 2020-06-12 13:46:01 -05:00
selectors Permissions: Do not display HTTP/HTTPS URL schemes for unique hosts (#8768) 2020-06-09 13:56:24 -07:00
store fix calling redirect immediately on cancel 2020-06-11 12:55:35 -07:00