1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-23 02:10:12 +01:00
metamask-extension/ui/pages/swaps/prepare-swap-page
infiniteflower 1099a3763b
Feat/swaps link buy gas (#20241)
* Add link to buy more ETH if insufficient gas

* Fix lint error

* Use native currency per network

* Use localized msg for buy more gas

* Add the word "more"

* Fix smart tx not showing msg

* Pull out not enough balance into own component

* Add story for not enough balance

* Fix btn text not being aligned with rest of text

* Move inline style to class, remove empty classname

* Update ui/pages/swaps/prepare-swap-page/not-enough-balance.stories.tsx

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

* Update ui/pages/swaps/prepare-swap-page/index.scss

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

* Remove line

* Move BannerAlert back into review-quote and use BannerAlert props

* Remove unused CSS

---------

Co-authored-by: George Marshall <georgewrmarshall@gmail.com>
Co-authored-by: Nidhi Kumari <nidhi.kumari@consensys.net>
2023-08-02 14:58:12 -04:00
..
__snapshots__ Swaps UI update (#19169) 2023-06-15 20:17:21 +02:00
index.scss Chore/refactor smart swap modal (#20239) 2023-08-01 15:31:53 +02:00
prepare-swap-page.js Reset price ack if price diff in % changed, insufficient gas event, log a page load event once (#19961) 2023-08-01 18:18:14 +02:00
prepare-swap-page.test.js Swaps UI update (#19169) 2023-06-15 20:17:21 +02:00
quotes-loading-animation.js Update Text import paths: /pages (#20117) 2023-07-20 12:49:35 -07:00
review-quote.js Feat/swaps link buy gas (#20241) 2023-08-02 14:58:12 -04:00
review-quote.test.js Show a balance for the Token To, update position of the MM fee, removes a link (#20030) 2023-07-14 20:48:46 +02:00
smart-transactions-popover.stories.tsx Chore/refactor smart swap modal (#20239) 2023-08-01 15:31:53 +02:00
smart-transactions-popover.tsx Chore/refactor smart swap modal (#20239) 2023-08-01 15:31:53 +02:00
view-quote-price-difference.js Update Text import paths: /pages (#20117) 2023-07-20 12:49:35 -07:00
view-quote-price-difference.test.js Swaps UI update (#19169) 2023-06-15 20:17:21 +02:00