1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-22 18:00:18 +01:00
metamask-extension/app/images
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
..
icons Add web3 shim usage notification (#10039) 2020-12-10 15:40:29 -08:00
logo Performance: Delivery optimized images (#7176) 2019-09-17 19:01:48 -03:00
videos/recovery-onboarding Adding recovery phrase video to onboarding process (#10717) 2021-04-13 15:29:44 -07:00
address-book.svg [Fix] 10365 My Accounts Removal (#10680) 2021-04-27 15:55:58 -02:30
alert-red.svg Performance: Delivery optimized images (#7176) 2019-09-17 19:01:48 -03:00
alert.svg Performance: Delivery optimized images (#7176) 2019-09-17 19:01:48 -03:00
arrow-popout.svg Performance: Delivery optimized images (#7176) 2019-09-17 19:01:48 -03:00
arrow-right.svg Performance: Delivery optimized images (#7176) 2019-09-17 19:01:48 -03:00
black-eth-logo.svg Add MetaMask Swaps (#9482) 2020-10-06 15:58:38 -02:30
bnb.png Additional swaps network support (#10721) 2021-03-25 18:22:37 -02:30
camera.svg Performance: Delivery optimized images (#7176) 2019-09-17 19:01:48 -03:00
caret-left-black.svg Performance: Delivery optimized images (#7176) 2019-09-17 19:01:48 -03:00
caret-left.svg Performance: Delivery optimized images (#7176) 2019-09-17 19:01:48 -03:00
caret-right.svg Performance: Delivery optimized images (#7176) 2019-09-17 19:01:48 -03:00
check-green-solid.svg Performance: Delivery optimized images (#7176) 2019-09-17 19:01:48 -03:00
check-icon.svg Performance: Delivery optimized images (#7176) 2019-09-17 19:01:48 -03:00
check-white.svg Performance: Delivery optimized images (#7176) 2019-09-17 19:01:48 -03:00
close-gray.svg Performance: Delivery optimized images (#7176) 2019-09-17 19:01:48 -03:00
connect-icon.svg Performance: Delivery optimized images (#7176) 2019-09-17 19:01:48 -03:00
connect-white.svg Connect distinct accounts per site (#7004) 2019-12-03 09:35:56 -08:00
copy.svg Performance: Delivery optimized images (#7176) 2019-09-17 19:01:48 -03:00
deposit-eth.svg Performance: Delivery optimized images (#7176) 2019-09-17 19:01:48 -03:00
double-arrow.svg Performance: Delivery optimized images (#7176) 2019-09-17 19:01:48 -03:00
down-arrow-grey.svg Reapply view quote screen designs (#9905) 2020-12-08 10:47:53 -06:00
download-alt.svg Performance: Delivery optimized images (#7176) 2019-09-17 19:01:48 -03:00
download.svg Performance: Delivery optimized images (#7176) 2019-09-17 19:01:48 -03:00
enslogo.svg Performance: Delivery optimized images (#7176) 2019-09-17 19:01:48 -03:00
eth_logo.svg Update ETH logo, update deposit Ether logo height and width (#7239) 2019-10-02 10:15:44 -06:00
eth.svg Performance: Delivery optimized images (#7176) 2019-09-17 19:01:48 -03:00
forward-carrat.svg Performance: Delivery optimized images (#7176) 2019-09-17 19:01:48 -03:00
help.svg Performance: Delivery optimized images (#7176) 2019-09-17 19:01:48 -03:00
icon-16.png Utilize the full size of icon space (#7408) 2019-11-14 18:54:24 -04:00
icon-19.png Utilize the full size of icon space (#7408) 2019-11-14 18:54:24 -04:00
icon-32.png Utilize the full size of icon space (#7408) 2019-11-14 18:54:24 -04:00
icon-38.png Utilize the full size of icon space (#7408) 2019-11-14 18:54:24 -04:00
icon-48.png Add 48x48 icon (#9993) 2020-12-03 13:14:21 -08:00
icon-64.png Utilize the full size of icon space (#7408) 2019-11-14 18:54:24 -04:00
icon-128.png Utilize the full size of icon space (#7408) 2019-11-14 18:54:24 -04:00
icon-512.png Update 512px icon (#7434) 2019-11-15 13:23:59 -04:00
import-account.svg Performance: Delivery optimized images (#7176) 2019-09-17 19:01:48 -03:00
info-logo.png Performance: Delivery optimized images (#7176) 2019-09-17 19:01:48 -03:00
ledger-logo.svg Performance: Delivery optimized images (#7176) 2019-09-17 19:01:48 -03:00
loading.svg Performance: Delivery optimized images (#7176) 2019-09-17 19:01:48 -03:00
lock.svg Performance: Delivery optimized images (#7176) 2019-09-17 19:01:48 -03:00
loginglogo.svg Performance: Delivery optimized images (#7176) 2019-09-17 19:01:48 -03:00
meta-shield.svg Performance: Delivery optimized images (#7176) 2019-09-17 19:01:48 -03:00
metrics-chart.svg Performance: Delivery optimized images (#7176) 2019-09-17 19:01:48 -03:00
mm-bolt.svg Performance: Delivery optimized images (#7176) 2019-09-17 19:01:48 -03:00
mm-info-icon.svg Performance: Delivery optimized images (#7176) 2019-09-17 19:01:48 -03:00
mm-secure.svg Performance: Delivery optimized images (#7176) 2019-09-17 19:01:48 -03:00
mobile-link-qr.svg Whats new popup (#10583) 2021-04-28 14:21:41 -02:30
open.svg Performance: Delivery optimized images (#7176) 2019-09-17 19:01:48 -03:00
permissions-check.svg Connect distinct accounts per site (#7004) 2019-12-03 09:35:56 -08:00
plug-in-wallet.svg Implement Ledger Live bridge (#10293) 2021-04-26 13:05:48 -05:00
plus-btn-white.svg Performance: Delivery optimized images (#7176) 2019-09-17 19:01:48 -03:00
popout.svg Performance: Delivery optimized images (#7176) 2019-09-17 19:01:48 -03:00
qr-blue.svg Performance: Delivery optimized images (#7176) 2019-09-17 19:01:48 -03:00
qr.svg Performance: Delivery optimized images (#7176) 2019-09-17 19:01:48 -03:00
search-black.svg Performance: Delivery optimized images (#7176) 2019-09-17 19:01:48 -03:00
search.svg Performance: Delivery optimized images (#7176) 2019-09-17 19:01:48 -03:00
settings.svg Performance: Delivery optimized images (#7176) 2019-09-17 19:01:48 -03:00
single-arrow.svg Performance: Delivery optimized images (#7176) 2019-09-17 19:01:48 -03:00
sleuth.svg Performance: Delivery optimized images (#7176) 2019-09-17 19:01:48 -03:00
source-logos-all.svg Add MetaMask Swaps (#9482) 2020-10-06 15:58:38 -02:30
spinner.gif Performance: Delivery optimized images (#7176) 2019-09-17 19:01:48 -03:00
support.svg Fix 10458 - Understand where to get support (#10895) 2021-04-22 17:31:13 -05:00
switch_acc.svg Performance: Delivery optimized images (#7176) 2019-09-17 19:01:48 -03:00
thin-plus.svg Performance: Delivery optimized images (#7176) 2019-09-17 19:01:48 -03:00
tokensearch.svg Performance: Delivery optimized images (#7176) 2019-09-17 19:01:48 -03:00
trezor-logo.svg Performance: Delivery optimized images (#7176) 2019-09-17 19:01:48 -03:00
user-check.svg Redesign approve screen (#7271) 2019-11-05 11:43:48 -03:30
warning.svg Performance: Delivery optimized images (#7176) 2019-09-17 19:01:48 -03:00
webcam.svg Performance: Delivery optimized images (#7176) 2019-09-17 19:01:48 -03:00
wyre.svg Performance: Delivery optimized images (#7176) 2019-09-17 19:01:48 -03:00