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
Nate Wienert
3dab1da5ea
fix: cypress flaky token details test ( #7193 )
...
improve cypress test
2023-08-21 08:46:08 -10:00
Jack Short
6ec9bb7362
chore: moving conedison/provider to interface ( #7119 )
...
* chore: moving provider from coned to interface
* moving signing over to interface
* updating lockfile
* dedup
* use d3-array build for jest
* downgrading jest/types
* Revert "downgrading jest/types"
This reverts commit 88d3746c00dcd98275be18a4b8af0314ae4329ad.
2023-08-18 16:26:08 -04:00
Brendan Wong
31d0c3c9b3
fix: reorganize chain priority ( #7189 )
...
reorganize chain priority
2023-08-18 15:39:42 -04:00
Zach Pomerantz
88b7acf3ae
feat: use cache while debouncing quotes ( #7188 )
...
* feat: check cache before debouncing quote
* feat: use cached values if available
* fix: initial loading state
* fix: no transition to loading
* chore: return skipToken from args
* test: update snapshots
* fix: add back stale state
2023-08-18 12:36:24 -07:00
eddie
877e000da6
feat: swap quote event ( #7174 )
...
* wip: more metrics
* wip: SWAP_INPUT_FIRST_USED
* feat: track elapsed times
* feat: add e2e test
* fix: order of logging
* feat: swap quote request logging
* feat: e2e test
* feat: another property
* test: test events separately
* fix: dont log for price quotes
2023-08-18 11:47:45 -07:00
Jack Short
3f05a88409
chore: revert path based routing ( #7192 )
...
* Revert "feat: use router depending on the origin (#6982 )"
This reverts commit c9b4016b78e597b824c98e4219867e0af301c755.
* updating tests
* fixing import from styled components
* fixing styled imports
2023-08-18 14:40:47 -04:00
Zach Pomerantz
03ab5c80a8
feat: prefetch eth price for swap currencies ( #7187 )
...
* feat: prefetch eth price for swap currencies
* chore: clarify namings
2023-08-18 10:47:14 -07:00
Jordan Frankfurt
4faaa60aea
chore: update web3-react ( #7158 )
...
* chore: update web3-react
yarn deduplicate
* catch .warn warnings
2023-08-18 11:31:50 -05:00
Zach Pomerantz
3a94a99293
fix: debouncing as a loading state ( #7183 )
...
fix: consider debouncing as loading state
2023-08-17 17:35:54 -07:00
Brendan Wong
e893bc2685
fix: make line height bigger for token preview ( #7186 )
...
* make line height bigger
* Update [[index]].tsx
2023-08-17 17:20:18 -04:00
Brendan Wong
cccf6ac680
fix: add assets to public folder ( #7153 )
...
* fix: add assets to public folder
* Update global-teardown.ts
* update assets
* resize logos
2023-08-17 16:15:17 -04:00
Jack Short
ea5af12b1d
chore: moving language selection to own settings panel ( #7169 )
...
* chore: moving language selection to own settings panel
* auto switch when close
* updating e2e
* clickable style
* moving behind feature flag
* fixing tests
* this looks nicer
* nowrap for overflow
2023-08-17 16:05:18 -04:00
eddie
bf1f613a4f
fix: network connector fix and lists fix ( #7185 )
2023-08-17 12:29:34 -07:00
Brendan Wong
49f1acb52a
fix: displays price when not updated on TDP ( #7068 )
...
* Update PriceChart.tsx
* simplify deltaarrow function
* update text coloring
* increase gap a bit more
* rename tags
* restyling of information
* fix import issue
* Update src/components/Tokens/TokenDetails/PriceChart.tsx
Co-authored-by: Jordan Frankfurt <jordanwfrankfurt@gmail.com>
* unit testing!
---------
Co-authored-by: Jordan Frankfurt <jordanwfrankfurt@gmail.com>
2023-08-17 14:27:16 -04:00
Jordan Frankfurt
a97005e2e1
feat: dedupe on commit ( #7171 )
...
* feat: dedupe on commit
* run existing script
2023-08-17 12:58:35 -05:00