1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00
Commit Graph

33 Commits

Author SHA1 Message Date
Ariella Vu
3f5bc978dd
Fix Blockaid and OpenSea BannerAlert placement for Token Allowance, Confirm Pages, SIWE, and Signature V3/V4 pages ()
* refactor: add SecurityProviderBannerAlert ...props

* fix: mv security banner alerts on TokenAllowance

* fix: mv security BannerAlert in confirm page
https://github.com/MetaMask/MetaMask-planning/issues/1195

* fix: allow BlockaidBannerAlert null details

* refactor: rm SecurityProviderBannerAlert margin

* fix: SIWE security banner alert placement

* fix: rm extra banner alert padding for sig v3 & v4

* fix: update SecurityProviderBannerAlert snapshot

* fix: update BlockaidBannerAlert snapshot

---------

Co-authored-by: legobeat <109787230+legobeat@users.noreply.github.com>
2023-08-30 07:05:53 -07:00
Jyoti Puri
8c46f85764
Confirmation page alerts () 2023-08-03 16:24:54 +05:30
George Marshall
733391a964
Update Text import paths: /pages ()
* Updating remaining Text import paths

* Updating snapshots
2023-07-20 12:49:35 -07:00
George Marshall
74cc312cb1
Updating Text and import paths () 2023-07-14 10:59:30 -07:00
Vladimir Saric
36eaaa19ed
Added customize tx nonce on ERC20 approve screen when feature is enabled () 2023-07-12 14:32:46 -04:00
Niranjana Binoy
129f6f3f64
Token allowance flow update () 2023-07-11 10:57:59 -04:00
Ariella Vu
34375a57e5
Security Provider cleanup ()
* security-prov: isFlaggedSecurityProviderResponse

* security-prov: create shared/modules/util

* security prov: rn isFlagged -> isSuspcious
- util fn returns true if response is not verified and flagged

* security prov: add util test
and support undefined param

* security prov: reorg util fn
- no logic changes
2023-06-23 20:08:22 +02:00
Harsh Shukla
398b0cf452
Part of & : Replace Typography with Text component: token-allowance.js ()
* Update token-allowance.js

* Remove fontWeight prop in: ui/pages/token-allowance/token-allowance.js

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

* Update ui/pages/token-allowance/token-allowance.js

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

* Update token-allowance.js

* Update ui/pages/token-allowance/token-allowance.js

Co-authored-by: Nidhi Kumari <nidhi.kumari@consensys.net>

* Update ui/pages/token-allowance/token-allowance.js

Co-authored-by: Nidhi Kumari <nidhi.kumari@consensys.net>

---------

Co-authored-by: George Marshall <georgewrmarshall@gmail.com>
Co-authored-by: Brad Decker <bhdecker84@gmail.com>
Co-authored-by: Nidhi Kumari <nidhi.kumari@consensys.net>
2023-05-04 22:08:43 +05:30
Jyoti Puri
9d794e97b3
Fix in approve header to show correct account name () 2023-04-28 13:29:53 +05:30
Jyoti Puri
82a64195a2
Enable editing L2 gas on optimism () 2023-04-26 05:43:38 +05:30
Garrett Bear
3e520214c9
update icons to ts enum version ()
Co-authored-by: Nidhi Kumari <nidhi.kumari@consensys.net>
Co-authored-by: George Marshall <george.marshall@consensys.net>
Co-authored-by: Brad Decker <bhdecker84@gmail.com>
Co-authored-by: legobeat <109787230+legobeat@users.noreply.github.com>
2023-04-24 09:19:19 -05:00
Jyoti Puri
5892acab81
Update gas limit on token allowance change ()
* Update gas limit on token allowance change

* Fix unit test case

* lint: remove unused var txParams

* fix

* fix

* fix e2e

* fix e2e

* fix e2e

* fix e2e

* fix e2e

* fix build

* fix build

* fix build

* fix

* fix

* fix

* fix

* fix

---------

Co-authored-by: legobeat <109787230+legobeat@users.noreply.github.com>
Co-authored-by: legobt <6wbvkn0j@anonaddy.me>
2023-04-18 20:53:45 -02:30
Dan J Miller
39f6042e65
Ledger trezor display ()
* gst

