Ariella Vu
34375a57e5
Security Provider cleanup ( #19694 )
...
* 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 #17670 & #18714 : Replace Typography with Text component: token-allowance.js ( #18742 )
...
* 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 ( #18849 )
2023-04-28 13:29:53 +05:30
Jyoti Puri
82a64195a2
Enable editing L2 gas on optimism ( #18217 )
2023-04-26 05:43:38 +05:30
Garrett Bear
3e520214c9
update icons to ts enum version ( #18698 )
...
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 ( #18524 )
...
* 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 ( #18637 )
...
* 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 ( #18545 )
2023-04-13 22:54:33 +05:30
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
Dan J Miller
41210084dd
Allow specific origin to direct to second page of token allowance flow ( #18395 )
...
* 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 ( #17881 )
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 ( #17858 )
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 ( #17443 )
2023-02-03 12:13:19 -05:00
Nidhi Kumari
41d3dcc8a3
updated tag icon ( #17540 )
2023-02-02 17:13:49 -08:00
Danica Shen
794f3039f1
feature: migrate design-system.ts ( #17518 )
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 ( #17437 )
...
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 ( #17117 )
...
* 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 ( #16822 )
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 ( #16676 )
...
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 ( #16832 )
...
* 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 ( #16446 )
2022-12-09 00:07:06 +05:30
Adnan Sahovic
6f21c4837d
Token allowance i18n interpolation system ( #16347 )
...
* 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. ( #16659 )
2022-11-24 14:14:41 -05:00
Adnan Sahovic
f7cb1844d6
Skip the first token allowance screen if dapp proposing spending cap is 0 ( #16502 )
2022-11-17 08:12:44 -06:00
Filip Sekulic
17c1fef9be
Token allowance screen updated ( #16157 )
2022-11-07 12:21:38 -06:00
ryanml
c88efadf1e
Remove ETH badge from NetworkAccountBalanceHeader when on non-ETH net… ( #16102 )
...
* 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 ( #15919 )
2022-10-05 14:48:35 -05:00