1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-10-22 19:26:13 +02:00
Commit Graph

14123 Commits

Author SHA1 Message Date
Guillaume Roux
8683282a6f
Dark Mode: Replace color occurences (#14112) 2022-03-23 16:43:53 +01:00
David Walsh
09830ac183
Dark Mode: Permissions container (#14077) 2022-03-23 10:40:36 -05:00
David Walsh
0ee7b0412b
Dark Mode: Encrypt / Decrypt (#14081) 2022-03-23 10:40:07 -05:00
David Walsh
a281db9e60
Dark Mode: Onboarding Flow (#14125) 2022-03-23 10:38:43 -05:00
David Walsh
db35f01492
Dark Mode: Make list item text consistent (#14142) 2022-03-23 16:37:37 +01:00
David Walsh
a0c9116349
Dark Mode: Remove Account modal (#14127) 2022-03-23 10:37:25 -05:00
George Marshall
3d3670e807
Dark mode: Replacing svg image with font awesome icon for main-quote-summary (#14137) 2022-03-23 16:25:28 +01:00
George Marshall
532c326793
Dark mode: transaction activity log icons (#14139) 2022-03-23 16:24:56 +01:00
George Marshall
4ad22252c5
Dark mode: Removing connected svg from account menu in favour of fontawesome (#14140) 2022-03-23 16:24:27 +01:00
David Walsh
58f98f0627
Dark Mode: Settings -> Networks (#14134) 2022-03-23 16:16:15 +01:00
David Walsh
57c410f369
Dark Mode: New Account modal (#14132) 2022-03-23 16:15:42 +01:00
David Walsh
7121e9b4bb
Dark Mode: Cancel Transaction (#14129) 2022-03-23 15:54:48 +01:00
David Walsh
8fc502c74d
Dark Mode: Select Hardware (#14086) 2022-03-23 15:52:31 +01:00
dependabot[bot]
7398a1c241
Bump @metamask/design-tokens from 1.4.2 to 1.4.4 (#14119) 2022-03-22 16:37:51 -05:00
Mark Stacey
d565da4894
Merge pull request #14120 from MetaMask/master-sync
Sync `master` with `develop`
2022-03-22 17:31:12 -02:30
Niranjana Binoy
2f0bc34f4e
Add token list to token details page (#14051) 2022-03-22 15:46:18 -04:00
George Marshall
8064ec34a1
Dark mode: colors obj UI, GREY, WHITE (#14118)
* Removing all COLORS.UI 1,2,3,4 from codebase

* Removing all unused versions of COLORS.GREY, COLORS.WHITE and some left over UI1,UI2,UI3,UI4 in docs
2022-03-22 12:44:01 -07:00
Niranjana Binoy
90d6143071
Move Token Detection toggle to Advanced tab. (#13977) 2022-03-22 15:14:59 -04:00
Mark Stacey
d1be072805 Merge remote-tracking branch 'origin/develop' into master-sync
* origin/develop: (210 commits)
  Dark Mode:  Utilities -> Error (#14091)
  Fix dependency audit failure (#14114)
  Dark Mode: Connected Status Indicator (#14096)
  Dark Mode: Update PermissionsConnectPermissionList basic colors (#14072)
  Dark Mode: Remove white style from radio button (#14082)
  Dead Code Removal:  GasFeeDisplay (#14098)
  Dark Mode: Substitute primary color usage (#14094)
  Dark Mode: Fix Import Token Styles (#14099)
  Dark Mode: Home Notifications (#14095)
  Dark Mode: Account Details Modal (#14090)
  Dark Mode : Advanced gas fee (#14073)
  speedup transaction: save on advance gas modal should not close speed… (#14101)
  Dark Mode: Remove Unused Colors (#14088)
  Dark Mode: Connected Account Alert (#14083)
  Dark Mode: Token action circles (#14102)
  Dark Mode: Update colors in contact list (#14089)
  Dark Mode:  Error page (#14107)
  TextField: set bg color to default (#14106)
  Fix SrpInput small viewport styles (#14087)
  Dark Mode : Hide token confirm (#14076)
  ...
2022-03-22 16:43:00 -02:30
Niranjana Binoy
8d295f189b
ImportToken does not clear up the page when going back (#14093) 2022-03-22 15:10:25 -04:00
Mark Stacey
a87c84e952
Merge pull request #14085 from MetaMask/Version-v10.11.3
Version v10.11.3 RC
2022-03-22 16:36:30 -02:30
David Walsh
5bdde79ded
Dark Mode: Utilities -> Error (#14091) 2022-03-22 19:48:56 +01:00
Mark Stacey
150a9e9c8e
Fix dependency audit failure (#14114)
The Yarn resolution for `node-forge` has been updated to use a more
recent version of the library that includes fixes for the
vulnerabilities currently causing our audit job to fail. This update
should include no breaking changes.
2022-03-22 16:13:43 -02:30
David Walsh
62024d0ef0
Dark Mode: Connected Status Indicator (#14096) 2022-03-22 19:39:55 +01:00
David Walsh
8ab4ec67f3
Dark Mode: Update PermissionsConnectPermissionList basic colors (#14072) 2022-03-22 19:38:19 +01:00
David Walsh
1affeb75b6
Dark Mode: Remove white style from radio button (#14082)
Co-authored-by: George Marshall <george.marshall@consensys.net>
2022-03-22 19:37:06 +01:00
David Walsh
0e995b24d1
Dead Code Removal: GasFeeDisplay (#14098) 2022-03-22 13:31:55 -05:00
David Walsh
4c5e48c49a
Dark Mode: Substitute primary color usage (#14094) 2022-03-22 19:28:23 +01:00
David Walsh
063b9e3b25
Dark Mode: Fix Import Token Styles (#14099) 2022-03-22 11:21:32 -07:00
Mark Stacey
2779756708 Fix dependency audit failure
The Yarn resolution for `node-forge` has been updated to use a more
recent version of the library that includes fixes for the
vulnerabilities currently causing our audit job to fail. This update
should include no breaking changes.
2022-03-22 15:50:58 -02:30
David Walsh
09efa19d2b
Dark Mode: Home Notifications (#14095) 2022-03-22 12:46:15 -05:00
David Walsh
0d72c2f878
Dark Mode: Account Details Modal (#14090)
Co-authored-by: Guillaume Roux <guillaumeroux123@gmail.com>
Co-authored-by: George Marshall <george.marshall@consensys.net>
2022-03-22 18:05:15 +01:00
Guillaume Roux
f0c1fd5387
Dark Mode : Advanced gas fee (#14073) 2022-03-22 18:04:12 +01:00
Jyoti Puri
614457d9b6
speedup transaction: save on advance gas modal should not close speed… (#14101) 2022-03-22 21:35:46 +05:30
David Walsh
a74f898dcc
Dark Mode: Remove Unused Colors (#14088) 2022-03-22 10:35:46 -05:00
David Walsh
99ac88ed01
Dark Mode: Connected Account Alert (#14083)
* Dark Mode: Connected Account Alert

* Update ui/components/app/alerts/unconnected-account-alert/unconnected-account-alert.scss

Co-authored-by: George Marshall <george.marshall@consensys.net>
2022-03-22 08:28:11 -07:00
David Walsh
6003ec932b
Dark Mode: Token action circles (#14102) 2022-03-22 14:31:47 +01:00
David Walsh
aaf2bdb7fb
Dark Mode: Update colors in contact list (#14089) 2022-03-22 14:30:46 +01:00
PeterYinusa
24222fbed7 update chromedriver (#13854) 2022-03-22 08:57:48 -02:30
David Walsh
cc90cdc99b
Dark Mode: Error page (#14107) 2022-03-21 21:18:16 -07:00
Ariella Vu
9d6e22e176
TextField: set bg color to default (#14106) 2022-03-21 21:24:03 -05:00
Mark Stacey
47c4409957 Update changelog 2022-03-21 23:08:05 -02:30
Mark Stacey
8b10b85891 Update lockfile
The lockfile became invalid due to dependencies introduced in cherry-
picked commits.
2022-03-21 23:07:20 -02:30
Mark Stacey
49e65a7061 Fix SrpInput small viewport styles (#14087)
The styles for smaller viewports were broken because I forgot to update
the small-screen grid template after adding the "paste-tip". The styles
have now been updated to fit the content properly on all of our
supported screen sizes.
2022-03-21 23:05:42 -02:30
Mark Stacey
0be6c65eb3
Fix SrpInput small viewport styles (#14087)
The styles for smaller viewports were broken because I forgot to update
the small-screen grid template after adding the "paste-tip". The styles
have now been updated to fit the content properly on all of our
supported screen sizes.
2022-03-21 22:11:53 -02:30
Guillaume Roux
37e49cb2ba
Dark Mode : Hide token confirm (#14076) 2022-03-21 16:37:15 -05:00
Mark Stacey
00341cd3b3 Split SRP input by word (#14016)
* Initial implementation of new SrpInput component

This new version of the SrpInput component uses a separate field for
each word of the SRP. Only one field can be revealed at a time, making
it less likely that it gets accidentally revealed to somebody.

* Fix copy mistakes

* Move container div from 'create vault' to 'srp-input', and setup grid layout

* Increase size of title

* Remove hard-coded width in Storybook to allow testing different viewport sizes

* Improve layout

* Improve margins

* Update dropdown text

* Expand SRP input section

* Remove unused localized messages

* Update dropdown option names in unit tests

* Replace checkbox with show/hide toggle

* Remove unused localized message

* Fix 'data-testid' prop name

* Fix e2e test imports using paste

* Use 'ActionableMessage' component for error message

* Convert error popover to actionable message

* Add tip about pasting the SRP

* Remove invalid prop

The "info" style of `ActionableMessage` is the default, so no type is
required.

* Use more readable test convenience methods

The method `toBeInTheDocument()` is now used over `not.toBeNull()` to
improve the readability of tests. Likewise, the convenience method
`.clear` is now used to clear fields rather than manually entering the
key combination to clear a field.

* Fix misspelled word
2022-03-21 18:53:07 -02:30
Mark Stacey
4adadd3325 Add ShowHideToggle component (#13979)
Add a new component for controlling whether a field should be shown
or hidden. This will be used in later PRs as a control for sensitive
fields that are hidden by default.

This component should be fully accessible. Both mouse and keyboard
interactions have been tested, and `aria-label` attributes have been
added to explain the two "eye" icons that don't have any corresponding
text.

Thorough unit tests have been written, testing all props except
`className` (I don't know how to test that using Jest/`jsdom`).
2022-03-21 18:51:19 -02:30
Mark Stacey
35f51275ad Add pasteIntoField webdriver method (#14004)
A new method has been added to the e2e webdriver for pasting text into
a field. This will be required to properly test a change to the SRP
input, which will be coming in a separate PR.

A few existing e2e tests have been updated to use this method to input
the SRP, to show that it works properly.
2022-03-21 18:51:18 -02:30
Mark Stacey
c154145e85 Add IconEye and IconEyeSlash icon components (#13978)
Add two new FontAwesome icon components. The first is an eye, and the
second is an eye with a slash through it. These will be used in a
subsequent PR for a "Show/Hide" toggle.
2022-03-21 18:51:18 -02:30