1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-23 18:41:38 +01:00
Commit Graph

14328 Commits

Author SHA1 Message Date
David Walsh
8fc502c74d
Dark Mode: Select Hardware (#14086) 2022-03-23 15:52:31 +01:00
Erik Marks
3363cdcce1 Fix lavamoat policy 2022-03-22 21:27:48 -07:00
Mark Stacey
4139aa26a9 Derive version suffix from build type and version (#13895)
The version of a build is now derived from both the `version` field in
`package.json` and the requested build type and version. The build type
and version are added onto the manifest version as a suffix, according
to the SemVer prerelease format.

We already have support in the extension for versions of this format,
but to apply a Flask or Beta version required manual updates to
`package.json`. Now it can be done just with build arguments.

A `get-version` module was created to make it easier to generate the
version in the various places we do that during the build. It was
created in the `development/lib` directory because it will be used by
other non-build development scripts in a future PR.

The `BuildType` constant was extracted to its own module as well, and
moved to the `development/lib` directory. This was to make it clear
that it's used by various different development scripts, not just the
build.
2022-03-22 20:41:01 -07:00
Erik Marks
8ea8b50683 Version v10.11.4 2022-03-22 20:17:18 -07:00
Frederik Bolding
5107f06afa snaps-skunkworks@0.10.6 (#14070)
* snaps-skunkworks@0.10.6

* iframe-execution-environment@0.4.2

Co-authored-by: Erik Marks <rekmarks@protonmail.com>
2022-03-22 19:55:51 -07:00
Frederik Bolding
cb89800a0a snaps-skunkworks@0.10.3 (#14041) 2022-03-22 19:55:51 -07:00
Frederik Bolding
d6434b4ace Fix permission list shrinking with less text (#13996)
* Fix permission list shrinking with text

* Fix linting issue
2022-03-22 19:55:51 -07:00
Erik Marks
6ccf52b5ae Fix yarn.lock (#13941) 2022-03-22 19:55:51 -07:00
Erik Marks
680d30f095 snaps-skunkworks@0.10.2 (#13901) 2022-03-22 19:55:51 -07:00
Mark Stacey
ce9dc12f75 Automate the Flask release process (#13898)
* Automate the Flask release

A Flask release will now be published alongside each main extension
release. The version of each Flask release will be the same as the
extension version except it will have the suffix `-flask.0`.

* Programmatically remove build prefix

The create GH release Bash script derives the Flask version from the
Flask build filename by removing the build prefix, leaving just the
version. Rather than hard-coding the prefix size to remove, it is now
calculated programmatically so that it is easier to read and update.

* Fix tag publishing

The tab publishing step used the wrong credentials, and didn't properly
identify the commit author. This has now been fixed.
2022-03-22 19:55:51 -07:00
Frederik Bolding
29e083c4c4 Show snap version on install (#13931)
* Add version to Snap install page

* Fix text sizing inconsistency

* Use a localized string for shorthand versions
2022-03-22 19:55:50 -07:00
Mark Stacey
bd48a2acb8 Fix snap e2e tests (#13912)
The snap e2e tests introduced in #13671 were broken due to a conflict
with the changes in #13895. The latter PR changed the version name for
non-main builds so that it always includes the build type.

The Firefox webdriver has been updated to use the new `getVersion`
utility, ensuring that it always looks for the correct build filename.
2022-03-22 19:54:33 -07:00
Shane
059d5d0488 Fixed firefox Snaps + add initial end-to-end tests (#13671)
* Changed registryUrl for snaps only in firefox
Fixed getPlatform to only be imported into metamask-controller in flask
Removed snaps specific testrunner script and use run-all with a cli option

* Fixed flakey tests

* Removed unneeded await

* Added delay

* Fixed linting
2022-03-22 19:54:33 -07:00
Hennadii Ivtushok
0461bbcded Snap removal confirmation (#13619)
* Add Snap removal confirmation

* Add styling for Snap removal confirmation

* Update styling

* Update button margin

* Re-use styling code

* Address comments

* Update Popover props

* Lint

* Lint

Co-authored-by: Erik Marks <25517051+rekmarks@users.noreply.github.com>
Co-authored-by: Erik Marks <rekmarks@protonmail.com>
2022-03-22 19:54:33 -07:00
Hassan Malik
e795c29b3f Update snap install warning per designs and fix for popover component (#13844)
* updated snap install warning per designs, hotfix for popover component to remove box styles from it's scss file and introduce them as default props

* small fix
2022-03-22 19:54:33 -07:00
Dan Finlay
99604e5642 Document Flask build flag (#13597)
* Document Flask build flag

Co-authored-by: Erik Marks <25517051+rekmarks@users.noreply.github.com>
2022-03-22 19:54:33 -07:00
Hassan Malik
dcdfa29a8e Add custom CSS to Popover (#13740)
* add boxes to popover sections for custom css

* updated doc strings

* added default props

* render Boxes only if the props are not empty

* possible fix

* second fix

* removed prop check function, converted header, footer and div elements to Box components and updated storybook and readme.mdx

* remove non existing prop

* fixed export issue

* updated storybook
2022-03-22 19:54:33 -07:00
Hassan Malik
9bb668d958 minor fixes per snaps pr comments (#13721) 2022-03-22 19:54:33 -07: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