* Only display ledger info on approval screen for ledger hardware wallets
2023-04-18 17:19:49 -02:30
Jyoti Puri
a2bec15c68
Improvement on approval pages () 2023-04-13 22:54:33 +05:30
George Marshall
739075662c
Migrating Icon to typescript and deprecating JS component ()
* Migrating Icon to typescript and deprecating JS component

* gw suggestions ()

---------

Co-authored-by: Garrett Bear <gwhisten@gmail.com>
2023-04-04 09:48:04 -07:00
Dan J Miller
41210084dd
Allow specific origin to direct to second page of token allowance flow ()
* Allow specific origin to direct to second page of token allowance flow

* Remove accidentally committed git diff text

---------

Co-authored-by: Erik Marks <25517051+rekmarks@users.noreply.github.com>
2023-03-31 11:34:55 -02:30
Filip Sekulic
c477e29397
Fixed hardware wallet info popup on token allowance screen () 2023-03-14 12:29:31 -05:00
Vladimir Saric
4c598b330e
Display the address icon for the contract requesting spending cap instead of the dapp/url icon () 2023-02-23 15:54:04 +01:00
Niranjana Binoy
769efc9fe3
Disable fiat conversion in Approve Screen when Show balance and token price checker is OFF () 2023-02-03 12:13:19 -05:00
Nidhi Kumari
41d3dcc8a3
updated tag icon () 2023-02-02 17:13:49 -08:00
Danica Shen
794f3039f1
feature: migrate design-system.ts () 2023-02-02 20:15:26 +00:00
Vladimir Saric
308151cd49
Display a warning and gas fee component for token allowance and NFT flow when transaction is expected to fail ()
Co-authored-by: Pedro Figueiredo <pedro.figueiredo@consensys.net>
Co-authored-by: Dan J Miller <danjm.com@gmail.com>
Co-authored-by: Brad Decker <bhdecker84@gmail.com>
2023-02-01 17:14:09 -06:00
Vladimir Saric
c82c967c46
Fixing error when user input some letter in token allowance flow ()
* Fixing error when user input some letter in token allowance flow

* Rename the regex variable name and added a brief comment above its definition

Co-authored-by: Pedro Figueiredo <pedro.figueiredo@consensys.net>
2023-01-18 10:53:10 +01:00
Filip Sekulic
fc83a1b631
Fixed navigation through multiple unapproved transactions for ERC20 tokens () 2023-01-11 09:01:50 -06:00
Adnan Sahovic
fbbc1df853
Display large and small numbers as decimals instead of scientific notation on token allowance confirmation screens ()
Co-authored-by: VSaric <vladimir.saric@consensys.net>
Co-authored-by: Vladimir Saric <92527393+VSaric@users.noreply.github.com>
2023-01-05 08:58:16 -06:00
Vladimir Saric
11f24deef6
Added reject transactions modal to be present in the footer of the approve screen ()
* Added reject transactions modal in the footer

* Use Button component for multiple unapproved tx
2022-12-13 13:33:35 +01:00
Jyoti Puri
8125473dc5
Removing flag for EIP1559 V2 support () 2022-12-09 00:07:06 +05:30
Adnan Sahovic
6f21c4837d
Token allowance i18n interpolation system ()
* added i18n interpolation system to token-allowance screen

* modified revokeSpendingCap

* Fixed minor type error

* resolved conflicts
2022-11-25 06:56:29 -03:30
Niranjana Binoy
5666d0a71c
Resetting spending cap value to empty when a token allowance request is rejected. () 2022-11-24 14:14:41 -05:00
Adnan Sahovic
f7cb1844d6
Skip the first token allowance screen if dapp proposing spending cap is 0 () 2022-11-17 08:12:44 -06:00
Filip Sekulic
17c1fef9be
Token allowance screen updated () 2022-11-07 12:21:38 -06:00
ryanml
c88efadf1e
Remove ETH badge from NetworkAccountBalanceHeader when on non-ETH net… ()
* Remove ETH badge from NetworkAccountBalanceHeader when on non-ETH networks

* Network specific icons, or fallback, in the network-account-balance-header

* Update snapshots

* Code cleanup

Co-authored-by: Dan Miller <danjm.com@gmail.com>
2022-10-25 17:03:45 +02:00
Filip Sekulic
a993509afc
Review spending cap screen () 2022-10-05 14:48:35 -05:00