1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00
metamask-extension/app/scripts/migrations
Dan J Miller b73f543b23
Whats new popup (#10583)
* 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>
2021-04-28 14:21:41 -02:30
..
002.js @metamask/eslint config@5.0.0 (#10358) 2021-02-04 10:15:23 -08:00
003.js @metamask/eslint config@5.0.0 (#10358) 2021-02-04 10:15:23 -08:00
004.js @metamask/eslint config@5.0.0 (#10358) 2021-02-04 10:15:23 -08:00
005.js @metamask/eslint config@5.0.0 (#10358) 2021-02-04 10:15:23 -08:00
006.js @metamask/eslint config@5.0.0 (#10358) 2021-02-04 10:15:23 -08:00
007.js @metamask/eslint config@5.0.0 (#10358) 2021-02-04 10:15:23 -08:00
008.js @metamask/eslint config@5.0.0 (#10358) 2021-02-04 10:15:23 -08:00
009.js @metamask/eslint config@5.0.0 (#10358) 2021-02-04 10:15:23 -08:00
010.js @metamask/eslint config@5.0.0 (#10358) 2021-02-04 10:15:23 -08:00
011.js @metamask/eslint config@5.0.0 (#10358) 2021-02-04 10:15:23 -08:00
012.js @metamask/eslint config@5.0.0 (#10358) 2021-02-04 10:15:23 -08:00
013.js @metamask/eslint config@5.0.0 (#10358) 2021-02-04 10:15:23 -08:00
014.js @metamask/eslint config@5.0.0 (#10358) 2021-02-04 10:15:23 -08:00
015.js @metamask/eslint config@5.0.0 (#10358) 2021-02-04 10:15:23 -08:00
016.js @metamask/eslint config@5.0.0 (#10358) 2021-02-04 10:15:23 -08:00
017.js @metamask/eslint config@5.0.0 (#10358) 2021-02-04 10:15:23 -08:00
018.js @metamask/eslint config@5.0.0 (#10358) 2021-02-04 10:15:23 -08:00
019.js @metamask/eslint config@5.0.0 (#10358) 2021-02-04 10:15:23 -08:00
020.js @metamask/eslint config@5.0.0 (#10358) 2021-02-04 10:15:23 -08:00
021.js @metamask/eslint config@5.0.0 (#10358) 2021-02-04 10:15:23 -08:00
021.test.js colocate tests in flat structure (#10655) 2021-03-16 16:00:08 -05:00
022.js @metamask/eslint config@5.0.0 (#10358) 2021-02-04 10:15:23 -08:00
022.test.js colocate tests in flat structure (#10655) 2021-03-16 16:00:08 -05:00
023.js @metamask/eslint config@5.0.0 (#10358) 2021-02-04 10:15:23 -08:00
023.test.js colocate tests in flat structure (#10655) 2021-03-16 16:00:08 -05:00
024.js @metamask/eslint config@5.0.0 (#10358) 2021-02-04 10:15:23 -08:00
024.test.js colocate tests in flat structure (#10655) 2021-03-16 16:00:08 -05:00
025.js @metamask/eslint config@5.0.0 (#10358) 2021-02-04 10:15:23 -08:00
025.test.js colocate tests in flat structure (#10655) 2021-03-16 16:00:08 -05:00
026.js @metamask/eslint config@5.0.0 (#10358) 2021-02-04 10:15:23 -08:00
026.test.js colocate tests in flat structure (#10655) 2021-03-16 16:00:08 -05:00
027.js @metamask/eslint config@5.0.0 (#10358) 2021-02-04 10:15:23 -08:00
027.test.js colocate tests in flat structure (#10655) 2021-03-16 16:00:08 -05:00
028.js @metamask/eslint config@5.0.0 (#10358) 2021-02-04 10:15:23 -08:00
028.test.js colocate tests in flat structure (#10655) 2021-03-16 16:00:08 -05:00
029.js @metamask/eslint config@5.0.0 (#10358) 2021-02-04 10:15:23 -08:00
029.test.js colocate tests in flat structure (#10655) 2021-03-16 16:00:08 -05:00
030.js @metamask/eslint config@5.0.0 (#10358) 2021-02-04 10:15:23 -08:00
030.test.js colocate tests in flat structure (#10655) 2021-03-16 16:00:08 -05:00
031.js @metamask/eslint config@5.0.0 (#10358) 2021-02-04 10:15:23 -08:00
031.test.js colocate tests in flat structure (#10655) 2021-03-16 16:00:08 -05:00
032.js @metamask/eslint config@5.0.0 (#10358) 2021-02-04 10:15:23 -08:00
033.js @metamask/eslint config@5.0.0 (#10358) 2021-02-04 10:15:23 -08:00
033.test.js colocate tests in flat structure (#10655) 2021-03-16 16:00:08 -05:00
034.js @metamask/eslint config@5.0.0 (#10358) 2021-02-04 10:15:23 -08:00
034.test.js colocate tests in flat structure (#10655) 2021-03-16 16:00:08 -05:00
035.js @metamask/eslint config@5.0.0 (#10358) 2021-02-04 10:15:23 -08:00
035.test.js colocate tests in flat structure (#10655) 2021-03-16 16:00:08 -05:00
036.js @metamask/eslint config@5.0.0 (#10358) 2021-02-04 10:15:23 -08:00
036.test.js colocate tests in flat structure (#10655) 2021-03-16 16:00:08 -05:00
037.js @metamask/eslint config@5.0.0 (#10358) 2021-02-04 10:15:23 -08:00
037.test.js colocate tests in flat structure (#10655) 2021-03-16 16:00:08 -05:00
038.js @metamask/eslint config@5.0.0 (#10358) 2021-02-04 10:15:23 -08:00
038.test.js colocate tests in flat structure (#10655) 2021-03-16 16:00:08 -05:00
039.js upgrade ethereumjs util (#10886) 2021-04-16 10:05:13 -05:00
039.test.js colocate tests in flat structure (#10655) 2021-03-16 16:00:08 -05:00
040.js @metamask/eslint config@5.0.0 (#10358) 2021-02-04 10:15:23 -08:00
040.test.js colocate tests in flat structure (#10655) 2021-03-16 16:00:08 -05:00
041.js @metamask/eslint config@5.0.0 (#10358) 2021-02-04 10:15:23 -08:00
041.test.js colocate tests in flat structure (#10655) 2021-03-16 16:00:08 -05:00
042.js @metamask/eslint config@5.0.0 (#10358) 2021-02-04 10:15:23 -08:00
042.test.js colocate tests in flat structure (#10655) 2021-03-16 16:00:08 -05:00
043.js @metamask/eslint config@5.0.0 (#10358) 2021-02-04 10:15:23 -08:00
043.test.js colocate tests in flat structure (#10655) 2021-03-16 16:00:08 -05:00
044.js @metamask/eslint config@5.0.0 (#10358) 2021-02-04 10:15:23 -08:00
044.test.js colocate tests in flat structure (#10655) 2021-03-16 16:00:08 -05:00
045.js @metamask/eslint config@5.0.0 (#10358) 2021-02-04 10:15:23 -08:00
045.test.js colocate tests in flat structure (#10655) 2021-03-16 16:00:08 -05:00
046.js @metamask/eslint config@5.0.0 (#10358) 2021-02-04 10:15:23 -08:00
046.test.js colocate tests in flat structure (#10655) 2021-03-16 16:00:08 -05:00
047.js @metamask/eslint config@5.0.0 (#10358) 2021-02-04 10:15:23 -08:00
047.test.js colocate tests in flat structure (#10655) 2021-03-16 16:00:08 -05:00
048.js @metamask/eslint config@5.0.0 (#10358) 2021-02-04 10:15:23 -08:00
048.test.js @metamask/eslint-config*@6.0.0 (#10858) 2021-04-08 14:34:55 -07:00
049.js @metamask/eslint config@5.0.0 (#10358) 2021-02-04 10:15:23 -08:00
049.test.js colocate tests in flat structure (#10655) 2021-03-16 16:00:08 -05:00
050.js Fix 10036 - Prevent odd localStorage migration error in Firefox (#10884) 2021-04-14 09:24:17 -05:00
050.test.js colocate tests in flat structure (#10655) 2021-03-16 16:00:08 -05:00
051.js @metamask/eslint config@5.0.0 (#10358) 2021-02-04 10:15:23 -08:00
051.test.js colocate tests in flat structure (#10655) 2021-03-16 16:00:08 -05:00
052.js key tokens by chainId (#10510) 2021-02-26 09:40:25 -06:00
052.test.js colocate tests in flat structure (#10655) 2021-03-16 16:00:08 -05:00
053.js remove transactionCategory in favor of more types (#10615) 2021-03-10 14:16:44 -06:00
053.test.js colocate tests in flat structure (#10655) 2021-03-16 16:00:08 -05:00
054.js Fixing incorrectly typed token decimal attribute (#10666) 2021-03-19 10:17:39 -07:00
054.test.js Fixing incorrectly typed token decimal attribute (#10666) 2021-03-19 10:17:39 -07:00
055.js make migration more safe (#10689) 2021-03-22 10:21:52 -05:00
055.test.js refactor incoming tx controller (#10639) 2021-03-19 16:54:30 -05:00
056.js Fix 10517 - Prevent tokens without addresses from being added to token list (#10593) 2021-03-29 16:05:36 -05:00
056.test.js Fix 10517 - Prevent tokens without addresses from being added to token list (#10593) 2021-03-29 16:05:36 -05:00
057.js Refactor Tx State Manager (#10672) 2021-03-30 09:54:05 -05:00
057.test.js Refactor Tx State Manager (#10672) 2021-03-30 09:54:05 -05:00
058.js Whats new popup (#10583) 2021-04-28 14:21:41 -02:30
058.test.js Whats new popup (#10583) 2021-04-28 14:21:41 -02:30
fail-tx.js @metamask/eslint config@5.0.0 (#10358) 2021-02-04 10:15:23 -08:00
index.js Whats new popup (#10583) 2021-04-28 14:21:41 -02:30
migrations.test.js colocate tests in flat structure (#10655) 2021-03-16 16:00:08 -05:00
template.js @metamask/eslint config@5.0.0 (#10358) 2021-02-04 10:15:23 -08:00
template.test.js colocate tests in flat structure (#10655) 2021-03-16 16:00:08 -05:00