Daniel
fe10c35464
Preserve search query for "Swap from" and "Swap to" form fields, update content ( #15758 )
2 years ago
Brad Decker
0d862d4032
upgrade jest ( #15642 )
2 years ago
Daniel
0cbff07b61
Remove unnecessary event props, update STX controller version ( #15653 )
...
* Remove unnecessary event prop
* Update STX controller version
* yarn yarn-deduplicate
2 years ago
Niranjana Binoy
d09bdbe3df
the token detction change affected swap performace, this is fixing it ( #15607 )
2 years ago
Daniel
b27672bd0e
Redirect a user to the Activity tab after they click on "View in Activity" ( #15620 )
2 years ago
George Marshall
0cb6fd1202
Updating Box to remove color prop default (Fixes develop) ( #15613 )
2 years ago
John Brennan
82368e7451
Rename some events ( #15543 )
...
Co-authored-by: Brad Decker <bhdecker84@gmail.com>
2 years ago
George Marshall
28440ba0d0
Adding initial and transparent to Box component ( #15565 )
...
* Adding inital and transparent to Box component. Removing deprecated secondary colors
* Fixing prop type
* Fixing story
* removing duplicate prop
2 years ago
Daniel
2eb0fe6978
Add more tracking for MetaMask ( #15462 )
2 years ago
George Marshall
092189cb5b
Adding polymorphic 'as' prop to Box component and updating Typography component to use the same ( #15518 )
...
* Adding polymorphic as prop to Box component
* Updating Typography component to use 'as' as the polymorphic prop instead of 'tag'
* Fixing linting
2 years ago
Niranjana Binoy
94f46fbb1e
Using Object.values for shuffle token list for swaps ( #15530 )
2 years ago
Niranjana Binoy
6e5c2f03bf
Token detection V2 Flag Removal and Re-introducing the use of legacy token list when token detection is OFF ( #15138 )
...
* addding the legacy tokenlist, tuning token detection OFF by default, adding new message while importing tokens
updating the controller version and calling detectNewToken on network change
fixing rebase error
Run yarn lavamoat:auto for updating policies
updating lavamoat
Deleted node modules and run again lavamoat auto
fixing rebase issues
updating lavamoat policies
updating lavamoat after rebasing
policies
updating custom token warning and blocking detectedtoken link when tpken detection is off for supported networks
to update the token in fetchTosync
updating the contract map object
Revert build-system lavamoat policy changes
Move token list selection logic from components to getTokenList selector
updating the tokenList
Update lavamoat
Fix error
updating lavamoat
lint fix
fix unit test fail
fix unit test fail
lint fix
fixing rebase locale error
rebase fix
Revert build-system policy changes
temp
addressing review comments
* rebase fix
2 years ago
Tommaso Maioli
d21a8a1cfb
docs: addition of controls and readme in SelectQuotePopover story ( #15187 )
...
* docs: addition of controls and readme in SelectQuotePopover story
* Content update
Co-authored-by: georgewrmarshall <george.marshall@consensys.net>
2 years ago
Daniel
d255fcdefb
Only check if a user has enough token balance before calling STX ( #15218 )
2 years ago
George Marshall
0692f7bf25
Updating content to sentence case and updating tests ( #15285 )
2 years ago
George Marshall
cdc0fed828
Update media query instances ( #15068 )
2 years ago
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