1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-22 09:57:02 +01:00
Commit Graph

6915 Commits

Author SHA1 Message Date
David Walsh
d1bc22a4e2
Fix #20140 - Ensure only one network displays as selected in the network picker when chain IDs collide (#20152) 2023-07-24 19:06:37 -05:00
Garrett Bear
02b8edc8c2
Fix hover on account menu (#20153)
* Fix hover on account menu

* remove excessive color prop
2023-07-24 15:26:22 -07:00
Dhruv
edbc728014
Migrate component to TS: Tag (#20086)
* migrating Tag to TS
---------

Co-authored-by: Garrett Bear <gwhisten@gmail.com>
2023-07-24 13:42:10 -07:00
Harsh Shukla
a01e4fa00a
Updating SignatureRequestData components (#19994)
Co-authored-by: georgewrmarshall <george.marshall@consensys.net>
2023-07-24 13:40:41 -07:00
Harsh Shukla
ab1b4c3a31
Part of #17670 for: accreditation.component.js (#20057)
* Part of #17670 for: accreditation.component.js

* Update checkbox.test.tsx.snap

* Update ui/components/app/transaction-decoding/components/ui/accreditation/accreditation.component.js

Co-authored-by: George Marshall <georgewrmarshall@gmail.com>

* Update accreditation.component.js

* Update ui/components/app/transaction-decoding/components/ui/accreditation/accreditation.component.js

Co-authored-by: George Marshall <georgewrmarshall@gmail.com>

* Updating component to use component library components and removing unused CSS

---------

Co-authored-by: George Marshall <georgewrmarshall@gmail.com>
Co-authored-by: georgewrmarshall <george.marshall@consensys.net>
2023-07-24 13:38:17 -07:00
Harsh Shukla
24c9db5883
Part of #18714 for 2 files in ui\components\component-library\avatar-icon (#20038) 2023-07-24 14:58:30 -05:00
David Walsh
d5dbdfa912
UX: Fix TextColor value casing (#20133)
* UX: Fix TextColor value casing

* Fix snapshot
2023-07-24 13:59:45 -05:00
Binij Shrestha
ceadfacb21
Fix/18884 migrate avatar network (#19079)
* Migrate AvatarNetwokr

fixing error

fix textAlign

added AvatarNetworkSize

NetworkProps extends BaseProps instead of Boxprops

omitted children from base, made name required

replace deprecated and fix lint

* update AvatarNetwork TS

* add AvatarNetworkSize test

* remove unused size import

* Update ui/components/component-library/avatar-network/avatar-network.types.ts

Co-authored-by: George Marshall <georgewrmarshall@gmail.com>

* fix readme

* update to latest box component

---------

Co-authored-by: garrettbear <gwhisten@gmail.com>
Co-authored-by: George Marshall <georgewrmarshall@gmail.com>
2023-07-24 11:15:33 -07:00
Danica Shen
74a645e957
feat(874): add tooltip to connect hardwallet and style refactor (#20121) 2023-07-24 19:00:34 +01:00
Gabriel Méndez
9b0f8d457b
Migrate Label component to TS (#19146)
* Migrating Label component to TS

* label TS updates

---------

Co-authored-by: georgewrmarshall <george.marshall@consensys.net>
Co-authored-by: garrettbear <gwhisten@gmail.com>
2023-07-24 10:54:34 -07:00
David Walsh
23c30d9ae1
UX: Fix display block value (#20131) 2023-07-24 10:36:03 -05:00
David Walsh
9575075dc1
UX: Remove height from loading block, use modern components (#20134)
* UX: Remove height from loading block, use modern components

* Fix lint
2023-07-24 10:35:37 -05:00
youngje (heka)
660ed410ce
fix: where text wraps even though there is enough space to display it. (#19914)
Co-authored-by: Brad Decker <bhdecker84@gmail.com>
2023-07-24 18:51:29 +05:30
Albert Olivé
270f74c209
[MMI] Connect MMI flow in one step less (#20143)
* First approach to fix the issue that we are displaying one extra step

* Fixed issues
2023-07-24 15:14:56 +02:00
Ariella Vu
737173ed5a
New BlockaidBannerAlert component (#20051) 2023-07-24 12:24:17 +05:30
George Marshall
e030f28ba0
Removing none from sizes (#20130)
Co-authored-by: Garrett Bear <gwhisten@gmail.com>
2023-07-22 16:32:53 +09:00
Harsh Shukla
02b45aa648
Part of #18896 for file ui\components\app\create-new-vault\create-new-vault.js (#20025)
* Part of #18896 for file ui\components\app\create-new-vault\create-new-vault.js

* Update create-new-vault.js

* Adding submit attribute

---------

Co-authored-by: georgewrmarshall <george.marshall@consensys.net>
2023-07-21 15:14:26 -07:00
Garrett Bear
e923110092
Fix/helptext to ts (#20108)
* migrate help-text to TS

delete story with js format

Update ui/components/component-library/help-text/help-text.types.ts

Co-authored-by: George Marshall <georgewrmarshall@gmail.com>

add forwardRef

add ref in forwardRef

final updates to HelpText to TS

update HelpText props

* form text field

* Removing some unused example code

---------

Co-authored-by: taeslee <64485716+taeslee@users.noreply.github.com>
Co-authored-by: georgewrmarshall <george.marshall@consensys.net>
2023-07-21 10:11:35 -07:00
António Regadas
8ee733c0d5
[MMI] Handle personal sign and sign typed operations (#20087)
* adds listeners for signatureControll and adds the handleSigningEvents method

* clean up

* updates signature request containers files

* adds necessary methods

* wip

* signing flow with core methods

* yarn lint

* updates logic to fit latest signatureCOntroller

* updates mmi extension package

* updates signature-controller and message-manager packages

* checkout develop lock file and run yarn

* checkout develop lock file and package.json to test circleci

* test fix

* adds signature-controller new version

* updates mmi extension package

* tx-list update and runs lavamoat auto

* lint fix

* runs lavamoat auto

* resets lavamoat/build-system/policy.jsono to develop

* Update LavaMoat policies

* adds back the dispatch

* lint

* clean up

* clean up

* applies patch for signature controller

* clean patch file

---------

Co-authored-by: MetaMask Bot <metamaskbot@users.noreply.github.com>
2023-07-21 16:52:47 +01:00
George Marshall
c9ce85bd85
Removing unused deprecated Text component (#20119) 2023-07-21 08:44:57 -07:00
jiexi
4c881f70fe
Update "NFT Added" events (#19796)
* Update NFT events

* remove uneeded toString()

* source_connection_method to source for TokenAdded events

* redelete add-nft

---------

Co-authored-by: Alex Donesky <adonesky@gmail.com>
2023-07-21 10:17:56 -05:00
Frederik Bolding
ba001b597c
[FLASK] Unblock personal_sign for snaps (#19998)
* Add snap legacy authorship header

* Add legacy snap header to personal_sign

* Disable SIWE for snaps

* Add comment
2023-07-21 11:28:54 +02:00
Ariella Vu
59102e37b8
New SecurityProviderBannerAlert component (#19825) 2023-07-21 11:04:51 +02:00
David Walsh
112511542f
UX: Use classNames in ConnectedSitesMenu (#20067)
* UX: Use classNames in ConnectedSitesMenu

* Update snapshots
2023-07-20 18:29:24 -05:00
Garrett Bear
26d7520a84
fix Box ts spread props issue (#20107) 2023-07-20 15:06:28 -07:00
George Marshall
733391a964
Update Text import paths: /pages (#20117)
* Updating remaining Text import paths

* Updating snapshots
2023-07-20 12:49:35 -07:00
Niranjana Binoy
0c203d0518
Signature-Request refactor (#19104)
* refactoring signature-request and adding test coverage

* adding storybook and removing the reduntant files:

* adding new components from

* replacing <SiteOrigin/> with <TagUrl/>

* updating review comments from Jyoti and George

* adding the hook

* refactoring in the changes from #18770 MMI PR

* adding new hook for the MMISign changes

* updating lavamoat

* updating lavamoat

* removing a commeted line

* updating the sign check with accountType conditional

* fixing build issues

* updating the review comments on the hooks

* updating signatureRequestHeader

* lint fix

* fixing test failure

* lint fix

* updating review comments

* adding the renamed hook

* updating the origin url

* fixing test failure

* migrating changes from #19184

* updating snapshot

* fixing e2e failure

* fixing e2e failure

* addressing review comments from Joao

* migrating chnages from #19892

* moving shallowEqual inside of mmi build

* migrating changes from #19881

* fixing build failure

* migrating changes from #19949

* migrating changes from #19468

* updating snapshot

* updating snapshot

* updating QA review comments

* fixing full screen height issue from develop

* migrating changes from #20083

* fixing snapshot
2023-07-20 18:51:38 +01:00
Jyoti Puri
6ce80fe997
Adding experimental flag for blockaid (#19819) 2023-07-20 21:17:01 +05:30
Albert Olivé
e8deec28bb
Added back trackEvents to whats-new-popup (#20110)
* Added back trackEvents to whats-new-popup

* Renamed constants

* Fixed code fences issue
2023-07-20 16:29:16 +02:00
Albert Olivé
26225aabe0
[MMI] Removed compliance feature from the codebase (#20088) 2023-07-20 10:11:14 +02:00
George Marshall
88cb8ce0f5
Component library readme update (#20105)
* initial commit

* Edit

* Updating Box link

* Updating TS issues link
2023-07-19 22:10:45 -07:00
George Marshall
bf61322ee1
Update Text import paths: /app (#20083)
* Updating import paths

* Updating snapshots

* Fixing lint issues

* Updating snapshots
2023-07-19 15:32:35 -07:00
Danica Shen
cc3ef534ad
feat(882): Ensure user's IP address is not leaked to third parties before opting-out (#20101) 2023-07-19 20:56:31 +01:00
George Marshall
f9649a27f8
Update Text import paths: /ui (#20076)
* Updating Text import paths in ui folder

* Updating snapshot
2023-07-19 10:55:38 -07:00
George Marshall
b4bc033b72
Updating network list item hover (#20063)
* Updating network list item hover

* Updating e2e test

* Updating e2e test

* Updating e2e test

* Updating more e2e tests

* Updating more e2e tests
2023-07-19 10:12:24 -07:00
Frederik Bolding
56481dd875
[FLASK] snaps@0.37.1-flask.1 (#20069)
* snaps@0.37.0-flask.1

* Update LavaMoat policies

* Add support for disabling markdown

* Update execution env URL

* Bump patch version
2023-07-19 14:16:51 +02:00
Dhruv
674bb131b2
Part of #18714: Replacing deprecated constants (#20003)
* replacing deprecated constants

* updating Box in player.js

* created story for Player.js
2023-07-19 15:08:06 +05:30
Dhruv
821888effd
replacing deprecated constants and components (#20070) 2023-07-19 15:06:21 +05:30
David Walsh
8f8613a4e1
UX: Increase network name threshold before showing tooltip (#20009) 2023-07-18 17:09:26 -05:00
David Walsh
46b2290822
Fix #20006 - Add Address Details and View on Explorer to Global Menu (#20013)
* Fix #20006 - Add Address Details and View on Explorer to Global Menu

* Fix tests
2023-07-18 17:01:07 -05:00
David Walsh
be469db9a0
UX: Fix Display Property in NFTs (#20066) 2023-07-18 10:47:27 -07:00
George Marshall
e75535ddfb
Update Text import paths: /institutional (#20064)
* Updating Text import paths and deprecated consts

* Update to button
2023-07-18 08:15:25 -07:00
Albert Olivé
a8716db694
[MMI] Fix wrong custody logo location (#20072)
* Added missing styles

* updated snapshots

* fixed snapshot

* updated snapshot
2023-07-18 15:58:33 +02:00
António Regadas
f8bfb6cff5
[MMI] adds segment events to Metametrics constants (#19468)
* adds metametrics enums

* prettier

* adds necessary code fence

* edits events names and title cases them

* edits events names

* updates events according to segment-schema
2023-07-18 15:55:37 +02:00
Nidhi Kumari
e105a6030e
added background color of testnet to activity screen (#20068) 2023-07-18 08:32:00 -05:00
David Walsh
19d5cdb014
UX: Remove unwanted async callback (#20065) 2023-07-18 08:31:02 -05:00
Harsh Shukla
1277c6225d
Part of #18714 in ui\components\app\custom-spending-cap (#20039)
* Part of #18714 in ui\components\app\custom-spending-cap

* Update checkbox.test.tsx.snap
2023-07-17 22:03:46 -07:00
George Marshall
36be38e979
Update Text import paths: /multichain (#20061)
* Updating import paths for Text component

* Updating snapshots

* Adding story for TokenCell

* Updating banner in account details

* Fixing lint issue by removing unused import
2023-07-17 22:02:02 -07:00
David Walsh
3f3ee63b17
UX: Make 'Done' button a block in Account Details (#20059) 2023-07-17 21:37:29 -05:00
George Marshall
5d17f86e02
Update Text import paths: component library/ (#19987)
* Updating component-librar import paths

* Updating snapshots

* Updates to AvatarBase story

* Updates to avatar and checkbox

* Updating last of the deprecated import paths

* Updating component-library snapshots from button-base

* Updating snapshots from rest of codebase to do with button-base

* Removing unneeded CSS

* Updating snapshots
2023-07-17 14:00:16 -07:00