Brad Decker
c72199a1a6
update prettier ( #15360 )
2 years ago
Daniel
f31bac9fbf
Performance improvements for Swaps ( #15359 )
2 years ago
Nidhi Kumari
7424e98416
Updated all instances of "Component API" to "Props" in storybook documentation ( #15324 )
...
* replaced Component API with Props
* replaced Component API with Props in DOCUMENTATION.stories.mdx
* removed base avatar component
2 years ago
Brad Decker
1db0ee87ec
Update Eslint and deps ( #15293 )
2 years ago
Nidhi Kumari
2e6f579ee5
Converted BuildQuote story to use controls and action argType ( #15234 )
...
* added build quote component
* fixed updated test-data to use Rinkeby instead of ropsten
2 years ago
George Marshall
5592687df1
Updating design tokens package and shadow values with new tokens ( #15264 )
...
* Updating design tokens v1.8 and shadows
* Adding missing stories
* Some fixes and updates to css and stories
* removing unneeded story
* Fixing story order
2 years ago
George Marshall
05a20bb721
Add responsive props to Box component ( #15106 )
...
* Adding responsive props to Box component
* Updating margin array prop instances
* Updating padding array prop instances
* Updates to docs, tests and margin, padding instances
* Optimizing class name object
* Simplifying single value logic
* replacing for loop with switch statement
* Memoizing generateClassNames function
2 years ago
Alex Donesky
09164dcabb
Bump controllers v30.0.2 ( #14906 )
...
* bump @metamask/controllers to v30.0.2 and adapt
2 years ago
Daniel
2744eaf760
Update the "results" state if "initialResultsState" array length is different ( #15270 )
2 years ago
Daniel
75ac87e487
Show a block explorer URL hostname, hide token import if block explorer URL is not available ( #15198 )
2 years ago
Daniel
8cbfa2ea9e
Show a tx link and the "create a new swap" link for STX ( #14995 )
2 years ago
Dan Miller
bc6c60cde1
Revert "Merge pull request #15063 from MetaMask/revert-v10.16.0"
...
This reverts commit 4d42715220
, reversing
changes made to f09ab88891
.
2 years ago
Dan Miller
24662963c5
Revert "Merge pull request #15063 from MetaMask/revert-v10.16.0"
...
This reverts commit 4d42715220
, reversing
changes made to f09ab88891
.
2 years ago
Mark Stacey
925a19fa4a
Revert "Merge pull request #14912 from MetaMask/Version-v10.16.0"
...
This reverts commit f09ab88891
, reversing
changes made to effc761e0e
.
This is being temporarily reverted to make it easier to release an
urgent fix for v10.15.1.
2 years ago
Daniel
5fa88bebce
Show how much a cancellation of a smart transaction will cost ( #15011 )
2 years ago
George Marshall
051254dffd
Fixing tooltip theming by enforcing default theme ( #14992 )
...
* Fixing tooltip theming by enforcing background color
* Removing wide prop
2 years ago
daniba
085126d275
Move search icon and add to storybook ( #14940 )
...
* move search icon || update imports || add to story
* Optimized svg path, updated icon api and updating colors
* update other icons
* update snapshot
Co-authored-by: georgewrmarshall <george.marshall@consensys.net>
2 years ago
Daniel
80e7d82eed
Remove experimental gas editing for Swaps ( #14942 )
2 years ago
Daniel
ebf967562b
Remove experimental gas editing for Swaps ( #14942 )
2 years ago
Jordon
f5c6d0054f
Convert knobs and actions to controls/args for MainQuoteSummary ( #14758 )
...
Co-authored-by: George Marshall <georgewrmarshall@gmail.com>
Co-authored-by: Brad Decker <bhdecker84@gmail.com>
2 years ago
Daniel
b0557daa05
Handle an RPC provider delay in Swaps ( #14821 )
...
* Return an estimated amount for a completed swap if an RPC provider has a delay
* Create a recursive function for updating post tx balance
* Add a few tests for the "getSwapsTokensReceivedFromTxMeta" fn
* Trigger Build
3 years ago
Daniel
9705531671
Reduce the default slippage from 3% to 2% ( #14863 )
3 years ago
Daniel
bd5d47993d
Make content changes for the STX status page, remove old content ( #14805 )
3 years ago
Daniel
6dbb2c4ded
Migrate the "estimateGas" API call to "getFees" for STX ( #14767 )
3 years ago
George Marshall
8fcbebc546
Update design tokens library from 1.5 to 1.6 WIP ( #14732 )
...
* Updating account menu icon color
* Updating design-tokens and making appropriate updates to extension styles
* Adding more deprecated tags to colors
* Adding spinner and removing todo comment
* Remove comment
* Updates
* Updating snapshots
* More color and ui updates
* reverting transition change
3 years ago
Daniel
f6576801d4
Fix an edge case with missing top assets in Swaps ( #14688 )
...
* If there is no array of top assets in a response, use an empty array
* Set a default empty array for 2 functions, remove an unnecessary condition
* Redirect a user from Swaps to the homepage if they switch to a chain that is not supported in Swaps
* Fix errors in the UI Console when it's not a swaps chain
3 years ago
Thomas Huang
11831c6ae5
Add hideEstimatedGasFee prop to sort-list and select-quote-popover tests ( #14725 )
3 years ago
Daniel
d305dcba9d
Change styles for the high price impact notification in Swaps ( #14697 )
3 years ago
Daniel
9a153d2388
Remove gas editing in Swaps ( #14673 )
...
* Remove gas editing in Swaps
* Remove "extraApprovalGas"
3 years ago
Daniel
2bd7127433
Swaps / STX improvements ( #14622 )
3 years ago
Daniel
9daab6aa59
Disable STX if a regular tx is in progress ( #14554 )
...
* Disable STX if a regular tx is in progress
* disableStxIfRegularTxInProgress : early return
* Fix UTs
* Trigger Build
3 years ago
Ariella Vu
78f4684b2a
MetaMetrics: Add EVENT.CATEGORIES const ( #14474 )
...
* MetaMetrics: add EVENT.CATEGORIES const
* MetaMetrics: add EVENT.CATEGORIES.INPAGE_PROVIDER
* MetaMetrics: add EVENT.CATEGORIES.AUTH
* MetaMetrics: add EVENT.CATEGORIES.ACCOUNTS pt. 1
* MetaMetrics: add EVENT.CATEGORIES.ACCOUNTS pt. 2
confirm we want to use 'Accounts' instead of 'Account'
* MetaMetrics: add EVENT.CATEGORIES.MESSAGES
* MetaMetrics: add EVENT.CATEGORIES.RETENTION const
* MetaMetrics: add EVENT.CATEGORIES.SETTINGS
* MetaMask: add missing EVENT.CATEGORIES.SNAPS
* MetaMetrics: add EVENT.CATEGORIES.WALLET const
* MetaMetrics: add EVENT.CATEGORIES.ONBOARDING const
* MetaMetrics: add EVENT.CATEGORIES.ONBOARDING
& EVENT.CATEGORIES.TRANSACTIONS consts
* MetaMetrics: use EVENT.CATEGORIES
* ducks/swaps: revert slice name
* MetaMetrics: add missing EVENT.CATEGORIES.NETWORK
3 years ago
Daniel
eed6ae2b8c
Swaps: Sort "token_from" dropdown tokens by their fiat value first and "token_to" by top tokens ( #14436 )
3 years ago
George Marshall
9ce966ba1d
Storybook housekeeping 🧹 ( #14331 )
...
* Removing argTypes that are related to static props and don't have anything to do with the component. Also some general house keeping
* updates
3 years ago
Daniel
2d24a4d643
Swaps timer improvements, optional refresh rates and fix for a notification UI ( #14300 )
...
* Set up correct timer value for fetching new quotes
* Show red timer in Swaps if quotes fetching will happen in less than 10s (previously it was 30s)
* Fix a UI issue with the notification close button
* Make stx refresh rates optional, since not every network supports them
3 years ago
George Marshall
cdb9d341bc
color fix for hover on swaps quote ( #14334 )
3 years ago
George Marshall
1ade2e84f0
Swaps select quote highlight fix ( #14270 )
3 years ago
David Walsh
9760750231
Dark Mode: Remove unwanted background for price quote ( #14278 )
3 years ago
David Walsh
48eadc669f
Ensure proper color for swaps edit link ( #14273 )
3 years ago
ryanml
485d711e0b
Ensure Metafox follows cursor on Fetching quotes screen ( #14261 )
3 years ago
Daniel
fc17fbe1ad
Swaps timer improvements, optional refresh rates and fix for a notification UI ( #14300 )
...
* Set up correct timer value for fetching new quotes
* Show red timer in Swaps if quotes fetching will happen in less than 10s (previously it was 30s)
* Fix a UI issue with the notification close button
* Make stx refresh rates optional, since not every network supports them
3 years ago
George Marshall
dfd3e233e8
color fix for hover on swaps quote ( #14334 )
3 years ago
filipsekulic
8cb1f4af2e
Renamed metametrics.new.js to metametrics.js ( #14327 )
3 years ago
Pieter Tolsma
cb1890d928
Convert knobs and actions to controls/args for CountdownTimer ( #14222 )
...
Co-authored-by: Pieter Tolsma <pietertolsma@Pieters-MacBook-Air.local>
3 years ago
George Marshall
4bb2582200
Swaps select quote highlight fix ( #14270 )
3 years ago
David Walsh
00025afe4c
Dark Mode: Remove unwanted background for price quote ( #14278 )
3 years ago
David Walsh
9d7f4d2005
Ensure proper color for swaps edit link ( #14273 )
3 years ago
ryanml
085c9753de
Ensure Metafox follows cursor on Fetching quotes screen ( #14261 )
3 years ago
BoxedFruits
950de390b3
GasModalPageContainer story: convert knobs and actions to controls / args ( #13516 )
3 years ago
Daniel
69d7c51c56
Show STX switch for wrapping / unwrapping ( #14225 )
3 years ago