Tina
acdeb402ec
feat: Log auto slippage setting for gas estimate failed event ( #7231 )
...
* log auto slippage setting for gas estimate failed
* add to dep array
2023-09-11 08:41:31 -07:00
eddie
84f5d8f94d
fix: only log swap success for swap txs ( #7284 )
2023-09-08 12:03:59 -07:00
cartcrom
bb28235bee
refactor: consolidate price delta components ( #7268 )
...
* refactor: move delta component out of price chart file
* refactor: remove PortfolioArrow
* refactor: search row arrow cell
* fix: svg prop + snapshots failing unit tests
* refactor: css nit
2023-09-08 14:58:39 -04:00
cartcrom
f69226c1d1
fix: use updated feature flag ( #7278 )
2023-09-08 14:42:03 -04:00
cartcrom
35ca1b974e
fix: remove sentry warnings for failed tax fetches ( #7281 )
2023-09-08 14:41:47 -04:00
Nate Wienert
fdb9d8a8c9
feat: redirect /address links to the wallet download landing page or app store ( #7210 )
2023-09-08 08:33:21 -10:00
Zach Pomerantz
16cefb9cdb
test: fix cloud tests ( #7280 )
2023-09-08 10:53:22 -07:00
Zach Pomerantz
63bf1c0ac8
feat: path-based routing ( #7275 )
2023-09-08 10:43:59 -07:00
Nate Wienert
44e3b87ae1
fix: CODEOWNERS to use GitHub syntax currently uses google ( #7200 )
...
* improve cypress test
* fix: CODEOWNERS uses Github syntax
2023-09-08 07:22:52 -10:00
eddie
a3fbab9163
feat: uniswapx start time buffer ( #7279 )
...
* wip
* feat: use startTimeBufferSecs from API response
2023-09-08 09:30:57 -07:00
cartcrom
1ac1002c37
fix: fot ui bug in swap details dropdown ( #7277 )
...
* init
* fix: completely hide tax rows while syncing
* test: use syncing = false for fot tests
2023-09-08 10:27:18 -04:00
eddie
08e0fb7f4b
fix: replace base rpc urls with public rpcs ( #7259 )
...
* fix: replace base rpc urls with public rpcs
* fix: designation of safe vs fallback
* fix: remove duplicate
2023-09-07 13:56:30 -07:00
eddie
24d62d9594
feat: uniswapX default feature flag ( #7246 )
...
* feat: uniswapX default feature flag
* fix: bad merge
* fix: toggle behavior and style issues
* fix: toggle behavior
2023-09-07 12:52:24 -07:00
cartcrom
28ea390863
fix: gate FOT UI ( #7272 )
...
* fix: gate FOT UI in swap component
* feat: help article
2023-09-07 14:18:04 -04:00
eddie
4ba0d8ffc0
test: unit tests for swapFlowLoggers ( #7257 )
2023-09-07 10:07:56 -07:00
Jordan Frankfurt
7306423192
fix: eliminate flake from account connect race condition ( #7212 )
...
* fix: reduce flake from race condition
* use interface instead of type for props
* closeMenu instead of closeModal with type
* simplify useCloseModal
* fix bug
* pr feedback
* remove unnecessary code
* fix button wrapper style
* remove ApplicationModal.WALLET
* update color for spore
2023-09-06 17:52:47 -05:00
Zach Pomerantz
147a9bcbb2
fix: move off deprecated gql fields ( #7269 )
2023-09-06 13:48:02 -07:00
Charles Bachmeier
652a8305c8
feat: add BNB support to Token Search and Explore ( #7223 )
2023-09-05 10:57:21 -07:00
Jack Short
80a77dd567
fix: typecheck failing on main ( #7264 )
2023-09-05 13:54:19 -04:00
Jack Short
5951d0c40c
feat: adding currency conversion hook to useUSDPrice ( #7251 )
...
* feat: adding currency conversion hook
* 5m cache policy
* conversion rate hook
* usd check in outer hook
* converting usd price to localcurrencyprice
* checking usd manually
2023-09-05 13:38:33 -04:00
Jack Short
60acc689ee
chore: updating numberFormat for other currencies and languages ( #7239 )
...
* adding currency settings option
* moving menu item to shared component
* adding supported currencies
* currency menu items
* currency url params
* currency selector e2e tests
* fixing tests
* currency icons
* removing eslint
* removing another eslint disable
* renaming to local currency
* more name changes
* design updates
* adding currencies
* changing formatter rules to formatter options
* renaming file
* fixing lint
* custom currency symbol in number formatting
* refactoring input to number formatter
* locale selection
* updating all format numbers with currency and locale
* updating portfolio
* better formatting symbols
* removing adding locale and currency
* upgrading constants to be translatable
* refactoring
* adding tests
* updating comment
* removing 0 from hardcoded input and comment
2023-09-05 12:59:43 -04:00
Charles Bachmeier
cd520a9e2c
refactor: add source to subgraph queries ( #7253 )
...
* feat: add source to subgraph queries
* update test
2023-09-05 08:44:57 -07:00
cartcrom
b6e388c68c
feat: dynamic FOT tax fetching ( #7252 )
...
* feat: disable exact_output FOT swaps
* fix: pr comments
* test: update snapshots
* feat: dynamically fetch tax rates
* remove tax constants file
* test: update useRoutingAPITrade expected args
* fix: useSwapTaxes nits
* lint: useSwapTaxes dependency array
2023-09-01 14:56:26 -04:00
cartcrom
45a138dec1
fix: detect refunds on exact_out native swaps ( #7227 )
...
* fix: detect refunds on exact_out native swaps
* fix: correct comment
2023-09-01 14:55:42 -04:00
cartcrom
26d2ab53e8
feat: disable exact_output FOT swaps ( #7237 )
...
* feat: disable exact_output FOT swaps
* fix: pr comments
* test: update snapshots
2023-09-01 14:23:21 -04:00
gnewfield
e50ecc8309
fix: un-nest translation on AddLiquidityV2 page ( #7258 )
...
fix nested translation components causing translation error
2023-09-01 13:05:49 -04:00
eddie
406d7fe964
feat: remove dead statsig flag ( #7229 )
...
* feat: remove dead statsig flag
* fix: e2e test
2023-08-30 13:08:18 -07:00
eddie
366f4d98ef
fix: remove unused feature flags ( #7234 )
...
* fix: remove unused feature flags
* fix: remove flag from tests
* fix: tests
* fix: remove useUniswapX param
2023-08-30 12:37:50 -07:00
Jack Short
4eda18a4d5
feat: currency selector ( #7196 )
...
* adding currency settings option
* moving menu item to shared component
* adding supported currencies
* currency menu items
* currency url params
* currency selector e2e tests
* fixing tests
* currency icons
* removing eslint
* removing another eslint disable
* renaming to local currency
* more name changes
* design updates
* renaming file
* fixing lint
* Update src/components/AccountDrawer/SettingsMenu.tsx
Co-authored-by: Charles Bachmeier <charles@bachmeier.io>
* alphabetical ordering currencies
* column padding
* padding only for mobile
* memoizing into switch
---------
Co-authored-by: Charles Bachmeier <charles@bachmeier.io>
2023-08-30 14:48:53 -04:00
eddie
ea66b8b959
fix: null check in lists code ( #7248 )
2023-08-30 11:41:40 -07:00
Charles Bachmeier
1eab4291f6
refactor: log NO_ROUTE found instead of paging ( #7242 )
...
* refactor: log no route found instead of paging
* typo
* log router preference
---------
Co-authored-by: Charles Bachmeier <charlie@genie.xyz>
2023-08-29 13:59:51 -07:00
eddie
bed144b994
fix: remove base goerli from chain selector ( #7238 )
...
* fix: remove base goerli from chain selector
* fix: remove all base goerli references
* fix: typecheck
2023-08-29 13:25:10 -07:00
Charles Bachmeier
dac334f975
feat: add info site migration feature flags ( #7228 )
...
* feat: add info site migration feature flags
* feat: feature flag modal improvements
* scrollbar padding
* button padding
2023-08-28 13:13:31 -07:00
Charles Bachmeier
5478cb0c7b
feat: useUSDPrice for nft eth usd price ( #7232 )
...
* feat: useStableCointValue for nft eth usd price
* add new file
* useUSDPrice
* rename
2023-08-28 09:09:30 -07:00
Nate Wienert
b47cebd40b
fix: Spore color fixes ( #7233 )
...
* fix: bridge chain popup line break
* fix: background initial gradient to match the default ETH bg for light and dark mode
2023-08-25 11:43:26 -10:00
Tina
bb51be545b
feat: Support UniswapX exact out trades ( #7225 )
...
* add feature flag for uniswapx exact out trades
* dont route PRICE lookups through uniswapx
* add e2e test
2023-08-25 15:00:22 -04:00
Charles Bachmeier
ce8105bf08
feat: track connected wallet provider calls to be replaced with BE/infura ( #7197 )
...
* feat: track connected wallet provider calls to be replaced with be/infura
* update analytics events
* wrap analytics events in useEffects
* Update src/hooks/useContract.ts
Co-authored-by: Jordan Frankfurt <jordanwfrankfurt@gmail.com>
---------
Co-authored-by: Jordan Frankfurt <jordanwfrankfurt@gmail.com>
2023-08-25 09:51:56 -07:00
Nate Wienert
59db4c5b02
feat: Spore colors refresh ( #7118 )
...
* Add colors and type and fix everywhere
* fix text.tsx
* Color and text adjustments
* Further tweaks
* Removed promotional gradient
Changed to pink
* Add new icons and tweak broken colors
* Kill shadows
Removes shadows from NFT cards, Pools and Tokens tables
* Update icons
Update filled and info icons to filled versions
* Update bag icon
Changed to fill style
* Change share icon
Changed to the new filled arrow
* Fix merge errors
* update tests
* Complete find and replace old colors
* Fix colors on pool pages
* Update index.test.tsx.snap
* fix header hover states
* update test
* Update connect button hover state
* Update styles design bash
* Update tests
* Update fonts
* fix buy button font weight
* update tests
* fix jumping input boxes
* lint
* lints
* update tests
* redo auth header
* fix issues
* fix snapshots
* use individual weights instead of variable for nicer $ signn
* update tests
* make dark mode glow distinct
* remove commented out code
* icons in react
* update textSecondary
* fix feedback
* port over token test fix
* lint
* fix: make popups appear above drawer and near top conditionally only when drawer is open
* Revert "fix: make popups appear above drawer and near top conditionally only when drawer is open"
This reverts commit 994697144374ae3fc0cdf9275bce538fda5fc8de.
---------
Co-authored-by: Callil Capuozzo <callil.capuozzo@gmail.com>
Co-authored-by: pp-hh-ii-ll <111304124+pp-hh-ii-ll@users.noreply.github.com>
Co-authored-by: Callil Capuozzo <callil@uniswap.org>
2023-08-24 17:14:24 -10:00
Jack Short
1f6f1f1dbd
fix: smart contract wallets unsupported ( #7226 )
...
* fix: smart contract wallets unsupported
* logging to amp
* response was deleted
2023-08-24 16:56:07 -04:00
cartcrom
1c142bb71f
feat: workaround for FOT swaps ( #7218 )
...
* fix: workaround to include tax in slippage tolerance
* refactor: simplify tax line item components
* docs: update FOT comments
* fix: simplify tax calculation logic
* docs: update comment and add TODO
* fix: use postTaxAmountOut for price change calculation
* fix: use preTaxStablecoinPriceImpact for swab button warnings
* test: unit test for swap details/modal
* feat: add feature flag to gate FOT changes
* docs: add comment to postTaxOutputAmount getter
* fix: reword fee tooltip
* refactor: warning theme color variable usage
* fix: update snapshots
* fix: use preTaxStablecoinPriceImpact for price impact prompt logic
* lint: dependency array
2023-08-24 10:56:48 -04:00
eddie
3e67982bb4
fix: reset USDT logic ( #7219 )
2023-08-23 16:09:07 -07:00
Charles Bachmeier
bb79c73416
feat: add sentry monitoring for NO_ROUTE error ( #7204 )
...
feat: add sentry monitoring for no_route error
2023-08-23 14:59:26 -07:00
Jordan Frankfurt
b1da7d87f9
fix: proposal creation layout on safari ( #7203 )
...
* fix: proposal creation layout on safari
* add important to header margin
2023-08-23 16:06:24 -05:00
Jordan Frankfurt
a79324f23c
fix: repair broken link ( #7198 )
2023-08-23 16:06:09 -05:00
Jordan Frankfurt
9008db5166
fix: add v2 to lp importer link ( #7199 )
2023-08-23 15:58:09 -05:00
eddie
bcc57e4612
fix: null check on elapsedTime for some browsers ( #7213 )
2023-08-23 10:53:51 -07:00
eddie
8c7315760a
fix: make WrongChainError more specific ( #7175 )
...
* fix: setTraceError in swap callback
* fix: move error class to util file
2023-08-23 09:30:51 -07:00
Jordan Frankfurt
290083b414
fix: isolate assertions into single tests ( #7209 )
2023-08-22 16:34:29 -05:00
cartcrom
4bc778ff3e
feat: add client and router blocknumbers to analytics ( #7170 )
2023-08-22 16:03:23 -04:00
Jordan Frankfurt
49ae6ef6bd
fix: ensure lists are present before running update ( #7206 )
...
* fix: ensure lists are present before running update
* pr input from zzmp
2023-08-22 14:52:59 -05:00