George Marshall
739075662c
Migrating Icon to typescript and deprecating JS component ( #18431 )
...
* Migrating Icon to typescript and deprecating JS component
* gw suggestions (#18434 )
---------
Co-authored-by: Garrett Bear <gwhisten@gmail.com>
2023-04-04 09:48:04 -07:00
Elliot Winkler
1304ec7af5
Convert shared/constants/metametrics to TS ( #18353 )
...
We want to convert NetworkController to TypeScript in order to be able
to compare differences in the controller between in this repo and the
core repo. To do this, however, we need to convert the dependencies of
the controller to TypeScript.
As a part of this effort, this commit converts
`shared/constants/metametrics` to TypeScript. Note that simple objects
have been largely replaced with enums. There are some cases where I even
split up some of these objects into multiple enums.
Co-authored-by: Mark Stacey <markjstacey@gmail.com>
2023-04-03 09:31:04 -06:00
Pedro Figueiredo
05f0006684
Fix aria label error on the console ( #18370 )
...
* fix aria label bug
* improve solution
* improve solution
* improve solution
* update snapshot
2023-03-30 18:33:42 +01:00
Albert Olivé
b5184db620
[MMI] Added code fencing in keyring-label component ( #17993 )
...
* Added code fencing in keyring-label component
* Updated tests
2023-03-30 09:42:59 +02:00
Mark Stacey
d6b49ae383
Refactor KeyringTypes constant ( #17490 )
...
The `HardwareKeyringTypes` constant has been renamed to `KeyringTypes`
and moved to a separate constants module, to reflect that it contains
more than just hardware wallet keyring types. This corrects a mistake
made recently during a TypeScript conversion.
2023-03-21 12:13:22 -02:30
David Walsh
eb380f92ef
UX: Icon: Remove unwanted aria label ( #17903 )
2023-02-27 10:43:06 -06:00
David Walsh
e20c70efd5
UX: Update Settings Icon ( #17561 )
...
* UX: Update Settings Icon
* Remove font-awesome usage
* Remove from files to convert
* Fix lint
2023-02-26 20:42:03 -06:00
David Walsh
09a170bfe2
UX: Icons: Remove icon-import ( #17816 )
...
* UX: Icons: Remove icon-import
* Add new icon
2023-02-23 15:19:23 -06:00
David Walsh
09c60e2038
UX: Icons: Remove IconCheck and fa-check ( #17787 )
...
* UX: Icons: Remove IconCheck and fa-check
* update jest snapshots
* Update story
* Remove dead CSS
* Update ui/components/app/account-menu/account-menu.component.js
Co-authored-by: George Marshall <george.marshall@consensys.net>
* Update ui/components/app/dropdowns/network-dropdown.js
Co-authored-by: George Marshall <george.marshall@consensys.net>
* Update ui/components/app/modals/metametrics-opt-in-modal/metametrics-opt-in-modal.component.js
Co-authored-by: George Marshall <george.marshall@consensys.net>
* Update ui/pages/settings/networks-tab/networks-list-item/networks-list-item.js
Co-authored-by: George Marshall <george.marshall@consensys.net>
* Update ui/pages/settings/networks-tab/networks-list-item/networks-list-item.js
Co-authored-by: George Marshall <george.marshall@consensys.net>
* Update ui/pages/permissions-connect/redirect/permissions-redirect.component.js
Co-authored-by: George Marshall <george.marshall@consensys.net>
* Update ui/pages/send/send-content/add-recipient/domain-input.component.js
Co-authored-by: George Marshall <george.marshall@consensys.net>
* Update ui/pages/onboarding-flow/metametrics/metametrics.js
Co-authored-by: George Marshall <george.marshall@consensys.net>
* Update ui/components/app/modals/transaction-confirmed/transaction-confirmed.component.js
Co-authored-by: George Marshall <george.marshall@consensys.net>
* Update ui/components/app/modals/metametrics-opt-in-modal/metametrics-opt-in-modal.component.js
Co-authored-by: George Marshall <george.marshall@consensys.net>
* Fix jest snapshots
* Update sizes of network andd account menu checks
* Fix ICON_SIZES in account menu
* Improvements
* Use IconColor
* Use IconColor
* Lint
* Update snapshots
---------
Co-authored-by: George Marshall <george.marshall@consensys.net>
2023-02-23 07:19:28 -06:00
David Walsh
74ef8e4fa4
UX: Icon: Remove Plus icon ( #17666 )
2023-02-16 07:26:26 -06:00
David Walsh
7774ee6e2f
UX: Replace all fa-bell instances with Notification icon ( #17524 )
...
* UX: Replace all fa-bell instances with Notification icon
* Fix flask comment fencing
* Fix import error
2023-02-10 19:33:11 -06:00
David Walsh
c61576e33c
UX: Icons: Remove legacy connect icon ( #17673 )
2023-02-10 19:32:52 -06:00
David Walsh
710b1a3fbf
UX: Update support icon ( #17560 )
2023-02-03 16:05:51 -06:00
Brad Decker
02b2d7fa42
Dead and redundant code removal ( #17512 )
2023-02-02 16:00:05 -06:00
ryanml
a19a5d60d3
Convert shared/constants/hardware-wallets.js -> Typescript ( #17310 )
2023-01-20 09:14:40 -06:00
David Walsh
9530797a7a
Create constants for all keyring types ( #16575 )
2022-11-21 08:23:35 -06:00
George Marshall
653031b909
Updating all background-default hovers colors ( #16519 )
2022-11-17 12:53:51 -08:00
Filip Sekulic
6e13524bcd
Remove related UI code from the app dir ( #15384 )
...
Co-authored-by: metamaskbot <metamaskbot@users.noreply.github.com>
Co-authored-by: Brad Decker <bhdecker84@gmail.com>
Co-authored-by: Akintayo A. Olusegun <akintayo.segun@gmail.com>
2022-09-16 14:05:21 -05:00
John Brennan
82368e7451
Rename some events ( #15543 )
...
Co-authored-by: Brad Decker <bhdecker84@gmail.com>
2022-08-16 11:39:23 -05:00
Daniel
2eb0fe6978
Add more tracking for MetaMask ( #15462 )
2022-08-11 19:33:33 +02:00
George Marshall
0692f7bf25
Updating content to sentence case and updating tests ( #15285 )
2022-08-08 12:01:38 -07:00
George Marshall
cdc0fed828
Update media query instances ( #15068 )
2022-08-04 09:03:02 -05:00
Thomas Huang
1f5964e450
Convert unit test render from enzyme to @testing-library/react. ( #15091 )
...
* Use @testing-library/react for account-menu test
* Add testids for account menu accounts and balances
* Expand render wrapper functionality with metrics provider and router history
* Add testid to menu-droppo-container and menu-droppo
* Add network item nickname testid
* Use @testing-library/react for network dropdown test
* Add color icon testid
* No need for interpolation for testid in menu-droppo
2022-08-03 13:30:43 -07:00
George Marshall
6075e86838
Adjusting the height of account menu nav items to expand scroll area ( #15302 )
...
* Adjusting the height of account menu nav items to expand scroll area
* reducing font size
* Adding back max height media query
2022-07-27 12:35:52 -07:00
George Marshall
5592687df1
Updating design tokens package and shadow values with new tokens ( #15264 )
...
* Updating design tokens v1.8 and shadows
* Adding missing stories
* Some fixes and updates to css and stories
* removing unneeded story
* Fixing story order
2022-07-21 15:43:31 -07:00
daniba
085126d275
Move search icon and add to storybook ( #14940 )
...
* move search icon || update imports || add to story
* Optimized svg path, updated icon api and updating colors
* update other icons
* update snapshot
Co-authored-by: georgewrmarshall <george.marshall@consensys.net>
2022-06-21 10:18:35 -05:00
Zachary Belford
5a1bc94aa4
Changed accounts fuzzy search threshhold to match all ( #14914 )
...
* Changed accounts fuzzy search threshhold to match all
* Changed account search only when there is at least 2 terms
* Fixed linting issue
* Lint fix account menu component
2022-06-20 15:35:07 -07:00
Guillaume Roux
25739a5fc1
[FLASK] Fix notifications icon color ( #14941 )
2022-06-20 23:23:51 +02:00
David Walsh
ea49b40d33
Make the accounts menu accessible ( #14936 )
2022-06-15 12:49:18 -05:00
Victor Korzunin
0166575405
fix: keep lock button text inside button boundaries ( #14335 )
...
Co-authored-by: David Walsh <davidwalsh83@gmail.com>
2022-06-03 12:16:44 -07:00
Guillaume Roux
b599035a12
Snap notifications integration ( #14605 )
...
* begin controller implentation
* add NotificationController
* create selectors and actions
* update actions tu use forceUpdateMetamaskState
* Basic notification UI
* fix typo and remove console.log
* lint
* more css
* add notifications scroll
* add translations and fix some css
* Fix rebase and edit colors
* add flask tags
* add flask tag to routes component
* add missing flask tags
* add tests
* fix tests
* store notification expiration delay in constant
* address requested changes
* rename to unreadNotificationsCount
* add missing flask tag
2022-06-01 19:09:13 +02:00
George Marshall
8fcbebc546
Update design tokens library from 1.5 to 1.6 WIP ( #14732 )
...
* Updating account menu icon color
* Updating design-tokens and making appropriate updates to extension styles
* Adding more deprecated tags to colors
* Adding spinner and removing todo comment
* Remove comment
* Updates
* Updating snapshots
* More color and ui updates
* reverting transition change
2022-05-25 08:35:36 -07:00
Ariella Vu
78f4684b2a
MetaMetrics: Add EVENT.CATEGORIES const ( #14474 )
...
* MetaMetrics: add EVENT.CATEGORIES const
* MetaMetrics: add EVENT.CATEGORIES.INPAGE_PROVIDER
* MetaMetrics: add EVENT.CATEGORIES.AUTH
* MetaMetrics: add EVENT.CATEGORIES.ACCOUNTS pt. 1
* MetaMetrics: add EVENT.CATEGORIES.ACCOUNTS pt. 2
confirm we want to use 'Accounts' instead of 'Account'
* MetaMetrics: add EVENT.CATEGORIES.MESSAGES
* MetaMetrics: add EVENT.CATEGORIES.RETENTION const
* MetaMetrics: add EVENT.CATEGORIES.SETTINGS
* MetaMask: add missing EVENT.CATEGORIES.SNAPS
* MetaMetrics: add EVENT.CATEGORIES.WALLET const
* MetaMetrics: add EVENT.CATEGORIES.ONBOARDING const
* MetaMetrics: add EVENT.CATEGORIES.ONBOARDING
& EVENT.CATEGORIES.TRANSACTIONS consts
* MetaMetrics: use EVENT.CATEGORIES
* ducks/swaps: revert slice name
* MetaMetrics: add missing EVENT.CATEGORIES.NETWORK
2022-04-22 13:09:10 -03:00
filipsekulic
ee89eddb82
Removed metrics event ( #14042 )
2022-03-29 08:46:24 -05:00
George Marshall
90fc9cad8b
Updating arrows for account menu scroll and signature request ( #14138 )
2022-03-23 10:03:02 -07:00
David Walsh
157c40d666
Ensure accounts still line up in dropdown ( #13986 )
2022-03-16 17:21:46 -05:00
Guillaume Roux
ad28c81a39
General backgrounds and borders design token updates ( #13764 )
...
Co-authored-by: Guillaume Roux <guillaumeroux123@gmail.com>
Co-authored-by: George Marshall <george.marshall@consensys.net>
Co-authored-by: David Walsh <davidwalsh83@gmail.com>
2022-03-16 15:49:25 +01:00
George Marshall
524ddcfaf4
Updating account and network icons ( #13947 )
2022-03-15 07:40:55 -07:00
Brad Decker
6e34b70db3
add account_type and device_model to tx metrics ( #13682 )
2022-02-23 09:15:41 -06:00
igorms-cons
f5e86d0351
Feat/settings search ( #13214 )
...
* fix error with color variable - fix rebase
* clean list search & fuse threshold decreased
* update search-icon , fix tests
* nice to have highlighting text & cleaning
* unit test on settings & search input ui up on expanded view
* fix color variable in alert scss
* setting search input padding right up
* fix dom warning
* util/search test added & Dom element warning fix
* renaming files
* fix color text in settings search
* settings search highlight text refacto & fix ui
* fix settings-search test & renaming
* Fix styling on search field for edge cases, update components and e2e
E2E tests update for search feature
Update components from class to functional component
#
Fix storybook for search box
Fix styling
Fix unit tests
fix: remove z-index
Fix unit tests
Co-authored-by: amerkadicE <amer.kadic@endava.com>
2022-02-22 17:28:21 -03:30
dragana8
47e2e37712
Setting search feature - Setting component UI updates #12761 ( #12920 )
...
* updated settings page
removed unused messages
fixed width
moved icons into one folder
review comments update
removed unused strings
renamed components
removed class
added prop
updated e2e test
e2e
extracted icons
* locales fix
* update
* margin-inline
2022-02-08 13:00:20 -03:30
Ariella Vu
3a75f68a15
#10168 - Fix to Can't open settings if browser zoom level > 100% part 2 ( #13460 )
...
* AccountMenu: fix #10168 w/ position: absolute
- use right: 1rem to match .app-header padding
* scss: Use px instead of rem for positioning
Co-authored-by: George Marshall <george.marshall@consensys.net>
Co-authored-by: George Marshall <george.marshall@consensys.net>
2022-02-01 03:32:43 +00:00
Ariella Vu
869d7a21bf
Revert " #10168 - Fix to Can't open settings if browser zoom level > 100% ( #13281 )" ( #13459 )
...
This reverts commit 05f9ceda77
.
2022-01-28 21:59:15 +00:00
MG
8756ad2e78
Feat: Label hardware wallets ( #13339 )
...
* Added keyring label
* Fixed labels name
* Clean up
* Remove blank spaces
* Linted
* Fixed lint
* Removed unused hooks
* Fixed test
* Addressed PR comments
* Added KEYRING_NAMES obj
* Lint
* Removed empty space
2022-01-25 18:48:41 +01:00
MG
05f9ceda77
#10168 - Fix to Can't open settings if browser zoom level > 100% ( #13281 )
...
* Added css fix
* Fixed left margin
2022-01-12 17:54:51 +01:00
David Walsh
10dc686505
Dark Mode Part 1: Switch to Using CSS Variables ( #13147 )
2022-01-06 11:35:49 -06:00
Erik Marks
dbfdf3b0eb
Update Flask support links and home footer ( #13226 )
...
* Update support links for Flask
* Disable 'prefer-const' in code fence linting
* Add bespoke home footer for Flask and update logic
* fixup! Add bespoke home footer for Flask and update logic
* Fix code fence lint failure
* Fix support request link in account menu
* Fix unit test failure
2022-01-05 21:25:20 -03:30
zorrosword
e694059b28
Adjust the padding of lock button ( #13017 )
2022-01-05 12:16:24 -06:00
Mark Stacey
966bdffb12
Fix account-menu
styles lint failure ( #13215 )
...
This error was introduced with #13100 , which was merged without CI
checks because CircleCI was not running on that branch for some reason.
This error was fixed with `yarn lint:styles --fix`.
2022-01-05 12:23:19 -03:30
Michael Klem
b6b575620f
Lock button active state fix ( #13100 )
...
* Fix for Lock button active state. Github issue #13089
* Reverted unnecessary change
* Updated CHANGELOG.md
* Updated CHANGELOG.md
* Reverted my edits to this file
2022-01-05 10:07:41 -03:30