e2d5f85ce0
no need actions
2024-01-05 17:28:30 +00:00
9ee5aa173f
rpcs
Crowdin Upload / upload-sources (push) Has been cancelled
Test / lint (push) Has been cancelled
Test / typecheck (push) Has been cancelled
Test / deps-tests (push) Has been cancelled
Test / unit-tests (push) Has been cancelled
Test / build (push) Has been cancelled
Test / cypress-typecheck (push) Has been cancelled
Test / cypress-rerun (push) Has been cancelled
Test / cloud-typecheck (push) Has been cancelled
Test / cloud-tests (push) Has been cancelled
Test / pre (push) Has been cancelled
Test / cypress-test-matrix (1) (push) Has been cancelled
Test / cypress-test-matrix (2) (push) Has been cancelled
Test / cypress-test-matrix (3) (push) Has been cancelled
Test / cypress-test-matrix (4) (push) Has been cancelled
Test / hardhat-cache (push) Has been cancelled
Test / post (push) Has been cancelled
2024-01-05 17:25:52 +00:00
f99f20fe18
fuck telemetry
2024-01-05 17:25:33 +00:00
fb0108196c
add torn to default tokens list
Crowdin Upload / upload-sources (push) Has been cancelled
Test / lint (push) Has been cancelled
Test / typecheck (push) Has been cancelled
Test / deps-tests (push) Has been cancelled
Test / unit-tests (push) Has been cancelled
Test / build (push) Has been cancelled
Test / cypress-typecheck (push) Has been cancelled
Test / cypress-rerun (push) Has been cancelled
Test / cloud-typecheck (push) Has been cancelled
Test / cloud-tests (push) Has been cancelled
Test / pre (push) Has been cancelled
Test / cypress-test-matrix (1) (push) Has been cancelled
Test / cypress-test-matrix (2) (push) Has been cancelled
Test / cypress-test-matrix (3) (push) Has been cancelled
Test / cypress-test-matrix (4) (push) Has been cancelled
Test / hardhat-cache (push) Has been cancelled
Test / post (push) Has been cancelled
2023-12-22 07:12:38 +00:00
986cf07391
remove warnings
2023-12-22 07:12:12 +00:00
48eb3f0005
remove prohibited & blocked lists checking
Semgrep / semgrep/ci (push) Has been cancelled
Crowdin Upload / upload-sources (push) Has been cancelled
Test / lint (push) Has been cancelled
Test / typecheck (push) Has been cancelled
Test / deps-tests (push) Has been cancelled
Test / unit-tests (push) Has been cancelled
Test / build (push) Has been cancelled
Test / cypress-typecheck (push) Has been cancelled
Test / cypress-rerun (push) Has been cancelled
Test / cypress-test-matrix (1) (push) Has been cancelled
Test / cypress-test-matrix (2) (push) Has been cancelled
Test / cypress-test-matrix (3) (push) Has been cancelled
Test / cypress-test-matrix (4) (push) Has been cancelled
Test / hardhat-cache (push) Has been cancelled
Test / cloud-typecheck (push) Has been cancelled
Test / cloud-tests (push) Has been cancelled
Test / pre (push) Has been cancelled
Test / post (push) Has been cancelled
2023-12-19 17:21:56 +00:00
a95c8fab5a
change mainnet rpc bcs infura blocks connections not from uni
2023-12-19 17:21:10 +00:00
1c131ee496
fix installation graphql script
Crowdin Upload / upload-sources (push) Waiting to run
Test / lint (push) Waiting to run
Test / typecheck (push) Waiting to run
Test / deps-tests (push) Waiting to run
Test / unit-tests (push) Waiting to run
Test / build (push) Waiting to run
Test / cypress-typecheck (push) Waiting to run
Test / cypress-rerun (push) Waiting to run
Test / cypress-test-matrix (1) (push) Blocked by required conditions
Test / cypress-test-matrix (2) (push) Blocked by required conditions
Test / cypress-test-matrix (3) (push) Blocked by required conditions
Test / cypress-test-matrix (4) (push) Blocked by required conditions
Test / hardhat-cache (push) Blocked by required conditions
Test / cloud-typecheck (push) Waiting to run
Test / cloud-tests (push) Waiting to run
Test / pre (push) Waiting to run
Test / post (push) Blocked by required conditions
2023-12-19 13:56:52 +00:00
911af900ed
remove tokens censoring
Crowdin Upload / upload-sources (push) Waiting to run
Semgrep / semgrep/ci (push) Waiting to run
Test / lint (push) Waiting to run
Test / typecheck (push) Waiting to run
Test / deps-tests (push) Waiting to run
Test / unit-tests (push) Waiting to run
Test / build (push) Waiting to run
Test / cypress-typecheck (push) Waiting to run
Test / cypress-rerun (push) Waiting to run
Test / cypress-test-matrix (1) (push) Blocked by required conditions
Test / cypress-test-matrix (2) (push) Blocked by required conditions
Test / cypress-test-matrix (3) (push) Blocked by required conditions
Test / cypress-test-matrix (4) (push) Blocked by required conditions
Test / hardhat-cache (push) Blocked by required conditions
Test / cloud-typecheck (push) Waiting to run
Test / cloud-tests (push) Waiting to run
Test / pre (push) Waiting to run
Test / post (push) Blocked by required conditions
2023-12-19 13:16:53 +00:00
Kristie Huang
fc7ecc7e3b
feat: [info] add multi-chain balances on TDP ( #7493 )
...
* feat: wip, [info] add TDP crosschain balances
* very wip new balances
* progress on balances
* wip new balance
* add todo for native tokens
* fix bridge info caching
* fix bridge info caching & clean up
* cleanup query logic
* remove pollinginterval enum change
* fix logo flickering
* minor comment cleanup
* more minor comment cleanup
* use gqlToCurrency instead
* css changes for balance box
* css changes for mobile balance summary footer
* fix apollo client caching tokens merge
* clarify comment
* make chainId required
* comment cleanup
* fix: balance fetch caching
* fix prefetchbalancewrapper css jank
* remove padding
* delete extraneous borderRadius
* update comment
* should not show balancecard at all if no balances
* rename to multichain
* changes to mobile bar css
* use surface1 theme background
* oops add back bottom-bar
* fix cypress tests ??
* revert change
* broken apollo merge??
* remove extraneous tokens call
* remove apollo merge for portfolio>tokens
* oops fix some pr review
* load portfolio balances as it updates
* pr review
* update comment linear ticket
* remove extraneous chainId prop
* increase timeout time
* should not do symbols check
* pr review
* pr review
* refactor multichainbalances into map
* remove address native
* nit pr review
* use portfoliobalance fragment
* fix typechecking gql
* TYPES
---------
Co-authored-by: cartcrom <cartergcromer@gmail.com>
2023-11-27 13:40:19 -05:00
Kristie Huang
4a5a41c59e
fix: fix uniswapx feature flag test cleanup ( #7615 )
2023-11-21 14:42:40 -05:00
Kristie Huang
4bec816e6c
fix: disable fees and uniswapx tests + skip localStorage reads for bl… ( #7580 )
...
fix: disable fees and uniswapx tests + skip localStorage reads for blocked addresses (#7564 )
* fix: disable fees tests
* skip uniswapx tests for now
* turn off uniswapx for classic swap test
* skip local cache reads for blocked accounts
* fix: broken pools test (#7562 )
* test: update hardhat blocknumber (#7559 )
* init
* fix: remove console log
* fix: add comment
---------
Co-authored-by: Tina <59578595+tinaszheng@users.noreply.github.com>
Co-authored-by: cartcrom <cartergcromer@gmail.com>
Co-authored-by: cartcrom <39385577+cartcrom@users.noreply.github.com>
2023-11-21 14:10:28 -05:00
Kristie Huang
1d1b15f4ac
fix: android banner DownloadButton onClick should not propagate up ( #7611 )
...
* android banner link - remove linktarget
* stop propagation?
* linter
2023-11-20 12:36:02 -05:00
Tina
1ffaf723de
fix: dont show USD price difference for wraps ( #7610 )
...
dont show stableconi price difference on wraps
2023-11-17 17:46:16 -05:00
Tina
dd4b2dc764
fix: only change input currency to weth after eth wrap completes for uniswapx eth input trades ( #7604 )
...
* only change input currency to weth after wrap completes
* add e2e test
* update test
2023-11-17 10:47:16 -05:00
eddie
5ded55e061
feat: x rollout cleanup ( #7582 )
...
* feat: cleanup post x rollout
* feat: remove feature flag
* fix: remove more unused styled components
* fix: delete deprecated value from redux store
* fix: lint
* fix: remove userOptedOutOfUniswapX
* fix: migrate verion in edge case, add test
2023-11-16 13:59:36 -08:00
eddie
0f4ca592f2
fix: remove /increase route ( #7603 )
...
* fix: remove /increase route
* fix: rename confusing components
2023-11-16 13:36:57 -08:00
Kristie Huang
90497dc08a
chore: refactor TDP time selector ( #7600 )
...
* feat: [info] add tdp charts toggle, WIP
* some refactoring
* remove chartType related changes after cherrypick
* nit
* remove setTransition
2023-11-16 13:46:25 -05:00
eddie
2e618fb2aa
fix: remove 3 launched feature flags ( #7589 )
...
* fix: remove 3 launched feature flags
* fix: remove unused componnent
* fix: remove another apple logo
2023-11-15 11:17:02 -08:00
cartcrom
0aa5727cdd
fix: don't format wrap input amount ( #7592 )
...
* fix: don't format wrap input amount
* lint
2023-11-15 13:58:57 -05:00
Tina
79e74e1d13
fix: disable showing approve cost for arbitrum ( #7594 )
...
disable showing approve cost for arbitrum
2023-11-15 13:24:13 -05:00
eddie
52dc441e31
feat: swap component refactor limits ( #7588 )
...
* feat: add limits tab, flag
* feat: add unit test
* fix: update snapshot
2023-11-15 09:00:03 -08:00
Tina
ff6d1cc510
feat: read token taxes from backend response ( #7532 )
...
* read token taxes from backend
* revert env changes
* upgrade router-sdk for updated price impact logic
* add tax information to trade currencies instead of directly on trade object
* consolidate getTradeCurrencies with getSwapCurrenciesWithTaxInfo
* delete feature flag for token taxes!
* run yarn dedupe again
* fix unit tests
* update logic for disabling inputs
* update snapshot again
* fix return value for uniswapx
* remove unused constants and update comment
* pr review
* re-add useSwapTaxes for token descriptor page
* add in client-side tax fetching on currency level
* revert removing newline
* typecheck....
* typecheck...
* remove inputTax, outputTax from routing-api arguments because they are now unused
* dont pass in tax info to preview trade
2023-11-15 09:57:43 -05:00
cartcrom
76157c057e
fix: portfolioLogo alignment ( #7585 )
...
* fix: portfolioLogo alignment
* fix: snapshot
2023-11-14 17:02:16 -05:00
eddie
a1bd6f5eb4
feat: update default router preference in redux ( #7571 )
2023-11-14 11:05:47 -08:00
Jack Short
f903eedc15
fix: redux migration to flush german locale ( #7584 )
...
* fix: redux migration to flush german locale
* lint
* my linter was not workking
2023-11-14 13:29:17 -05:00
eddie
1feeaea181
test: update e2e tests after X rollout ( #7583 )
...
test: updatea e2e tests after X rollout
2023-11-14 09:13:57 -08:00
eddie
7b10c94e4d
fix: update robots.txt file ( #7570 )
2023-11-14 09:13:44 -08:00
eddie
f2f59d52cb
feat: update legacy redux migration post X rollout ( #7572 )
2023-11-13 15:19:28 -08:00
eddie
a5034cb1c0
fix: reset token selections when changing chains on /add ( #7561 )
...
* fix: reset token selections when changing chains on /add
* fix: tests
* fix: add e2e test
* fix: remove .only
2023-11-13 15:10:44 -08:00
eddie
2227a38276
fix: set current redux version to 3 ( #7578 )
...
* fix: set current redux version to 3
* fix: tests
2023-11-13 14:21:50 -08:00
Thomas Thachil
9f06747958
fix(): deeplink for android wc ( #7573 )
2023-11-13 16:46:15 -05:00
Kristie Huang
c6b44bb5c9
fix: use NativeCurrency for polygon matic ( #7567 )
...
* fix: use NativeCurrency for polygon matic
* add comment
* update snapshots??
* Revert "update snapshots??"
This reverts commit 280758be118610cc9e13afcd6e420985e8a200d2.
2023-11-13 16:11:33 -05:00
Zach Pomerantz
1d64d24d31
fix: update function tests for 404ing collections ( #7575 )
2023-11-13 15:39:51 -05:00
cartcrom
d8e43f0834
fix: broken pools test ( #7562 )
2023-11-09 19:57:01 -05:00
cartcrom
82f27186cf
test: update hardhat blocknumber ( #7559 )
...
* init
* fix: remove console log
* fix: add comment
2023-11-09 18:43:10 -05:00
Kristie Huang
876d3a1cc3
feat: [info] add new tdp nav ( #7531 )
...
* feat: [info] add new tdp nav
* tidy up code
* pr review
* nit remove unused component style
* pr review
* lol extraneous extra
2023-11-09 14:51:23 -05:00
Nate Wienert
712f82cb1a
chore: align eslint version with wallet repo ( #7526 )
2023-11-09 08:11:13 -10:00
Tina
682215a574
feat: use useUSDPrice hook for calculating token usd value for auto slippage ( #7555 )
2023-11-09 13:08:54 -05:00
Kristie Huang
395b390df6
feat: add android announcement banner ( #7551 )
...
* feat [wip]: add android announcement banner
* feat: [wip] add android announcement banner
* finish css
* remove hideBaseWallet references
* phil changes
* minor lint nit
* pr review
* growth copy
2023-11-08 16:18:16 -05:00
Tina
cee3390b71
fix: skip all quote / pricing requests if window is not visible ( #7554 )
...
* skip all quote / pricing requests if window is not visible
* add unit tests
* add ts-ignore comment
2023-11-08 15:14:50 -05:00
Jack Short
418ee08b00
chore: adds e2e test for when usd quote fetch fails ( #7215 )
...
* chore: adds e2e test for when usd quote fetch fails
* Update src/components/CurrencyInputPanel/SwapCurrencyInputPanel.tsx
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
* Update cypress/e2e/swap/errors.test.ts
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
---------
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
2023-11-08 13:27:10 -05:00
Charles Bachmeier
ebfcd8fbbe
refactor: move pool details components to the components folder ( #7553 )
...
* refactor: move pool details components to the components folder
* cleanup index imports
* update snapshot
2023-11-08 10:24:59 -08:00
Jack Short
c27e70b87c
chore: e2e insufficient liquidity test ( #7075 )
...
* chore: e2e insufficient liquidity test
* Update cypress/e2e/swap/errors.test.ts
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
* fixing lint
* waiting for quote
* stubbing insufficient liquidity response
* req reply
* trying full url
* maybe cors
* moving before visit
* adding back timeout
* Revert "adding back timeout"
This reverts commit 89cff3afb815f5e5db005347f20812b83e047057.
* in describe block
* moving to new file
* moving to errors test file
* moving comment
* removing extra describe
---------
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
2023-11-08 13:11:41 -05:00
Jack Short
b4f3555600
chore: add appropriate padding and update chain selector to styled ( #7549 )
...
* chore: add appropriate padding and update chain selector to styled
* light gray on hover remove
* Update src/components/NavBar/ChainSelector.tsx
Co-authored-by: Charles Bachmeier <charles@bachmeier.io>
---------
Co-authored-by: Charles Bachmeier <charles@bachmeier.io>
2023-11-08 12:31:45 -05:00
Jack Short
0e87c38548
chore: disabling exact output for fot tokens ( #7550 )
...
* chore: disabling exact output for fot tokens
* fixing currency symbol
2023-11-08 12:28:23 -05:00
Charles Bachmeier
245d0eed06
fix: hide invalid nft collections with 0 items from search bar ( #7547 )
...
fix: hide invalid collecitons with 0 items
2023-11-08 12:21:14 -05:00
Kristie Huang
46c8caa09c
feat: update app download tracking for Android launch ( #7542 )
...
* feat: change UniwalletModal android text
* very wip android WC
* adding android/ios disambiguated event names
* put analytics events in todos
* use analytics package
* use isAndroidGALaunched
* fix ternary
* add navbar menu element
* broken onelink changes
* replace utm with onelinks
* use microsite link in address redirect
* fix unit tests, no longer discriminate between platforms expected behavior
* nit lint
2023-11-07 17:24:44 -05:00
Jack Short
aa056adaf9
chore: removing check mark on token selector ( #7533 )
2023-11-07 15:20:49 -05:00
Charles Bachmeier
ce4df4f79e
fix: add chainId to dependency array ( #7548 )
...
fix: add chain to dependency array
2023-11-07 09:58:25 -08:00
Kristie Huang
769a7ab9b5
fix: rename WrappedTokenInfo class ( #7495 )
...
* fix: rename WrappedTokenInfo class
* delete old wrappedTokenInfo file
* rename to TokenFromList
* move back to state/lists
* appease linter
* fix nftlistrow
2023-11-06 16:15:41 -05:00
Kristie Huang
5cbc56cf65
feat: [info] add new stats box ( #7522 )
...
* feat: [info] add new stats section, wip
* add stats section
* implement fdv and market cap
* use fdv from backend gql
* code cleanup
* update cypress tests
* should only wrap if screen width <= 640
* minor design nits
* remove sitemap change
* nit pr review
2023-11-06 15:54:43 -05:00
eddie
098c7b9cbe
fix: update uniwallet wc link ( #7450 )
...
* fix: update uniwallet wc link
* fix: undo url change for redirect
2023-11-06 12:22:03 -08:00
Jack Short
a0d880cf81
fix: spam tokens showing up in currency selector ( #7545 )
...
* fix: spam tokens showing up in currency selector
* chain id check
* token chain id
2023-11-06 14:40:36 -05:00
Kristie Huang
443a00a777
fix: remove version check in redux lists update + migrate outdated USDC saved tokens ( #7544 )
...
* fix: remove version check lists update
* add migration and test
* pr review
2023-11-06 14:20:55 -05:00
Jack Short
9eaa22f644
chore: converting useStablecoinPrice to useUsdPrice in autoslippage ( #7543 )
2023-11-03 12:51:04 -04:00
Nate Wienert
1c92482855
fix: basel font using wrong variation settings ( #7536 )
...
* fix: basel font using wrong variation settings
2023-11-02 11:05:13 -10:00
Nate Wienert
274d79dfde
chore: align uniswap deps with wallet repo ( #7527 )
...
* chore: align uniswap deps with wallet repo
2023-11-02 11:02:09 -10:00
Charles Bachmeier
c2ca9ab93e
feat: [info] update token links ( #7505 )
...
* update pdp link styles
* dynamic link text
* move links to their own file
* border width case
* todo comments
* add explorer icon
* hide chain logos on other chain
* remove quotes
* clean up
* unused style
2023-11-02 13:53:18 -07:00
Tina
0fbc826581
feat: Remove logging whole error object for analytics ( #7540 )
2023-11-02 16:32:12 -04:00
Charles Bachmeier
e9f784b2bc
refactor: clean up getExplorerLink helper fn ( #7537 )
2023-11-02 09:11:13 -07:00
Charles Bachmeier
f9a9469523
feat: [info] Add token description to TDP ( #7504 )
...
* update token description for TDP
* add tooltip to fee
* show buy/sell fees
* remove token description from PDP
* remove unused styles
* update snapshots
* undo fee component testing
* isInfoTDPEnabled
* update explorer fn
2023-11-02 08:32:58 -07:00
Jack Short
b995f4d671
fix: fixing ugly scrollbar ( #7535 )
2023-11-01 14:27:07 -04:00
Kristie Huang
3f62bcf2f0
feat: add Android feature flag & change some app logos ( #7524 )
...
* fix: generalize iOS language to app, and add color app icon
* remove apple logo
* delete more apple logos
* remove learn more arrow
* update snapshots
* add feature flags to android changes
2023-11-01 14:25:15 -04:00
Jack Short
bd30721989
chore: updating nft numbers ( #7351 )
...
* format price impact
* format price
* adding confirm swap modal
* removing export
* adding export back
* half of test functions done
* format numbers tests
* formatting
* making numberFormat local
* making formatCurrencyAmount internal
* price impact
* formatSlippage
* formatTickPrice
* formatNumberOrString
* formatFiatPrice
* removing formatPreciseFloat
* formatReviewSwapCurrencyAmount
* correct active currency
* explore table
* deleting formatTickPrice
* fixing explore table
* nft assset details
* removing all instancees of ethnumberstandardformatter
* removing format wei impls
* explore table
* collectino stats
* removing almost everything from nft/numbers
* filter button
* final nft fixes
* removing put commas
* explore page
* listing page
* extraneous functions
* responding to comments
* formatEhter
* updating formatter names
* dep array
* comments
---------
Co-authored-by: John Short <john.short@CORN-Jack-899.local>
2023-11-01 12:44:45 -04:00
Jack Short
802d56231a
fix: updating currency search panel for number formatting ( #7407 )
2023-10-31 16:46:02 -04:00
Kristie Huang
9536df2ff1
fix: remove bridged USDC from quickselect ( #7529 )
...
* fix: remove bridged usdc from quickselect
* oops remove migrations logic
* update routing test
2023-10-31 16:26:44 -04:00
Jack Short
ff3ed31dd7
chore: cleaning up previous uk blocking functionality ( #7489 )
2023-10-31 13:45:26 -04:00
Jack Short
719f82c7c4
feat: pool page currency conversion ( #7416 )
2023-10-31 13:44:38 -04:00
mr-uniswap
0937e35095
ci: removed snyk files ( #7521 )
...
removed snyk files
2023-10-31 13:36:24 -04:00
Matthew Spector
3f9b436c86
fix: Changing some language around fees ( #7492 )
...
* fix: Changing some language around fees
* adding chain name to toolti
* lowercase network
* fixing tests
2023-10-31 09:34:04 -07:00
Kristie Huang
40afc7388a
fix: add space to migrateV2 link ( #7523 )
2023-10-31 01:52:36 -04:00
mr-uniswap
eff6484a10
ci: basic semgrep configuration ( #7520 )
...
* basic semgrep configuration
* only main branch
2023-10-30 16:00:40 -04:00
Kristie Huang
635875345e
fix: add native USDC to Optimism quick-select ( #7499 )
...
* fix: add native USDC to Optimism quick-select
* fix jest test
2023-10-30 13:08:28 -04:00
Kristie Huang
b670affd4c
fix: add native USDC to Polygon quick-select ( #7500 )
...
* fix: add native USDC to Polygon quick-select
* remove usdce
* pr review
2023-10-30 11:35:45 -04:00
Charles Bachmeier
6798bf3cf1
feat: [info] add PDP loading skeleton ( #7494 )
...
* initial skeleton setup
* responsive table skeleton
* correct table widht
* right side column added
* add comments
* move loading components to their corresponding component
* remove extra bubble and adjust some styles
* move table skeleton to its own file
* add shared styles and skele file
* add loading skeleton tests
* design style nits
* update tests
* bips_base
* fix regression
2023-10-20 13:11:22 -07:00
Kristie Huang
8734ee5986
fix: dedupe matic native token ( #7485 )
...
* fix: dedupe matic native token, wip
* use precompile address
* prefill swap currency with page chain, not connected chain
* fix token-explore test
2023-10-20 14:13:58 -04:00
Charles Bachmeier
226fc441a7
refactor: allow missing input for useSwapTaxes ( #7498 )
2023-10-20 09:54:13 -07:00
eddie
36242d14b0
feat: add temporary logging to swap_signed ( #7472 )
2023-10-19 13:49:13 -07:00
eddie
b02352e8bf
fix: dont try to log unserializable objects ( #7497 )
...
* fix: dont log unserializable objects to amplitude
* fix: add more fields
* fix: nits
* fix: add chainid
2023-10-19 13:38:16 -07:00
Nate Wienert
819e2f5712
fix: fix contrast on l2 network text ( #7466 )
...
* fix: fix contrast on l2 network text
2023-10-19 13:05:26 -04:00
Jack Short
5357c58ac9
chore: removing german from supported languages ( #7490 )
...
* chore: removing german from supported languages
* updating tests
* Update src/utils/formatNumbers.test.ts
Co-authored-by: Charles Bachmeier <charles@bachmeier.io>
---------
Co-authored-by: Charles Bachmeier <charles@bachmeier.io>
2023-10-18 16:01:47 -04:00
Zach Pomerantz
aada666c1a
fix: de-flake Cypress through various means ( #7488 )
...
* build: reduce retries to discourage flakes
* fix: lazy-load asset logos
* chore: simplify logging test
* fix: guard against dutch orders for pricing
* test: only stub non-pricing quotes
* fix: opt in flicker
* test: mock statsig
2023-10-18 12:44:52 -07:00
cartcrom
86fc15907a
refactor: consolidate percent formatting util ( #7467 )
...
* refactor: consolidate percent formatting util
* refactor: use generic percent formatter
* fix: add descriptive comment for formatDelta
2023-10-18 14:34:37 -04:00
Kristie Huang
c5f2df4bc0
fix: update USDbC to default USDC on Base ( #7377 )
...
* fix: update usdbc to default usdc
* add base to chainid logo lookup
* remove nit
* replace dai with usdbc
2023-10-18 14:03:55 -04:00
ksvat
71d3661b22
fix: currency balance for search token ( #7471 )
2023-10-18 10:54:47 -07:00
eddie
740db0fe16
fix: merge portfolio tokens w/ default token list in Currency Selector ( #7479 )
2023-10-17 14:00:39 -07:00
Kristie Huang
ed6afb50de
feat: [info] add explore page ( #7381 )
...
* feat: add explore page
* add explore filter options
* add search bar defocus
* use Tokens Tab state for filters
* flag-gate /tokens
* filter bar css
* remove duplicate Explore page, use flag instead
* fixes
* create tabbednav interface
* rename Tokens to Explore
* simplify routing
* nit
* padding nit
* pr review
* fix menu flyouts
* fix TDP nav
* add analytics events + ui updates + pr review
* nit
* nit
* add small comment
* menu flyout nit
* fix merge conflict
* min width expand menu flyouts
* fix redirects
* update routing snapshot
* nit css
* oops
* breakpoints
* fix tab routing
* pr review
* add better tab dynamic routing
* fix redirects
* error handle edge urls
* further fix routing
* define return val for useExploreParams
* Update snapshot
2023-10-17 15:34:34 -04:00
eddie
9d439e7f62
feat: organize sitemaps ( #7475 )
2023-10-17 11:07:23 -07:00
charity-sock-pacifist
6b60855362
fix: learn more url [main] ( #7483 )
...
* fix: learn more url
* fix: snapshots
---------
Co-authored-by: charity-sock-pacifist <interface-github@example.com>
2023-10-17 13:58:16 -04:00
dependabot[bot]
53b53c2207
build(deps-dev): bump @uniswap/default-token-list from 11.2.0 to 11.8.0 ( #7480 )
...
Bumps [@uniswap/default-token-list](https://github.com/Uniswap/default-token-list ) from 11.2.0 to 11.8.0.
- [Release notes](https://github.com/Uniswap/default-token-list/releases )
- [Commits](https://github.com/Uniswap/default-token-list/commits )
---
updated-dependencies:
- dependency-name: "@uniswap/default-token-list"
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-17 12:12:41 -04:00
charity-sock-pacifist
2818167131
feat: swap fees [main] ( #7478 )
2023-10-16 19:32:39 -04:00
eddie
c2440d1080
fix: use a different ipfs gateway ( #7473 )
2023-10-16 14:20:44 -07:00
eddie
f556f745fb
fix: remove sitemap step from ci ( #7470 )
2023-10-13 13:20:10 -07:00
cartcrom
7f597c0fab
refactor: use bips base constant ( #7464 )
...
* refactor: use bips base constant
* fix: missed usage
2023-10-13 16:15:28 -04:00
Tina
cfaf5d79c1
feat: Remove local routing setting ( #7462 )
...
* remove client side router preference
* update e2e test
* fix comment
2023-10-13 14:33:47 -04:00
eddie
e9fbf61375
fix: position X opt in tooltip on TDP ( #7465 )
2023-10-13 10:20:10 -07:00
eddie
749c9b40ea
fix: specify canonical URLs ( #7455 )
...
* fix: app.uniswap.org canonicals
* fix: deps test
* fix: use window.location.origin
2023-10-13 09:27:15 -07:00
eddie
b553a6fcd8
feat: nfts sitemap ( #7456 )
...
* feat: add nft collections to sitemap
* feat: size check on sitemap
* fix: update generate-sitemap script
2023-10-13 09:17:57 -07:00
eddie
ad1e2c60a1
fix: delay setting user.router_preference until statsig and redux initialize ( #7458 )
2023-10-12 15:42:57 -07:00
eddie
7001452f89
fix: move user prop updater into statsigProvider ( #7442 )
2023-10-12 11:30:02 -07:00
eddie
5fee3c6fdd
fix: sitemap format ( #7453 )
2023-10-11 15:23:15 -07:00
eddie
40b1e40721
fix: remove bridge usdc arbitrum ( #7446 )
2023-10-11 12:16:15 -07:00
eddie
aee4df10a8
fix: change default tx deadline to 10m ( #7451 )
...
* fix: change deadline to 10m
* test: add unit tests
* fix: improve unit tests
2023-10-11 12:15:51 -07:00
Charles Bachmeier
82a194987a
feat: [info] Add Token Description Component ( #7400 )
...
* working token details section
* update decription styling
* different chain explorers
* remove wrap check for color extraction
* move token description to its own component, add copy, make simple project query
* rename styled components and add tests
* remove old comment
* await test fragment
* fix: update description truncation from TokenDescription (#7413 )
* fix: update description truncation from TokenDescription
* fix: use better name
* fix: test if description is hidden or not (#7422 )
---------
Co-authored-by: Charles Bachmeier <charles@bachmeier.io>
* make darker or lighter
* showCopy default false
* update test
* remove unused styles
---------
Co-authored-by: eddie <66155195+just-toby@users.noreply.github.com>
2023-10-11 10:32:33 -07:00
eddie
1882b14690
fix: hide slippage warning when trade is x ( #7439 )
2023-10-11 10:21:43 -07:00
gnewfield
d56030a920
feat: add progress_indicator_v2 flag ( #7445 )
...
* feat: add progress_indicator_v2 flag
* rename flag hook
2023-10-11 12:53:10 -04:00
Kristie Huang
b75438bc8b
fix: fix sitemaps routes test ( #7441 )
...
* fix: fix sitemaps routes test
* avoid checking all top-tokens paths
2023-10-11 12:53:01 -04:00
Thomas Thachil
9f44e48cf1
chore(): update deeplink package names ( #7399 )
2023-10-11 12:17:45 -04:00
cartcrom
48855f487f
feat: animated review expando ( #7440 )
...
* feat: animated review expando
* test: update snapshots
* fix: pr comments + spacing
2023-10-11 09:23:28 -04:00
eddie
f09ded1a3f
fix: user prop updater staging ( #7443 )
...
fix: move user prop updater into statsigProvider
2023-10-10 15:51:26 -07:00
cartcrom
e16348e2e0
feat: new chain logos ( #7438 )
...
* feat: new consolidated chain logos
* test: update snapshots
* refactor: simplify border radius formula
* fix: pass style prop to portofolio logo container
* lint
* fix: accessibility
* fix: pr nits'
* fix: unnused styled component
2023-10-10 18:25:50 -04:00
Kristie Huang
45c3e1dc78
feat: add dynamicconfig modal setting ( #7395 )
...
* feat: add dynamicconfig feature flags setting
* better typing
* use diff atom for configs
* fix
* add config to devflagsbox
* fix devbox intiailization
* lint
2023-10-10 15:37:47 -04:00
Charles Bachmeier
24ddace1eb
feat: [info] update color extract default and have PDP fallback ( #7432 )
...
* feat: [info] update color extract default and have a fallback
* uncomment section removed for testing
* update snapshot
2023-10-10 12:24:57 -07:00
eddie
b38ce038e6
feat: remove sitemap script from prepare step ( #7437 )
2023-10-10 10:41:08 -07:00
Charles Bachmeier
04bf075826
fix: broken Checkmark image for Mobile NFT Sort dropdown ( #7401 )
...
fix broken image
2023-10-10 10:02:21 -07:00
eddie
27ec2e018c
feat: add robots.txt ( #7435 )
2023-10-06 17:09:04 -07:00
eddie
3ffe7693cf
feat: add top token urls to sitemap and improve script ( #7429 )
...
* feat: add top token urls to sitemap and improve script
* fix: remove unnecessary header
* fix: test
2023-10-06 17:08:46 -07:00
Jack Short
2c7381ff47
fix: removing scrollbar on swap with banner ( #7434 )
2023-10-06 15:33:04 -04:00
Jack Short
6e4746a7fe
feat: uk disclaimer banner ( #7428 )
...
* feat: uk disclaimer banner
* bad merge with sitemap
* button
* cypress test
* intercept ordering
* comments
* sitemap was committed idk why
* font weights
* moving uk disclaimer
* removing trash
2023-10-06 14:00:07 -04:00
Kristie Huang
48379c66ce
feat: [info] remove balance summaries from TDP ( #7430 )
2023-10-06 13:07:29 -04:00
eddie
1b7f0d11fd
fix: override user pref in analytics ( #7420 )
2023-10-06 09:21:18 -07:00
Kristie Huang
db1d264ad3
fix: unhide native gas token from miniportfolio ( #7374 )
...
* fix: unhide native gas token from miniportfolio
* wip tests & gql types
* fix tests, default hide small balances
* pr review
* fix e2e hidden count
2023-10-06 12:11:44 -04:00
Connor McEwen
fd24cb890a
fix: meta tag injector uses property, not name ( #7431 )
2023-10-06 11:46:39 -04:00
cartcrom
932c4482d2
feat: updated rate/routing tooltips ( #7412 )
...
* feat: updated routing tooltips
* refactor: gas price formatting
* fit: boolean rendering
2023-10-05 17:25:53 -04:00
Connor McEwen
2d8dac5c15
fix: merge issue ( #7427 )
...
* fix: merge issue
* update snapshots
2023-10-05 16:30:57 -04:00
Kristie Huang
0e3d188a9a
feat: add feature flags settings overrides box ( #7406 )
...
* add feature flags settings overrides box
* cat
* useGate hook monstrosity
* pr changes
* exclude devflagsbox from code cov
* pr review
* mobile bottom bar
* nit
* initialize atom
* fix atom initialization
* remove comments
* fix devbox initialization
* nit remove diff
2023-10-05 15:48:02 -04:00
cartcrom
1be62f0bec
feat: updated slippage ui ( #7409 )
...
* feat: updated slippage ui
* fix: update settings to also have period in max slippage string
* test: update e2e test search string
2023-10-05 15:34:23 -04:00
Connor McEwen
e6519a7dd1
feat: support redirects for a list of header paths ( #7411 )
...
* add country code to meta tag
* use blocked paths header
* proper types
* add test
* Update functions/components/metaTagInjector.ts
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
* Update functions/components/metaTagInjector.ts
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
* Update src/pages/App.tsx
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
* pr suggestions
* skip failing e2e
* revert test change
* take file from main
---------
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
2023-10-05 15:25:45 -04:00
eddie
3ced65b8a4
feat: add sitemap for app.uniswap.org ( #7408 )
...
* feat: add sitemap for app.uniswap.org
* feat: script to update lastmod
* fix: deps and snapshots
* fix: use xml2js
* fix: improve test and sitemap
2023-10-05 12:19:58 -07:00
eddie
bab8506919
fix: dont crash on invalid tokenId ( #7410 )
2023-10-05 12:12:34 -07:00
eddie
4a79280edc
feat: allow manual test runs ( #7415 )
2023-10-05 12:12:21 -07:00
eddie
53f0ca9b7e
fix: disable UniswapX opt-out in e2e tests ( #7423 )
2023-10-05 11:54:24 -07:00
eddie
0381200fec
fix: ignore large slices in immutable check ( #7425 )
2023-10-05 11:40:52 -07:00
Matthew Spector
040ebb5475
fix: Remove Minus Sign for FOT Display ( #7419 )
2023-10-05 11:33:28 -07:00
Charles Bachmeier
0752314d87
fix: click on test row directly ( #7424 )
2023-10-05 11:08:39 -07:00
Charles Bachmeier
9db5fd104a
fix: use in house token for low volume test ( #7414 )
...
* fix: use discontinued project for low volume test
* use token I created
* update comment
* no info available
* remove socials
* update comment
* checksummed address
2023-10-04 18:18:57 -07:00
cartcrom
b9db195017
feat: gas costs ui updates ( #7405 )
...
* feat: gas costs ui updates
* lint
* test: update snapshots
* test: update other snapshots
2023-10-04 16:08:00 -04:00
eddie
b6bdbcf587
test: mock http requests in jest ( #7394 )
...
* test: try no coverage for unit tests
* test: onlychanged
* test: try parallel
* fix: no http in unit tests
* fix: deduplicate
* fix: nock only
* fix: maxworkers 2
* fix: remove nock
* fix: restore nock
* fix: comment
* fix: try again with jest-offline
* fix: remove jest-offline
* test: try 2 again
* fix: 100%
2023-10-03 14:37:27 -07:00
eddie
cc325b2fbe
fix: no stale trade when otherCurrency is missing ( #7403 )
2023-10-03 14:33:48 -07:00
Jack Short
2694379c97
chore: currency percentages ( #7358 )
...
* formatPercent
* hook deps
* price chart
* price chart formatting
* bug bash findings
* Update src/utils/formatNumbers.ts
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
* fixing merge errors
* unit tests
* special cases
---------
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
2023-10-03 13:29:36 -07:00
cartcrom
82aaf0784a
refactor: swap line items and tooltips decomposition ( #7390 )
...
* refactor: swap line items and tooltips decomposition
* test: test line items directly
* refactor: added tooltip prop
* refactor: preview trade logic
* fix: percentage color
* lint
* fix: exchange rate alignment
* fix: initial pr comments
* test: fix snapshots
* refactor: var naming
* fix: uneeded dep array var
* refactor: small nit
2023-10-03 15:22:07 -04:00
Jordan Frankfurt
55a509cad8
chore: update @web3-react/* ( #7398 )
...
* chore: update @web3-react/walletconnect-v2
* update remaining packages and their patches
2023-10-03 13:46:02 -05:00
Tina
463dd6fdfb
feat: Move UniswapX signature expiry back to deadline ( #7402 )
...
startTime -> deadline
2023-10-03 14:29:03 -04:00
Kristie Huang
3ad4fb6846
feat: change address screening service to Uniswap /screen API ( #7339 )
...
* change fetch url to uniswap api
* clean code + write tests
* nit updates
* nit-rename test
---------
Co-authored-by: Kristie Huang <kristie.huang@uniswap.org>
2023-10-02 13:04:30 -04:00
gnewfield
1c76277c46
feat: polish blocked, nonexistent NFT collection page ( #7373 )
...
* add pages for nonexistent and blocked NFT collections
* add padding
* fix themed text import
* update design and revise based on pr comments
2023-10-02 13:02:28 -04:00
Charles Bachmeier
f90f81b3d9
feat: add error message to wallet connect fail event ( #7387 )
2023-10-02 09:56:35 -07:00
Charles Bachmeier
81accd1864
feat: [info] Add Liquidity and Swap buttons on PDP ( #7382 )
...
* feat: setup initial pool details page and route
* add pool data query and call on enw page
* make query dynamic to url chainId
* Get and display Header info
* add token symbols
* split header into its own file
* add helper function to not default to eth chain
* add helper function tests
* add header component tests
* add mocked test for PDP
* use valid values
* allow unsupported BE chains supported by thegraph
* typecheck
* remove useless row
* no longer needed child
* use first and last child
* move mock consts to their own file
* skele linear task
* return null
* descriptiive pool not found bool
* modify correct logo container
* update snapshots
* instantiate all chain apollo clients
* added snapshot test
* merge main and update snapshots
* Update src/pages/PoolDetails/PoolDetailsHeader.tsx
Co-authored-by: Nate Wienert <natewienert@gmail.com>
* type feeTier
* setup init stats component
* correctly query pool data for t24, t48, and tWeek timestamps
* add comments
* sanitize pool data and update tests
* correct test data
* add todo
* lint
* show correct data
* remove logs
* use formatter
* showing colored bars
* styled graph
* get muted color
* refactor: move getColor to src
* refactor useColor to use getColor function
* remove consts
* refactor files
* 1st class var support courtesy of carter
* remove logging and adds comments
* mobile styling
* move Stats to its own file
* add test cases
* add test file
* update padding
* remove old test file
* respond to feedback
* right column wrapper
* add non-functional pdp buttons
* update tests
* add button functionality
* working tokenId for position
* split buttons in their own file
* add tests
* reduce screenshots
---------
Co-authored-by: Nate Wienert <natewienert@gmail.com>
2023-10-02 09:56:17 -07:00
eddie
524ce49fcb
feat: dynamic defaultCurrencyCode for moonpay ( #7383 )
2023-10-02 09:48:55 -07:00
Kristie Huang
cbec108172
feat: add chains dynamicconfig for feature flags ( #7389 )
...
* feat: add feature flags dynamic config for chains
* fix
* add better chainid error checking
* quiet linter
* refactor & should be quick_route_chains only
2023-09-29 14:53:01 -04:00
eddie
3a4dc91e49
fix: wrap/unwrap activity parsing ( #7384 )
...
* fix: add unit test
* fix: re-use swap parse logic
2023-09-29 10:26:09 -07:00
Jack Short
af80079957
feat: remove buy button and landing terminology for uk ( #7386 )
...
* feat: remove buy button and landing terminology for uk
* removing tarballs
* mocked setup
* setting compliance to gb
* turning back on defaults
* cache for user
* moving to hook and grid sizing
* fixing tests
* comments
* landinage page cards
* cypress test
* removing extra store
2023-09-29 12:32:05 -04:00
Tina
c7a8e9e5a7
feat: Quick routes ( #7348 )
...
* wip, added PreviewTrade and now amending request arg type
* updates
* update logic to progress to swap review screen
* add token tax info to preview trades
* add loading component
* add feature flag and fix analytics and perf stuff
* update debounce amount
* add latencyMs measure
* change types
* add inline comments
* actually pass in feature flags
* dep array
* fix snapshot and unit tests
* fix unit tests
* update font color for loading text
* remove all chains feature flag
* remove from feature flag modal
* dont flicker review modal when allowance is loading
* remove comment
* add snapshot tests
* triple equals
* add comment
* change cast
2023-09-29 12:20:10 -04:00
eddie
e6362212c6
feat: uniswapx deadline ( #7376 )
...
* feat: uniswapX time-to-sign
* fix: animation timing
* fix: bug
* fix: improve props and remove memo
2023-09-28 10:52:35 -07:00
Charles Bachmeier
d63bdf1887
feat: [info] Add Stats Section to PDP ( #7353 )
...
* feat: setup initial pool details page and route
* add pool data query and call on enw page
* make query dynamic to url chainId
* Get and display Header info
* add token symbols
* split header into its own file
* add helper function to not default to eth chain
* add helper function tests
* add header component tests
* add mocked test for PDP
* use valid values
* allow unsupported BE chains supported by thegraph
* typecheck
* remove useless row
* no longer needed child
* use first and last child
* move mock consts to their own file
* skele linear task
* return null
* descriptiive pool not found bool
* modify correct logo container
* update snapshots
* instantiate all chain apollo clients
* added snapshot test
* merge main and update snapshots
* Update src/pages/PoolDetails/PoolDetailsHeader.tsx
Co-authored-by: Nate Wienert <natewienert@gmail.com>
* type feeTier
* setup init stats component
* correctly query pool data for t24, t48, and tWeek timestamps
* add comments
* sanitize pool data and update tests
* correct test data
* add todo
* lint
* show correct data
* remove logs
* use formatter
* showing colored bars
* styled graph
* get muted color
* refactor: move getColor to src
* refactor useColor to use getColor function
* remove consts
* refactor files
* 1st class var support courtesy of carter
* remove logging and adds comments
* mobile styling
* move Stats to its own file
* add test cases
* add test file
* update padding
* remove old test file
* respond to feedback
* right column wrapper
* update tests
---------
Co-authored-by: Nate Wienert <natewienert@gmail.com>
2023-09-28 09:27:29 -07:00
eddie
3bb55c6b5d
fix: hide price when no amount input ( #7379 )
...
* fix: hide price when no amount input
* fix: snapshots
2023-09-27 10:47:16 -07:00
Kristie Huang
71212f7e32
fix: use sentence case for text ( #7375 )
2023-09-27 12:46:09 -04:00
eddie
731ff4a485
feat: user property git commit hash ( #7378 )
2023-09-26 13:37:08 -07:00
eddie
519ba8963a
test: unit tests for parseRemote ( #7359 )
2023-09-26 13:36:56 -07:00
Jack Short
ec784ccb36
chore: updating input currency panel to handle comma separator ( #7336 )
2023-09-26 12:33:15 -05:00
Brendan Wong
20d8404717
fix: update polygon branding ( #7190 )
...
* update polygon branding
* Update matic-token-icon.svg
2023-09-25 12:11:12 -04:00
Jordan Frankfurt
809841df0a
feat: new app provider w/ fallback behavior ( #7205 )
...
* feat: new app provider w/ fallback behavior
* progress
* update useContractX signer params
* Revert "update useContractX signer params"
This reverts commit 386d1580dff77338810a4b31be38efd039d4b138.
* extend jsonrpcprovider
* add mainnet quicknode example, use old staticJsonRpc extension
* add tests
* unit testing
* fixes to tests/tsc
* Update src/state/routing/gas.ts
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
* pr review
* e2e tests should only talk to the chain via connected wallet
* Revert "e2e tests should only talk to the chain via connected wallet"
This reverts commit 0ce76eb7e4132917a52b49531db871a189448e51.
* add charlie's null nit
* fix e2e
* add feature flag
* Update cypress/support/setupTests.ts
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
* pr review
* pr feedback
* fix tests
* add generic send test
* fix merge error
* add a failure rate calculation and inline comments on scoring algo w/ an example
* fix sort test
* cleaner provider creation
* simplify sort
---------
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
2023-09-22 14:05:27 -05:00
Tina
2dc5a6efb4
fix: Remove e2e test ( #7369 )
...
* remove now untrue test
* add test about missing stats
2023-09-22 11:35:54 -07:00
eddie
7cd72a706d
feat: show usd price with no input amount ( #7328 )
...
* feat: show usd price with no input amount
* fix: snapshots
* fix: make tokens undefined only - no null
* fix: readability
* fix: syntax improvements
2023-09-22 10:31:23 -07:00
Kristie Huang
4f8956f79a
fix: should show slippage/deadline on LP flow settings ( #7367 )
...
* fix: should show slippage/deadline on LP flow settings
* write unit tests & update
---------
Co-authored-by: Kristie Huang <kristie.huang@uniswap.org>
2023-09-22 13:12:32 -04:00
Charles Bachmeier
beef7f2d86
feat: Condense color extraction logic and improve fallback ( #7347 )
...
* refactor: move getColor to src
* refactor useColor to use getColor function
* remove consts
* refactor files
* clean up color convert fn
* move getColor test and import test images
* hardcode array buffers for images
* add invalid png
2023-09-22 10:09:05 -07:00
Zach Pomerantz
b667662b49
fix: lazy load nft profile ( #7361 )
2023-09-22 10:08:22 -07:00
Zach Pomerantz
ed87df6269
feat: account suspense ( #7337 )
...
* feat: eagerly connect outside of react lifecycle
* test: reflect selected wallet in localStorage
* test: spy only on portfolio balances
* feat: connectionReady
* feat: connecting state
* feat: leave space for address
* fix tests
* better meta
* fix
* fix wallet change
* add interactivity earlier
* add validation
* update localstorage key in cypress setup
* even less thrash
* load per account
* simplify, hopefully
* explanatory
* inf render
* whoopsie
* ordering
2023-09-22 09:57:35 -07:00
Charles Bachmeier
622c72d4a8
feat: [info] Migrate Historical Pool Data Queries ( #7310 )
...
* correctly query pool data for t24, t48, and tWeek timestamps
* add comments
* sanitize pool data and update tests
* correct test data
* add todo
* lint
* remove logs
* 1st class var support courtesy of carter
* remove logging and adds comments
2023-09-22 09:47:25 -07:00
eddie
df6c44d2c4
fix: use Date as a performance tracker fallback ( #7349 )
2023-09-22 09:40:25 -07:00
eddie
59e7a2867a
fix: ui fixes on the add liquidity flow ( #7352 )
2023-09-22 09:40:10 -07:00
eddie
0a31428d7a
feat: uniswapX opt-out update ( #7368 )
2023-09-22 09:38:47 -07:00
Zach Pomerantz
fbc7e64032
chore: prohibit barrels ( #7362 )
...
* chore: prohibit barrels
* lint
* lint
* more lint
* add motivation to eslint message
2023-09-21 19:38:17 -07:00
eddie
4a8fb760d2
fix: show common bases on mobile ( #7365 )
...
* fix: show common bases on mobile
* test: add unit tests
2023-09-21 13:26:59 -07:00
eddie
15c510b742
fix: reset LDO approvals ( #7345 )
...
* fix: reset LDO approvals
* fix: constant file, better name
* Update src/components/swap/constants.ts
Co-authored-by: Charles Bachmeier <charles@bachmeier.io>
---------
Co-authored-by: Charles Bachmeier <charles@bachmeier.io>
2023-09-21 13:03:25 -07:00
eddie
e81b0a4d1f
test: unit tests for activity tab createGroups, and update cloud test snapshots ( #7364 )
...
* test: unit tests for activity tab createGroups
* fix: update cloud test snapshots
2023-09-21 12:03:10 -07:00
Zach Pomerantz
b9fc65ec9a
feat: lazy-load safe only if iframed ( #7360 )
2023-09-21 11:31:38 -07:00
Zach Pomerantz
d73c368ee4
fix: defer popper style recalc until use ( #7330 )
2023-09-21 11:29:43 -07:00
Zach Pomerantz
5e1c430657
build: improve tree-shaking ( #7325 )
...
* build: improve tree-shaking
* dedup terser
2023-09-21 11:29:22 -07:00
eddie
d4f19e42f8
feat: log chain changed ( #7350 )
2023-09-20 14:58:28 -07:00
cartcrom
60593df077
refactor: price chart organization ( #7304 )
...
* refactor: implement chart model type
* refactor: move PriceChart component into charts folder
* refactor: relocate pricechart test file
* lint
* fix: pr comments
* fix: use formatter hook in price chart file
2023-09-20 15:58:41 -04:00
Nate Wienert
aeef2c2356
fix: Fix visual issues in Spore ( #7240 )
...
* feat: make meta theme-color adapt to new spore background colors
* fix: make glow behind swap modal use a blur strategy rather than box shadow for a more squared glow
* test: grainy bg
* fix: make pool liquidity add input focus border same as swap
* remove svg grain
2023-09-20 09:44:25 -10:00
Zach Pomerantz
54880d201a
feat: eagerly connect outside of react lifecycle ( #7334 )
...
* feat: eagerly connect outside of react lifecycle
* test: reflect selected wallet in localStorage
* test: spy only on portfolio balances
2023-09-20 12:31:54 -07:00
Zach Pomerantz
0f6581bf47
fix: preconnect ( #7340 )
2023-09-20 12:30:20 -07:00
Zach Pomerantz
37c3330897
fix: wait to fetch lists until rehydration ( #7332 )
2023-09-20 09:40:57 -07:00
Zach Pomerantz
7a981923f6
fix: do not re-init active locale ( #7329 )
2023-09-20 09:32:50 -07:00
Brendan Wong
9672c2db9a
fix: remove settings button from lp page ( #7105 )
...
remove settings button from lp page
2023-09-19 14:16:46 -07:00
Charles Bachmeier
13f57d8d73
feat: block dynamic link previews for blocked collections ( #7344 )
...
* feat: block link previews for blocked collections
* update collection test
* single invalid
* move blocklist to its own const file
* rename file to blocklist
2023-09-19 11:07:07 -07:00
Charles Bachmeier
43f4d0f1b0
chore: block requested collection ( #7342 )
2023-09-19 08:06:58 -07:00
Zach Pomerantz
19c83c92ab
test: spy only on portfolio balances ( #7335 )
2023-09-19 07:59:21 -07:00
Jack Short
91c2013522
chore: only exposing useFormatter ( #7308 )
2023-09-18 20:21:21 -04:00
eddie
cf09e80934
fix: fetch balances when opening token selector in LP page ( #7321 )
...
* fix: fetch balances when opening token selector in LP page
* fix: move PrefetchBalancesWrapper
2023-09-18 14:49:39 -07:00
Zach Pomerantz
ad9879b4f9
fix: avoid scrollTo on pageload ( #7323 )
2023-09-18 13:09:01 -07:00
Zach Pomerantz
c528c6169e
fix: block number memoization ( #7331 )
2023-09-18 13:08:51 -07:00
Zach Pomerantz
33c93b5ded
fix: spurious Swap re-renders ( #7333 )
2023-09-18 13:08:37 -07:00
Charles Bachmeier
5ba046f111
feat: remove overlay cutoff ( #7322 )
2023-09-18 11:59:01 -07:00
Callil Capuozzo
5414a7c7ef
fix: [Spore] polish search ( #7297 )
...
* Polish search bar styles
* fix hover state
* Change background to surface1
* update tests
* Update styles
2023-09-16 10:22:38 -04:00
Zach Pomerantz
22fd0cc7bb
build: fix sourcemap warnings ( #7318 )
2023-09-15 19:41:38 -07:00
Kristie Huang
784fbfe7b1
test: add remove-liquidity interface tests ( #7309 )
...
* fix: duplicate or single-token remove-liquidity routes should show error page
* use maxUint256 for nonexistent pool
* move tests back to rem-liq
* rename pooled token id
* nit: use uni address from sdk core
* nit: use maxuint256 from sdk core
* nit: use liqudityValue for doublecurrencylogo
---------
Co-authored-by: Kristie Huang <kristie.huang@uniswap.org>
2023-09-15 16:05:56 -04:00
Zach Pomerantz
f47d00be37
feat: lazy-load popups/modals/chrome ( #7313 )
...
* fix: synchronously load first page
* feat: lazy-load popups/modals/chrome
2023-09-15 12:40:19 -07:00
Tina
2eb145ab80
feat: Add intent to swap quote request ( #7245 )
...
add intent to swap quote
2023-09-15 15:30:22 -04:00
Zach Pomerantz
adaa7f1a0d
feat: lazy-load smart-order-router ( #7317 )
2023-09-15 12:24:00 -07:00
Zach Pomerantz
2506c95816
feat: lazy-load non-swap routes ( #7315 )
...
* feat: lazy-load non-swap routes
* retain swap nav location
2023-09-15 12:10:01 -07:00
Jack Short
6303293037
chore: updating all numbers in swap flow to be converted properly ( #7301 )
...
* format price impact
* format price
* adding confirm swap modal
* removing export
* adding export back
* correct active currency
* activeLocalCurrencyIsUSD
* fallback to usd if no conversion rate for previous
2023-09-15 14:42:30 -04:00
Matthew Spector
185cb52501
chore: Remove Hardcoded Uni Wallet Supported Chains List ( #7320 )
2023-09-15 11:04:32 -07:00
Zach Pomerantz
92cf5b42c0
fix: lazy-load web3-react libs ( #7319 )
2023-09-15 10:28:06 -07:00
Nicolas Brugneaux
ea45289460
feat: replace cMC02 by WBTC in the celo tokens ( #7244 )
2023-09-15 11:38:53 -05:00
Zach Pomerantz
7f81073037
fix: synchronously load first page ( #7312 )
2023-09-14 17:50:48 -07:00
eddie
ac9a6f0398
fix: v2 pool ui ( #7316 )
...
* fix: v2 pool ui
* fix: use one wrapper
2023-09-14 14:51:39 -07:00
eddie
172160deb5
feat: improved logging 9 12 ( #7306 )
...
* feat: add chain id and update name
* log metamask version
* fix: tests
2023-09-14 12:03:14 -07:00
Nate Wienert
7fc005024d
fix: ci added CODEOWNERS github format ( #7285 )
...
* fix: ci added CODEOWNERS github format
* Update .github/workflows/1-main-to-staging.yml
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
---------
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
2023-09-14 07:59:28 -10:00
Nate Wienert
05ba0e4a66
fix: make popups appear above drawer and near top conditionally only … ( #7201 )
...
* fix: make popups appear above drawer and near top conditionally only when drawer is open
* remove logic around top bar
2023-09-14 07:49:59 -10:00
Jordan Frankfurt
5c53d8237d
test: update cloud test snapshots ( #7311 )
...
fix: -u on cloud tests
2023-09-14 12:27:58 -05:00
cartcrom
6aaf0db78d
refactor: price chart utility functions ( #7266 )
...
* refactor: price chart utility functions
* fix: snapshot
* fix: combine useMemos
* fix: pr nits
2023-09-14 13:13:17 -04:00
eddie
1c3ce8fdb7
fix: remove GA code ( #7303 )
...
* feat: move ga events to amplitude
* fix: remove GA code
2023-09-12 13:23:49 -07:00
eddie
3e05db4b87
feat: check chain ID before all transactions ( #7177 )
...
* feat: check chain ID before all transactions
* fix: use WrongChainError
* fix: remove asyncs
2023-09-12 11:20:06 -07:00
eddie
a9b2179eab
feat: move ga events to amplitude ( #7300 )
...
* feat: move ga events to amplitude
* fix: add deets to add events
2023-09-12 10:28:12 -07:00
Callil Capuozzo
0fffff66dc
fix: [Spore] general polish items ( #7302 )
...
* Add polish notes
* Polish balances
* update gap in mini portfolio names
2023-09-11 19:37:31 -04:00
eddie
1316a45c7a
fix: zustand, migrate to createWithEqualityFn ( #7220 )
2023-09-11 16:06:36 -07:00
Charles Bachmeier
dcf7d29357
feat: [info] Initial Pool Details Page ( #7250 )
...
* feat: setup initial pool details page and route
* add pool data query and call on enw page
* make query dynamic to url chainId
* Get and display Header info
* add token symbols
* split header into its own file
* add helper function to not default to eth chain
* add helper function tests
* add header component tests
* add mocked test for PDP
* use valid values
* allow unsupported BE chains supported by thegraph
* typecheck
* remove useless row
* no longer needed child
* use first and last child
* move mock consts to their own file
* skele linear task
* return null
* descriptiive pool not found bool
* modify correct logo container
* update snapshots
* instantiate all chain apollo clients
* added snapshot test
* merge main and update snapshots
* Update src/pages/PoolDetails/PoolDetailsHeader.tsx
Co-authored-by: Nate Wienert <natewienert@gmail.com>
* type feeTier
---------
Co-authored-by: Nate Wienert <natewienert@gmail.com>
2023-09-11 14:48:16 -07:00
Jack Short
184d515e16
chore: formatter to use local currency price ( #7273 )
...
* chore: updating formatCurrencyAmount to handle multiple langs and currencies
* missed advanced swap details
* missed confirmed swap modal
* removing updating visual effects
* removing it from parseLocale
* chore: displaying local currency and language formatting
* making effects visible
* moving to hook
* useFormatCurrencyAmount
* moving it to useformatter hook
* exporting formatting locales
* missed one parsed remote
* initial passover of using conversion rate in formatting function
* moving hook to bottom of file
* moving to bottom
* moving to bottom
* fallback to usd
* refactors
* better fallback protection
* moving to function
* fixing typecheck
2023-09-11 14:42:48 -04:00
Jack Short
86e4dd5153
chore: updating formatCurrencyAmount to handle multiple langs and cur… ( #7263 )
...
* chore: updating formatCurrencyAmount to handle multiple langs and currencies
* missed advanced swap details
* missed confirmed swap modal
* removing updating visual effects
* removing it from parseLocale
* chore: displaying local currency and language formatting
* making effects visible
* moving to hook
* useFormatCurrencyAmount
* moving it to useformatter hook
* exporting formatting locales
* missed one parsed remote
* moving hook to bottom of file
* moving to bottom
2023-09-11 13:51:11 -04:00
cartcrom
e4d103b015
refactor: price chart timestamps ( #7265 )
...
* refactor: price chart timestamps
* fix: remove unnused file
* refactor: util file name
* fix: use correct var for axis
* refactor: use backup var instead of throwing error for timeMinute interval
2023-09-11 13:16:30 -04:00
eddie
f71c781530
fix: add tax amounts to swap quote received ( #7299 )
2023-09-11 10:15:02 -07:00
Jack Short
736e395cd7
chore: displaying local currency and language formatting ( #7267 )
...
* chore: displaying local currency and language formatting
* moving to hook
* moving it to useformatter hook
* moving hook to bottom of file
2023-09-11 13:13:49 -04:00
Jack Short
8021135879
chore: remove extra blocknumber from dep array ( #7295 )
2023-09-11 12:29:39 -04:00
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
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
Brendan Wong
966b02b2de
fix: add distance check from white for token rich link previews ( #7152 )
...
* feat: lower white levels if too close
* testing and parameterization
* Update getColor.ts
* Update getColor.test.ts
* Update getColor.ts
* Update getColor.test.ts
* Update getColor.test.ts
2023-08-17 13:30:58 -04:00
eddie
024bbce9a4
feat: more swap metric logging ( #7173 )
...
* wip: more metrics
* wip: SWAP_INPUT_FIRST_USED
* feat: track elapsed times
* feat: add e2e test
* fix: order of logging
* fix: nits
2023-08-17 10:16:51 -07:00
Brendan Wong
c960c14170
fix: update default rich link preview image ( #7176 )
...
Update 1200x630_Rich_Link_Preview_Image.png
2023-08-17 12:05:52 -04:00
Zach Pomerantz
39295e9a33
feat: add real paths to app site association ( #7179 )
2023-08-17 09:05:10 -07:00
Brendan Wong
0feddebcc3
feat: add CodeCov to cloud tests ( #7154 )
...
* feat: add CodeCov to cloud tests
* Update codecov.yml
* Update codecov.yml
* get cov to 80%
* remove unneeded test
2023-08-17 11:30:56 -04:00
Thomas Thachil
5e4108fbdc
chore(): deeplink fingerprint update ( #7181 )
2023-08-17 10:30:25 -04:00
eddie
38cce46c7b
feat: redux migration ( #6830 )
...
* feat: start working on redux migrations
* feat: fix migations and add tests
* feat: fix persistence and improve tests
* fix: tests
* fix: rename test file so it doesnt run in jest
* fix: tests
* fix: lint
* feat: indexedDB
* fix: e2e tests
* fix: address some comments
* fix: update legacy migrations
* fix: fix rehydrations
* fix: remove PersistGate and fix e2e tests
* fix: add comment to helper function
2023-08-16 10:56:06 -07:00
Nate Wienert
69ae42f285
fix: broken spacing in tokens fixture ( #7168 )
2023-08-16 07:36:15 -10:00
cartcrom
ef9619b1bd
test: uniswapx e2e activity ( #7137 )
...
* test: e2e uniswapX toggle/opt-in tests
* fix: update visit to match new version of hardhat
* test: e2e gouda orders
* fix: remove swapping before allowance has loaded
* refactor: opt-in rather than toggle
* fix: test comment
* test: uniswapx activity
* fix: lint and small pending hook refactors
* test: e2e UniswapX orders (#7110 )
* test: e2e gouda orders
* fix: remove swapping before allowance has loaded
* refactor: opt-in rather than toggle
* fix: test comment
* fix: PR nits
2023-08-15 15:02:24 -04:00
cartcrom
041f3d5ba2
test: e2e uniswapX toggle/opt-in and order tests ( #7067 )
...
* test: e2e uniswapX toggle/opt-in tests
* fix: update visit to match new version of hardhat
* test: e2e UniswapX orders (#7110 )
* test: e2e gouda orders
* fix: remove swapping before allowance has loaded
* refactor: opt-in rather than toggle
* fix: test comment
* fix: PR nits
2023-08-15 14:50:08 -04:00
Charles Bachmeier
666bb79833
fix: test id based on address & chain instead of ticker ( #7167 )
...
* fix: test id based on address instead of ticker
* add chain to test id
* use token address
* lowercase
2023-08-15 11:22:20 -07:00
Charles Bachmeier
2736d94432
feat: Add base support to Explore & Search ( #7165 )
...
* filter search results
* feat: add full base TDP support
* add base to uni wallet supported chains
2023-08-15 10:12:33 -07:00
eddie
57b098f309
feat: swap quote latency logging ( #7143 )
...
* feat: swap quote latency
* feat: measure quote latency
* feat: swap quote latency
* fix: improve variable name
2023-08-14 14:20:03 -07:00
Tina
c802132bd5
feat: bump version of uniswapx-sdk for eth output trades ( #7160 )
...
bump ver
2023-08-14 17:08:31 -04:00
Nate Wienert
485764fe38
feat: improve logic around hidden section of mini-portfolio balances spam tokens ( #6988 )
2023-08-14 11:06:40 -10:00
Brendan Wong
51dc10b467
fix: remove flakey tests from cloud functions and overall deflake ( #7156 )
...
* fix: remove flakey tests
* increase setup time
* reduce max workers
* Update .github/workflows/test.yml
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
* Update functions/global-setup.ts
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
* Update global-teardown.ts
* add retry time
---------
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
2023-08-14 16:50:49 -04:00
Tina
7cf768b8dd
chore: feature flag cleanup for routing_api_price ( #7159 )
...
feature flag cleanup
2023-08-14 16:28:01 -04:00
eddie
59b5e81d16
feat: add chainId to SWAP_TRANSACTION_COMPLETED ( #7094 )
...
* feat: add chainId to swap_tx_completed
* feat: time_to_sign
* test: add tests for SignedTransactionTimestampRegistry
* fix: remove time_to_sign
2023-08-14 13:26:51 -07:00
Brendan Wong
8fc98abb1a
fix: margins for nav on mobile ( #6908 )
...
* fix margins for nav
* fix spacing on mobile
* Revert "fix spacing on mobile"
This reverts commit c87791669a826dd37f93ad219ad8e780e333b5b1.
* update css for minis
2023-08-14 15:27:39 -04:00
Tina
def4ab3bc0
feat: add time to sign analytics ( #7140 )
...
* add time to sign analytics
* move comment
2023-08-14 14:13:38 -04:00
Jack Short
bb6de9056b
fix: token margin in searchbar ( #7155 )
...
fix: token margin is searchbar
2023-08-14 13:59:45 -04:00
Tina
cc52da9fc4
fix: Remove double client side quoting ( #7121 )
...
* remove double client side quoting
* remove additional file
* remove file
* remove file
* MOVE YET ANOTHER FILE
* remove unused tokens
* fix export
* remove unused token constant and swap out for wbtc
2023-08-11 19:25:57 -04:00
Brendan Wong
b98e62cac8
fix: remove description from custom rich link previews ( #7142 )
...
* fix: remove description from custom rich link previews
* add static assets to prepare for prep
* remove added assets
2023-08-11 18:53:48 -04:00
Brendan Wong
6cd1f04584
fix: remove lowering opacity for token previews ( #7145 )
...
Update [[index]].tsx
2023-08-11 18:32:16 -04:00
cartcrom
8ffe4e991b
fix: properly display FOT swaps ( #7146 )
2023-08-11 18:19:28 -04:00
eddie
2b85852a48
fix: fail UR transaction if chain IDs don't match ( #7150 )
...
* fix: verify UR deployed
* fix: dont fallback to 1
* fix: dont instantiate contract
* fix: use chainId instead
* fix: compare chainIds
2023-08-11 18:15:35 -04:00
Nate Wienert
94015b279c
fix: fix jest breaking with new swc setting ( #7149 )
2023-08-11 13:53:48 -07:00
Jack Short
1291887049
chore: add to blocked nft infringing collections ( #7125 )
2023-08-11 14:53:10 -04:00
Nate Wienert
d4a26a5610
fix: make swc not break WalletConnect by targeting a newer version of es ( #7139 )
2023-08-11 07:57:55 -10:00
Jack Short
1249371397
feat: currency conversion feature flag ( #7123 )
...
* feat: currency conversion feature flag
* removing eslint
2023-08-11 13:13:17 -04:00
Brendan Wong
2ce7b08244
feat: custom colors for rich link previews ( #7141 )
...
* add custom color logic
* increase timeout
2023-08-11 12:27:46 -04:00
Tina
156254afa9
feat: Upgrade uniswapx-sdk for eth output ( #7135 )
...
upgrade sdk for eth output
2023-08-11 10:59:03 -04:00
Tina
e31f4e549b
feat: Fetch updated nonce before a UniswapX swap ( #7120 )
...
* add method to fetch updated gouda nonce
* remove console log
2023-08-11 10:33:07 -04:00
Brendan Wong
f47e1f16d7
fix: color extraction for rich link previews ( #7138 )
...
* feat: add token and nft injection
* feat: basic tests
* fix: get jest configured properly
* fix: change timeout
* fix: uninstall port ready
* fix: readd port ready
* fix: local tests work
* Update yarn.lock
* add lint disable for setup files
* fix: update dependencies
* fix: basic test suite for nfts/tokens
* feat: collection data
* fix: make tests more comprehensive
* fix: change matches to contains
* fix: tests for twitter alt image tag
* fix: image gen
* fix: add patch-package
* fix: update yarn install
* feat: basic image gen for nfts and collections
* fix: remove vibrant attempt
* use watermark asset
* dynamically grab color
* modularize code and prototype for token preview
* refactor code
* finalize css
* fix color grabber
* update tests
* fix up css
* refactor code a bit more
* remove console logs
* tests
* update tests
* update images based on design feedback
* network logos
* update lint
* slight refactoring
* more refactoring
* fix packages
* Update yarn.lock
* remove dynamically generated image stuff
* Revert "remove dynamically generated image stuff"
This reverts commit a80241edb3a970a724b9a07ce36e492ff8a1c2af.
* change image reference and revamp tests
* cleanup return values
* Create README.md
* Revert "Create README.md"
This reverts commit 7a91c98d384995fba914c9bf9a2fb3072793621f.
* First round of feedback
* comments
* feat: cache
* Update test.yml
* Update test.yml
* Update test.yml
* feedback round 2
* final feedback
* final final feedback
* add coverage and other options
* Update test.yml
* start typecheck
* update cache
* update snapshots?
* Update jest.config.json
* Update jest.config.json
* give timeout some buffer
* update import
* upgrade ts
* fix typing for apollo deps
* finalize typechecks
* downgrade typescript to original version
* add cache directory to jest
* remove coverage
* remove google analytics from tests
* merge main
* remove timeout
* update tests
* update graphql queries
* review changes
* try cache setup
* Update cache.test.ts
* make cache helper function
* cache test
* remove unneeded test causing issues
* feat: parallelize cache (#6930 )
* feat: parallelize cache?
* remove graph query from concurrency await
* most of feedback
* move tests
* update token tests
* singleton cache
* restructuring res and cache promise
* abstract away repeated graph logic
* update tests and functions
* refactor
* update typing, parallelize, and start tests
* fix one tsc issue
* final feedback
* Update yarn.lock
* final final feedback
* add svgs
* try and setup svg
* stashing changes
* cleanup!
* prepare for start of feedback?
* LESS GOO
* modify versioning
* fix: update wrangler version
* Update yarn.lock
* downgrade wrangler
* Update yarn.lock
* Update yarn.lock
* fix type error
* update github test
* cleanup tests
* Delete custom.d.ts
* fix: cloudfunctions
* update tests
* final touchups
* lint
* change github action
* Update yarn.lock
* styling updates
* nate's feedback
* feedback p1
* typing feedback
* update yarn
* Create wrangler.toml
* move wrangler.toml location
* last try
* Delete wrangler.toml
* use 2.20?
* remove comment
* Update yarn.lock
* change compatibility date
* update wrangler and fix bugs
* Update colorthief+2.4.0.patch
* build: cleanup flags
* cleaner patches
* update compatibility date
* quick tweeks
* cleanup rendering and lint
* patch things up
* fix: color extraction
* DONE!
* tests and other qol updates
* lint
* add more tests
* feedback
* simplify getcolors
---------
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
2023-08-10 18:32:08 -04:00
Brendan Wong
9954f9502d
feat: dynamically generated images for rich link previews ( #6902 )
...
* feat: add token and nft injection
* feat: basic tests
* fix: get jest configured properly
* fix: change timeout
* fix: uninstall port ready
* fix: readd port ready
* fix: local tests work
* Update yarn.lock
* add lint disable for setup files
* fix: update dependencies
* fix: basic test suite for nfts/tokens
* feat: collection data
* fix: make tests more comprehensive
* fix: change matches to contains
* fix: tests for twitter alt image tag
* fix: image gen
* fix: add patch-package
* fix: update yarn install
* feat: basic image gen for nfts and collections
* fix: remove vibrant attempt
* use watermark asset
* dynamically grab color
* modularize code and prototype for token preview
* refactor code
* finalize css
* fix color grabber
* update tests
* fix up css
* refactor code a bit more
* remove console logs
* tests
* update tests
* update images based on design feedback
* network logos
* update lint
* slight refactoring
* more refactoring
* fix packages
* Update yarn.lock
* remove dynamically generated image stuff
* Revert "remove dynamically generated image stuff"
This reverts commit a80241edb3a970a724b9a07ce36e492ff8a1c2af.
* change image reference and revamp tests
* cleanup return values
* Create README.md
* Revert "Create README.md"
This reverts commit 7a91c98d384995fba914c9bf9a2fb3072793621f.
* First round of feedback
* comments
* feat: cache
* Update test.yml
* Update test.yml
* Update test.yml
* feedback round 2
* final feedback
* final final feedback
* add coverage and other options
* Update test.yml
* start typecheck
* update cache
* update snapshots?
* Update jest.config.json
* Update jest.config.json
* give timeout some buffer
* update import
* upgrade ts
* fix typing for apollo deps
* finalize typechecks
* downgrade typescript to original version
* add cache directory to jest
* remove coverage
* remove google analytics from tests
* merge main
* remove timeout
* update tests
* update graphql queries
* review changes
* try cache setup
* Update cache.test.ts
* make cache helper function
* cache test
* remove unneeded test causing issues
* feat: parallelize cache (#6930 )
* feat: parallelize cache?
* remove graph query from concurrency await
* most of feedback
* move tests
* update token tests
* singleton cache
* restructuring res and cache promise
* abstract away repeated graph logic
* update tests and functions
* refactor
* update typing, parallelize, and start tests
* fix one tsc issue
* final feedback
* Update yarn.lock
* final final feedback
* add svgs
* try and setup svg
* stashing changes
* cleanup!
* prepare for start of feedback?
* LESS GOO
* modify versioning
* fix: update wrangler version
* Update yarn.lock
* downgrade wrangler
* Update yarn.lock
* Update yarn.lock
* fix type error
* update github test
* cleanup tests
* Delete custom.d.ts
* fix: cloudfunctions
* update tests
* final touchups
* lint
* change github action
* Update yarn.lock
* styling updates
* nate's feedback
* feedback p1
* typing feedback
* update yarn
* Create wrangler.toml
* move wrangler.toml location
* last try
* Delete wrangler.toml
* use 2.20?
* remove comment
* Update yarn.lock
* change compatibility date
* update wrangler and fix bugs
* Update colorthief+2.4.0.patch
* build: cleanup flags
* cleaner patches
* update compatibility date
* quick tweeks
* cleanup rendering and lint
* final color update
---------
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
2023-08-10 15:29:37 -04:00
eddie
9fbdc3cab1
feat: base flag cleanup ( #7134 )
...
feat: remove base feature flag
2023-08-10 11:05:48 -07:00
eddie
e04be0711f
fix: unknown token logo styling ( #7132 )
...
* fix: unknown token logo styling
* fix: tests
2023-08-10 11:05:32 -07:00
eddie
5c3caa7143
feat: query base backend ( #7133 )
2023-08-10 11:05:23 -07:00
Jack Short
1ea724609f
feat: bottom sheet for mobile swap settings ( #7072 )
...
* feat: bottom sheet for settings dialogue
* renaming to settings
* renmaing
* cypress tests
* fixing the cypress tests
* chore: e2e insufficient liquidity test
* Revert "chore: e2e insufficient liquidity test"
This reverts commit 8250730f35182246ec908b5878b91b55a51cb941.
2023-08-10 12:20:31 -04:00
Jordan Frankfurt
2b6948db94
fix: standardize styled component file names and ignore them in codecov ( #7113 )
...
* fix: standardize styled component file names and ignore them in codecov
* Update codecov.yml
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
---------
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
2023-08-10 11:15:33 -05:00
Jordan Frankfurt
0b8026e6fe
feat: add base promotional advert ( #7124 )
...
* feat: add base promotional advert
add mobile layout
tweak text container size
only show new banner on Base
fix import
update to new state structure
* Update src/components/Banner/BaseAnnouncementBanner/index.tsx
Co-authored-by: Charles Bachmeier <charles@bachmeier.io>
* pr feedback
---------
Co-authored-by: Charles Bachmeier <charles@bachmeier.io>
2023-08-10 11:03:21 -05:00
Brendan Wong
b14831be12
fix: downgrade wrangler ( #7128 )
...
* downgrade wrangler
* remove report
* comment and update test
* update comment
2023-08-09 20:20:02 -04:00
Charles Bachmeier
b12a61e2fb
feat: add multichain_ux flag ( #7122 )
...
* feat: add multichain_ux flag
* update flag text
* add new flag file
2023-08-09 16:47:38 -07:00
Jordan Frankfurt
6f6c9d7174
chore: remove e2e coverage from aggregate calculation in codecov ( #7108 )
...
* chore: remove e2e coverage from aggregate calculation in codecov
* pr feedback
2023-08-09 14:48:59 -05:00
Jordan Frankfurt
89c3ec7526
chore: reduce patch coverage requirement to 50% ( #7109 )
2023-08-09 14:40:48 -05:00
Charles Bachmeier
06c81d9304
feat: add amplitude logging for gas estimate failures ( #7095 )
...
* send gas estimate failure
* update event name
* update analytics events package
* add error and tx to analytics event
2023-08-09 12:28:52 -07:00
Thomas Thachil
15c59e8149
fix: fixing deeplinks json nesting ( #7126 )
2023-08-09 15:28:26 -04:00
Nate Wienert
f6b66c759a
fix: make loading indicator for pools nft card use a shine rather than spinner ( #7071 )
...
fix: make loading indicator for pools nft card use a shine rather than spinner and fill the full height
2023-08-09 08:14:08 -10:00
Jack Short
b1c99d4b37
chore: moving coned formatting to interface ( #7114 )
2023-08-09 14:01:37 -04:00
Thomas Thachil
add6df46e6
feat: adding more fingerprints for deeplink apps ( #7107 )
2023-08-09 11:49:10 -04:00
Zach Pomerantz
b2dfb29f51
build: simplify/fix test caching ( #7084 )
...
* build: rm unnecessary cache-on-main
* build: hardhat fan-in cache
2023-08-08 16:48:27 -07:00
Brendan Wong
097ef6a3df
feat: fallback metadata injection ( #7070 )
...
* feat: fallback metadata
* fix lint
* Update tsconfig.json
* feedback
* fix: cloudfunctions
* update test
2023-08-08 15:50:52 -04:00
Brendan Wong
984cf81911
fix: cleanup cloud function environment ( #7085 )
...
* cleanup!
* update comments
* fix: cloudfunctions
2023-08-08 15:21:30 -04:00
Zach Pomerantz
08501234a8
build: replace babel with swc ( #7056 )
...
* chore: refactor ms.macro to ms
* build: upgrade lingui@4
* chore: avoid styled-components/macro
* build: replace babel loader with swc
* build: upgrade vanilla-extract
* build: simplify e2e config
* build: migrate jest to swc
* build: dedup
* whoops
* fix: initial translations
* build: coverage
* build: ignore static extract warning
* build: rm old babel pkg
* test: rm e2e codecov
* build: fix swc cache
* cleanup
* fix visible t9ns
* cleanup
* cleanup setup
* crank it
* actual merge conflict resolution
* fix: restore locale initialization
2023-08-08 10:38:37 -07:00
Jordan Frankfurt
3afe7fe9f2
fix: add back correct fellback setter ( #7102 )
2023-08-08 12:37:57 -05:00
cartcrom
bd573724b9
fix: uniswapx review modal success display ( #7097 )
...
* fix: update swapConfirmed logic
* fix: success icon display
2023-08-08 10:15:32 -07:00
Zach Pomerantz
684258dc17
fix: keep a referentially stable connectors list ( #7090 )
2023-08-08 08:46:01 -07:00
Charles Bachmeier
a53e773e5d
refactor: shelve Details redesign for now ( #7077 )
...
* shelve Details redesign for now
* remove feature flag enum
* no longer used utils
2023-08-08 08:28:43 -07:00
cartcrom
5307d113a8
feat: eth output feature flag for uniswapx orders ( #7078 )
2023-08-08 11:23:46 -04:00
Nate Wienert
9e7d59f1fe
chore: fix typecheck error due to jest and cypress overlapping types ( #7101 )
2023-08-07 18:40:43 -07:00
Brendan Wong
2ccd228f23
fix: cloud tests broken by path based ( #7100 )
...
fix: cloudfunctions
2023-08-07 20:18:14 -04:00
Nate Wienert
a726f67453
fix: bring back flake retries for flaky test (only flakes ~33% of time) ( #7063 )
2023-08-07 14:14:41 -10:00
Mike Grabowski
c9b4016b78
feat: use router depending on the origin ( #6982 )
...
* feat: initial commit
* chore: whitelist vercel
* chore: fix e2e test
* chore: update all occurences of #
* chore: tweaks
* chore: remove todo
* chore: revert changes
* chore: bring back old tweet logic and fix nested URLs
* chore: fix merge
* improve check
* fix: cypress
* chore: fix tests
* chore: update snapshot
* chore: update readme
* address review
* satisfy eslint
* chore: fix ui issue
* fix: tests
* fix: e2e test
2023-08-07 15:01:45 -07:00
eddie
a7135c9ab1
fix: check chainId in findCancelTx ( #7098 )
...
* fix: check chainId in findCancelTx
* fix: add comment explaining fix
---------
Co-authored-by: cartcrom <cartergcromer@gmail.com>
2023-08-07 13:58:33 -07:00
Jordan Frankfurt
a1b3776686
feat: vertical LP ( #7000 )
...
* Re-organize add liquidity page
* fix title alignment
* Update styles
* Update logic for disable/enable input on creation
* lint and clean up a couple small things
* lint and clean up a couple small things
* Tweak UI
* clean up code
* add back range selector
* remove inline styles
---------
Co-authored-by: Callil Capuozzo <callil@uniswap.org>
2023-08-07 14:22:45 -05:00
Brendan Wong
dc2225a2bc
fix: update wrangler version ( #7093 )
...
* fix: update wrangler version
* yarn deduplicate
* Update .gitignore
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
---------
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
2023-08-07 12:56:59 -04:00
Nate Wienert
41571169c6
chore: align @reduxjs/toolkit dep versions with wallet ( #7038 )
2023-08-07 06:47:26 -10:00
Nate Wienert
7506dbb29c
chore: update typescript to 4.9.4 to align with wallet repo ( #7036 )
...
* chore: update typescript to 4.9.4 to align with wallet repo
* fix: update mainnet block (#7042 )
* fix: update mainnet block
* fix: typecheck
* fix: use deeplink instead of universal link (#7017 )
* fix: use deeplink instead of universal link
* docs: added comment
* test: mock quotes to avoid errors logged (#7031 )
* fix: change style of mobile pool buttons and menu (#7020 )
* fix: menu flyout alignment overridden on mobile
* fix: change button order, sizing
* Replace deprecated media queries and text components
* fix: remove flakey token test (#7029 )
* fix: reverted swap state (#7044 )
* fix: wait for transaction status in ConfirmSwapModal
* fix: use actual swap status in ConfirmSwapModal
* feat: add test
* fix: shared hook
* fix: fix test
* fix: dont create Activity instance
* fix: clearing input on connect wallet (#6928 )
* fix: clearing input on connect wallet
* update e2e tests
* fix: text wrap and spacing on mobile TDP (#6909 )
fix text wrap and spacing on mobile TDP
* fix: top token charts on mobile (#6967 )
* fix: top token charts on mobile
* Update TokenRow.test.tsx.snap
* Update src/components/Tokens/TokenTable/TokenRow.tsx
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
* Update src/components/Tokens/TokenTable/__snapshots__/TokenRow.test.tsx.snap
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
* update
* Update TokenRow.test.tsx.snap
* Update TokenRow.test.tsx.snap
---------
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
* test: deflake and clean universal search (#7034 )
* fix: improve v2 network support (#7012 )
* fix: improve v2 network support
* add an unsupported message to all v2 pages
* test: add v2 pool tests
* add guard on transaction callbacks
* fix: dep array
---------
Co-authored-by: eddie <66155195+just-toby@users.noreply.github.com>
* fix: failing nft buy test (#7049 )
---------
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
Co-authored-by: cartcrom <39385577+cartcrom@users.noreply.github.com>
Co-authored-by: gnewfield <18626088+gnewfield@users.noreply.github.com>
Co-authored-by: Brendan Wong <35351983+LunrEclipse@users.noreply.github.com>
Co-authored-by: eddie <66155195+just-toby@users.noreply.github.com>
Co-authored-by: Jordan Frankfurt <jordanwfrankfurt@gmail.com>
Co-authored-by: Jack Short <john.short.tj@gmail.com>
2023-08-04 10:52:49 -10:00
Nate Wienert
4f25c4a2bb
chore: align @graphql-codegen dep versions with wallet ( #7041 )
2023-08-04 10:52:17 -10:00
eddie
fa4e75b777
feat: base network ( #6997 )
...
* feat: initial support for base goerli
* wip: update dependencies
* chore: yarn deduplicate
* feat: mainnet wip support
* feat: mainnet wip support
* fix: radial gradient
* fix: logo update
* fix: ur address
* fix: add weth to common bases
* fix: updates
* fix: yarn dedup
* fix: correct rpc url
* fix: correct explorer url
* feat: add USDbC to common bases
* fix lint warnings
* bump SOR version
* fix: fallback URLs
* feat: statsig flag for base support (#7079 )
* feat: put base support behind statsig flag
* fix: null checks
* fix: hide pool page
* fix: baseEnabledChains
* feat: update sor
---------
Co-authored-by: Jordan Frankfurt <jordan@uniswap.org>
2023-08-04 11:43:11 -07:00
Brendan Wong
f845695f6e
feat: caches GraphQL queries for Cloudflare workers ( #6929 )
...
* feat: add token and nft injection
* feat: basic tests
* fix: get jest configured properly
* fix: change timeout
* fix: uninstall port ready
* fix: readd port ready
* fix: local tests work
* Update yarn.lock
* add lint disable for setup files
* fix: update dependencies
* fix: basic test suite for nfts/tokens
* feat: collection data
* fix: make tests more comprehensive
* fix: change matches to contains
* fix: tests for twitter alt image tag
* fix: image gen
* fix: add patch-package
* fix: update yarn install
* feat: basic image gen for nfts and collections
* fix: remove vibrant attempt
* use watermark asset
* dynamically grab color
* modularize code and prototype for token preview
* refactor code
* finalize css
* fix color grabber
* update tests
* fix up css
* refactor code a bit more
* remove console logs
* tests
* update tests
* update images based on design feedback
* network logos
* update lint
* slight refactoring
* more refactoring
* fix packages
* Update yarn.lock
* remove dynamically generated image stuff
* cleanup return values
* Create README.md
* Revert "Create README.md"
This reverts commit 7a91c98d384995fba914c9bf9a2fb3072793621f.
* First round of feedback
* comments
* feat: cache
* Update test.yml
* Update test.yml
* Update test.yml
* feedback round 2
* final feedback
* final final feedback
* add coverage and other options
* Update test.yml
* start typecheck
* update cache
* update snapshots?
* Update jest.config.json
* Update jest.config.json
* give timeout some buffer
* update import
* upgrade ts
* fix typing for apollo deps
* finalize typechecks
* downgrade typescript to original version
* add cache directory to jest
* remove coverage
* remove google analytics from tests
* review changes
* try cache setup
* Update cache.test.ts
* make cache helper function
* cache test
* remove unneeded test causing issues
* feat: parallelize cache (#6930 )
* feat: parallelize cache?
* remove graph query from concurrency await
* most of feedback
* move tests
* update token tests
* singleton cache
* restructuring res and cache promise
* abstract away repeated graph logic
* final feedback
* Update yarn.lock
* final final feedback
* final final final feedback!
* final final final final feedback?
2023-08-04 14:12:20 -04:00
eddie
dbb2f7f6a2
fix: re-enable UniswapX after disabling ( #7080 )
...
fix: allow gouda after user disables
2023-08-03 16:45:04 -07:00
eddie
264f145708
fix: Router label copy ( #7060 )
2023-08-03 15:08:59 -07:00
eddie
bb2677ab1b
fix: match PendingModalContent number formatting w/ SwapModalHeader ( #7053 )
...
* fix: match PendingModalContent number formatting w/ SwapModalHeader
* fix: typo
* fix: remove argument
2023-08-03 12:50:46 -07:00
eddie
29e46455c1
fix: use submitted icon on mainnet ( #7055 )
...
* fix: use submitted icon on mainnet
* fix: e2e test
* fix: some cleanup
2023-08-03 12:15:25 -07:00
Jack Short
cfc9748036
fix: adjusting slippage in a different language ( #7073 )
...
* fix: adjusting slippage in a different language
* making overflow hidden on close
* passing width instead of visibility
* min width
2023-08-03 15:05:47 -04:00
eddie
715555f340
feat: time-to-swap metric ( #7051 )
...
* test(cypress): disable infura from browser
* build: typecheck cypress
* build: es5
* build: rm cypress videos
* fix failing tests
* skip nft failure and rm infra-175
* feat: implement tts metric
* wip e2e test
* fix: improve v2 network support (#7012 )
* fix: improve v2 network support
* add an unsupported message to all v2 pages
* test: add v2 pool tests
* add guard on transaction callbacks
* fix: dep array
---------
Co-authored-by: eddie <66155195+just-toby@users.noreply.github.com>
* test: adjust test options
* fix: move to helper method
* fix: merge and make code style change
* fix: use local variable to track first event
* fix: amplitude cypress command
* fix: use file-level var
* fix: clear input in test
---------
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
Co-authored-by: Jordan Frankfurt <jordanwfrankfurt@gmail.com>
2023-08-03 11:33:16 -07:00
cartcrom
6a1f17ab5a
feat: update cancelled local tx's ( #7008 )
...
* feat: update cancelled local tx's
* fix: use updated queries
* test: add cancel reducer and hook tests
* fix: spelling in test descriptor
* feat: improved activity descriptors
* fix: check activity groups instead of activity
* fix: pending hooks cleanup
* fix: destruct object from pending hook
* refactor: update usage of pending util
* fix: removed unused util
2023-08-03 12:35:51 -04:00
Brendan Wong
cd43e0beaa
fix: failing token cloud function tests ( #7074 )
...
* fix: failing token cloud function tests
* utilize enum from chains
2023-08-03 12:30:50 -04:00
gnewfield
24d00f7c39
fix: init pool behavior ( #7052 )
...
* Disable increment/decrement when range prices undefined
* Enable full-range price selection for new pools
* Add cypress tests
* Fix lint error
2023-08-03 10:52:18 -04:00
Brendan Wong
b8573930b9
fix: update v2 pool information link ( #7058 )
...
update link
2023-08-02 19:07:08 -04:00
Brendan Wong
2c1e608f84
fix: closes settings state when MP is closed ( #7065 )
...
* fix: close settings menu on drawer close
* migrate change to default menu
* remove indent
* add cleanup
2023-08-02 19:06:57 -04:00
Brendan Wong
f90066263e
fix: bring back safeNamehash ( #7050 )
...
* fix: bring back safeNamehash
* Update safeNamehash.test.ts
2023-08-02 15:15:10 -07:00
Nate Wienert
1daf15df9f
chore: align @uniswap/analytics dep versions with wallet ( #7037 )
...
* chore: align @uniswap/analytics dep versions with wallet
* fix: use deeplink instead of universal link (#7017 )
* fix: use deeplink instead of universal link
* docs: added comment
* test: mock quotes to avoid errors logged (#7031 )
* fix: change style of mobile pool buttons and menu (#7020 )
* fix: menu flyout alignment overridden on mobile
* fix: change button order, sizing
* Replace deprecated media queries and text components
* fix: remove flakey token test (#7029 )
* fix: reverted swap state (#7044 )
* fix: wait for transaction status in ConfirmSwapModal
* fix: use actual swap status in ConfirmSwapModal
* feat: add test
* fix: shared hook
* fix: fix test
* fix: dont create Activity instance
* fix: clearing input on connect wallet (#6928 )
* fix: clearing input on connect wallet
* update e2e tests
* fix: text wrap and spacing on mobile TDP (#6909 )
fix text wrap and spacing on mobile TDP
* fix: top token charts on mobile (#6967 )
* fix: top token charts on mobile
* Update TokenRow.test.tsx.snap
* Update src/components/Tokens/TokenTable/TokenRow.tsx
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
* Update src/components/Tokens/TokenTable/__snapshots__/TokenRow.test.tsx.snap
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
* update
* Update TokenRow.test.tsx.snap
* Update TokenRow.test.tsx.snap
---------
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
* test: deflake and clean universal search (#7034 )
* fix: improve v2 network support (#7012 )
* fix: improve v2 network support
* add an unsupported message to all v2 pages
* test: add v2 pool tests
* add guard on transaction callbacks
* fix: dep array
---------
Co-authored-by: eddie <66155195+just-toby@users.noreply.github.com>
* fix: failing nft buy test (#7049 )
---------
Co-authored-by: cartcrom <39385577+cartcrom@users.noreply.github.com>
Co-authored-by: gnewfield <18626088+gnewfield@users.noreply.github.com>
Co-authored-by: Brendan Wong <35351983+LunrEclipse@users.noreply.github.com>
Co-authored-by: eddie <66155195+just-toby@users.noreply.github.com>
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
Co-authored-by: Jordan Frankfurt <jordanwfrankfurt@gmail.com>
Co-authored-by: Jack Short <john.short.tj@gmail.com>
2023-08-02 15:00:59 -07:00
Brendan Wong
708a813f2a
feat: MP closes on scroll down ( #6682 )
...
* feat: MP closes on scroll down
* fix: make dismissal smoother
* fix: implement react gestures and fix scroll
* fix: fix drag when not starting from top
* fix: double scroll on mobile
* fix: comments for clarity
* fix: mobile scrolling?
* remove console logs
* potential fix?
* remove change again
* maybe fix?
* cope
* even more cope
* even more more cope
* copiest
* make less buggy
* nope
* maybe?
* HOLD
* maybe
* try 2
* maybe
* hopefully
* test
* another try
* cope
* redo
* attempt 2
* hmm
* maybe
* I THINK
2023-08-02 17:15:23 -04:00
gnewfield
18b50283d3
fix: clip long token names ( #7066 )
...
* Clip token name with ellipsis style
* Use built-in ellipsis style
2023-08-02 17:02:40 -04:00
Brendan Wong
d9ff7b15a1
fix: swap flashing the wrong value after the input is cleared. ( #6719 )
...
* fix: set input panel to 0 when recalculating
* fix: only reset number when input cleared
* fix: remove useEffect and more graciously handle trade mutation
2023-08-02 16:04:50 -04:00
Ankit Boghra
cc5309b18f
fix: broken link for polygon mumbai bridge ( #6986 )
...
fix: broken link for polygon bridge
Co-authored-by: Charlie B <charles@bachmeier.io>
2023-08-02 12:20:21 -07:00
eddie
a060bf1079
fix: remove unused variable ( #7061 )
2023-08-02 12:06:04 -07:00
Jordan Frankfurt
1ffb9421b2
fix: style and copy updates to the swap box ( #7006 )
...
* add you pay/you receive label to swap inputs
* update styles
* update snapshots
2023-08-02 13:39:05 -05:00
Zach Pomerantz
7978ed97a9
test(cypress): clean up types/assumptions/infura ( #7046 )
2023-08-01 22:13:19 -07:00
Thomas Thachil
b4b6c347e3
feat: add mobile deeplinks json to public folder ( #7059 )
2023-08-01 14:43:48 -04:00
Jack Short
83cb750b2f
fix: failing nft buy test ( #7049 )
2023-07-31 14:06:45 -04:00
Jordan Frankfurt
fc0bf229a7
fix: improve v2 network support ( #7012 )
...
* fix: improve v2 network support
* add an unsupported message to all v2 pages
* test: add v2 pool tests
* add guard on transaction callbacks
* fix: dep array
---------
Co-authored-by: eddie <66155195+just-toby@users.noreply.github.com>
2023-07-31 10:04:22 -05:00
Zach Pomerantz
b55680dbce
test: deflake and clean universal search ( #7034 )
2023-07-28 16:36:13 -07:00
Brendan Wong
136e68201f
fix: top token charts on mobile ( #6967 )
...
* fix: top token charts on mobile
* Update TokenRow.test.tsx.snap
* Update src/components/Tokens/TokenTable/TokenRow.tsx
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
* Update src/components/Tokens/TokenTable/__snapshots__/TokenRow.test.tsx.snap
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
* update
* Update TokenRow.test.tsx.snap
* Update TokenRow.test.tsx.snap
---------
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
2023-07-28 17:50:02 -04:00
Brendan Wong
b4bb3d72d5
fix: text wrap and spacing on mobile TDP ( #6909 )
...
fix text wrap and spacing on mobile TDP
2023-07-28 17:24:35 -04:00
Brendan Wong
3f812f4aee
fix: clearing input on connect wallet ( #6928 )
...
* fix: clearing input on connect wallet
* update e2e tests
2023-07-28 16:45:58 -04:00
eddie
02883aca13
fix: reverted swap state ( #7044 )
...
* fix: wait for transaction status in ConfirmSwapModal
* fix: use actual swap status in ConfirmSwapModal
* feat: add test
* fix: shared hook
* fix: fix test
* fix: dont create Activity instance
2023-07-28 12:48:12 -07:00
Brendan Wong
ace81ecc84
fix: remove flakey token test ( #7029 )
2023-07-28 13:31:19 -04:00
gnewfield
0aafcdf885
fix: change style of mobile pool buttons and menu ( #7020 )
...
* fix: menu flyout alignment overridden on mobile
* fix: change button order, sizing
* Replace deprecated media queries and text components
2023-07-28 13:22:48 -04:00
cartcrom
f55062f9a9
test: mock quotes to avoid errors logged ( #7031 )
2023-07-28 11:39:49 -04:00
cartcrom
1fde2504b4
fix: use deeplink instead of universal link ( #7017 )
...
* fix: use deeplink instead of universal link
* docs: added comment
2023-07-28 10:58:01 -04:00
Zach Pomerantz
6a3abbfb56
fix: update mainnet block ( #7042 )
...
* fix: update mainnet block
* fix: typecheck
2023-07-27 15:40:10 -07:00
gnewfield
9ced714718
fix: improve currency select styling ( #7009 )
...
* fix: remove currency select drop shadows and make deposit label non-interactive
* rename labelOnly prop to pointerEvents
2023-07-27 14:27:59 -04:00
Brendan Wong
8ed6481f16
fix: display ens name/avatar on other chains ( #6981 )
...
* maintain ens info on other chains
* update ens hook
* feedback!
* initial test
* test progress
* e2e test?
* final feedback
* fix(lint): rm unused test var
* fix final bugs
* last lint issue
* fix: update catches
* fix: define catch handlers
* fix: use error in catch
* empty commit
---------
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
2023-07-27 13:34:26 -04:00
cartcrom
d160d1a929
feat: don't fetch UniswapX quotes if user has disabled UniswapX ( #7028 )
2023-07-27 13:33:20 -04:00
Brendan Wong
1092bc2c58
fix: collision of network banner and swap settings ( #6910 )
...
* change z-index of network banner
* change to use pointer-events rather than deprecated value
2023-07-27 13:22:03 -04:00
Zach Pomerantz
a2e56aaabd
revert: "fix: update token tests for cloudflare functions" ( #7027 )
...
Revert "fix: update token tests for cloudflare functions (#7026 )"
This reverts commit b58d4b72ab06673761e8a0406877f360ea015c4b.
2023-07-27 09:49:18 -07:00
Tina
7ec6a965d3
feat: bump uniswapx-sdk ( #7023 )
...
* bump uniswapx-sdk
* add feature flag
* use undefined if feature flag is off
* move to top level config
* remove unused variable
2023-07-27 12:16:17 -04:00
Brendan Wong
b58d4b72ab
fix: update token tests for cloudflare functions ( #7026 )
...
fix: update tests
2023-07-26 17:58:56 -04:00
Zach Pomerantz
a2d98607ea
fix: use redirect for landing ( #6993 )
...
* fix: use redirect for landing
* chore: rm console.log
2023-07-26 13:24:33 -07:00
eddie
27d9152949
fix: add amplitude event for uniswapX orders failing to post ( #6977 )
2023-07-26 12:10:22 -07:00
Zach Pomerantz
3cb069283c
build: fix promotion sha ( #7022 )
2023-07-26 11:51:49 -07:00
Brendan Wong
4d084d0055
fix: mock graphql pool queries in e2e tests ( #7018 )
...
mock graphql query
2023-07-26 13:34:17 -04:00
Jordan Frankfurt
4b39dfbd69
fix: update safety check cache time ( #7005 )
2023-07-26 10:14:54 -05:00
eddie
6c5c1c0032
fix: remove duplicate hook for permit2 approvals ( #6999 )
...
* fix: remove duplicate hook for permit2 approvals
* fix: address comments
2023-07-25 14:08:25 -07:00
Brendan Wong
22112c763c
feat: automated testing for cloud functions ( #6931 )
...
* feat: add token and nft injection
* feat: basic tests
* fix: get jest configured properly
* fix: change timeout
* fix: uninstall port ready
* fix: readd port ready
* fix: local tests work
* Update yarn.lock
* add lint disable for setup files
* fix: update dependencies
* fix: basic test suite for nfts/tokens
* feat: collection data
* fix: make tests more comprehensive
* fix: change matches to contains
* fix: tests for twitter alt image tag
* fix: image gen
* fix: add patch-package
* fix: update yarn install
* feat: basic image gen for nfts and collections
* fix: remove vibrant attempt
* use watermark asset
* dynamically grab color
* modularize code and prototype for token preview
* refactor code
* finalize css
* fix color grabber
* update tests
* fix up css
* refactor code a bit more
* remove console logs
* tests
* update tests
* update images based on design feedback
* network logos
* update lint
* slight refactoring
* more refactoring
* fix packages
* Update yarn.lock
* remove dynamically generated image stuff
* cleanup return values
* Create README.md
* Revert "Create README.md"
This reverts commit 7a91c98d384995fba914c9bf9a2fb3072793621f.
* First round of feedback
* comments
* Update test.yml
* Update test.yml
* Update test.yml
* feedback round 2
* final feedback
* final final feedback
* add coverage and other options
* Update test.yml
* start typecheck
* update cache
* update snapshots?
* Update jest.config.json
* Update jest.config.json
* give timeout some buffer
* update import
* upgrade ts
* fix typing for apollo deps
* finalize typechecks
* downgrade typescript to original version
* add cache directory to jest
* remove coverage
* remove google analytics from tests
* review changes
2023-07-25 15:12:13 -04:00
Brendan Wong
b230cb62f4
feat: readme for cloud functions ( #6914 )
...
* feat: add token and nft injection
* feat: basic tests
* fix: get jest configured properly
* fix: change timeout
* fix: uninstall port ready
* fix: readd port ready
* fix: local tests work
* Update yarn.lock
* add lint disable for setup files
* fix: update dependencies
* fix: basic test suite for nfts/tokens
* feat: collection data
* fix: make tests more comprehensive
* fix: change matches to contains
* fix: tests for twitter alt image tag
* fix: image gen
* fix: add patch-package
* fix: update yarn install
* feat: basic image gen for nfts and collections
* fix: remove vibrant attempt
* use watermark asset
* dynamically grab color
* modularize code and prototype for token preview
* refactor code
* finalize css
* fix color grabber
* update tests
* fix up css
* refactor code a bit more
* remove console logs
* tests
* update tests
* update images based on design feedback
* network logos
* update lint
* slight refactoring
* more refactoring
* fix packages
* Update yarn.lock
* remove dynamically generated image stuff
* cleanup return values
* Create README.md
* Revert "Create README.md"
This reverts commit 7a91c98d384995fba914c9bf9a2fb3072793621f.
* Revert "Revert "Create README.md""
This reverts commit d0a4f5b95115e8ad47b6b3fd01b47806d68ad3d7.
* add docs for html rewriter
* Update README.md
* remove previously removed files
2023-07-25 15:06:28 -04:00
Nate Wienert
9f71e384b2
fix: use deferred value to avoid suspense issues with inputting text ( #6996 )
...
fix: use deferred value to avoid suspense issues with inputting text during supsended render causing errors
2023-07-25 06:57:32 -10:00
Nate Wienert
8592a4a54d
fix: flaky test covering searchbar ( #7002 )
...
fix flaky test covering searchbar
2023-07-24 15:06:10 -10:00
Charles Bachmeier
ccc94fdfc2
feat: update infura fork block height for cypress tests to be dynamic ( #6998 )
...
* import creation block from ur sdk
* update ur sdk
2023-07-24 18:00:29 -07:00
Zach Pomerantz
4537a4dc94
fix: display already-loaded imgs with no transition ( #6990 )
2023-07-24 16:21:05 -07:00
Jack Short
db0cb41b61
fix: fixing price range filter passing as number ( #6994 )
2023-07-24 17:51:04 -04:00
eddie
4ced70f737
fix: use 100vh to position bottom sheet ( #6989 )
2023-07-24 10:02:48 -07:00
Jack Short
9262fec093
feat: add opt out analytics ( #6983 )
...
* making shared settings toggle component
* adding description to analytics toggle
* trace analytics wrapper
* changing sendAnalytics to optOut
* updating functions
* moving atom location
* adding back testid to testnet toggle
* sending data on page load
* defaulting to true
* refactoring toggles
* renaming and moving to new filepath
* exporting everything out of analytics
* updating eslint
* typo
* responding to requested changes
* fixing merge conflicts
2023-07-21 13:15:51 -04:00
Jack Short
ff3bcc4693
fix: purchase tweet url ( #6987 )
2023-07-21 10:24:55 -04:00
Charles Bachmeier
34a22ef9f0
fix: chain query parameter doesn't block you from switching chains ( #6926 )
...
* useSearchParams
* delete old param
* properly handle a connected wallet
* update chain query via network switcher
* updated tests
* working test
* comment typo
* don't overwrite current params
* change chain based on user wallet interaction
* one instance of set
* update chainIdRef on account load
* useeffect
* set chainIdRef when isActive
* remove logging
* update comment
* make condition else if
2023-07-20 17:05:12 -07:00
eddie
5e86cf7b29
fix: token img loading state ( #6984 )
...
* fix: token img loading state
* fix: nits
* fix: update snapshots
* fix: token logos in MP and tests
* fix: really weird visibility / tooltip bug
* fix: update snapshots
2023-07-20 13:51:29 -07:00
Nate Wienert
83172dc5ea
feat: add tracking params and go straight to app store for iOS for the landing page wallet CTA ( #6732 )
...
* feat: add tracking params and go straight to app store for iOS for the landing page wallet CTA
2023-07-20 10:28:08 -10:00
Nate Wienert
0ca68bb140
feat: disconnect button hides after hover out, click away, and improv… ( #6968 )
...
* feat: disconnect button hides after hover out, click away, and improved animations and colors
2023-07-20 09:00:56 -10:00
eddie
430356da9a
fix: update text in ConfirmSwapModal ( #6971 )
2023-07-20 10:12:31 -07:00
Nate Wienert
1c50460160
fix: using search hotkey enter navigates to the wrong result ( #6735 )
...
* fix: fix SearchBarDropdown selecting invalid result on enter after initial search when recent searches are filled
* add test
* Update cypress/e2e/universal-search.test.ts
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
* Update cypress/e2e/universal-search.test.ts
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
* Update cypress/e2e/universal-search.test.ts
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
* use searhc hotkey
* Revert ""
This reverts commit 7b04d5d575e8f776e8127e9b43c3fff6f74d8919.
* chore: gitignore cypress/downloads.html
---------
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
2023-07-19 11:58:02 -10:00
Zach Pomerantz
2ef9e9b61c
fix: show logos on warned tokens ( #6978 )
...
* fix: show logos on warned tokens
* test: update snapshots
* fix: hide logos for unsupported tokens
2023-07-19 14:00:50 -07:00
Charles Bachmeier
b906cddc6a
fix: update depedencies to fix avax/bnb routing ( #6974 )
...
* fix: update depedencies to fix avax/bnb routing
* pull latest
* use rpc_url
* deduplicate
2023-07-19 09:58:08 -07:00
Ivan Sorokin
65fe8d4168
feat: add apple-app-site-association ( #6957 )
2023-07-18 23:59:58 +02:00
Charles Bachmeier
8956fba629
fix: Silence linter warnings for GA ( #6962 )
...
ga analytics
2023-07-18 09:59:19 -07:00
Charles Bachmeier
04884fe1b0
fix: Resolve Babel dependency warning ( #6961 )
2023-07-18 09:59:01 -07:00
Brendan Wong
ef28667d13
feat: cloudflare worker to inject meta tags ( #6901 )
...
* feat: add token and nft injection
* feat: basic tests
* fix: get jest configured properly
* fix: change timeout
* fix: uninstall port ready
* fix: readd port ready
* fix: local tests work
* Update yarn.lock
* add lint disable for setup files
* fix: update dependencies
* fix: basic test suite for nfts/tokens
* feat: collection data
* fix: make tests more comprehensive
* fix: change matches to contains
* fix: tests for twitter alt image tag
* fix: image gen
* fix: add patch-package
* fix: update yarn install
* feat: basic image gen for nfts and collections
* fix: remove vibrant attempt
* use watermark asset
* dynamically grab color
* modularize code and prototype for token preview
* refactor code
* finalize css
* fix color grabber
* update tests
* fix up css
* refactor code a bit more
* remove console logs
* tests
* update tests
* update images based on design feedback
* network logos
* update lint
* slight refactoring
* more refactoring
* fix packages
* Update yarn.lock
* remove dynamically generated image stuff
* cleanup return values
* Create README.md
* Revert "Create README.md"
This reverts commit 7a91c98d384995fba914c9bf9a2fb3072793621f.
* First round of feedback
* comments
* feedback round 2
* final feedback
* final final feedback
* nest twitter:image:alt in image check
* better title handling
---------
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
2023-07-18 12:35:29 -04:00
Zach Pomerantz
0ced5f2402
fix: duck type error checking ( #6924 )
...
* fix: duck type error checking
* fix: use duck-typing
* simplify
* fix typings
* fix comments
2023-07-18 09:21:00 -07:00
Zach Pomerantz
252bf32d2f
test(e2e): buy crypto modal flag ( #6965 )
2023-07-17 22:04:40 -07:00
eddie
01e87657c6
fix: format currency amounts as strings in logging ( #6966 )
...
* fix: format currency amounts as strings in logging
* fix: toExact
2023-07-17 17:27:17 -07:00
Brendan Wong
55bf30c0e0
fix: remove shadow and gap on mobile ( #6906 )
...
* remove shadow and gap on mobile
* remove empty brackets
2023-07-17 16:39:48 -04:00
Nate Wienert
95f61487e8
fix: uniswapx opt in double bounce animation ( #6964 )
2023-07-17 09:05:07 -10:00
eddie
3ed3ed4994
feat: sort tokens in selector by USD value ( #6744 )
...
* feat: sort tokens in selector by USD value
* fix: sync visible balances in list with the sorting values
* fix: tryParseCurrencyAmount
* fix: remove todo
* fix: make shared hook for cached query
* fix: replace true with modalOpen
* fix: default to zero balance
* fix: add test and comment
* feat: fallback to unfilterd tokens
* fix: unconnected balances
* fix: update tests
* fix: test selector
2023-07-17 11:28:28 -07:00
Zach Pomerantz
3a0c4ad4db
fix: do not cache gql across CI ( #6963 )
2023-07-17 10:33:50 -07:00
Charles Bachmeier
803eb46e5f
fix: Clear input and output when wrapping and unwrapping ( #6913 )
...
* add wrap handler
* onWrap passed back tx hash
* async await
2023-07-17 10:13:15 -07:00
Zach Pomerantz
a3f0c54f66
build: block promotion to prod on tests ( #6904 )
2023-07-17 10:12:59 -07:00
Charles Bachmeier
52796fcc55
feat: Sort chains based on user relevance ( #6915 )
...
* sort chains based on user relevance
* test.each
* remove unnecessary comment and add chainId to test name
2023-07-17 10:10:12 -07:00
eddie
ca02a6b56a
fix: log opt in impression ( #6959 )
...
* fix: log opt in impression
* fix: move trace up to parent level
2023-07-17 10:06:42 -07:00
Jack Short
b722a20d96
fix: swap divide by zero ( #6922 )
...
* fix: swap divide by zero
* putting evaluation in memo
2023-07-17 12:38:49 -04:00
Jack Short
9b5261aaeb
fix: v2 liquidity divide by zero ( #6921 )
2023-07-17 12:06:52 -04:00
Brendan Wong
0efb7f51a4
fix: remove new badge from Uniswap Wallet ( #6911 )
...
* remove new badge from Uniswap Wallet
* remove isNew field and badge
* clean lint
2023-07-17 11:55:28 -04:00
Zach Pomerantz
bbe42b81de
fix: display token images on first pageload ( #6956 )
...
* fix: always show img for common bases
* fix: include backup img in first render
* fix: initialize and update token safety lookup
* test: update snapshots to include initial logos
* refactor: better code colocation
* test: updating token safety lookup table
* refactor: tokenSafetyLookup
* refactor: tokenLogoLookup
* fix: pass lists state to token safety update
* test: mock initial update
2023-07-15 18:33:13 -07:00
cartcrom
e9f469d399
fix: hide pending orders from GQL ( #6955 )
...
* fix: hide pending orders from GQL
* fix: update comment and add TODO
2023-07-15 18:03:21 +01:00
Tina
4c58258f01
feat: additional routing option prototype ( #6934 )
...
* add npm secret and modify github actions
* inject npm secret for tests as well
* revert changes to staging and prod actions because we arent going to use themmm
* remove unused github actions
* minor copy change for convenience lol
* feat: add DutchOrderTrade type to Swap components (#8 )
* feat: add flag for gouda (#5 )
* feat: add new signature details type (#4 )
* feat: local gouda activity (#9 )
* feat: Unified Routing API classic and dutch limit quote requests (#10 )
* chore: Rebase 5/26 (#13 )
Co-authored-by: Mike Grabowski <grabbou@gmail.com>
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
Co-authored-by: Jordan Frankfurt <jordanwfrankfurt@gmail.com>
Co-authored-by: Vignesh Mohankumar <me@vig.xyz>
Co-authored-by: cartcrom <39385577+cartcrom@users.noreply.github.com>
Co-authored-by: Jack Short <john.short.tj@gmail.com>
Co-authored-by: eddie <66155195+just-toby@users.noreply.github.com>
Co-authored-by: Jordan Frankfurt <jordan@CORN-Jordan-949.frankfurt>
Co-authored-by: Jordan Frankfurt <jordan@corn-jordan-949.lan>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
Co-authored-by: Nate Wienert <natewienert@gmail.com>
Co-authored-by: Charles Bachmeier <charles@bachmeier.io>
Co-authored-by: Charles Bachmeier <charlie@genie.xyz>
* feat: add UniswapX to Settings (#7 )
* feat: merge upstream 5/31 (#16 )
* feat: Upgrade unified-routing-api URL (#15 )
* chore: merge upstream 6/2 (#19 )
Co-authored-by: Mike Grabowski <grabbou@gmail.com>
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
Co-authored-by: Tina <59578595+tinaszheng@users.noreply.github.com>
Co-authored-by: Jordan Frankfurt <jordanwfrankfurt@gmail.com>
Co-authored-by: Vignesh Mohankumar <me@vig.xyz>
Co-authored-by: cartcrom <39385577+cartcrom@users.noreply.github.com>
Co-authored-by: Jack Short <john.short.tj@gmail.com>
Co-authored-by: Jordan Frankfurt <jordan@CORN-Jordan-949.frankfurt>
Co-authored-by: Jordan Frankfurt <jordan@corn-jordan-949.lan>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
Co-authored-by: Nate Wienert <natewienert@gmail.com>
Co-authored-by: Charles Bachmeier <charles@bachmeier.io>
Co-authored-by: Charles Bachmeier <charlie@genie.xyz>
* feat: uniswapx gas tooltip (#12 )
Co-authored-by: Mike Grabowski <grabbou@gmail.com>
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
Co-authored-by: Tina <59578595+tinaszheng@users.noreply.github.com>
Co-authored-by: Jordan Frankfurt <jordanwfrankfurt@gmail.com>
Co-authored-by: Vignesh Mohankumar <me@vig.xyz>
Co-authored-by: cartcrom <39385577+cartcrom@users.noreply.github.com>
Co-authored-by: Jack Short <john.short.tj@gmail.com>
Co-authored-by: Jordan Frankfurt <jordan@CORN-Jordan-949.frankfurt>
Co-authored-by: Jordan Frankfurt <jordan@corn-jordan-949.lan>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
Co-authored-by: Nate Wienert <natewienert@gmail.com>
Co-authored-by: Charles Bachmeier <charles@bachmeier.io>
Co-authored-by: Charles Bachmeier <charlie@genie.xyz>
* feat: swap callback (#17 )
* feat: gouda gating (#14 )
Co-authored-by: Mike Grabowski <grabbou@gmail.com>
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
Co-authored-by: Tina <59578595+tinaszheng@users.noreply.github.com>
Co-authored-by: Jordan Frankfurt <jordanwfrankfurt@gmail.com>
Co-authored-by: Vignesh Mohankumar <me@vig.xyz>
Co-authored-by: cartcrom <39385577+cartcrom@users.noreply.github.com>
Co-authored-by: Jack Short <john.short.tj@gmail.com>
Co-authored-by: Jordan Frankfurt <jordan@CORN-Jordan-949.frankfurt>
Co-authored-by: Jordan Frankfurt <jordan@corn-jordan-949.lan>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
Co-authored-by: Nate Wienert <natewienert@gmail.com>
Co-authored-by: Charles Bachmeier <charles@bachmeier.io>
Co-authored-by: Charles Bachmeier <charlie@genie.xyz>
* fix: settings e2e test (#22 )
* feat: update swap callback to add orders to redux state (#18 )
* chore: Fix types for useBestTrade return result (#21 )
* feat: gql gouda orders (#20 )
* feat: show $0 for gas fee for now (#25 )
* chore: Rebase 06/08 (#26 )
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
Co-authored-by: Tina <59578595+tinaszheng@users.noreply.github.com>
Co-authored-by: Jordan Frankfurt <jordanwfrankfurt@gmail.com>
Co-authored-by: Vignesh Mohankumar <me@vig.xyz>
Co-authored-by: cartcrom <39385577+cartcrom@users.noreply.github.com>
Co-authored-by: Jack Short <john.short.tj@gmail.com>
Co-authored-by: eddie <66155195+just-toby@users.noreply.github.com>
Co-authored-by: Jordan Frankfurt <jordan@CORN-Jordan-949.frankfurt>
Co-authored-by: Jordan Frankfurt <jordan@corn-jordan-949.lan>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
Co-authored-by: Nate Wienert <natewienert@gmail.com>
Co-authored-by: Charles Bachmeier <charles@bachmeier.io>
Co-authored-by: Charles Bachmeier <charlie@genie.xyz>
Co-authored-by: Brendan Wong <35351983+LunrEclipse@users.noreply.github.com>
Co-authored-by: cartcrom <cartergcromer@gmail.com>
Co-authored-by: clrdo <129212060+clrdo@users.noreply.github.com>
Co-authored-by: clrdo <clrdo@github.com>
Co-authored-by: Eddie Dugan <eddie.dugan@uniswap.org>
* feat: poll on order submit (#23 )
* feat: update gouda-sdk to 1.0.0-alpha.3 (#31 )
* feat: rename gasUseEstimateUSD for dutch orders (#30 )
Co-authored-by: Tina Zheng <tina.s.zheng+github@gmail.com>
* chore: Fix response types (#36 )
* feat: Gouda ETH input flow (#29 )
Co-authored-by: Eddie Dugan <eddie.dugan@uniswap.org>
* fix: use trade to determine what router label to show (#41 )
* feat: open uniswapx modal on click (#32 )
* feat: gouda logging new params in swap quote received (#33 )
* fix: wrap step ui fixes (#40 )
* feat: use BE deadline padding (#46 )
* chore: merge 6/23 (#50 )
Co-authored-by: Mike Grabowski <grabbou@gmail.com>
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
Co-authored-by: Jordan Frankfurt <jordanwfrankfurt@gmail.com>
Co-authored-by: Vignesh Mohankumar <me@vig.xyz>
Co-authored-by: cartcrom <39385577+cartcrom@users.noreply.github.com>
Co-authored-by: Jack Short <john.short.tj@gmail.com>
Co-authored-by: eddie <66155195+just-toby@users.noreply.github.com>
Co-authored-by: Jordan Frankfurt <jordan@CORN-Jordan-949.frankfurt>
Co-authored-by: Jordan Frankfurt <jordan@corn-jordan-949.lan>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
Co-authored-by: Nate Wienert <natewienert@gmail.com>
Co-authored-by: Charles Bachmeier <charles@bachmeier.io>
Co-authored-by: Charles Bachmeier <charlie@genie.xyz>
Co-authored-by: Brendan Wong <35351983+LunrEclipse@users.noreply.github.com>
Co-authored-by: cartcrom <cartergcromer@gmail.com>
Co-authored-by: clrdo <129212060+clrdo@users.noreply.github.com>
Co-authored-by: clrdo <clrdo@github.com>
Co-authored-by: Shubham Rasal <95695273+Shubham-Rasal@users.noreply.github.com>
Co-authored-by: Saro Vindigni <sarovindigni@bolket.com>
Co-authored-by: Jordan Frankfurt <<jordan@CORN-Jordan-949.frankfurt>
Co-authored-by: John Short <john.short@CORN-Jack-899.local>
* feat: Gouda opt-in flow request logic (#37 )
Co-authored-by: eddie <66155195+just-toby@users.noreply.github.com>
* feat: hide slippage and deadline settings when the current trade is gouda (#44 )
* feat: use settled order amounts (#45 )
* feat: fetch receipt before dispatch (#49 )
* fix: updated order popups to launch modal (#48 )
* feat: Use slippage value from URA response for UniswapX trades (#51 )
* fix: Bump gouda-sdk to match backend response for quotes (#58 )
* feat: Change gouda order status URL param from offerer -> swapper (#59 )
* feat: disable opt in flow (#57 )
* feat: Dont show USD value change for uniswapx trades (#55 )
* fix: Don't use WETH as input currency for Classic ETH-in trades (#54 )
* feat: Reset to WETH after wrap is complete (#52 )
* fix: correct descriptor in UniswapX activity row items (#61 )
* fix: align review modal and gouda activity modal (#60 )
Co-authored-by: Charles Bachmeier <charles@bachmeier.io>
* feat: Get wrap and approve gas info (#53 )
Co-authored-by: eddie <66155195+just-toby@users.noreply.github.com>
* fix: restore summary view when wrap is rejected (#66 )
* fix: serialize tx receipts before storing (#64 )
* fix: Insufficient balance check should read from the right currency (#65 )
* feat: update designs for gas tooltips (#67 )
* fix: UniswapX gas descriptor boolean (#69 )
* chore: Bump conedison for better gas price formatting (#70 )
* chore: Switch from gouda-sdk to uniswapx-sdk (#71 )
* chore: Rename all variables `gouda` to UniswapX (#72 )
* chore: Merge 7/8/23 (#73 )
Co-authored-by: Mike Grabowski <grabbou@gmail.com>
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
Co-authored-by: Jordan Frankfurt <jordanwfrankfurt@gmail.com>
Co-authored-by: Vignesh Mohankumar <me@vig.xyz>
Co-authored-by: cartcrom <39385577+cartcrom@users.noreply.github.com>
Co-authored-by: Jack Short <john.short.tj@gmail.com>
Co-authored-by: eddie <66155195+just-toby@users.noreply.github.com>
Co-authored-by: Jordan Frankfurt <jordan@CORN-Jordan-949.frankfurt>
Co-authored-by: Jordan Frankfurt <jordan@corn-jordan-949.lan>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
Co-authored-by: Nate Wienert <natewienert@gmail.com>
Co-authored-by: Charles Bachmeier <charles@bachmeier.io>
Co-authored-by: Charles Bachmeier <charlie@genie.xyz>
Co-authored-by: Brendan Wong <35351983+LunrEclipse@users.noreply.github.com>
Co-authored-by: cartcrom <cartergcromer@gmail.com>
Co-authored-by: clrdo <129212060+clrdo@users.noreply.github.com>
Co-authored-by: clrdo <clrdo@github.com>
Co-authored-by: Shubham Rasal <95695273+Shubham-Rasal@users.noreply.github.com>
Co-authored-by: Saro Vindigni <sarovindigni@bolket.com>
Co-authored-by: Jordan Frankfurt <<jordan@CORN-Jordan-949.frankfurt>
Co-authored-by: John Short <john.short@CORN-Jack-899.local>
Co-authored-by: Charlie Bachmeier <charlie.bachmeier@Charlies-MacBook-Pro.local>
Co-authored-by: UL Service Account <hello-happy-puppy@users.noreply.github.com>
* chore(conedison): update package (#77 )
* feat: add opt-in UI (#68 )
* chore: address some todos (#79 )
* chore: Rename feature flag from gouda_enabled to uniswapx_enabled (#81 )
* feat: Copy changes (#82 )
* fix: improve timings on animations for gouda opt-in (#80 )
* chore: Use updated URLs (#84 )
* chore: Merge 7/14 (#85 )
Co-authored-by: Mike Grabowski <grabbou@gmail.com>
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
Co-authored-by: Jordan Frankfurt <jordanwfrankfurt@gmail.com>
Co-authored-by: Vignesh Mohankumar <me@vig.xyz>
Co-authored-by: cartcrom <39385577+cartcrom@users.noreply.github.com>
Co-authored-by: Jack Short <john.short.tj@gmail.com>
Co-authored-by: eddie <66155195+just-toby@users.noreply.github.com>
Co-authored-by: Jordan Frankfurt <jordan@CORN-Jordan-949.frankfurt>
Co-authored-by: Jordan Frankfurt <jordan@corn-jordan-949.lan>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
Co-authored-by: Nate Wienert <natewienert@gmail.com>
Co-authored-by: Charles Bachmeier <charles@bachmeier.io>
Co-authored-by: Charles Bachmeier <charlie@genie.xyz>
Co-authored-by: Brendan Wong <35351983+LunrEclipse@users.noreply.github.com>
Co-authored-by: cartcrom <cartergcromer@gmail.com>
Co-authored-by: clrdo <129212060+clrdo@users.noreply.github.com>
Co-authored-by: clrdo <clrdo@github.com>
Co-authored-by: Shubham Rasal <95695273+Shubham-Rasal@users.noreply.github.com>
Co-authored-by: Saro Vindigni <sarovindigni@bolket.com>
Co-authored-by: Jordan Frankfurt <<jordan@CORN-Jordan-949.frankfurt>
Co-authored-by: John Short <john.short@CORN-Jack-899.local>
Co-authored-by: Charlie Bachmeier <charlie.bachmeier@Charlies-MacBook-Pro.local>
Co-authored-by: UL Service Account <hello-happy-puppy@users.noreply.github.com>
* remove changes to github actions files
* fix import
* actually revert changes to yml
* remove method export
* feat: Add feature flag for synthetic quotes (#6938 )
* fix: use Lingui Trans macro (#6943 )
* fix: use trans macro
* add comments
* fix: update updater.tsx (#6942 )
* fix: reformat variable to use ms
* move interval definition above getOrderStatus
* lint :)
* revert
* chore: bunch of nits (#6944 )
bunch of nits
* fix: translations etc (#6945 )
* chore: Remove placeholder signature types (#6937 )
remove placeholder
* chore: merge main into branch (#6948 )
* fix: Handle Scientific Notation for NFT Collection Activity Prices (#6936 )
wrap nft activity price in
* fix: e2e tests (#6941 )
* fix: e2e test
* fix: set flag for buy-crypto-modal test
* fix: fund DAI
---------
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
---------
Co-authored-by: Charles Bachmeier <charles@bachmeier.io>
* feat: make inputCurrency optional for swapheader (#6947 )
* make inputCurrency optional for swapheader
* optional pass in
* fix: function defined twice (#6950 )
fix lint
* test: add signatureToActivity undefined tests (#6949 )
* fix: update token lists schema (#6951 )
fix: update token list schema
* chore: some last nits (#6953 )
* refactor: base type
* test: useUserDisabledUniswapX
* chore: simplify useAllSignatures usage
* chore: standard check order
* lint
---------
Co-authored-by: eddie <66155195+just-toby@users.noreply.github.com>
Co-authored-by: cartcrom <39385577+cartcrom@users.noreply.github.com>
Co-authored-by: Mike Grabowski <grabbou@gmail.com>
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
Co-authored-by: Jordan Frankfurt <jordanwfrankfurt@gmail.com>
Co-authored-by: Vignesh Mohankumar <me@vig.xyz>
Co-authored-by: Jack Short <john.short.tj@gmail.com>
Co-authored-by: Jordan Frankfurt <jordan@CORN-Jordan-949.frankfurt>
Co-authored-by: Jordan Frankfurt <jordan@corn-jordan-949.lan>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
Co-authored-by: Nate Wienert <natewienert@gmail.com>
Co-authored-by: Charles Bachmeier <charles@bachmeier.io>
Co-authored-by: Charles Bachmeier <charlie@genie.xyz>
Co-authored-by: Brendan Wong <35351983+LunrEclipse@users.noreply.github.com>
Co-authored-by: cartcrom <cartergcromer@gmail.com>
Co-authored-by: clrdo <129212060+clrdo@users.noreply.github.com>
Co-authored-by: clrdo <clrdo@github.com>
Co-authored-by: Eddie Dugan <eddie.dugan@uniswap.org>
Co-authored-by: marktoda <toda.mark@gmail.com>
Co-authored-by: Shubham Rasal <95695273+Shubham-Rasal@users.noreply.github.com>
Co-authored-by: Saro Vindigni <sarovindigni@bolket.com>
Co-authored-by: Jordan Frankfurt <<jordan@CORN-Jordan-949.frankfurt>
Co-authored-by: John Short <john.short@CORN-Jack-899.local>
Co-authored-by: Charlie Bachmeier <charlie.bachmeier@Charlies-MacBook-Pro.local>
Co-authored-by: UL Service Account <hello-happy-puppy@users.noreply.github.com>
2023-07-14 14:46:59 -07:00
Jack Short
f6e6db6430
fix: pwat stack overflow ( #6952 )
2023-07-14 17:35:08 -04:00
Charles Bachmeier
dab445f237
fix: e2e tests ( #6941 )
...
* fix: e2e test
* fix: set flag for buy-crypto-modal test
* fix: fund DAI
---------
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
2023-07-14 11:54:25 -07:00
Charles Bachmeier
da90738ba1
fix: Handle Scientific Notation for NFT Collection Activity Prices ( #6936 )
...
wrap nft activity price in
2023-07-14 09:54:48 -07:00
Vignesh Mohankumar
e4dbef80eb
chore: remove Google Analytics from CSP ( #6888 )
...
* disable ga
* comment
2023-07-07 14:15:41 -04:00
Vignesh Mohankumar
e169c9d900
chore: delete WalletConnect v1 ( #6857 )
...
* chore: remove walletConnectFallback flag
* chore: remove walletConnectV2 flag
* chore: delete WalletConnect v1
* chore: remove walletConnectV2 flag (#6856 )
* rm hidden
* toggle account drawer
* fix test
* Revert "rm hidden"
This reverts commit 9e8dd65b04b1072d3565cb70defb46d1524791f3.
* fix test
* -u
* optional?
* Revert "optional?"
This reverts commit 8456080b78cfae58737918daeb929bdaf0758cba.
* switch mock
* expect
* test
* fix test
* update connection tests
2023-07-07 14:06:07 -04:00
Zach Pomerantz
c8a17f5fe9
build: use context.sha ( #6900 )
2023-07-07 10:48:00 -07:00
Vignesh Mohankumar
552a38994b
chore: remove WalletConnect feature flags ( #6855 )
...
* chore: remove walletConnectFallback flag
* chore: remove walletConnectV2 flag (#6856 )
* rm hidden
* toggle account drawer
* fix test
* Revert "rm hidden"
This reverts commit 9e8dd65b04b1072d3565cb70defb46d1524791f3.
* fix test
* -u
* optional?
* Revert "optional?"
This reverts commit 8456080b78cfae58737918daeb929bdaf0758cba.
* switch mock
* expect
* test
2023-07-07 13:15:13 -04:00
Zach Pomerantz
b313ac9843
build: upgrade cypress-hardhat ( #6897 )
2023-07-07 10:03:06 -07:00
Jack Short
88aec2c894
fix: 0 showing as collected fee amount ( #6804 )
...
* fix: 0 showing as collected fee amount
* initial test setup
* fire events
* checking for data in tests
2023-07-07 12:51:35 -04:00
Zach Pomerantz
86677ed193
test(staging): add staging-only t9n test ( #6899 )
...
* test(staging): add staging-only test
* test(staging): translations mount
* ci(t9n): download translations from crowdin
* test: proving that it works
* Revert "ci(t9n): download translations from crowdin"
This reverts commit b6e0f0c5c296c3ad4166419d72e9b2ebd053be87.
* Revert "test: proving that it works"
This reverts commit 1d3a1c2a2377e1a3b790f706c42b7169a47e59fd.
* fix: spec->test
---------
Co-authored-by: UL Service Account <hello-happy-puppy@users.noreply.github.com>
2023-07-07 09:41:20 -07:00
Zach Pomerantz
accf0905f8
build: block promotion on Test ( #6898 )
2023-07-07 08:47:32 -07:00
Brendan Wong
ef5065de48
feat: wrangler infra and test environment ( #6797 )
...
* feat: add token and nft injection
* feat: basic tests
* fix: get jest configured properly
* fix: change timeout
* fix: uninstall port ready
* fix: readd port ready
* fix: local tests work
* fix: remove other stuff to make this pr smaller
* fix: remove unneeded dependencies
* fix: remove port-ready
* Update yarn.lock
* fix: add lint disable due to module exports for jest
* fix: added waitPort
* fix: deduplicated things?
* Update package.json
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
* update typing
* change tests to typescript instead of javascript
* changing typing of globalThis servers
* yarn deduplicate
* Update functions/global-teardown.ts
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
* Update functions/global.d.ts
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
* Update functions/tsconfig.json
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
* Update functions/tsconfig.json
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
* Update package.json
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
* change dependencies to dev dependencies
* final touches
---------
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
2023-07-07 11:41:09 -04:00
Vignesh Mohankumar
bcb45cded6
feat: add user id to sentry ( #6896 )
...
* feat: add user id to sentry
* downgrade
* key
* Update src/tracing/index.ts
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
* Update src/tracing/index.ts
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
* fixes
---------
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
2023-07-07 11:14:36 -04:00
cartcrom
dfe50b4bee
feat: remove old routing slice and flag ( #6895 )
...
feat: remove ura flag
2023-07-07 09:49:42 -04:00
Charles Bachmeier
90f72e05b9
feat: upgrade sdk-core to 3.2.6 and add AVAX ( #6757 )
...
* init refactor
* upgrade to 3.2.6 and refactor more uses of chainid
* cleaned up lock file
* remove console log and add placeholder
* use supported chains type for switch fn
* allow passing of all chainIds to switcher
* additional typecast
* better casting solution
* yarn.lock cleanup
* prettier
* better casting for rpc
* prettier
* deprecate no longer needed addresses
* better isSupported checking
* deprecate redundant fn
* cleanup toSupportedChainId
* address initial ocmments
* pretier
* includes testnet
* remove unused export
* merge conflicts
* spread for mutable copy
* explorer text
* check is supported before activating chain
* remove extra uses of mumbai
* remove cast to MockChainId
* retain var name supportedChainId
* updated prettier
* use t for explorer translation
* use mockchainid for test
* feat: Add Avalanche support (#6776 )
* init avax
* add most avax props
* add logo
* correct subgraph
* update avax blocksPerFetch
* add square logo
* upgrade ur sdk
* version syntax
* correct tokens
* remove unused token
* remove unused token
* update token list and add coming soon to searchbar
* add coming soon to token explore page
* names to ids
* cleaned up routing
* usdc token
* upgrade default token list
* update SOR
* upgrade SOR
* merge conflicts
* snowtrace
* upgrade SOR
* handle be avax support
* temp hide avax
* show pool positions
* whole
* spotprice update
* not yet supported
* BACKEND_SUPPORTED_CHAINS
* add avax to BE not supported
* update multicall blocks to 5
* add todo
* updated prettier
---------
Co-authored-by: Charles Bachmeier <charlie@genie.xyz>
* be added avax token balances
* validateUrlChainParam should return eth for backend unsupported chain
* readonly
* respond to comments
---------
Co-authored-by: Charles Bachmeier <charlie@genie.xyz>
2023-07-06 21:44:06 -07:00
Vignesh Mohankumar
3a0f6920d0
build: use webpack-retry-chunk-load-plugin ( #6885 )
...
* build: use webpack retry chunk load plugin
* fix
* dedupe
* lint
* retry backoff
* reduce from 1000 to 500ms
* add cache bust query
* rm cache bust
* 3
* cache bust
* Update craco.config.cjs
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
---------
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
2023-07-06 17:54:49 -04:00
eddie
07eb9eb9a2
fix: combine userState with default injected wallet in cypress setup ( #6849 )
...
* fix: combine userState with default injected wallet in cypress setup
* fix: unconnected state in two tests
* fix: update name
2023-07-06 14:01:13 -07:00
Brendan Wong
a9e8e8b275
fix: web app without NFTs ( #6712 )
...
* fix: web app without NFTs
* fix: change card display to memoization
* fix: remove unneeded imports and variables
* fix: readd search bar modification
* fix: update dependencies
* fix: update atom value to use hook
* fix: change hook name
* fix: add tests
* Update src/pages/Landing/index.tsx
Co-authored-by: Jordan Frankfurt <jordanwfrankfurt@gmail.com>
* Update src/components/NavBar/SearchBar.tsx
Co-authored-by: Jordan Frankfurt <jordanwfrankfurt@gmail.com>
* Update src/components/NavBar/SearchBarDropdown.tsx
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
* Update src/components/NavBar/SearchBarDropdown.test.tsx
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
* Update SearchBar.tsx
* fix lint
---------
Co-authored-by: Jordan Frankfurt <jordanwfrankfurt@gmail.com>
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
2023-07-06 15:46:41 -04:00
Vignesh Mohankumar
4708d3d3d7
fix: update InterfaceGqlChain syntax ( #6892 )
...
lint: update InterfaceGqlChain syntax
2023-07-06 12:31:15 -04:00
Vignesh Mohankumar
27acddc0e7
chore: upgrade prettier ( #6887 )
...
* lint
* upgrade prettier
---------
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
2023-07-06 11:54:04 -04:00
Charles Bachmeier
102a935ff8
fix: Handle new and unsupported chains passed in from GQL BE ( #6878 )
...
* add subset chain type and checks
* add sentry logging for invalid chain errors
* add test cases
* dynamic token balances
* add test for BE adding a new chain
* rename and use slice
* address comments
* undo yarn.lock changes
* make copy in utils
* chore: Declare GQL variables as readonly (#6889 )
* declare gql variables as readonly
* remove console log
* Merge branch 'cab/error_supported_chain' into tina/gql-readonly
---------
Co-authored-by: Charlie B <charles@bachmeier.io>
---------
Co-authored-by: Charlie Bachmeier <charlie.bachmeier@Charlies-MacBook-Pro.local>
Co-authored-by: Tina <59578595+tinaszheng@users.noreply.github.com>
2023-07-05 21:31:30 -07:00
Charles Bachmeier
614c15243e
fix: tokens with same name brake cypress test ( #6890 )
...
* fix: tokens with same name brake cypress test
* lowercase
2023-07-05 20:23:03 -07:00
Zach Pomerantz
082db21308
build: set test status per commit ( #6824 )
...
* build: annotate commit with test status
* build: Test / promotion
* fix: ellipsis
* build: also run on releases/staging
* errant comma
* script context
* runId
* build: post after pre
2023-07-05 14:42:43 -07:00
Jack Short
0f75c6a52b
chore: matching swap input number formatting to mobile ( #6788 )
...
* initial currency formatting
* updating price formatting on swap
* updating the test
2023-07-05 17:37:57 -04:00
Brendan Wong
1c2ed1d9e4
fix: add margins for empty pool icon ( #6884 )
...
* fix: increase height of svg
* update test
2023-07-05 16:36:18 -04:00
Vignesh Mohankumar
0e956fb7c4
chore: remove @walletconnect/modal dependency ( #6877 )
2023-07-05 13:34:24 -07:00
Zach Pomerantz
b49dd03e25
test(e2e): use electron ( #6827 )
...
* test(e2e): use electron
* build: use default container for cypress-test-matrix
2023-07-05 13:30:54 -07:00
Charles Bachmeier
82211a888c
fix: show bnb pool positions in mini port ( #6880 )
2023-07-05 11:16:11 -07:00
cartcrom
5dd8cbbdc9
chore: update tos & privacy policy last updated date ( #6882 )
2023-07-05 14:12:20 -04:00
eddie
5640c115de
fix: remove error popup when switching chains from URL param ( #6866 )
2023-07-03 17:13:12 -07:00
cartcrom
7b8114b401
fix: remove phantom from injection detection ( #6875 )
...
* fix: remove phantom from injection detection
* fix: remove logo image
2023-07-03 16:24:08 -04:00
Brendan Wong
8e36361866
fix: remove blue dot next to buy ( #6808 )
...
* remove button
* remove dependencies
* fix: remove useBuyFiatFlowCompleted
* fix: update lint and unit tests
* fix: update user state
* fix: remove migration
* Revert "fix: remove migration"
This reverts commit eef313f9ce2ea6b494ce2c9bc4a2fa6dbd1991ee.
* test
* fix: add ts ignore
2023-07-03 15:55:49 -04:00
Brendan Wong
0a04cff7eb
fix: icons no longer clip ( #6812 )
2023-06-30 17:41:53 -04:00
Jack Short
d3dd1d4ebd
fix: position list row highlight overflowing container ( #6805 )
2023-06-30 17:25:24 -04:00
Vignesh Mohankumar
50f2e2770a
chore: upgrade @web3-react/walletconnect-v2 ( #6867 )
...
chore: upgrade @web3-react/walletconnect-v2 (#6863 )
* update
* types
2023-06-30 15:27:37 -05:00
Vignesh Mohankumar
830cd07f38
fix: upgrade @web3-react/gnosis-safe ( #6868 )
...
fix: upgrade @web3-react/gnosis-safe (#6864 )
* fix: upgrade @web3-react/gnosis-safe
* Update yarn.lock
2023-06-30 15:27:20 -05:00
Vignesh Mohankumar
326ae58f04
chore: update @walletconnect/modal ( #6851 )
...
* chore: upgrade @walletconnect/modal
* fix
2023-06-30 14:05:10 -04:00
Vignesh Mohankumar
25f5a7178f
chore: upgrade @web3-react/walletconnect-v2 ( #6847 )
2023-06-30 13:34:03 -04:00
Zach Pomerantz
e5591e8f06
fix: allow wallets w/o mainnet to connect to WCv2 ( #6854 )
...
* fix: re-initialize wc connector with active chain
* test(e2e): fix universal-search flake
2023-06-30 13:28:48 -04:00
Jordan Frankfurt
1c4a383a49
feat: gate v1 retirement ( #6845 )
...
* Revert "feat(wallet-connect): retire v1 (#6820 )"
This reverts commit d6759b86e3702a6da3df211752c06e4ee119d801.
* gate v1/v2 switch with v2 fallback on wc entry
* fix tests
* add a second flag--isolate ... menu and default values from each other
* Update src/components/WalletModal/Option.tsx
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
* Update src/featureFlags/flags/walletConnectPopover.ts
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
* pr feedback
* pr feedback
* pr nit
---------
Co-authored-by: Jordan Frankfurt <jordan@CORN-Jordan-949.frankfurt>
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
2023-06-26 15:59:13 -04:00
Vignesh Mohankumar
469a006088
fix: filter more CSP errors ( #6839 )
...
* fix: filter more CSP errors
* fix regex
* fix
2023-06-26 14:04:54 -04:00
Vignesh Mohankumar
c673c9e458
fix: filter user reject errors temporarily ( #6840 )
2023-06-26 13:41:17 -04:00
Vignesh Mohankumar
dd957d07e4
chore: upgrade @web3-react/walletconnect-v2 ( #6842 )
...
* chore: upgrade @web3-react/walletconnect-v2
* fix typecheck
2023-06-26 13:15:16 -04:00
Vignesh Mohankumar
3837ce24ac
revert: "feat(wallet-connect): retire v1" ( #6841 )
...
Revert "feat(wallet-connect): retire v1 (#6820 )"
This reverts commit d6759b86e3702a6da3df211752c06e4ee119d801.
2023-06-26 12:43:16 -04:00
Zach Pomerantz
4b87e3d9b8
test(e2e): skip failing slippage test ( #6844 )
2023-06-26 12:29:42 -04:00
Jordan Frankfurt
d6759b86e3
feat(wallet-connect): retire v1 ( #6820 )
...
* feat(wallet-connect): retire v1
* fix unit test
* Update src/state/user/reducer.ts
Co-authored-by: cartcrom <39385577+cartcrom@users.noreply.github.com>
* useToggleAccountDrawer
* fix test
---------
Co-authored-by: cartcrom <39385577+cartcrom@users.noreply.github.com>
2023-06-23 15:12:21 -05:00
Jordan Frankfurt
df55456409
fix: chrome tie sort resolution ( #6833 )
2023-06-23 15:05:47 -05:00
Jack Short
f290787b99
fix: divide by zero error on pool page ( #6837 )
...
* fix: divide by zero error on pool page
* removing changes here
* adding price in conditional
---------
Co-authored-by: John Short <john.short@CORN-Jack-899.local>
2023-06-23 15:56:41 -04:00
Zach Pomerantz
2f84507a23
chore: add CODEOWNERS to public ( #6813 )
2023-06-23 14:41:14 -04:00
Zach Pomerantz
96c58361a5
build: rm global yarn cache ( #6822 )
...
* build: omit caching global modules
* docs: build omitting cache
2023-06-23 14:41:06 -04:00
Zach Pomerantz
011136d0e9
build: improve workflow caching ( #6825 )
...
* build: only cache on main
* build: do not glob yarn.lock
* build: do not cache on yarn.lock
2023-06-23 14:40:58 -04:00
Vignesh Mohankumar
054d1de88a
chore: upgrade @web3-react/walletconnect-v2 ( #6831 )
2023-06-23 14:40:30 -04:00
Jack Short
ebab00d7bd
fix: adding wallet connect v2 behind feature flag ( #6826 )
...
* fix: adding wallet connect v2 behind feature flag
* passing unit tests
2023-06-22 16:16:41 -04:00
Brendan Wong
01dc10d4f3
fix: scroll behavior on MP on mobile ( #6750 )
...
* fix: update overflow
* fix: add margin for mobile
* fix: update css to use built in styling
2023-06-22 16:11:23 -04:00
Brendan Wong
fb3abf275e
fix: added op and arb as base tokens ( #6810 )
...
* fix: added op and arb as base tokens
* fix: unit testing
2023-06-22 16:10:49 -04:00
Zach Pomerantz
f6ad694200
build: fix slack markdown ( #6811 )
...
* build: fix slack markdown
* build: simpler slack messages
* build: simpler message
2023-06-22 14:52:26 -04:00
Zach Pomerantz
a3d72a4bbc
build: simplify workflows ( #6814 )
...
* build: simplify workflows
* docs: better name
2023-06-22 14:48:42 -04:00
Vignesh Mohankumar
1bb750f136
feat: track quote method in Quote Received event ( #6807 )
...
* WIP
* WIP
* more work
* comment
* fix
* v2slice
* add method to data
* add names
* fellback
* rm-log
* only success
2023-06-22 14:19:23 -04:00
Zach Pomerantz
5315272694
chore: rm committed t9n ( #6792 )
...
* chore: rm committed t9n
* chore: ignore t9n
* test(e2e): fix locale selection test
2023-06-22 09:30:06 -04:00
Jordan Frankfurt
43b9e398b5
fix: allow more session namespace keys ( #6802 )
...
* allow more session namespace keys
* pr feedback
* add test case
2023-06-21 17:02:13 -05:00
eddie
1247989cf4
fix: cut off wallet icon ( #6815 )
2023-06-21 14:35:08 -07:00
Jordan Frankfurt
45a5ca3b88
feat: sort supported chains to top of the chain selector list ( #6800 )
...
* feat: sort supported chains to top of the chain selector list
* pr feedback
---------
Co-authored-by: Jordan Frankfurt <jordan@CORN-Jordan-949.frankfurt>
2023-06-21 16:10:46 -05:00
eddie
54b4567a81
test: add e2e test for usdt special case ( #6784 )
...
* feat: revoke USDT approvals in ConfirmSwapModal
* chore: fix bad merge
* test: add e2e test for usdt special case
* fix: refactor test
* fix: make variable static
* fix: comments
2023-06-21 14:02:14 -07:00
Jordan Frankfurt
fc45a504fb
fix: log the error message instead of [object Object] ( #6773 )
...
* fix: log the error message instead of [object Object]
add tina's rec
pr review
zzmp input
* pr feedback
2023-06-21 15:35:23 -05:00
eddie
052cc69414
feat: log minimum_output_after_slippage to amplitude ( #6769 )
...
* feat: log minimum_output_after_slippage to amplitude
* fix: memoize logging props
* fix: dont memoize at all
2023-06-21 10:22:48 -07:00
Zach Pomerantz
5caaaf1b1f
test(e2e): switching network ( #6662 )
...
* test(e2e): switching network
Co-authored-by: Jordan Frankfurt <<jordan@CORN-Jordan-949.frankfurt>
* fix: reconnect after failed chain switch
* test(e2e): add forks to hardhat.config
* test(e2e): wait on wallet_switchEthereumChain
* build: upgrade cypress-hardhat
* fix: do not disconnect whilst switching
* fix: unit tests
* fix: better chain selector check
* test(e2e): better helper fn naming
* test(e2e): better stub naming
* fix: doc re-activation
* fix: add back click
* build: upgrade cypress-hardhat to include network caching
* unwrap web3status
---------
Co-authored-by: Jordan Frankfurt <<jordan@CORN-Jordan-949.frankfurt>
2023-06-21 13:15:03 -04:00
Zach Pomerantz
c0163767ed
build: rm crowdin-sync ( #6793 )
2023-06-21 10:45:21 -04:00
Zach Pomerantz
342b0c81f6
chore: rm pseudo locale ( #6794 )
...
chore: rm pseudo t9n
2023-06-21 10:45:03 -04:00
Jordan Frankfurt
cb21750b87
fix: remove unused types ( #6791 )
...
* fix: remove unused types
* update name
2023-06-16 14:38:03 -05:00
Jordan Frankfurt
2e8ef480f9
feat(testnets): add toggle for testnets ( #6786 )
...
* feat(testnets): add toggle for testnets
* e2e test
* update toggle syntax and fix a bug
* simplify list calculation per eddie's input
* add all testnets
* clean up the styles
* Update src/components/NavBar/ChainSelector.tsx
* fix lint
2023-06-16 14:09:05 -05:00
Nate Wienert
f27bba9ffa
fix: use shortenAddress for mini portfolio addresses ( #6774 )
...
* fix: use shortenAddress for mini portfolio addresses
* Update src/utils/addresses.ts
Co-authored-by: Jordan Frankfurt <jordanwfrankfurt@gmail.com>
---------
Co-authored-by: Jordan Frankfurt <jordanwfrankfurt@gmail.com>
2023-06-16 08:51:03 -10:00
eddie
6528fd136e
feat: log swap failures to amplitude ( #6789 )
2023-06-16 11:20:09 -07:00
Zach Pomerantz
eb802266e1
build: rm ignored en-US ( #6790 )
2023-06-16 13:05:49 -05:00
Jordan Frankfurt
5bec0b78da
fix: update copy per Fred's input ( #6787 )
2023-06-16 12:46:59 -05:00
Zach Pomerantz
4894460821
build: download translations when pushing to staging ( #6780 )
...
* build: pin crowdin action
* build: download t9n to staging
2023-06-16 12:41:32 -05:00
Vignesh Mohankumar
f3889e326e
chore: migrate from JIRA to Linear ( #6747 )
...
* chore: migrate from JIRA to Linear
* INFRA -> WEB
2023-06-16 12:48:27 -04:00
Jordan Frankfurt
2d61c72588
feat(wallet-connect): make v2 the default walletconnect method ( #6785 )
...
* explicitly enumerate all supported wcv2 methods as optional ?
* use only sign methods in optionalMethods
* rename class
* feat(wallet-connect): make v2 the default
* fix loader and menu button occlusion
* fix test
* pr feedback from zzmp
* update connector name
* add slack convo link from x-walletconnect
2023-06-16 11:33:37 -05:00
Brendan Wong
1a634c350a
fix: success indication for copy ( #6711 )
...
* fix: success indication for copy
* fix: remove redundant styles
2023-06-15 20:51:11 -04:00
eddie
35b83ab842
feat: revoke USDT approvals in ConfirmSwapModal ( #6730 )
2023-06-15 17:12:10 -07:00
eddie
c0d42ade6f
fix: clear dependent variable when trade inputs become invalid ( #6782 )
...
* fix: handle polling interrupt separately from invalid trades
* fix: clear output when trade becomes invalid, dont use stale trade
* fix: tests
* fix: invert skip
* fix: remove debounce delay
2023-06-15 16:05:57 -07:00
eddie
0e2344ba85
feat: refactor ConfirmSwapModal for clarity ( #6729 )
...
* feat: refactor ConfirmSwapModal for clarity
* fix: remove reset effect for now
* fix: catchUserReject update
* fix: remove unnecessary awaits
2023-06-15 15:31:41 -07:00
Tina
309d03b5e7
feat: Bump default auto-slippage to 0.5% ( #6778 )
...
bump default to 0.5%
2023-06-15 18:10:28 -04:00
Vignesh Mohankumar
8d32e315ed
feat: filter moz-extension errors ( #6781 )
2023-06-15 18:05:39 -04:00
Jack Short
1c8b3f0339
fix: currency select modal when chain is not supported ( #6759 )
...
* fix: currency select modal when chain is not supported
* removing pay with if on unsupported network
* refactor
2023-06-15 12:39:35 -04:00
eddie
fc83659041
fix: bottom padding on error modal ( #6758 )
2023-06-15 09:16:32 -07:00
cartcrom
e8f5a0e8c8
feat: detect more injections ( #6752 )
...
* feat: detect more injectors
* feat: added comments
* refactor: move image folder
* test: add tests for new injectors
* feat: small test change
* fix: update comment about coinbase injection
* test: update snapshots
* fix: pr nits
2023-06-15 12:08:54 -04:00
Jordan Frankfurt
9e213fc396
fix: update web3-react ( #6749 )
...
* fix: update web3-react
* update flakey snapshot test and add required config var
* revert snapshot change
* allow ^
* update lockfile with permissive version
* add newly required explicit options for @web3modal
2023-06-15 10:55:19 -05:00
Saro Vindigni
f10ba73529
fix: <a> cannot appear as a descendant of <a> ( #6737 )
...
* fix: <a> cannot appear as a descendant of <a>
* refact: change render logic to SwitchLocaleLink
2023-06-15 10:02:18 -05:00
Jordan Frankfurt
c2a83cabaa
feat: add loading indicator to activity tab in mini portfolio ( #6754 )
...
* feat: add loading indicator to activity tab in mini portfolio
* should not render spinner when activity key is active
* add an unread notification dot that is dismissed when the user visits the activity tab
* pr feedback
2023-06-14 19:06:10 -05:00
Jordan Frankfurt
7a3c51bc90
fix: uniswap_wallet -> uniwallet ( #6764 )
...
* fix: uniswap_wallet -> uniwallet
update tests
Revert "fix: uniswap_wallet -> uniwallet"
This reverts commit 7bdf34b33025d0b564c5870b073eb20e3d1774e1.
Revert "update tests"
This reverts commit cc841cb5e01a1a239f79fa4d9d480e6479128f08.
add migration
* refactor: add deprecated value back to enum (#6768 )
* add deprecated value back to enum
* Update src/connection/types.ts
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
---------
Co-authored-by: Charles Bachmeier <charlie@genie.xyz>
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
* add deprecated case to getConnection
---------
Co-authored-by: Charles Bachmeier <charles@bachmeier.io>
Co-authored-by: Charles Bachmeier <charlie@genie.xyz>
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
2023-06-14 18:16:12 -05:00
eddie
e69a7c2712
feat: log user router preference as a user property ( #6761 )
...
* feat: log router preference in user properties
* fix: update analytics events
2023-06-14 16:03:23 -07:00
Vignesh Mohankumar
d149512d93
fix: update arbitrum subgraph ( #6679 )
2023-06-14 17:14:05 -04:00
eddie
5826ed15c8
fix: remove sentry logging for swap failures ( #6765 )
2023-06-14 11:16:05 -07:00
eddie
3db9e1b9a4
feat: rename permit2 variables for clarity ( #6728 )
...
* feat: rename permit2 variables for clarity
* fix: types
2023-06-14 11:13:54 -07:00
eddie
79a72d6fe2
feat: update permit2 hook to allow revoking ( #6727 )
...
* feat: update permit2 hook to allow revoking
* fix: types
* fix: rename reset to revoke
* fix: re-use useUpdateTokenAllowance
* fix: add tests
* fix: improve code style
* fix: undefined nit
2023-06-14 10:26:12 -07:00
Brendan Wong
f3bfd4ad41
fix: prevent scrolling with settings modal open ( #6739 )
...
* fix: prevent scrolling with settings modal open
* fix: create hook
* fix: create tests
* fix: simplify useeffect and add JSDoc
2023-06-14 12:30:42 -04:00
Brendan Wong
45acf421b3
fix: tick labels respond to width of the graph ( #6741 )
...
* fix: tick labels respond to width of the graph
* fix: add description to new useeffect
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
---------
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
2023-06-14 12:30:22 -04:00
Saro Vindigni
2c5ea67ada
fix: remove gradientId from svg props ( #6751 )
2023-06-14 11:14:07 -05:00
eddie
2e141ac94c
fix: make text white in success state ( #6755 )
2023-06-13 14:20:26 -07:00
eddie
8b16f454ca
feat: add amount to local copy of Approval transactions ( #6726 )
...
* feat: add amount to local copy of Approval transactions
* fix: use alternate
* fix: type problem
* feat: add test
2023-06-13 13:55:45 -07:00
Tina
094664dc7a
chore: Feature flag cleanup for Arbitrum native USDC ( #6743 )
...
remove feature flag stuff
2023-06-12 15:20:24 -04:00
Charles Bachmeier
62a6ef00da
fix: [DetailsV2] flaky time relevant test ( #6753 )
...
fix flaky time relevant test
Co-authored-by: Charles Bachmeier <charlie@genie.xyz>
2023-06-12 10:51:11 -07:00
Tina
3a739476ca
fix: Catch routing-api v2 no liquidity error case ( #6742 )
...
catch URA no liquidity case
2023-06-12 12:25:24 -04:00
Tina
04e4335cc2
feat: Use routing-api or URA for price fetches behind feature flag ( #6740 )
...
use routing-api or URA for price fetches behind feature flag
2023-06-09 15:07:53 -04:00
Zach Pomerantz
4235b57cd8
build: make codecov reports consistent/not confusing ( #6734 )
...
* build: codecov config
* build: better codecov
* build: omit default
* build: sensical codecov
* build: upload-artifact
* build: customize codecov comment
* build: try again
* build: try again
* build: turn off status except flags
* build: flag comments
* build: changes on
* build: simplify
* build: after_n for comment
2023-06-09 11:00:27 -07:00
Charles Bachmeier
cb362f1b2c
fix: Handle scientific notation for NFT Details pricing ( #6707 )
...
* fix: Handle scientific notation for NFT Details pricing
* add test case
---------
Co-authored-by: Charles Bachmeier <charlie@genie.xyz>
2023-06-09 09:10:40 -07:00
Jack Short
a4d61d8eaa
fix: insufficient liquidity state flashes ( #6733 )
2023-06-09 12:10:13 -04:00
Jack Short
310623b948
fix: language updating in search bar ( #6720 )
2023-06-09 11:56:20 -04:00
Shubham Rasal
b7303fb9c0
style: navbar ui updated ( #6627 )
...
* ui: navbar ui updated
* added margin right
* moved style to higher component
2023-06-09 08:52:52 -07:00
Jack Short
4fbb8e9117
chore: removing error state for rejecting chain switch ( #6713 )
...
* chore: removing error state for rejecting chain switch
* removing connection error state
2023-06-09 11:45:35 -04:00
Zach Pomerantz
f0502bfc33
build: rm old release workflow ( #6731 )
2023-06-08 14:52:24 -07:00
eddie
98f4af55c9
fix: stop resetting modal when we interrupt quote polling ( #6695 )
...
* test(e2e): disable video compression
* refactor: improve popupList impl/test
* test(e2e): log JSON-RPC calls
* fix: retry backoff logic
* test(e2e): wait for hardhat/popup assertions
* fix: remove transactions after expired
* test(e2e): re-enable other swap tests
Co-authored-by: Jordan Frankfurt <jordanwfrankfurt@gmail.com>
* chore: rm console.log
* fix: expire txs after 6h
* refactor: dry trade info
* test(e2e): use default deadline
* test(e2e): use aliases for permit2 test
* test(e2e): automine/off in beforeEach
* test(e2e): rm intermediate screen with no pause
* fix: stop resetting modal when we interrupt quote polling'
* feat: add e2e test for window losing focus
* fix: move test
* fix: combine tests
---------
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
Co-authored-by: Jordan Frankfurt <jordanwfrankfurt@gmail.com>
2023-06-08 13:44:47 -07:00
Jordan Frankfurt
08b8bdd769
chore: update @web3-react/walletconnect-v2 ( #6724 )
2023-06-08 14:20:14 -05:00
Jordan Frankfurt
1283199d0d
fix: remove mainnet from optional chains list ( #6725 )
...
* fix: remove mainnet from optional chains list
* simplify imports
2023-06-08 14:09:41 -05:00
Jack Short
c1fff5ea49
fix: time interval axis overlap ( #6717 )
2023-06-08 13:26:25 -04:00
cartcrom
94adc449a1
refactor: convert getConnection to non-hook ( #6714 )
...
* refactor: convert getConnection to non-hook
* fix: remove getConnection from hook dependecies
* fix: unecessary optional
2023-06-08 13:06:46 -04:00
eddie
4b24e5f754
fix: remove step indicators in sucess state ( #6716 )
2023-06-08 09:14:39 -07:00
eddie
e0a531e538
fix: type error in cypress infra ( #6700 )
2023-06-07 18:16:57 -07:00
eddie
8cef1ca0f7
fix: bottom padding on swap modal ( #6715 )
...
<!-- Your PR title must follow conventional commits: https://github.com/Uniswap/interface#pr-title -->
## Description
<!-- Summary of change, including motivation and context. -->
<!-- Use verb-driven language: "Fixes XYZ" instead of "This change fixes XYZ" -->
<!-- Delete inapplicable lines: -->
_Linear ticket:_ https://linear.app/uniswap/issue/WEB-2151/permit2-fix-dialog-window-height
<!-- Delete this section if your change does not affect UI. -->
## Screen capture
### Before
| Mobile | Desktop |
| ------------ | ------------ |
| paste_before | <img width="516" alt="image" src="https://github.com/Uniswap/interface/assets/66155195/4b7320c3-9bd3-4c5c-8d28-341a5ae7fa4f "> |
### After
| Mobile | Desktop |
| ------------ | ----------- |
| paste_after |  |
2023-06-07 18:09:20 -07:00
Zach Pomerantz
088f1d9ae4
test(e2e): use aliases for permit2 test ( #6656 )
...
* test(e2e): disable video compression
* refactor: improve popupList impl/test
* test(e2e): log JSON-RPC calls
* fix: retry backoff logic
* test(e2e): wait for hardhat/popup assertions
* fix: remove transactions after expired
* test(e2e): re-enable other swap tests
Co-authored-by: Jordan Frankfurt <jordanwfrankfurt@gmail.com>
* chore: rm console.log
* fix: expire txs after 6h
* refactor: dry trade info
* test(e2e): use default deadline
* test(e2e): use aliases for permit2 test
* test(e2e): automine/off in beforeEach
* test(e2e): rm intermediate screen with no pause
* fix merge
* fix only
---------
Co-authored-by: Jordan Frankfurt <jordanwfrankfurt@gmail.com>
2023-06-07 17:55:27 -07:00
Nate Wienert
89a7d98b41
ci: fix wallet disconnect test regression ( #6723 )
2023-06-07 13:17:58 -10:00
Zach Pomerantz
0076fdc65b
test(e2e): skip outdated disconnect-wallet test ( #6722 )
2023-06-07 16:57:37 -04:00
Nate Wienert
48b4a533c3
feat: disconnect button has confirmation step with animated width transition to show confirm text ( #6668 )
...
* feat: changes disconnect button to a two-step animated button with confirmation
* fix: use ConfirmSwapModal in expert mode (#6673 )
Fixes the swap flow for users who are still in expert mode and need permit2 approvals for a token
---------
Co-authored-by: eddie <66155195+just-toby@users.noreply.github.com>
2023-06-07 09:37:32 -10:00
Zach Pomerantz
0b66fde26c
fix: only remove expired transactions from updater ( #6625 )
...
* test(e2e): disable video compression
* refactor: improve popupList impl/test
* test(e2e): log JSON-RPC calls
* fix: retry backoff logic
* test(e2e): wait for hardhat/popup assertions
* fix: remove transactions after expired
* test(e2e): re-enable other swap tests
Co-authored-by: Jordan Frankfurt <jordanwfrankfurt@gmail.com>
* chore: rm console.log
* fix: expire txs after 6h
* refactor: dry trade info
* test(e2e): use default deadline
---------
Co-authored-by: Jordan Frankfurt <jordanwfrankfurt@gmail.com>
2023-06-07 09:29:23 -07:00
Jordan Frankfurt
5788385951
feat(wallet-connect): add support for v2 ( #6582 )
...
* feat(wallet-connect): add support for v2
* use theme button to fix opacity issue
* fix lint
* add new web3-react v2 package
* add mainnet to chains list
* fix test
* yarn dedupe
* add new @walletconnect/ethereum-provider
* fix safari padding
* fix second-click flash on popover toggle
* add walletconnect theme
* add goerli to non-prod chain selector
* remove: debug
* remove vertical line
* WEB-2107 Fix modal close behavior
* remove logging
* clean up accountDrawerOpenAtom usage
* remove irrelevant comments
* remove unintentional whitespace diff
* yarn yarn-deduplicate --strategy=highest
* add conditional chain selector
* update wc package version
* goerli -> sepolia
* goerli -> sepolia
* yarn yarn-deduplicate --strategy=highest
* UNIWALLET -> UNISWAP_WALLET
* useWalletSupportsChain -> useWalletSupportedChains
* use TOGGLE_SIZE
* remove inline styles
* remove inline styles and use better alt text
* update Option.test
* use a named function for forwardRef arg
* fix types
---------
Co-authored-by: Jordan Frankfurt <jordan@CORN-Jordan-949.frankfurt>
2023-06-07 11:11:08 -05:00
Brendan Wong
0891e67528
fix: token bridge pointer bug ( #6670 )
...
* fix: token bridge pointer bug
* fix: use zIndex enum instead of hardcoded
2023-06-07 10:18:48 -04:00
Brendan Wong
b319acd9c4
fix: info labels for extended list tokens ( #6678 )
...
* fix: info labels for extended list tokens
* test: update warning tests for new changes
* fix: function for label and padding
* fix: use warning check function
* fix: update displayWarningLabel
2023-06-07 10:15:36 -04:00
Brendan Wong
05977f950b
fix: updated celo logo ( #6676 )
...
* fix: updated celo logo
* fix: use celo logo from local fs
* fix: removed outdated comments
* fix: combine if statements in celo check
* fix: fix lint
2023-06-07 10:15:06 -04:00
Nate Wienert
5ac36d4156
feat: add link to download the uniswap wallet to the homepage ( #6690 )
...
* feat: add link to download the uniswap wallet to the homepage
2023-06-06 14:17:42 -10:00
clrdo
fb998706c2
fix: swaps with native currency destination in BNB Chain ( #6705 )
...
fix: swaps with native currency destination in BNB Chain
Co-authored-by: clrdo <clrdo@github.com>
2023-06-06 16:48:36 -05:00
eddie
c45492c890
feat: log swap errors to sentry ( #6698 )
...
* feat: log swap errors to sentry
* fix: dont stringify
2023-06-06 13:31:46 -07:00
eddie
41219b435f
feat: update content in permit2 flow ( #6699 )
2023-06-06 13:30:06 -07:00
eddie
e1321843de
fix: disable settings button when contextual chainId !== connectedChainId ( #6696 )
...
* fix: disable settings button when contextual chainId !== connectedChainId
* fix: re-enable TDP tests (#6708 )
2023-06-06 13:28:21 -07:00
Charles Bachmeier
0baa8a1fff
feat: upgrade to node 18 ( #6606 )
...
* feat: upgrade to node 18
* use 18.x
* try removing npx from fetch schema fn
* use yarn
* setup github build on 18
* no yarn
* use yarn and sanitize output
* yarn silent
* update workflows
* fully remove unused step
---------
Co-authored-by: Charles Bachmeier <charlie@genie.xyz>
2023-06-06 11:59:03 -07:00
Zach Pomerantz
f2a3b66357
test(e2e): simplify and re-enable token explore filter test ( #6660 )
2023-06-06 09:05:16 -07:00
Zach Pomerantz
f2af46037e
test(e2e): wallet connection ( #6661 )
2023-06-06 08:57:04 -07:00
Zach Pomerantz
20a06c9b5a
test: skip SwapDetailsDropdown tests ( #6652 )
...
* test: skip SwapDetailsDropdown tests
Tests depend on network requests, which may cause flakiness.
These tests should have the network requests mocked, then be re-enabled.
* add TODO
---------
Co-authored-by: cartcrom <cartergcromer@gmail.com>
2023-06-05 22:03:05 -07:00
Zach Pomerantz
8ef54d41b6
docs(e2e): cypress README ( #6523 )
...
* docs(e2e): best practices
* docs: rewording running
* wip: thenable
* docs(e2e): writing tests
2023-06-05 19:38:25 -07:00
Jordan Frankfurt
1cdddd1321
chore: add better documentation to a complicated hook ( #6689 )
...
* chore: add better documentation to a complicated hook
* input from eddie
* Update src/hooks/useUnmountingAnimation.ts
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
* remove jsdoc types
---------
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
2023-06-05 20:34:34 -05:00
Brendan Wong
f834af69fe
fix: Trust wallet loading state ( #6694 )
2023-06-05 16:25:30 -04:00
Jordan Frankfurt
08cd4bec41
fix: add '-' instead of '$0.00' when the api does not return a price for a tokens page entry ( #6691 )
...
* fix: show '-' instead of .00 when we don't have price data on a token
* explicitly handle the 0 case
* add tests to token row component
2023-06-05 14:56:49 -05:00
cartcrom
63ac64f470
fix: use coned function for chart prices ( #6693 )
2023-06-05 15:40:03 -04:00
Nate Wienert
72686f1e32
ci: temporarily disable coverage tests as they are too flakey ( #6684 )
2023-06-05 06:42:59 -10:00
Jordan Frankfurt
c07359362f
feat: dismiss the landing page when the account drawer is opened ( #6633 )
...
* feat: dismiss the landing page when the account drawer is opened
* remove the gradient before the page transition
* pr feedback
* clean up darkmode handling
* pr feedback from design
* update link test
---------
Co-authored-by: Jordan Frankfurt <jordan@CORN-Jordan-949.frankfurt>
2023-06-05 11:37:18 -05:00
cartcrom
ed58c39bdc
feat: parse moonpay purchases ( #6677 )
...
* feat: parse moonpay purchases
* fix: update comment
* fix: use new coned function
* refactor: simplify nested if statements
2023-06-02 16:46:57 -04:00
Nate Wienert
5d2254be27
fix: searchbar showing incorrect spacing at medium size ( #6637 )
...
* fix: searchbar showing incorrect spacing at medium size
* refactor: remove media query navSearchInputVisible into hook only useNavSearchInputVisible
* fix: disable slight blur showing incorrectly when 1100px to lg breakpoint width
* build: use repository slack secret (#6639 )
* feat: add animation to Settings menu (#6617 )
* feat: add price impact back
* chore: update tes tname
* chore: update snapshot for price impact
* fix
* fix
* update snapshot after rebase
* update snapshot
* chore: finish
* chore: remove snapshot
* feat: add test matcher
* cleanup
* chore: add animation test
* add comment
* update comment
* fix: no-undefined-or in object field types (#6640 )
* feat: show affordance in swap UI when we can't fetch usd quote (#6622 )
* initial commit:
* add todo to linear
* fix: increase useBestTrade debounce time (#6631 )
* fix: increase useBestTrade debounce time
* reduce
* increase
* 350
* fix
* build: caching i18n extractor (#6619 )
* fix: do not attempt to cache i18n:extract
* fix: i18n extraction
* docs: improve comments
* fix: remove app advert on mobile safari (#6630 )
Co-authored-by: Jordan Frankfurt <jordan@CORN-Jordan-949.frankfurt>
* fix: include sw metric with web vitals (#6646 )
* build: add vscode settings for default formatter (#6644 )
build: add vscode settings for default formatter to be dbaeumer.vscode-eslint
* test(e2e): improve hardhat configuration (#6650 )
build: cache hardhat cache
* feat: permit2 flow updates (#6538 )
* test: swap flow cypress tests
* fix: use default parameter
* feat: use Swap Component on TDP
* feat: auto nav for TDP tokens
* chore: merge
* chore: merge
* chore: merge
* chore: merge
* fix: remove extra inputCurrency URL parsing logic
* fix: undo last change
* fix: pass expected chain id to swap component
* fix: search for default tokens on unconnected networks if needed
* test: e2e test for l2 token
* fix: delete irrelevant tests
* fix: address comments
* fix: lint error
* test: update TDP e2e tests
* fix: use pageChainId for filter
* fix: rename chainId
* fix: typecheck
* fix: chainId bug
* fix: chainId required fixes
* fix: bad merge in e2e test
* fix: remove unused test util
* fix: remove unnecessary variable
* fix: token defaults
* fix: address comments
* fix: address comments and fix tests
* fix: e2e test formatting, remove Maybe<>
* fix: remove unused variable
* fix: use feature flag for swap component on TDP
* fix: back button
* feat: copy review screen UI from widgetg
* fix: modal padding
* feat: add final detail row
* fix: remove widget comment
* fix: update unit tests
* fix: code style consistency
* fix: remove padding from AutoColumn
* fix: update snapshots
* fix: use semantic gaps
* fix: more px and gaps
* fix: design feedbacks
* fix: button radius in summary modal
* fix: design nits
* feat: update design of summary modal
* fix: font weight and vertical spacing
* fix: update snapshots
* fix: css nits
* fix: modal flicker when refetching trade
* wip: move approval to summary modal
* wip: not working
* feat: working
* fix: fix flow
* feat: simplify states and build new modal UI
* feat: todos and differs fix
* feat: update tx status modal
* feat: split up approve and permit
* feat: error state
* feat: update success and error states
* feat: undo changes to TxConfirmationModal
* feat: remove step indicators when only one step
* feat: move content into PendingModalContent component
* fix: lint
* fix: correct modal state when moving between steps
* fix: comments
* fix: code style improvements
* feat: require trade to be defined
* fix: remove extra props from ThemedTexts
* fix: one more trans
* fix: remove unused export
* feat: remove undefined checks and other fixes
* fix: update test
* fix: add missing dollar sign
* fix: remove null check and update test
* fix: remove max width from detail row value
* fix: remove isOpen prop
* fix: isopen
* feat: refactor approval flow into a hook
* fix: tradeMeaningfullyDiffers improvement and prepareFlow fix
* fix: address comments
* feat: add comments explaining async state
* fix: nits
* fix: address comments
* feat: permit2 e2e tests (#6541 )
* wip: move approval to summary modal
* wip: not working
* feat: working
* fix: fix flow
* feat: simplify states and build new modal UI
* feat: todos and differs fix
* feat: update tx status modal
* feat: split up approve and permit
* feat: error state
* feat: update success and error states
* feat: undo changes to TxConfirmationModal
* feat: re-order functions
* wip: move approval to summary modal
* wip: not working
* feat: update permit2 e2e tests
* feat: tests passing
* fix: swap test
* fix: bad merge
* chore: merge
* fix: update tests for new modal
* fix: testid fix
* fix: test updates
* fix: reduce nesting
* test: remove line from test for debugging
* fix: update tests
* fix: more nesting in test
* fix: update test
* fix: reorganize test code
* test: permit2 flow component tests (#6551 )
* test: swap flow cypress tests
* fix: use default parameter
* feat: use Swap Component on TDP
* feat: auto nav for TDP tokens
* chore: merge
* chore: merge
* chore: merge
* chore: merge
* fix: remove extra inputCurrency URL parsing logic
* fix: undo last change
* fix: pass expected chain id to swap component
* fix: search for default tokens on unconnected networks if needed
* test: e2e test for l2 token
* fix: delete irrelevant tests
* fix: address comments
* fix: lint error
* test: update TDP e2e tests
* fix: use pageChainId for filter
* fix: rename chainId
* fix: typecheck
* fix: chainId bug
* fix: chainId required fixes
* fix: bad merge in e2e test
* fix: remove unused test util
* fix: remove unnecessary variable
* fix: token defaults
* fix: address comments
* fix: address comments and fix tests
* fix: e2e test formatting, remove Maybe<>
* fix: remove unused variable
* fix: use feature flag for swap component on TDP
* fix: back button
* feat: copy review screen UI from widgetg
* fix: modal padding
* feat: add final detail row
* fix: remove widget comment
* fix: update unit tests
* fix: code style consistency
* fix: remove padding from AutoColumn
* fix: update snapshots
* fix: use semantic gaps
* fix: more px and gaps
* fix: design feedbacks
* fix: button radius in summary modal
* fix: design nits
* feat: update design of summary modal
* fix: font weight and vertical spacing
* fix: update snapshots
* fix: css nits
* wip: move approval to summary modal
* wip: not working
* feat: working
* fix: fix flow
* feat: simplify states and build new modal UI
* feat: todos and differs fix
* feat: update tx status modal
* feat: split up approve and permit
* feat: error state
* feat: update success and error states
* feat: undo changes to TxConfirmationModal
* feat: re-order functions
* wip: move approval to summary modal
* wip: not working
* feat: update permit2 e2e tests
* feat: tests passing
* fix: swap test
* fix: bad merge
* wip: move approval to summary modal
* wip: not working
* feat: PendingModalContent tests
* feat: useMaxAmountIn
* fix: bad merge
* fix: naming
* fix: modal flicker when refetching trade
* wip: move approval to summary modal
* wip: not working
* feat: working
* fix: fix flow
* feat: simplify states and build new modal UI
* feat: todos and differs fix
* feat: update tx status modal
* feat: split up approve and permit
* feat: error state
* feat: update success and error states
* feat: undo changes to TxConfirmationModal
* feat: remove step indicators when only one step
* feat: move content into PendingModalContent component
* fix: lint
* chore: merge
* fix: update tests for new modal
* fix: correct modal state when moving between steps
* fix: comments
* fix: code style improvements
* feat: require trade to be defined
* fix: remove extra props from ThemedTexts
* fix: one more trans
* fix: remove unused export
* feat: remove undefined checks and other fixes
* fix: update test
* fix: add missing dollar sign
* fix: remove null check and update test
* fix: remove max width from detail row value
* fix: remove isOpen prop
* fix: isopen
* feat: refactor approval flow into a hook
* fix: testid fix
* fix: tradeMeaningfullyDiffers improvement and prepareFlow fix
* fix: address comments
* feat: add comments explaining async state
* fix: test updates
* fix: nits
* fix: reduce nesting
* fix: address comments
* test: remove line from test for debugging
* fix: update tests
* fix: update tests
* fix: more nesting in test
* fix: update test
* fix: reorganize test code
* feat: add l2 chain logo to modal (#6575 )
* test: swap flow cypress tests
* fix: use default parameter
* feat: use Swap Component on TDP
* feat: auto nav for TDP tokens
* chore: merge
* chore: merge
* chore: merge
* chore: merge
* fix: remove extra inputCurrency URL parsing logic
* fix: undo last change
* fix: pass expected chain id to swap component
* fix: search for default tokens on unconnected networks if needed
* test: e2e test for l2 token
* fix: delete irrelevant tests
* fix: address comments
* fix: lint error
* test: update TDP e2e tests
* fix: use pageChainId for filter
* fix: rename chainId
* fix: typecheck
* fix: chainId bug
* fix: chainId required fixes
* fix: bad merge in e2e test
* fix: remove unused test util
* fix: remove unnecessary variable
* fix: token defaults
* fix: address comments
* fix: address comments and fix tests
* fix: e2e test formatting, remove Maybe<>
* fix: remove unused variable
* fix: use feature flag for swap component on TDP
* fix: back button
* feat: copy review screen UI from widgetg
* fix: modal padding
* feat: add final detail row
* fix: remove widget comment
* fix: update unit tests
* fix: code style consistency
* fix: remove padding from AutoColumn
* fix: update snapshots
* fix: use semantic gaps
* fix: more px and gaps
* fix: design feedbacks
* fix: button radius in summary modal
* fix: design nits
* feat: update design of summary modal
* fix: font weight and vertical spacing
* fix: update snapshots
* fix: css nits
* wip: move approval to summary modal
* wip: not working
* feat: working
* fix: fix flow
* feat: simplify states and build new modal UI
* feat: todos and differs fix
* feat: update tx status modal
* feat: split up approve and permit
* feat: error state
* feat: update success and error states
* feat: undo changes to TxConfirmationModal
* feat: re-order functions
* wip: move approval to summary modal
* wip: not working
* feat: update permit2 e2e tests
* feat: tests passing
* fix: swap test
* fix: bad merge
* wip: move approval to summary modal
* wip: not working
* feat: PendingModalContent tests
* feat: useMaxAmountIn
* fix: bad merge
* fix: naming
* fix: modal flicker when refetching trade
* wip: move approval to summary modal
* wip: not working
* feat: working
* fix: fix flow
* feat: simplify states and build new modal UI
* feat: todos and differs fix
* feat: update tx status modal
* feat: split up approve and permit
* feat: error state
* feat: update success and error states
* feat: undo changes to TxConfirmationModal
* feat: remove step indicators when only one step
* feat: move content into PendingModalContent component
* fix: lint
* chore: merge
* fix: update tests for new modal
* feat: add l2 chain logo to modal
* feat: add unit test
* fix: correct modal state when moving between steps
* fix: comments
* fix: code style improvements
* feat: require trade to be defined
* fix: remove extra props from ThemedTexts
* fix: one more trans
* fix: remove unused export
* feat: remove undefined checks and other fixes
* fix: update test
* fix: add missing dollar sign
* fix: remove null check and update test
* fix: remove max width from detail row value
* fix: remove isOpen prop
* fix: isopen
* feat: refactor approval flow into a hook
* fix: testid fix
* fix: tradeMeaningfullyDiffers improvement and prepareFlow fix
* fix: address comments
* fix: headerContent prop
* feat: add comments explaining async state
* fix: test updates
* fix: nits
* fix: reduce nesting
* fix: address comments
* test: remove line from test for debugging
* fix: update tests
* fix: address comments
* fix: update tests
* fix: more nesting in test
* fix: update test
* fix: reorganize test code
* feat: swap rejection error handling (#6576 )
* test: swap flow cypress tests
* fix: use default parameter
* feat: use Swap Component on TDP
* feat: auto nav for TDP tokens
* chore: merge
* chore: merge
* chore: merge
* chore: merge
* fix: remove extra inputCurrency URL parsing logic
* fix: undo last change
* fix: pass expected chain id to swap component
* fix: search for default tokens on unconnected networks if needed
* test: e2e test for l2 token
* fix: delete irrelevant tests
* fix: address comments
* fix: lint error
* test: update TDP e2e tests
* fix: use pageChainId for filter
* fix: rename chainId
* fix: typecheck
* fix: chainId bug
* fix: chainId required fixes
* fix: bad merge in e2e test
* fix: remove unused test util
* fix: remove unnecessary variable
* fix: token defaults
* fix: address comments
* fix: address comments and fix tests
* fix: e2e test formatting, remove Maybe<>
* fix: remove unused variable
* fix: use feature flag for swap component on TDP
* fix: back button
* feat: copy review screen UI from widgetg
* fix: modal padding
* feat: add final detail row
* fix: remove widget comment
* fix: update unit tests
* fix: code style consistency
* fix: remove padding from AutoColumn
* fix: update snapshots
* fix: use semantic gaps
* fix: more px and gaps
* fix: design feedbacks
* fix: button radius in summary modal
* fix: design nits
* feat: update design of summary modal
* fix: font weight and vertical spacing
* fix: update snapshots
* fix: css nits
* wip: move approval to summary modal
* wip: not working
* feat: working
* fix: fix flow
* feat: simplify states and build new modal UI
* feat: todos and differs fix
* feat: update tx status modal
* feat: split up approve and permit
* feat: error state
* feat: update success and error states
* feat: undo changes to TxConfirmationModal
* feat: re-order functions
* wip: move approval to summary modal
* wip: not working
* feat: update permit2 e2e tests
* feat: tests passing
* fix: swap test
* fix: bad merge
* wip: move approval to summary modal
* wip: not working
* feat: PendingModalContent tests
* feat: useMaxAmountIn
* fix: bad merge
* fix: naming
* fix: modal flicker when refetching trade
* wip: move approval to summary modal
* wip: not working
* feat: working
* fix: fix flow
* feat: simplify states and build new modal UI
* feat: todos and differs fix
* feat: update tx status modal
* feat: split up approve and permit
* feat: error state
* feat: update success and error states
* feat: undo changes to TxConfirmationModal
* feat: remove step indicators when only one step
* feat: move content into PendingModalContent component
* fix: lint
* chore: merge
* fix: update tests for new modal
* feat: add l2 chain logo to modal
* feat: add unit test
* fix: correct modal state when moving between steps
* fix: correct modal state when moving between steps
* fix: proper error handling of user rejection of swap
* feat: update e2e test
* fix: typecheck
* fix: comments
* fix: code style improvements
* feat: require trade to be defined
* fix: remove extra props from ThemedTexts
* fix: one more trans
* fix: remove unused export
* feat: remove undefined checks and other fixes
* fix: update test
* fix: add missing dollar sign
* fix: remove null check and update test
* fix: remove max width from detail row value
* fix: remove isOpen prop
* fix: isopen
* feat: refactor approval flow into a hook
* fix: custom error type
* fix: testid fix
* fix: add comment
* fix: tradeMeaningfullyDiffers improvement and prepareFlow fix
* fix: address comments
* fix: headerContent prop
* feat: add comments explaining async state
* fix: test updates
* fix: nits
* fix: reduce nesting
* fix: address comments
* test: remove line from test for debugging
* fix: update tests
* fix: address comments
* fix: update tests
* fix: more nesting in test
* fix: update test
* fix: update e2e test
* fix: update error test
* fix: reorganize test code
* feat: update content in Swap Submission Modal (#6577 )
* test: swap flow cypress tests
* fix: use default parameter
* feat: use Swap Component on TDP
* feat: auto nav for TDP tokens
* chore: merge
* chore: merge
* chore: merge
* chore: merge
* fix: remove extra inputCurrency URL parsing logic
* fix: undo last change
* fix: pass expected chain id to swap component
* fix: search for default tokens on unconnected networks if needed
* test: e2e test for l2 token
* fix: delete irrelevant tests
* fix: address comments
* fix: lint error
* test: update TDP e2e tests
* fix: use pageChainId for filter
* fix: rename chainId
* fix: typecheck
* fix: chainId bug
* fix: chainId required fixes
* fix: bad merge in e2e test
* fix: remove unused test util
* fix: remove unnecessary variable
* fix: token defaults
* fix: address comments
* fix: address comments and fix tests
* fix: e2e test formatting, remove Maybe<>
* fix: remove unused variable
* fix: use feature flag for swap component on TDP
* fix: back button
* feat: copy review screen UI from widgetg
* fix: modal padding
* feat: add final detail row
* fix: remove widget comment
* fix: update unit tests
* fix: code style consistency
* fix: remove padding from AutoColumn
* fix: update snapshots
* fix: use semantic gaps
* fix: more px and gaps
* fix: design feedbacks
* fix: button radius in summary modal
* fix: design nits
* feat: update design of summary modal
* fix: font weight and vertical spacing
* fix: update snapshots
* fix: css nits
* wip: move approval to summary modal
* wip: not working
* feat: working
* fix: fix flow
* feat: simplify states and build new modal UI
* feat: todos and differs fix
* feat: update tx status modal
* feat: split up approve and permit
* feat: error state
* feat: update success and error states
* feat: undo changes to TxConfirmationModal
* feat: re-order functions
* wip: move approval to summary modal
* wip: not working
* feat: update permit2 e2e tests
* feat: tests passing
* fix: swap test
* fix: bad merge
* wip: move approval to summary modal
* wip: not working
* feat: PendingModalContent tests
* feat: useMaxAmountIn
* fix: bad merge
* fix: naming
* fix: modal flicker when refetching trade
* wip: move approval to summary modal
* wip: not working
* feat: working
* fix: fix flow
* feat: simplify states and build new modal UI
* feat: todos and differs fix
* feat: update tx status modal
* feat: split up approve and permit
* feat: error state
* feat: update success and error states
* feat: undo changes to TxConfirmationModal
* feat: remove step indicators when only one step
* feat: move content into PendingModalContent component
* fix: lint
* chore: merge
* fix: update tests for new modal
* feat: add l2 chain logo to modal
* feat: add unit test
* fix: correct modal state when moving between steps
* fix: correct modal state when moving between steps
* fix: proper error handling of user rejection of swap
* feat: update e2e test
* fix: typecheck
* feat: design updates, state updates
* fix: comments
* fix: code style improvements
* feat: require trade to be defined
* fix: remove extra props from ThemedTexts
* fix: one more trans
* fix: remove unused export
* feat: remove undefined checks and other fixes
* fix: update test
* fix: add missing dollar sign
* fix: remove null check and update test
* fix: remove max width from detail row value
* fix: remove isOpen prop
* fix: isopen
* feat: refactor approval flow into a hook
* fix: custom error type
* fix: testid fix
* fix: text colors
* fix: add comment
* fix: tradeMeaningfullyDiffers improvement and prepareFlow fix
* fix: address comments
* fix: headerContent prop
* fix: change tooltip to external link
* feat: add comments explaining async state
* fix: test updates
* fix: nits
* fix: reduce nesting
* fix: address comments
* test: remove line from test for debugging
* fix: update tests
* fix: address comments
* fix: comments
* fix: update tests
* fix: update tests
* fix: more nesting in test
* fix: update test
* fix: update e2e test
* fix: update error test
* fix: update content in test
* fix: reorganize test code
* feat: permit2 animations WEB-2036 (#6590 )
* test: swap flow cypress tests
* fix: use default parameter
* feat: use Swap Component on TDP
* feat: auto nav for TDP tokens
* chore: merge
* chore: merge
* chore: merge
* chore: merge
* fix: remove extra inputCurrency URL parsing logic
* fix: undo last change
* fix: pass expected chain id to swap component
* fix: search for default tokens on unconnected networks if needed
* test: e2e test for l2 token
* fix: delete irrelevant tests
* fix: address comments
* fix: lint error
* test: update TDP e2e tests
* fix: use pageChainId for filter
* fix: rename chainId
* fix: typecheck
* fix: chainId bug
* fix: chainId required fixes
* fix: bad merge in e2e test
* fix: remove unused test util
* fix: remove unnecessary variable
* fix: token defaults
* fix: address comments
* fix: address comments and fix tests
* fix: e2e test formatting, remove Maybe<>
* fix: remove unused variable
* fix: use feature flag for swap component on TDP
* fix: back button
* feat: copy review screen UI from widgetg
* fix: modal padding
* feat: add final detail row
* fix: remove widget comment
* fix: update unit tests
* fix: code style consistency
* fix: remove padding from AutoColumn
* fix: update snapshots
* fix: use semantic gaps
* fix: more px and gaps
* fix: design feedbacks
* fix: button radius in summary modal
* fix: design nits
* feat: update design of summary modal
* fix: font weight and vertical spacing
* fix: update snapshots
* fix: css nits
* wip: move approval to summary modal
* wip: not working
* feat: working
* fix: fix flow
* feat: simplify states and build new modal UI
* feat: todos and differs fix
* feat: update tx status modal
* feat: split up approve and permit
* feat: error state
* feat: update success and error states
* feat: undo changes to TxConfirmationModal
* feat: re-order functions
* wip: move approval to summary modal
* wip: not working
* feat: update permit2 e2e tests
* feat: tests passing
* fix: swap test
* fix: bad merge
* wip: move approval to summary modal
* wip: not working
* feat: PendingModalContent tests
* feat: useMaxAmountIn
* fix: bad merge
* fix: naming
* fix: modal flicker when refetching trade
* wip: move approval to summary modal
* wip: not working
* feat: working
* fix: fix flow
* feat: simplify states and build new modal UI
* feat: todos and differs fix
* feat: update tx status modal
* feat: split up approve and permit
* feat: error state
* feat: update success and error states
* feat: undo changes to TxConfirmationModal
* feat: remove step indicators when only one step
* feat: move content into PendingModalContent component
* fix: lint
* chore: merge
* fix: update tests for new modal
* feat: add l2 chain logo to modal
* feat: add unit test
* fix: correct modal state when moving between steps
* fix: correct modal state when moving between steps
* fix: proper error handling of user rejection of swap
* feat: update e2e test
* fix: typecheck
* feat: design updates, state updates
* fix: comments
* fix: code style improvements
* feat: require trade to be defined
* fix: remove extra props from ThemedTexts
* fix: one more trans
* fix: remove unused export
* feat: remove undefined checks and other fixes
* fix: update test
* fix: add missing dollar sign
* fix: remove null check and update test
* fix: remove max width from detail row value
* fix: remove isOpen prop
* fix: isopen
* feat: refactor approval flow into a hook
* fix: custom error type
* fix: testid fix
* fix: text colors
* fix: add comment
* wip: permit2 modal animations
* fix: entrance animations
* feat: step indicator transitions
* feat: icon aniamtions
* feat: fix spinner icon
* fix: re-organize new code
* fix: svg import
* fix: tradeMeaningfullyDiffers improvement and prepareFlow fix
* fix: address comments
* fix: headerContent prop
* fix: change tooltip to external link
* feat: add comments explaining async state
* fix: test updates
* fix: nits
* fix: design nits
* fix: reduce nesting
* fix: address comments
* test: remove line from test for debugging
* fix: update tests
* fix: address comments
* fix: comments
* fix: update tests
* fix: update tests
* fix: more nesting in test
* fix: update test
* fix: update e2e test
* fix: update error test
* fix: dont show loader unless onchain processing is happening
* fix: update designs and add comments
* fix: update content in test
* fix: update tests more
* fix: reorganize test code
* fix: mainnet loading indicator on last step
* fix: re-use opacity css code
* fix: testid issue with test
* fix: lint
* fix: modal height and css improvements
* fix: empty
* feat: fix help center link (#6621 )
* test: swap flow cypress tests
* fix: use default parameter
* feat: use Swap Component on TDP
* feat: auto nav for TDP tokens
* chore: merge
* chore: merge
* chore: merge
* chore: merge
* fix: remove extra inputCurrency URL parsing logic
* fix: undo last change
* fix: pass expected chain id to swap component
* fix: search for default tokens on unconnected networks if needed
* test: e2e test for l2 token
* fix: delete irrelevant tests
* fix: address comments
* fix: lint error
* test: update TDP e2e tests
* fix: use pageChainId for filter
* fix: rename chainId
* fix: typecheck
* fix: chainId bug
* fix: chainId required fixes
* fix: bad merge in e2e test
* fix: remove unused test util
* fix: remove unnecessary variable
* fix: token defaults
* fix: address comments
* fix: address comments and fix tests
* fix: e2e test formatting, remove Maybe<>
* fix: remove unused variable
* fix: use feature flag for swap component on TDP
* fix: back button
* feat: copy review screen UI from widgetg
* fix: modal padding
* feat: add final detail row
* fix: remove widget comment
* fix: update unit tests
* fix: code style consistency
* fix: remove padding from AutoColumn
* fix: update snapshots
* fix: use semantic gaps
* fix: more px and gaps
* fix: design feedbacks
* fix: button radius in summary modal
* fix: design nits
* feat: update design of summary modal
* fix: font weight and vertical spacing
* fix: update snapshots
* fix: css nits
* wip: move approval to summary modal
* wip: not working
* feat: working
* fix: fix flow
* feat: simplify states and build new modal UI
* feat: todos and differs fix
* feat: update tx status modal
* feat: split up approve and permit
* feat: error state
* feat: update success and error states
* feat: undo changes to TxConfirmationModal
* feat: re-order functions
* wip: move approval to summary modal
* wip: not working
* feat: update permit2 e2e tests
* feat: tests passing
* fix: swap test
* fix: bad merge
* wip: move approval to summary modal
* wip: not working
* feat: PendingModalContent tests
* feat: useMaxAmountIn
* fix: bad merge
* fix: naming
* fix: modal flicker when refetching trade
* wip: move approval to summary modal
* wip: not working
* feat: working
* fix: fix flow
* feat: simplify states and build new modal UI
* feat: todos and differs fix
* feat: update tx status modal
* feat: split up approve and permit
* feat: error state
* feat: update success and error states
* feat: undo changes to TxConfirmationModal
* feat: remove step indicators when only one step
* feat: move content into PendingModalContent component
* fix: lint
* chore: merge
* fix: update tests for new modal
* feat: add l2 chain logo to modal
* feat: add unit test
* fix: correct modal state when moving between steps
* fix: correct modal state when moving between steps
* fix: proper error handling of user rejection of swap
* feat: update e2e test
* fix: typecheck
* feat: design updates, state updates
* fix: comments
* fix: code style improvements
* feat: require trade to be defined
* fix: remove extra props from ThemedTexts
* fix: one more trans
* fix: remove unused export
* feat: remove undefined checks and other fixes
* fix: update test
* fix: add missing dollar sign
* fix: remove null check and update test
* fix: remove max width from detail row value
* fix: remove isOpen prop
* fix: isopen
* feat: refactor approval flow into a hook
* fix: custom error type
* fix: testid fix
* fix: text colors
* fix: add comment
* wip: permit2 modal animations
* fix: entrance animations
* feat: step indicator transitions
* feat: icon aniamtions
* feat: fix spinner icon
* fix: re-organize new code
* fix: svg import
* fix: tradeMeaningfullyDiffers improvement and prepareFlow fix
* fix: address comments
* fix: headerContent prop
* fix: change tooltip to external link
* feat: add comments explaining async state
* fix: test updates
* fix: nits
* fix: design nits
* fix: reduce nesting
* fix: address comments
* test: remove line from test for debugging
* fix: update tests
* fix: address comments
* fix: comments
* fix: update tests
* fix: update tests
* fix: more nesting in test
* feat: correct help center article
* fix: update test
* fix: update e2e test
* fix: update error test
* fix: dont show loader unless onchain processing is happening
* fix: update designs and add comments
* fix: update content in test
* fix: update tests more
* fix: reorganize test code
* fix: mainnet loading indicator on last step
* fix: re-use opacity css code
* fix: testid issue with test
* fix: lint
* fix: modal height and css improvements
* fix: empty
* fix: design nits on summary view (#6623 )
* fix: chainId required fixes
* fix: bad merge in e2e test
* fix: remove unused test util
* fix: remove unnecessary variable
* fix: token defaults
* fix: address comments
* fix: address comments and fix tests
* fix: e2e test formatting, remove Maybe<>
* fix: remove unused variable
* fix: use feature flag for swap component on TDP
* fix: back button
* feat: copy review screen UI from widgetg
* fix: modal padding
* feat: add final detail row
* fix: remove widget comment
* fix: update unit tests
* fix: code style consistency
* fix: remove padding from AutoColumn
* fix: update snapshots
* fix: use semantic gaps
* fix: more px and gaps
* fix: design feedbacks
* fix: button radius in summary modal
* fix: design nits
* feat: update design of summary modal
* fix: font weight and vertical spacing
* fix: update snapshots
* fix: css nits
* wip: move approval to summary modal
* wip: not working
* feat: working
* fix: fix flow
* feat: simplify states and build new modal UI
* feat: todos and differs fix
* feat: update tx status modal
* feat: split up approve and permit
* feat: error state
* feat: update success and error states
* feat: undo changes to TxConfirmationModal
* feat: re-order functions
* wip: move approval to summary modal
* wip: not working
* feat: update permit2 e2e tests
* feat: tests passing
* fix: swap test
* fix: bad merge
* wip: move approval to summary modal
* wip: not working
* feat: PendingModalContent tests
* feat: useMaxAmountIn
* fix: bad merge
* fix: naming
* fix: modal flicker when refetching trade
* wip: move approval to summary modal
* wip: not working
* feat: working
* fix: fix flow
* feat: simplify states and build new modal UI
* feat: todos and differs fix
* feat: update tx status modal
* feat: split up approve and permit
* feat: error state
* feat: update success and error states
* feat: undo changes to TxConfirmationModal
* feat: remove step indicators when only one step
* feat: move content into PendingModalContent component
* fix: lint
* chore: merge
* fix: update tests for new modal
* feat: add l2 chain logo to modal
* feat: add unit test
* fix: correct modal state when moving between steps
* fix: correct modal state when moving between steps
* fix: proper error handling of user rejection of swap
* feat: update e2e test
* fix: typecheck
* feat: design updates, state updates
* fix: comments
* fix: code style improvements
* feat: require trade to be defined
* fix: remove extra props from ThemedTexts
* fix: one more trans
* fix: remove unused export
* feat: remove undefined checks and other fixes
* fix: update test
* fix: add missing dollar sign
* fix: remove null check and update test
* fix: remove max width from detail row value
* fix: remove isOpen prop
* fix: isopen
* feat: refactor approval flow into a hook
* fix: custom error type
* fix: testid fix
* fix: text colors
* fix: add comment
* wip: permit2 modal animations
* fix: entrance animations
* feat: step indicator transitions
* feat: icon aniamtions
* feat: fix spinner icon
* fix: re-organize new code
* fix: svg import
* fix: tradeMeaningfullyDiffers improvement and prepareFlow fix
* fix: address comments
* fix: headerContent prop
* fix: change tooltip to external link
* feat: add comments explaining async state
* fix: test updates
* fix: nits
* fix: design nits
* fix: reduce nesting
* fix: address comments
* test: remove line from test for debugging
* fix: update tests
* fix: address comments
* fix: comments
* fix: update tests
* fix: update tests
* fix: more nesting in test
* feat: correct help center article
* fix: design nits on summary view
* fix: update test
* fix: update snapshots
* fix: update e2e test
* fix: etherscan link
* fix: update error test
* fix: dont show loader unless onchain processing is happening
* fix: update designs and add comments
* fix: update content in test
* fix: update tests more
* fix: test
* fix: reorganize test code
* fix: sentence case in one more test
* fix: mainnet loading indicator on last step
* fix: re-use opacity css code
* fix: testid issue with test
* fix: update copy
* fix: update strings in test
* fix: lint
* fix: modal height and css improvements
* fix: empty
* fix: padding on l2 badge
* fix: lint
* feat: log swap button click (#6654 )
* build: disable scheduled releases (#6651 )
* feat: [DetailsV2] Add Activity Chart Time Period Switcher (#6653 )
* add endButton and new TimePeriodSwitcher component
* add snapshot testing
* add test file
* remove switcher from TabbedComponent
* update snapshots
* update describe
* update padding
* extra return
* as const notation
* update snapshots
* no more abs positioning
* cleanup tests and add dropdown test
* add divider line to tabbed component
* update design to match new specs
---------
Co-authored-by: Charles Bachmeier <charlie@genie.xyz>
* fix: reduce ETH amount on mainnet useUSDPrice request to 50 (#6642 )
* feat: page wallet connect txn completed (#6655 )
* feat: add page to wallet_connect_txn_completed event
* feat: unit test
* fix: test
* chore: cleaning up buy button states (#6618 )
* fix: typecheck error in bagfooter (#6669 )
* feat: increased debounce swap quote rate (#6666 )
* feat: increased debounce swap quote time
* fix
* add basic test for initial useScreenSize
---------
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
Co-authored-by: Mike Grabowski <grabbou@gmail.com>
Co-authored-by: eddie <66155195+just-toby@users.noreply.github.com>
Co-authored-by: Vignesh Mohankumar <me@vig.xyz>
Co-authored-by: Jordan Frankfurt <jordanwfrankfurt@gmail.com>
Co-authored-by: Jordan Frankfurt <jordan@CORN-Jordan-949.frankfurt>
Co-authored-by: Charles Bachmeier <charles@bachmeier.io>
Co-authored-by: Charles Bachmeier <charlie@genie.xyz>
Co-authored-by: Jack Short <john.short.tj@gmail.com>
2023-06-02 09:40:04 -10:00
Tina
83f4b53f55
feat: Add Circle native Arbitrum USDC to common base tokens in token selector ( #6680 )
...
* add feature flag for usdc arbitrum
* add to feature flag modal
2023-06-02 14:05:41 -04:00
Brendan Wong
4b5e2f7f16
fix: polygon bridge link leading to error page ( #6664 )
...
* fix: polygon bridge link leading to error page
* fix: fix polygon bridge to send directly to POS bridge
2023-06-02 10:03:50 -07:00
eddie
0c5d915638
feat: upgrade conedison ( #6688 )
...
<!-- Your PR title must follow conventional commits: https://github.com/Uniswap/interface#pr-title -->
## Description
<!-- Summary of change, including motivation and context. -->
<!-- Use verb-driven language: "Fixes XYZ" instead of "This change fixes XYZ" -->
upgrades the coned package to get this change: https://github.com/Uniswap/conedison/pull/19
## Test plan
<!-- Delete this section if your change is not a bug fix. -->
### Reproducing the error
<!-- Include steps to reproduce the bug. -->
1. Try to sign a permit2 signature with trustwallet ios on optimism or arbitrum - it will fail without this change.
### QA (ie manual testing)
<!-- Include steps to test the change, ensuring no regression. -->
- [x] manually moved this change into `interface` and tested it , it works as a fallback
2023-06-02 09:32:56 -07:00
Tina
a03231d356
fix: Bug with flipping ura feature flag on/off in dev mode ( #6686 )
...
fix bug
2023-06-02 12:12:06 -04:00
Jack Short
72936322b3
feat: adding price impact modal ( #6681 )
2023-06-02 11:01:28 -04:00
Charles Bachmeier
1bc6eb9a23
feat: Add support for Sepolia ( #6610 )
...
* initial sepolia const setup
* uni sepolia
* add more consts for sepolia
* better comment
* upgrade ur sdk
* need to request BE add Ethereum sepolia to supported chains
* update weth address
* remove sepolia from defaults
* add tick lens addr
* add multicall && quoter
* use weth9 checksum
* successful wrap
* use supportedChainId over magic num
* upgrade default-token-list && deduplicate
* cleanup
* use checksum for usdc
* upgrade SOR
* placeholder setProperty
* comment cleanup
* add to anonymizeLink
* bump core-sdk
* deduplicate
* update infura fork block
* add comment
---------
Co-authored-by: Charles Bachmeier <charlie@genie.xyz>
2023-06-01 17:57:03 -07:00
Tina
8954aa792a
feat: Use routing-api v2 behind feature flag ( #6594 )
...
* add unified-routing-api slice
* rename legacy -> legacyAPI
* deduplicate client params and ura params
* move shared functions into utils and rename comments for unified routing API
* use feature flag
* remove eslint ignore since the function is now being used
* add typing to args
* rename ura -> routing-api v2
* update trace name and comment
* rename variables
* lint
2023-06-01 16:52:03 -04:00
eddie
379437b720
fix: remove all references to expert mode ( #6675 )
2023-06-01 12:04:16 -07:00
Nate Wienert
02c0dee089
feat: hide logo on swap currency selector modal (and other areas that use CurrencyLogo) for unsupported currencies ( #6659 )
2023-06-01 08:00:02 -10:00
eddie
c55e1af101
fix: reset confirm trade modal state when chain switches ( #6667 )
...
<!-- Your PR title must follow conventional commits: https://github.com/Uniswap/interface#pr-title -->
## Description
<!-- Summary of change, including motivation and context. -->
<!-- Use verb-driven language: "Fixes XYZ" instead of "This change fixes XYZ" -->
Resets the swap component's local state when the chain changes, to fix Confirmation Modal behavior
<!-- Delete inapplicable lines: -->
_Linear ticket:_ https://linear.app/uniswap/issue/WEB-2161/wonky-swap-modal-behavior-after-switching-chains
_Slack thread:_ https://uniswapteam.slack.com/archives/C047U65H422/p1685467094162069?thread_ts=1685459249.400839&cid=C047U65H422
<!-- Delete this section if your change does not affect UI. -->
## Screen capture
### Before
https://github.com/Uniswap/interface/assets/66155195/115e243a-858b-490d-be9e-269174cc7561
### After
https://github.com/Uniswap/interface/assets/66155195/a47b3606-08ac-490f-abc8-01acf2423efb
## Test plan
<!-- Delete this section if your change is not a bug fix. -->
### Reproducing the error
<!-- Include steps to reproduce the bug. -->
1. swap on a l2
2. via the metamask extension (or in whatever wallet), trigger a chain-change event (e.g. from optimism to mainnet)
a. this does not repro if you change chains from within the app selector.
4. fill in the input details for a new trade (ideally with different tokens so you can notice the bug easily)
5. see that the Confirm Swap modal opens automatically when it shouldn't, and it has the wrong trade details
### QA (ie manual testing)
<!-- Include steps to test the change, ensuring no regression. -->
- [x] same steps as above, ensuring the modal behaves correctly
#### Devices
<!-- If applicable, include different devices and screen sizes that may be affected, and how you've tested them. -->
### Automated testing
<!-- If N/A, check and note so it is obvious to your reviewers and does not show up as an incomplete task. -->
<!-- eg - [x] Unit test N/A -->
- [ ] Unit test
- [ ] Integration/E2E test
2023-06-01 10:02:37 -07:00
eddie
87cbd1ab38
fix: use ConfirmSwapModal in expert mode ( #6673 )
...
Fixes the swap flow for users who are still in expert mode and need permit2 approvals for a token
### test plan
added e2e test for full permit2 flow with expert mode enabled.
failing test without the change:
<img width="1394" alt="Screenshot 2023-05-31 at 2 24 12 PM" src="https://github.com/Uniswap/interface/assets/66155195/6a39e039-31b5-4bce-91d2-5e3ebc777378 ">
passing test with change in the CI of this PR
2023-05-31 14:52:04 -07:00
eddie
1090e97bb5
fix: update snapshots ( #6672 )
2023-05-31 16:37:45 -05:00
Nate Wienert
921c6b105f
fix: prevent searchbar from overflowing the bottom of the window viewport (WEB-2099) ( #6645 )
...
fix: prevent searchbar from overflowing the bottom of the window viewport, add scrolling support for inner contents
2023-05-31 10:03:02 -10:00
Vignesh Mohankumar
bc08e9263d
feat: increased debounce swap quote rate ( #6666 )
...
* feat: increased debounce swap quote time
* fix
2023-05-31 15:46:59 -04:00
Jack Short
8c8300a5de
fix: typecheck error in bagfooter ( #6669 )
2023-05-31 13:50:22 -04:00
Jack Short
3f169adcf2
chore: cleaning up buy button states ( #6618 )
2023-05-31 11:34:49 -04:00
eddie
774368f325
feat: page wallet connect txn completed ( #6655 )
...
* feat: add page to wallet_connect_txn_completed event
* feat: unit test
* fix: test
2023-05-30 11:10:16 -07:00
Vignesh Mohankumar
f83f15d37a
fix: reduce ETH amount on mainnet useUSDPrice request to 50 ( #6642 )
2023-05-30 12:30:16 -04:00
Charles Bachmeier
d9f1402576
feat: [DetailsV2] Add Activity Chart Time Period Switcher ( #6653 )
...
* add endButton and new TimePeriodSwitcher component
* add snapshot testing
* add test file
* remove switcher from TabbedComponent
* update snapshots
* update describe
* update padding
* extra return
* as const notation
* update snapshots
* no more abs positioning
* cleanup tests and add dropdown test
* add divider line to tabbed component
* update design to match new specs
---------
Co-authored-by: Charles Bachmeier <charlie@genie.xyz>
2023-05-26 16:06:36 -07:00
Zach Pomerantz
d81cb28010
build: disable scheduled releases ( #6651 )
2023-05-26 14:10:40 -07:00
eddie
b57a5d7ddb
feat: log swap button click ( #6654 )
2023-05-26 10:13:28 -07:00
eddie
e2dd78fd0e
fix: design nits on summary view ( #6623 )
...
* fix: chainId required fixes
* fix: bad merge in e2e test
* fix: remove unused test util
* fix: remove unnecessary variable
* fix: token defaults
* fix: address comments
* fix: address comments and fix tests
* fix: e2e test formatting, remove Maybe<>
* fix: remove unused variable
* fix: use feature flag for swap component on TDP
* fix: back button
* feat: copy review screen UI from widgetg
* fix: modal padding
* feat: add final detail row
* fix: remove widget comment
* fix: update unit tests
* fix: code style consistency
* fix: remove padding from AutoColumn
* fix: update snapshots
* fix: use semantic gaps
* fix: more px and gaps
* fix: design feedbacks
* fix: button radius in summary modal
* fix: design nits
* feat: update design of summary modal
* fix: font weight and vertical spacing
* fix: update snapshots
* fix: css nits
* wip: move approval to summary modal
* wip: not working
* feat: working
* fix: fix flow
* feat: simplify states and build new modal UI
* feat: todos and differs fix
* feat: update tx status modal
* feat: split up approve and permit
* feat: error state
* feat: update success and error states
* feat: undo changes to TxConfirmationModal
* feat: re-order functions
* wip: move approval to summary modal
* wip: not working
* feat: update permit2 e2e tests
* feat: tests passing
* fix: swap test
* fix: bad merge
* wip: move approval to summary modal
* wip: not working
* feat: PendingModalContent tests
* feat: useMaxAmountIn
* fix: bad merge
* fix: naming
* fix: modal flicker when refetching trade
* wip: move approval to summary modal
* wip: not working
* feat: working
* fix: fix flow
* feat: simplify states and build new modal UI
* feat: todos and differs fix
* feat: update tx status modal
* feat: split up approve and permit
* feat: error state
* feat: update success and error states
* feat: undo changes to TxConfirmationModal
* feat: remove step indicators when only one step
* feat: move content into PendingModalContent component
* fix: lint
* chore: merge
* fix: update tests for new modal
* feat: add l2 chain logo to modal
* feat: add unit test
* fix: correct modal state when moving between steps
* fix: correct modal state when moving between steps
* fix: proper error handling of user rejection of swap
* feat: update e2e test
* fix: typecheck
* feat: design updates, state updates
* fix: comments
* fix: code style improvements
* feat: require trade to be defined
* fix: remove extra props from ThemedTexts
* fix: one more trans
* fix: remove unused export
* feat: remove undefined checks and other fixes
* fix: update test
* fix: add missing dollar sign
* fix: remove null check and update test
* fix: remove max width from detail row value
* fix: remove isOpen prop
* fix: isopen
* feat: refactor approval flow into a hook
* fix: custom error type
* fix: testid fix
* fix: text colors
* fix: add comment
* wip: permit2 modal animations
* fix: entrance animations
* feat: step indicator transitions
* feat: icon aniamtions
* feat: fix spinner icon
* fix: re-organize new code
* fix: svg import
* fix: tradeMeaningfullyDiffers improvement and prepareFlow fix
* fix: address comments
* fix: headerContent prop
* fix: change tooltip to external link
* feat: add comments explaining async state
* fix: test updates
* fix: nits
* fix: design nits
* fix: reduce nesting
* fix: address comments
* test: remove line from test for debugging
* fix: update tests
* fix: address comments
* fix: comments
* fix: update tests
* fix: update tests
* fix: more nesting in test
* feat: correct help center article
* fix: design nits on summary view
* fix: update test
* fix: update snapshots
* fix: update e2e test
* fix: etherscan link
* fix: update error test
* fix: dont show loader unless onchain processing is happening
* fix: update designs and add comments
* fix: update content in test
* fix: update tests more
* fix: test
* fix: reorganize test code
* fix: sentence case in one more test
* fix: mainnet loading indicator on last step
* fix: re-use opacity css code
* fix: testid issue with test
* fix: update copy
* fix: update strings in test
* fix: lint
* fix: modal height and css improvements
* fix: empty
* fix: padding on l2 badge
* fix: lint
2023-05-25 15:57:13 -07:00
eddie
96d6e00ed6
feat: fix help center link ( #6621 )
...
* test: swap flow cypress tests
* fix: use default parameter
* feat: use Swap Component on TDP
* feat: auto nav for TDP tokens
* chore: merge
* chore: merge
* chore: merge
* chore: merge
* fix: remove extra inputCurrency URL parsing logic
* fix: undo last change
* fix: pass expected chain id to swap component
* fix: search for default tokens on unconnected networks if needed
* test: e2e test for l2 token
* fix: delete irrelevant tests
* fix: address comments
* fix: lint error
* test: update TDP e2e tests
* fix: use pageChainId for filter
* fix: rename chainId
* fix: typecheck
* fix: chainId bug
* fix: chainId required fixes
* fix: bad merge in e2e test
* fix: remove unused test util
* fix: remove unnecessary variable
* fix: token defaults
* fix: address comments
* fix: address comments and fix tests
* fix: e2e test formatting, remove Maybe<>
* fix: remove unused variable
* fix: use feature flag for swap component on TDP
* fix: back button
* feat: copy review screen UI from widgetg
* fix: modal padding
* feat: add final detail row
* fix: remove widget comment
* fix: update unit tests
* fix: code style consistency
* fix: remove padding from AutoColumn
* fix: update snapshots
* fix: use semantic gaps
* fix: more px and gaps
* fix: design feedbacks
* fix: button radius in summary modal
* fix: design nits
* feat: update design of summary modal
* fix: font weight and vertical spacing
* fix: update snapshots
* fix: css nits
* wip: move approval to summary modal
* wip: not working
* feat: working
* fix: fix flow
* feat: simplify states and build new modal UI
* feat: todos and differs fix
* feat: update tx status modal
* feat: split up approve and permit
* feat: error state
* feat: update success and error states
* feat: undo changes to TxConfirmationModal
* feat: re-order functions
* wip: move approval to summary modal
* wip: not working
* feat: update permit2 e2e tests
* feat: tests passing
* fix: swap test
* fix: bad merge
* wip: move approval to summary modal
* wip: not working
* feat: PendingModalContent tests
* feat: useMaxAmountIn
* fix: bad merge
* fix: naming
* fix: modal flicker when refetching trade
* wip: move approval to summary modal
* wip: not working
* feat: working
* fix: fix flow
* feat: simplify states and build new modal UI
* feat: todos and differs fix
* feat: update tx status modal
* feat: split up approve and permit
* feat: error state
* feat: update success and error states
* feat: undo changes to TxConfirmationModal
* feat: remove step indicators when only one step
* feat: move content into PendingModalContent component
* fix: lint
* chore: merge
* fix: update tests for new modal
* feat: add l2 chain logo to modal
* feat: add unit test
* fix: correct modal state when moving between steps
* fix: correct modal state when moving between steps
* fix: proper error handling of user rejection of swap
* feat: update e2e test
* fix: typecheck
* feat: design updates, state updates
* fix: comments
* fix: code style improvements
* feat: require trade to be defined
* fix: remove extra props from ThemedTexts
* fix: one more trans
* fix: remove unused export
* feat: remove undefined checks and other fixes
* fix: update test
* fix: add missing dollar sign
* fix: remove null check and update test
* fix: remove max width from detail row value
* fix: remove isOpen prop
* fix: isopen
* feat: refactor approval flow into a hook
* fix: custom error type
* fix: testid fix
* fix: text colors
* fix: add comment
* wip: permit2 modal animations
* fix: entrance animations
* feat: step indicator transitions
* feat: icon aniamtions
* feat: fix spinner icon
* fix: re-organize new code
* fix: svg import
* fix: tradeMeaningfullyDiffers improvement and prepareFlow fix
* fix: address comments
* fix: headerContent prop
* fix: change tooltip to external link
* feat: add comments explaining async state
* fix: test updates
* fix: nits
* fix: design nits
* fix: reduce nesting
* fix: address comments
* test: remove line from test for debugging
* fix: update tests
* fix: address comments
* fix: comments
* fix: update tests
* fix: update tests
* fix: more nesting in test
* feat: correct help center article
* fix: update test
* fix: update e2e test
* fix: update error test
* fix: dont show loader unless onchain processing is happening
* fix: update designs and add comments
* fix: update content in test
* fix: update tests more
* fix: reorganize test code
* fix: mainnet loading indicator on last step
* fix: re-use opacity css code
* fix: testid issue with test
* fix: lint
* fix: modal height and css improvements
* fix: empty
2023-05-25 15:40:42 -07:00
eddie
dd29c59238
feat: permit2 animations WEB-2036 ( #6590 )
...
* test: swap flow cypress tests
* fix: use default parameter
* feat: use Swap Component on TDP
* feat: auto nav for TDP tokens
* chore: merge
* chore: merge
* chore: merge
* chore: merge
* fix: remove extra inputCurrency URL parsing logic
* fix: undo last change
* fix: pass expected chain id to swap component
* fix: search for default tokens on unconnected networks if needed
* test: e2e test for l2 token
* fix: delete irrelevant tests
* fix: address comments
* fix: lint error
* test: update TDP e2e tests
* fix: use pageChainId for filter
* fix: rename chainId
* fix: typecheck
* fix: chainId bug
* fix: chainId required fixes
* fix: bad merge in e2e test
* fix: remove unused test util
* fix: remove unnecessary variable
* fix: token defaults
* fix: address comments
* fix: address comments and fix tests
* fix: e2e test formatting, remove Maybe<>
* fix: remove unused variable
* fix: use feature flag for swap component on TDP
* fix: back button
* feat: copy review screen UI from widgetg
* fix: modal padding
* feat: add final detail row
* fix: remove widget comment
* fix: update unit tests
* fix: code style consistency
* fix: remove padding from AutoColumn
* fix: update snapshots
* fix: use semantic gaps
* fix: more px and gaps
* fix: design feedbacks
* fix: button radius in summary modal
* fix: design nits
* feat: update design of summary modal
* fix: font weight and vertical spacing
* fix: update snapshots
* fix: css nits
* wip: move approval to summary modal
* wip: not working
* feat: working
* fix: fix flow
* feat: simplify states and build new modal UI
* feat: todos and differs fix
* feat: update tx status modal
* feat: split up approve and permit
* feat: error state
* feat: update success and error states
* feat: undo changes to TxConfirmationModal
* feat: re-order functions
* wip: move approval to summary modal
* wip: not working
* feat: update permit2 e2e tests
* feat: tests passing
* fix: swap test
* fix: bad merge
* wip: move approval to summary modal
* wip: not working
* feat: PendingModalContent tests
* feat: useMaxAmountIn
* fix: bad merge
* fix: naming
* fix: modal flicker when refetching trade
* wip: move approval to summary modal
* wip: not working
* feat: working
* fix: fix flow
* feat: simplify states and build new modal UI
* feat: todos and differs fix
* feat: update tx status modal
* feat: split up approve and permit
* feat: error state
* feat: update success and error states
* feat: undo changes to TxConfirmationModal
* feat: remove step indicators when only one step
* feat: move content into PendingModalContent component
* fix: lint
* chore: merge
* fix: update tests for new modal
* feat: add l2 chain logo to modal
* feat: add unit test
* fix: correct modal state when moving between steps
* fix: correct modal state when moving between steps
* fix: proper error handling of user rejection of swap
* feat: update e2e test
* fix: typecheck
* feat: design updates, state updates
* fix: comments
* fix: code style improvements
* feat: require trade to be defined
* fix: remove extra props from ThemedTexts
* fix: one more trans
* fix: remove unused export
* feat: remove undefined checks and other fixes
* fix: update test
* fix: add missing dollar sign
* fix: remove null check and update test
* fix: remove max width from detail row value
* fix: remove isOpen prop
* fix: isopen
* feat: refactor approval flow into a hook
* fix: custom error type
* fix: testid fix
* fix: text colors
* fix: add comment
* wip: permit2 modal animations
* fix: entrance animations
* feat: step indicator transitions
* feat: icon aniamtions
* feat: fix spinner icon
* fix: re-organize new code
* fix: svg import
* fix: tradeMeaningfullyDiffers improvement and prepareFlow fix
* fix: address comments
* fix: headerContent prop
* fix: change tooltip to external link
* feat: add comments explaining async state
* fix: test updates
* fix: nits
* fix: design nits
* fix: reduce nesting
* fix: address comments
* test: remove line from test for debugging
* fix: update tests
* fix: address comments
* fix: comments
* fix: update tests
* fix: update tests
* fix: more nesting in test
* fix: update test
* fix: update e2e test
* fix: update error test
* fix: dont show loader unless onchain processing is happening
* fix: update designs and add comments
* fix: update content in test
* fix: update tests more
* fix: reorganize test code
* fix: mainnet loading indicator on last step
* fix: re-use opacity css code
* fix: testid issue with test
* fix: lint
* fix: modal height and css improvements
* fix: empty
2023-05-25 15:25:07 -07:00
eddie
8c2a0f1905
feat: update content in Swap Submission Modal ( #6577 )
...
* test: swap flow cypress tests
* fix: use default parameter
* feat: use Swap Component on TDP
* feat: auto nav for TDP tokens
* chore: merge
* chore: merge
* chore: merge
* chore: merge
* fix: remove extra inputCurrency URL parsing logic
* fix: undo last change
* fix: pass expected chain id to swap component
* fix: search for default tokens on unconnected networks if needed
* test: e2e test for l2 token
* fix: delete irrelevant tests
* fix: address comments
* fix: lint error
* test: update TDP e2e tests
* fix: use pageChainId for filter
* fix: rename chainId
* fix: typecheck
* fix: chainId bug
* fix: chainId required fixes
* fix: bad merge in e2e test
* fix: remove unused test util
* fix: remove unnecessary variable
* fix: token defaults
* fix: address comments
* fix: address comments and fix tests
* fix: e2e test formatting, remove Maybe<>
* fix: remove unused variable
* fix: use feature flag for swap component on TDP
* fix: back button
* feat: copy review screen UI from widgetg
* fix: modal padding
* feat: add final detail row
* fix: remove widget comment
* fix: update unit tests
* fix: code style consistency
* fix: remove padding from AutoColumn
* fix: update snapshots
* fix: use semantic gaps
* fix: more px and gaps
* fix: design feedbacks
* fix: button radius in summary modal
* fix: design nits
* feat: update design of summary modal
* fix: font weight and vertical spacing
* fix: update snapshots
* fix: css nits
* wip: move approval to summary modal
* wip: not working
* feat: working
* fix: fix flow
* feat: simplify states and build new modal UI
* feat: todos and differs fix
* feat: update tx status modal
* feat: split up approve and permit
* feat: error state
* feat: update success and error states
* feat: undo changes to TxConfirmationModal
* feat: re-order functions
* wip: move approval to summary modal
* wip: not working
* feat: update permit2 e2e tests
* feat: tests passing
* fix: swap test
* fix: bad merge
* wip: move approval to summary modal
* wip: not working
* feat: PendingModalContent tests
* feat: useMaxAmountIn
* fix: bad merge
* fix: naming
* fix: modal flicker when refetching trade
* wip: move approval to summary modal
* wip: not working
* feat: working
* fix: fix flow
* feat: simplify states and build new modal UI
* feat: todos and differs fix
* feat: update tx status modal
* feat: split up approve and permit
* feat: error state
* feat: update success and error states
* feat: undo changes to TxConfirmationModal
* feat: remove step indicators when only one step
* feat: move content into PendingModalContent component
* fix: lint
* chore: merge
* fix: update tests for new modal
* feat: add l2 chain logo to modal
* feat: add unit test
* fix: correct modal state when moving between steps
* fix: correct modal state when moving between steps
* fix: proper error handling of user rejection of swap
* feat: update e2e test
* fix: typecheck
* feat: design updates, state updates
* fix: comments
* fix: code style improvements
* feat: require trade to be defined
* fix: remove extra props from ThemedTexts
* fix: one more trans
* fix: remove unused export
* feat: remove undefined checks and other fixes
* fix: update test
* fix: add missing dollar sign
* fix: remove null check and update test
* fix: remove max width from detail row value
* fix: remove isOpen prop
* fix: isopen
* feat: refactor approval flow into a hook
* fix: custom error type
* fix: testid fix
* fix: text colors
* fix: add comment
* fix: tradeMeaningfullyDiffers improvement and prepareFlow fix
* fix: address comments
* fix: headerContent prop
* fix: change tooltip to external link
* feat: add comments explaining async state
* fix: test updates
* fix: nits
* fix: reduce nesting
* fix: address comments
* test: remove line from test for debugging
* fix: update tests
* fix: address comments
* fix: comments
* fix: update tests
* fix: update tests
* fix: more nesting in test
* fix: update test
* fix: update e2e test
* fix: update error test
* fix: update content in test
* fix: reorganize test code
2023-05-25 14:57:04 -07:00
eddie
682fba219d
feat: swap rejection error handling ( #6576 )
...
* test: swap flow cypress tests
* fix: use default parameter
* feat: use Swap Component on TDP
* feat: auto nav for TDP tokens
* chore: merge
* chore: merge
* chore: merge
* chore: merge
* fix: remove extra inputCurrency URL parsing logic
* fix: undo last change
* fix: pass expected chain id to swap component
* fix: search for default tokens on unconnected networks if needed
* test: e2e test for l2 token
* fix: delete irrelevant tests
* fix: address comments
* fix: lint error
* test: update TDP e2e tests
* fix: use pageChainId for filter
* fix: rename chainId
* fix: typecheck
* fix: chainId bug
* fix: chainId required fixes
* fix: bad merge in e2e test
* fix: remove unused test util
* fix: remove unnecessary variable
* fix: token defaults
* fix: address comments
* fix: address comments and fix tests
* fix: e2e test formatting, remove Maybe<>
* fix: remove unused variable
* fix: use feature flag for swap component on TDP
* fix: back button
* feat: copy review screen UI from widgetg
* fix: modal padding
* feat: add final detail row
* fix: remove widget comment
* fix: update unit tests
* fix: code style consistency
* fix: remove padding from AutoColumn
* fix: update snapshots
* fix: use semantic gaps
* fix: more px and gaps
* fix: design feedbacks
* fix: button radius in summary modal
* fix: design nits
* feat: update design of summary modal
* fix: font weight and vertical spacing
* fix: update snapshots
* fix: css nits
* wip: move approval to summary modal
* wip: not working
* feat: working
* fix: fix flow
* feat: simplify states and build new modal UI
* feat: todos and differs fix
* feat: update tx status modal
* feat: split up approve and permit
* feat: error state
* feat: update success and error states
* feat: undo changes to TxConfirmationModal
* feat: re-order functions
* wip: move approval to summary modal
* wip: not working
* feat: update permit2 e2e tests
* feat: tests passing
* fix: swap test
* fix: bad merge
* wip: move approval to summary modal
* wip: not working
* feat: PendingModalContent tests
* feat: useMaxAmountIn
* fix: bad merge
* fix: naming
* fix: modal flicker when refetching trade
* wip: move approval to summary modal
* wip: not working
* feat: working
* fix: fix flow
* feat: simplify states and build new modal UI
* feat: todos and differs fix
* feat: update tx status modal
* feat: split up approve and permit
* feat: error state
* feat: update success and error states
* feat: undo changes to TxConfirmationModal
* feat: remove step indicators when only one step
* feat: move content into PendingModalContent component
* fix: lint
* chore: merge
* fix: update tests for new modal
* feat: add l2 chain logo to modal
* feat: add unit test
* fix: correct modal state when moving between steps
* fix: correct modal state when moving between steps
* fix: proper error handling of user rejection of swap
* feat: update e2e test
* fix: typecheck
* fix: comments
* fix: code style improvements
* feat: require trade to be defined
* fix: remove extra props from ThemedTexts
* fix: one more trans
* fix: remove unused export
* feat: remove undefined checks and other fixes
* fix: update test
* fix: add missing dollar sign
* fix: remove null check and update test
* fix: remove max width from detail row value
* fix: remove isOpen prop
* fix: isopen
* feat: refactor approval flow into a hook
* fix: custom error type
* fix: testid fix
* fix: add comment
* fix: tradeMeaningfullyDiffers improvement and prepareFlow fix
* fix: address comments
* fix: headerContent prop
* feat: add comments explaining async state
* fix: test updates
* fix: nits
* fix: reduce nesting
* fix: address comments
* test: remove line from test for debugging
* fix: update tests
* fix: address comments
* fix: update tests
* fix: more nesting in test
* fix: update test
* fix: update e2e test
* fix: update error test
* fix: reorganize test code
2023-05-25 14:56:37 -07:00
eddie
0f5e871054
feat: add l2 chain logo to modal ( #6575 )
...
* test: swap flow cypress tests
* fix: use default parameter
* feat: use Swap Component on TDP
* feat: auto nav for TDP tokens
* chore: merge
* chore: merge
* chore: merge
* chore: merge
* fix: remove extra inputCurrency URL parsing logic
* fix: undo last change
* fix: pass expected chain id to swap component
* fix: search for default tokens on unconnected networks if needed
* test: e2e test for l2 token
* fix: delete irrelevant tests
* fix: address comments
* fix: lint error
* test: update TDP e2e tests
* fix: use pageChainId for filter
* fix: rename chainId
* fix: typecheck
* fix: chainId bug
* fix: chainId required fixes
* fix: bad merge in e2e test
* fix: remove unused test util
* fix: remove unnecessary variable
* fix: token defaults
* fix: address comments
* fix: address comments and fix tests
* fix: e2e test formatting, remove Maybe<>
* fix: remove unused variable
* fix: use feature flag for swap component on TDP
* fix: back button
* feat: copy review screen UI from widgetg
* fix: modal padding
* feat: add final detail row
* fix: remove widget comment
* fix: update unit tests
* fix: code style consistency
* fix: remove padding from AutoColumn
* fix: update snapshots
* fix: use semantic gaps
* fix: more px and gaps
* fix: design feedbacks
* fix: button radius in summary modal
* fix: design nits
* feat: update design of summary modal
* fix: font weight and vertical spacing
* fix: update snapshots
* fix: css nits
* wip: move approval to summary modal
* wip: not working
* feat: working
* fix: fix flow
* feat: simplify states and build new modal UI
* feat: todos and differs fix
* feat: update tx status modal
* feat: split up approve and permit
* feat: error state
* feat: update success and error states
* feat: undo changes to TxConfirmationModal
* feat: re-order functions
* wip: move approval to summary modal
* wip: not working
* feat: update permit2 e2e tests
* feat: tests passing
* fix: swap test
* fix: bad merge
* wip: move approval to summary modal
* wip: not working
* feat: PendingModalContent tests
* feat: useMaxAmountIn
* fix: bad merge
* fix: naming
* fix: modal flicker when refetching trade
* wip: move approval to summary modal
* wip: not working
* feat: working
* fix: fix flow
* feat: simplify states and build new modal UI
* feat: todos and differs fix
* feat: update tx status modal
* feat: split up approve and permit
* feat: error state
* feat: update success and error states
* feat: undo changes to TxConfirmationModal
* feat: remove step indicators when only one step
* feat: move content into PendingModalContent component
* fix: lint
* chore: merge
* fix: update tests for new modal
* feat: add l2 chain logo to modal
* feat: add unit test
* fix: correct modal state when moving between steps
* fix: comments
* fix: code style improvements
* feat: require trade to be defined
* fix: remove extra props from ThemedTexts
* fix: one more trans
* fix: remove unused export
* feat: remove undefined checks and other fixes
* fix: update test
* fix: add missing dollar sign
* fix: remove null check and update test
* fix: remove max width from detail row value
* fix: remove isOpen prop
* fix: isopen
* feat: refactor approval flow into a hook
* fix: testid fix
* fix: tradeMeaningfullyDiffers improvement and prepareFlow fix
* fix: address comments
* fix: headerContent prop
* feat: add comments explaining async state
* fix: test updates
* fix: nits
* fix: reduce nesting
* fix: address comments
* test: remove line from test for debugging
* fix: update tests
* fix: address comments
* fix: update tests
* fix: more nesting in test
* fix: update test
* fix: reorganize test code
2023-05-25 14:14:35 -07:00
eddie
07527bab26
test: permit2 flow component tests ( #6551 )
...
* test: swap flow cypress tests
* fix: use default parameter
* feat: use Swap Component on TDP
* feat: auto nav for TDP tokens
* chore: merge
* chore: merge
* chore: merge
* chore: merge
* fix: remove extra inputCurrency URL parsing logic
* fix: undo last change
* fix: pass expected chain id to swap component
* fix: search for default tokens on unconnected networks if needed
* test: e2e test for l2 token
* fix: delete irrelevant tests
* fix: address comments
* fix: lint error
* test: update TDP e2e tests
* fix: use pageChainId for filter
* fix: rename chainId
* fix: typecheck
* fix: chainId bug
* fix: chainId required fixes
* fix: bad merge in e2e test
* fix: remove unused test util
* fix: remove unnecessary variable
* fix: token defaults
* fix: address comments
* fix: address comments and fix tests
* fix: e2e test formatting, remove Maybe<>
* fix: remove unused variable
* fix: use feature flag for swap component on TDP
* fix: back button
* feat: copy review screen UI from widgetg
* fix: modal padding
* feat: add final detail row
* fix: remove widget comment
* fix: update unit tests
* fix: code style consistency
* fix: remove padding from AutoColumn
* fix: update snapshots
* fix: use semantic gaps
* fix: more px and gaps
* fix: design feedbacks
* fix: button radius in summary modal
* fix: design nits
* feat: update design of summary modal
* fix: font weight and vertical spacing
* fix: update snapshots
* fix: css nits
* wip: move approval to summary modal
* wip: not working
* feat: working
* fix: fix flow
* feat: simplify states and build new modal UI
* feat: todos and differs fix
* feat: update tx status modal
* feat: split up approve and permit
* feat: error state
* feat: update success and error states
* feat: undo changes to TxConfirmationModal
* feat: re-order functions
* wip: move approval to summary modal
* wip: not working
* feat: update permit2 e2e tests
* feat: tests passing
* fix: swap test
* fix: bad merge
* wip: move approval to summary modal
* wip: not working
* feat: PendingModalContent tests
* feat: useMaxAmountIn
* fix: bad merge
* fix: naming
* fix: modal flicker when refetching trade
* wip: move approval to summary modal
* wip: not working
* feat: working
* fix: fix flow
* feat: simplify states and build new modal UI
* feat: todos and differs fix
* feat: update tx status modal
* feat: split up approve and permit
* feat: error state
* feat: update success and error states
* feat: undo changes to TxConfirmationModal
* feat: remove step indicators when only one step
* feat: move content into PendingModalContent component
* fix: lint
* chore: merge
* fix: update tests for new modal
* fix: correct modal state when moving between steps
* fix: comments
* fix: code style improvements
* feat: require trade to be defined
* fix: remove extra props from ThemedTexts
* fix: one more trans
* fix: remove unused export
* feat: remove undefined checks and other fixes
* fix: update test
* fix: add missing dollar sign
* fix: remove null check and update test
* fix: remove max width from detail row value
* fix: remove isOpen prop
* fix: isopen
* feat: refactor approval flow into a hook
* fix: testid fix
* fix: tradeMeaningfullyDiffers improvement and prepareFlow fix
* fix: address comments
* feat: add comments explaining async state
* fix: test updates
* fix: nits
* fix: reduce nesting
* fix: address comments
* test: remove line from test for debugging
* fix: update tests
* fix: update tests
* fix: more nesting in test
* fix: update test
* fix: reorganize test code
2023-05-25 14:13:55 -07:00
eddie
7934777fa2
feat: permit2 flow updates ( #6538 )
...
* test: swap flow cypress tests
* fix: use default parameter
* feat: use Swap Component on TDP
* feat: auto nav for TDP tokens
* chore: merge
* chore: merge
* chore: merge
* chore: merge
* fix: remove extra inputCurrency URL parsing logic
* fix: undo last change
* fix: pass expected chain id to swap component
* fix: search for default tokens on unconnected networks if needed
* test: e2e test for l2 token
* fix: delete irrelevant tests
* fix: address comments
* fix: lint error
* test: update TDP e2e tests
* fix: use pageChainId for filter
* fix: rename chainId
* fix: typecheck
* fix: chainId bug
* fix: chainId required fixes
* fix: bad merge in e2e test
* fix: remove unused test util
* fix: remove unnecessary variable
* fix: token defaults
* fix: address comments
* fix: address comments and fix tests
* fix: e2e test formatting, remove Maybe<>
* fix: remove unused variable
* fix: use feature flag for swap component on TDP
* fix: back button
* feat: copy review screen UI from widgetg
* fix: modal padding
* feat: add final detail row
* fix: remove widget comment
* fix: update unit tests
* fix: code style consistency
* fix: remove padding from AutoColumn
* fix: update snapshots
* fix: use semantic gaps
* fix: more px and gaps
* fix: design feedbacks
* fix: button radius in summary modal
* fix: design nits
* feat: update design of summary modal
* fix: font weight and vertical spacing
* fix: update snapshots
* fix: css nits
* fix: modal flicker when refetching trade
* wip: move approval to summary modal
* wip: not working
* feat: working
* fix: fix flow
* feat: simplify states and build new modal UI
* feat: todos and differs fix
* feat: update tx status modal
* feat: split up approve and permit
* feat: error state
* feat: update success and error states
* feat: undo changes to TxConfirmationModal
* feat: remove step indicators when only one step
* feat: move content into PendingModalContent component
* fix: lint
* fix: correct modal state when moving between steps
* fix: comments
* fix: code style improvements
* feat: require trade to be defined
* fix: remove extra props from ThemedTexts
* fix: one more trans
* fix: remove unused export
* feat: remove undefined checks and other fixes
* fix: update test
* fix: add missing dollar sign
* fix: remove null check and update test
* fix: remove max width from detail row value
* fix: remove isOpen prop
* fix: isopen
* feat: refactor approval flow into a hook
* fix: tradeMeaningfullyDiffers improvement and prepareFlow fix
* fix: address comments
* feat: add comments explaining async state
* fix: nits
* fix: address comments
* feat: permit2 e2e tests (#6541 )
* wip: move approval to summary modal
* wip: not working
* feat: working
* fix: fix flow
* feat: simplify states and build new modal UI
* feat: todos and differs fix
* feat: update tx status modal
* feat: split up approve and permit
* feat: error state
* feat: update success and error states
* feat: undo changes to TxConfirmationModal
* feat: re-order functions
* wip: move approval to summary modal
* wip: not working
* feat: update permit2 e2e tests
* feat: tests passing
* fix: swap test
* fix: bad merge
* chore: merge
* fix: update tests for new modal
* fix: testid fix
* fix: test updates
* fix: reduce nesting
* test: remove line from test for debugging
* fix: update tests
* fix: more nesting in test
* fix: update test
* fix: reorganize test code
2023-05-25 13:49:27 -07:00
Zach Pomerantz
2415a1e3cd
test(e2e): improve hardhat configuration ( #6650 )
...
build: cache hardhat cache
2023-05-25 11:53:39 -07:00
Nate Wienert
1ba796a895
build: add vscode settings for default formatter ( #6644 )
...
build: add vscode settings for default formatter to be dbaeumer.vscode-eslint
2023-05-25 08:22:51 -10:00
Zach Pomerantz
4446eb9b84
fix: include sw metric with web vitals ( #6646 )
2023-05-25 10:12:20 -07:00
Jordan Frankfurt
d23b6e5da6
fix: remove app advert on mobile safari ( #6630 )
...
Co-authored-by: Jordan Frankfurt <jordan@CORN-Jordan-949.frankfurt>
2023-05-25 10:36:57 -05:00
Zach Pomerantz
44c355c7f0
build: caching i18n extractor ( #6619 )
...
* fix: do not attempt to cache i18n:extract
* fix: i18n extraction
* docs: improve comments
2023-05-24 14:23:40 -07:00
Vignesh Mohankumar
e4a9764a12
fix: increase useBestTrade debounce time ( #6631 )
...
* fix: increase useBestTrade debounce time
* reduce
* increase
* 350
* fix
2023-05-24 14:44:18 -04:00
Mike Grabowski
303fa15240
feat: show affordance in swap UI when we can't fetch usd quote ( #6622 )
...
* initial commit:
* add todo to linear
2023-05-24 22:32:53 +04:00
eddie
d180aef306
fix: no-undefined-or in object field types ( #6640 )
2023-05-24 11:31:40 -07:00
Mike Grabowski
c07c401189
feat: add animation to Settings menu ( #6617 )
...
* feat: add price impact back
* chore: update tes tname
* chore: update snapshot for price impact
* fix
* fix
* update snapshot after rebase
* update snapshot
* chore: finish
* chore: remove snapshot
* feat: add test matcher
* cleanup
* chore: add animation test
* add comment
* update comment
2023-05-24 22:02:59 +04:00
Zach Pomerantz
65d91eb363
build: use repository slack secret ( #6639 )
2023-05-24 13:15:28 -04:00
Jordan Frankfurt
bd4042aa16
chore: update pr template ( #6634 )
...
Co-authored-by: Jordan Frankfurt <jordan@CORN-Jordan-949.frankfurt>
2023-05-23 14:53:07 -07:00
github-actions[bot]
1dcafd2f2d
chore(i18n): new Crowdin translations ( #6215 )
...
* chore(i18n): synchronize translations from crowdin [skip ci]
* chore: trigger actions
---------
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
2023-05-23 14:39:58 -07:00
Jordan Frankfurt
66fcdb4465
feat: improve yarn prepare scripts ( #6609 )
...
* feat: improve yarn prepare scripts
* reset yarn.lock to main
* pr feedback
* Update scripts/prepare.js
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
* Update scripts/prepare.js
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
* Update scripts/prepare.js
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
* Update scripts/prepare.js
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
* Update scripts/prepare.js
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
* Update scripts/prepare.js
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
* Update scripts/prepare.js
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
* pr feedback
* switch to using concurrently
* yarn dedupe
---------
Co-authored-by: Jordan Frankfurt <jordan@CORN-Jordan-949.frankfurt>
Co-authored-by: Jordan Frankfurt <jordan@corn-jordan-949.lan>
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
2023-05-23 16:07:05 -05:00
Jack Short
e398e8b950
fix: allow unsupported chain in pwat ( #6629 )
...
chore: allow unsupported chain in pwat
2023-05-23 13:36:28 -04:00
Tina
6424fdfbcd
fix: Simplify event logging for SWAP_QUOTE_RECEIVED ( #6628 )
...
* simplify event logging
* remove unused function parameter
2023-05-23 11:06:18 -04:00
eddie
95814e3271
fix: prevent race condition for swap state ( #6624 )
2023-05-22 15:57:17 -07:00
Jack Short
caa2524e27
feat: [DetailsV2] instant buy ( #6599 )
...
* initial impl
* removing isopen change
* stopping refetching
* shared button
* pending animiation
* updating shared
* updating snapshots
* adding disabled state
* isLoading in hook
* pulling out ternary
* removing fragment
* separate file for offer button
* fixing price diff check
* remove unnecessary export
* changing name to useBuyAssetCallback
2023-05-22 18:28:48 -04:00
Zach Pomerantz
d28a4b34cd
fix: do not attempt to cache i18n:extract ( #6616 )
2023-05-22 14:03:11 -07:00
cartcrom
f3a80c6272
feat: special case arb search ( #6584 )
...
* feat: special case arb search
* fix: check both current and existing token
2023-05-22 12:40:46 -04:00
Zach Pomerantz
b89ee36448
test(e2e): attempt to de-flake ( #6611 )
...
* test(e2e): improve memory mgmt
* test(e2e): record flakes
* test(e2e): simplify tests in attempt to de-flake
* test(e2e): more simplification
* test(e2e): disable transaction popup checks
* test(e2e): better wrap assertions
* test(e2e): always assert both inputs
2023-05-22 09:02:54 -07:00
Vignesh Mohankumar
fbc55db937
chore: remove chunkResponseStatus tag ( #6586 )
...
* chore: remove chunkResponseStatus tag
* lint
2023-05-21 17:25:58 -04:00
Jordan Frankfurt
835c62acfa
fix: use ephemeral props for styled component ( #6607 )
...
* fix: use ephemeral props for styled component
* add
2023-05-20 16:55:37 -05:00
Zach Pomerantz
8fe7c7a0a7
build: notify from notify/test ( #6597 )
...
* build: notify from notify/test
* debug
* debug2
* revert debugs
2023-05-19 12:24:11 -07:00
Tina
41113e6e41
fix: Use client side router only for price fetching ( #6604 )
...
use client side router only for price fetching
2023-05-19 13:35:29 -04:00
Mike Grabowski
58b25d29a9
feat: expand settings by default when custom values are set ( #6603 )
...
feat: expand by default
2023-05-19 21:35:02 +04:00
Zach Pomerantz
a2db3e2719
test(e2e): configure Cypress to post PR status comments ( #6591 )
2023-05-19 06:32:42 -07:00
Mike Grabowski
b62f9066a7
fix: add price impact back ( #6581 )
...
* feat: add price impact back
* chore: update tes tname
* chore: update snapshot for price impact
* fix
* fix
* update snapshot after rebase
* update snapshot
2023-05-19 09:24:06 +04:00
Zach Pomerantz
258f22e037
build: continue-on-error for slack notifications ( #6600 )
2023-05-18 15:30:43 -07:00
Zach Pomerantz
38b306a80f
build: pin github-tag-action ( #6598 )
2023-05-18 15:30:24 -07:00
Zach Pomerantz
9050f09bfe
build: notify from notify/releases ( #6596 )
2023-05-18 15:30:03 -07:00
Zach Pomerantz
77d46c361a
test(e2e): de-flake wrap ( #6589 )
...
* test(e2e): mv swap to dir
* test(e2e): split swap/wrap/errors
* test(e2e): de-flake wrap
2023-05-18 13:47:15 -07:00
Charles Bachmeier
4fb48bdd1f
fix: only request 1 listing on NFTDetails page ( #6602 )
...
only request 1 listing
Co-authored-by: Charles Bachmeier <charlie@genie.xyz>
2023-05-18 13:35:01 -07:00
cartcrom
cf2b6bf568
fix: portfolio balances after switching accounts ( #6527 )
...
* fix: handle portfolio staleness upon account change
* fix: only consider current account for tx updates
* test: add e2e test for account switching
* fix: remove unnused data-testid
* fix: added todo comment
* refactor: move test into existing folder
* fix: add account to dependency array
* todo: tx reducer
* test: update cypress config to pass in env variables
* fix: undo unintended change
* fix: use process.env
* fix: use regex instead of env
2023-05-18 16:32:35 -04:00
eddie
03095f4e48
feat: add feature flag for URA ( #6593 )
2023-05-18 10:14:18 -07:00
lavalamp
b2966f8d29
ci: Fix YAML spacing ( #6592 )
...
Fix YAML spacing
2023-05-18 09:43:02 -07:00
Charles Bachmeier
ef6d1f20ed
feat: [DetailsV2] Show data page header when nft scrolled out of view ( #6585 )
...
* show data page header when nft scrolled out of view
* add new snapshot test
* useRef for observer
* add comment
---------
Co-authored-by: Charles Bachmeier <charlie@genie.xyz>
2023-05-18 09:41:04 -07:00
lavalamp
10b156ff2b
ci: Final CI fixes pass ( #6556 )
...
* Final CI fixes pass
* Change cut to awk
* Remove workflow_dispatch
* Start, success, failure messges
* Deploy from main and add comment
* Update .github/workflows/2-deploy-to-staging.yml
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
* Update jobs to have correct comments, simplification in prod
---------
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
2023-05-17 14:29:06 -06:00
Zach Pomerantz
146c5f29cf
feat: only pre-cache the document ( #6580 )
...
* test(e2e): de-flake service-worker
* feat: rm stale cache storage
* fix: put not del
* fix: staging and test
* test: include staging
* fix: log
* test: rm console.log
* fix: unregister before
* test: deflake by restoring state afterwards
2023-05-17 12:10:28 -07:00
Zach Pomerantz
66a3475bf6
test(e2e): split swap tests ( #6587 )
...
* test(e2e): mv swap to dir
* test(e2e): split swap/wrap/errors
2023-05-17 09:43:52 -07:00
Zach Pomerantz
f6c393b016
test(e2e): de-flake activity-history ( #6583 )
2023-05-17 09:43:26 -07:00
cartcrom
15f8d34320
fix: update nonce deduplication logic ( #6588 )
...
* fix: update nonce-deduplication logic
* lint
2023-05-16 21:28:19 -04:00
eddie
504e09d3dc
feat: new review design ( #6451 )
...
* test: swap flow cypress tests
* fix: use default parameter
* feat: use Swap Component on TDP
* feat: auto nav for TDP tokens
* chore: merge
* chore: merge
* chore: merge
* chore: merge
* fix: remove extra inputCurrency URL parsing logic
* fix: undo last change
* fix: pass expected chain id to swap component
* fix: search for default tokens on unconnected networks if needed
* test: e2e test for l2 token
* fix: delete irrelevant tests
* fix: address comments
* fix: lint error
* test: update TDP e2e tests
* fix: use pageChainId for filter
* fix: rename chainId
* fix: typecheck
* fix: chainId bug
* fix: chainId required fixes
* fix: bad merge in e2e test
* fix: remove unused test util
* fix: remove unnecessary variable
* fix: token defaults
* fix: address comments
* fix: address comments and fix tests
* fix: e2e test formatting, remove Maybe<>
* fix: remove unused variable
* fix: use feature flag for swap component on TDP
* fix: back button
* feat: copy review screen UI from widgetg
* fix: modal padding
* feat: add final detail row
* fix: remove widget comment
* fix: update unit tests
* fix: code style consistency
* fix: remove padding from AutoColumn
* fix: update snapshots
* fix: use semantic gaps
* fix: more px and gaps
* fix: design feedbacks
* fix: button radius in summary modal
* fix: design nits
* feat: update design of summary modal
* fix: font weight and vertical spacing
* fix: update snapshots
* fix: css nits
* fix: modal flicker when refetching trade
* fix: comments
* fix: code style improvements
* feat: require trade to be defined
* fix: remove extra props from ThemedTexts
* fix: one more trans
* fix: remove unused export
* feat: remove undefined checks and other fixes
* fix: update test
* fix: add missing dollar sign
* fix: remove null check and update test
* fix: remove max width from detail row value
* fix: remove isOpen prop
* fix: isopen
2023-05-16 15:15:30 -07:00
Vignesh Mohankumar
1f755e8b0d
feat: add retry logic for dynamic imports ( #6512 )
...
* feat: add retry logic for lazy import
* try again
* add tests
* refactor: moves retry helper to subfolder
* missing-files
* fix
* doc comment
* tsdoc
* fake timers
* fix
* add eslint rule
* try again?
* try again?
* only dynamic
* try again
* try again
* IT WORKS
* add retry
* fix
* add test
* warn -> error
* lint
* lint
* lint
* add back cache
* rm test
* try again
* real timers but really short intervals
* try returning the promise?
* try returning the promise?
* try this package
* retry
* Update src/utils/retry.ts
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
* Update rules/enforce-retry-on-import.js
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
* Update rules/enforce-retry-on-import.js
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
* eslint_rules
* test fixes
* name
* fix
---------
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
2023-05-16 16:53:22 -04:00
Vignesh Mohankumar
f45a7f921b
fix: handle switchChain failure in swap ( #6507 )
...
* fix: handle switchChain failure in swap
* comment
* fix
2023-05-16 16:47:13 -04:00
Vignesh Mohankumar
29db61ff90
fix: filter error caused by missing meta tags ( #6546 )
...
* fix: filter error caused by missing meta tags
* fix
2023-05-16 16:40:25 -04:00
Tina
8431ad9161
chore: Refactor swap request flow ( #6499 )
...
* Refactor swap quote flow with widget logic
* remove console logging
* add ignore path for serialization check and pass in native currencies for client side routing
* apply stashed changes
* revert node version change
* remove TODO comment because maybe no longer relevant
* update unit tests
* wip: add snapshot test
* add snapshot test for gas estimate badge
* address PR comments: rename variables, fix client side router initialization
* update Trade type
* add TODO comment about isExactInput util
* change | undefined convention to ?
* PR comments
* update type
* remove client side initialization logic and replace with TODO
* use routing-api for price fetching trades too
* remove QuoteType.Initialized
2023-05-16 16:33:46 -04:00
Vignesh Mohankumar
fd1aded517
fix: remove trailing slash from request url ( #6542 )
...
* fix: remove trailing slash from request url
* moves cast
* {}
2023-05-16 12:36:24 -04:00
Vignesh Mohankumar
27ad7cbd41
test: move all tests to beforeSend ( #6513 )
...
* beforeSend tests
* fix
* refactor: filterKnownErrors -> shouldRejectError (#6547 )
* refactor: filterKnownErrors -> shouldRejectError
* no unknown
* comments
2023-05-16 12:36:17 -04:00
Joshua DeCristi
01e5de436a
fix: "Minimum output" should be "Maximum output" when trade is Exact Output ( #6565 )
...
* fix: minimum output should be showing maximum input when trade type is exact output
* fix: test for minimum output should be showing maximum input when trade type is exact output
---------
Co-authored-by: Josh DeCristi <joshdecristi@Joshs-MacBook-Pro.local>
2023-05-16 12:07:39 -04:00
Charles Bachmeier
fd5aa1b51e
fix: use padding component ( #6579 )
...
* fix: rm unused const
* use component
* update snapshot
---------
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
Co-authored-by: Charles Bachmeier <charlie@genie.xyz>
2023-05-16 08:56:51 -07:00
Mike Grabowski
a6e1a7e6d9
feat: add slippage warning to MenuButton ( #6548 )
...
* feat: initial commit
* chore: add unit tests
* chore: move menubutton to sep. component
* chore: simplify styles and add real focused state
* chore: fix tests + some other tweaks
* chore: rename
* test: add snapshot tests
* tweaks
2023-05-16 11:41:14 +04:00
Jack Short
629fe2c144
feat: [DetailsV2] trait bubbles ( #6552 )
2023-05-15 19:17:45 -04:00
Vignesh Mohankumar
d73763ce75
refactor: imports shared polyfills in setupTests ( #6571 )
2023-05-15 17:11:28 -04:00
Zach Pomerantz
fe6df38997
build: upgrade to webpack5 with polyfilled Buffer ( #6568 )
...
* fix: Revert "fix: Revert "build: upgrade to webpack 5 (#6459 )" (#6566 )"
This reverts commit 5e591455b38c9618c750a23bc2a63cdcc30dba57.
* build: polyfill Buffer
* docs: fix comment negation
2023-05-15 14:07:05 -07:00
eddie
719ee0f5b5
fix: loosen permit2 expiration tolerance in e2e tests ( #6573 )
2023-05-15 10:58:05 -07:00
Charles Bachmeier
75bdf9a8d4
feat: [DetailsV2] Add left padding to trait rows and headers ( #6534 )
...
* feat: [DetailsV2] Add left padding to trait rows
* update snapshot
---------
Co-authored-by: Charles Bachmeier <charlie@genie.xyz>
2023-05-15 10:40:38 -07:00
Tina
efbe3994bb
fix: catch RouterPreference.AUTO case for routing-api usage ( #6572 )
...
catch AUTO case for routing-api
2023-05-15 13:38:59 -04:00
Vignesh Mohankumar
93fe8e4349
fix: polyfill ResizeObserver ( #6553 )
...
* polyfill
* lint
* polyfill test
* dedupe
2023-05-15 12:39:31 -04:00
Vignesh Mohankumar
6062f615a0
build: change automated release to 16:00 UTC ( #6567 )
2023-05-15 12:25:49 -04:00
Charles Bachmeier
42e3af7b5c
feat: [DetailsV2] Offer and Listing Tables ( #6515 )
...
* added home icon, basic content container with scroll behaviour
* add more struct
* add timeUntil util, add main structure of generic component, basic mock data
* propagate asset
* actual fake data
* working scroll
* proper alignment
* 1155 quantity
* small window sizes
* more action buttons
* cleanup
* update snapshot
* add tests
* add new test files
* add outline and hide usd price for certain screen sizes
* use sell order data
* update tests
* fetch multiple listings
* better price width on select screens
* mobile icon for approve
* bottom padding on mobile
* update snapshot
* use test objs in tests
* update query
* add border between rows
* update page padding
* breakpoint overlap
* simplified sellOrder check
* external link
* upstream button and better mobile padding
* add file and update tests
---------
Co-authored-by: Charles Bachmeier <charlie@genie.xyz>
2023-05-15 09:14:09 -07:00
Vignesh Mohankumar
57274a800d
fix: don't console.error for WalletConnect modal close ( #6559 )
2023-05-15 12:13:34 -04:00
Tina
5e591455b3
fix: Revert "build: upgrade to webpack 5 ( #6459 )" ( #6566 )
...
Revert "build: upgrade to webpack 5 (#6459 )"
This reverts commit ec547ab100f793d127246186d5fd60786758a862.
2023-05-15 09:48:27 -04:00
Zach Pomerantz
ec547ab100
build: upgrade to webpack 5 ( #6459 )
...
* fix: import default from json
* fix: fallback to path-browserify
* build: upgrade to webpack5
* test: update size-tests to reflect single entry
* test: increase service-worker timeout
* docs: improve comments
* build: rm MiniCssExtract workaround
* docs: even better comments
* test: back out longer test
* build: vendor chunk
* test: increase sw timeout
* fix: justified splitChunks config
* better explanation
* fix: longer timeout
* fix: caching
* merge and rm duplication
* build
2023-05-12 12:55:01 -07:00
Charles Bachmeier
9de76c69ae
feat: [DetailsV2] Data Page Header ( #6549 )
...
* hide header on mobile
* add buy and offer buttons, thumbnail, text
* handle no sell orders and add tests
* rehide on mobile
* breakpoint optimizations
* design feedback
---------
Co-authored-by: Charles Bachmeier <charlie@genie.xyz>
2023-05-12 14:48:26 -04:00
Charles Bachmeier
85d1b90197
feat: [DetailsV2] Mobile support for traits ( #6535 )
...
Co-authored-by: Charles Bachmeier <charlie@genie.xyz>
2023-05-12 13:39:31 -04:00
lavalamp
38af86e1bb
ci: More CI pipeline fixes ( #6550 )
...
Move git config
2023-05-12 10:03:45 -07:00
Zach Pomerantz
11a8df2a3e
build: report test failures via Slack ( #6539 )
...
* build: report test failures
2023-05-12 09:19:20 -07:00
Vignesh Mohankumar
3726b6bb47
fix: remove top-level Fragment ( #6540 )
2023-05-12 11:19:52 -04:00
Vignesh Mohankumar
bfde34c774
refactor: moves retry helper to subfolder ( #6531 )
2023-05-12 11:08:14 -04:00
Tina
bd8113d018
chore: Goodbye widget :( ( #6543 )
...
* goodbye widget :(
* remove unused function
* modify trace tests
* fix lint
* is github down?
2023-05-12 11:05:22 -04:00
lavalamp
14e3ef044e
ci: CI pipeline fixes for merge issues ( #6529 )
...
* CI fixes
* update text content
* Change PR to force push
* releases environment for prod deploy
* add runs-on
* Rename third step
* Update .github/workflows/1-main-to-staging.yml
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
* Update .github/workflows/1-main-to-staging.yml
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
* nits
---------
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
2023-05-12 08:30:30 -04:00
Vignesh Mohankumar
4fc4bdcd55
fix: propagates user rejection errors ( #6533 )
2023-05-11 19:40:02 -04:00
Zach Pomerantz
3733570a89
build: update workflow owners ( #6537 )
2023-05-11 14:24:52 -07:00
Tina
7a042a5199
chore: Replace widget skeleton with internal swap skeleton ( #6524 )
...
* replace widget skeleton with internal version
* remove unuecessary div wrappers
* add snapshot test
* forgot to commit this file earlier
* remove exports
* revert(e2e): waitForAnimations
* convert values to px, refactor a bit to use flex gap instead of padding
* remove unnecessary props
* update snapshot test
---------
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
2023-05-11 16:58:35 -04:00
Jordan Frankfurt
6d5e17a6e7
fix: deduplicate remote and local tx lists ( #6438 )
...
* fix: deduplicate remote and local tx lists
* add nonce to local transactions
* removes local transactions that have nonces that are duplicates of remote transactions
* add e2e test
* lint fix
* fix types in test
* use supported chain id for reducer tests
* use getReceipt to remove outdated transactions via existing polling setup
* pr nits from cmcewen
* fix lint
* fix test
2023-05-11 13:16:18 -05:00
Jack Short
8301c5892c
chore: removing token type check from routing ( #6536 )
2023-05-11 13:37:28 -04:00
Vignesh Mohankumar
59b757dda0
fix: disables CMC list temporarily ( #6532 )
...
* fix: disables CMC list temporarily
* -
2023-05-10 20:32:43 -04:00
Jack Short
92a6ec67b3
feat: [DetailsV2] different media types on landing page ( #6492 )
...
* initial layout assuming media type exists
* fixing embeds
* media type function
* updated snapshot test
* initial shadow impl
* better shadows
* audio player controls
* updating tests
* content not available handlers
* errors on all media types
* removing fullscreen from iframe
* adding snapshot tests
* responding to comments
* text align center
* updating tests
2023-05-10 13:10:25 -04:00
lavalamp
1d6a1e90d7
ci: GH action for deploying to production ( #6482 )
...
* GH action for deploying to production
* Remove dependency on tests
* Update .github/workflows/4-deploy-to-prod.yml
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
* Update .github/workflows/4-deploy-to-prod.yml
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
* Add tag as action step rather than separate target
* Comments
* Update .github/workflows/4-deploy-to-prod.yml
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
* Specify branches
* Update run name
---------
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
2023-05-10 12:59:59 -04:00
Jack Short
01aa3291b3
chore: bubbling up pwat spender from route query ( #6481 )
...
* chore: bubbling up pwat spender from route query
* refactoring
* adding loading state
* moving to loading allowance
* responding to comments
* linting
2023-05-10 12:45:58 -04:00
Zach Pomerantz
5539ebedf7
build: update stage 2 name ( #6526 )
2023-05-10 09:38:31 -07:00
Vignesh Mohankumar
e6adddbf55
refactor: return onDemandEntries instead of mediaURLs ( #6514 )
...
* refactor: return onDemandEntries instead of mediaURLs
* lint
* fix test
2023-05-10 11:46:28 -04:00
Mike Grabowski
0050b1e165
feat: new routing diagram ( #6510 )
...
* chore: initial commit
* chore: add todo to refactor and simplify if conditional in the future
* chore: update layout
* chore: ui tweaks
* chore: add todo
* chore: change todo
* chore: update UI
* chore: tmp
* feat: rename router preference
* chore: update type
* fix error
* fix one more issue
* finish UI work
* chore: remove unecessary components
* chore: update non-snapshot unit tests
* chore: fix lint
* chore: fix ts
* chore: one more time
* fix
* chore: update snapshots
* chore: add jira tickets
* chore: fix mobile popovers
* chore: add analytics event
* chore: fix padding and send event
* chore: fix loading state
* oops
* chore: address review
* chore: comment
* chore
2023-05-10 19:06:12 +04:00
Vignesh Mohankumar
5bf33ab004
revert(e2e): waitForAnimations ( #6525 )
...
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
2023-05-10 10:53:53 -04:00
lavalamp
a4cfeecd8c
ci: Workflow for pushing to releases/staging ( #6319 )
...
* Initial draft of releases/staging force push
* Rename
* Update PAT, test on PR target
* Remove pull request target, add environment
* Update .github/workflows/push-staging.yml
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
* Update .github/workflows/push-staging.yml
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
* Update .github/workflows/push-staging.yml
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
* comments
* Update step name
---------
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
2023-05-10 08:29:31 -04:00
lavalamp
76cbfdd0b9
ci: GH action for promoting staging -> prod ( #6366 )
...
* Add action for promoting to prod
* Update .github/workflows/pr-staging-to-prod.yml
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
* Update .github/workflows/pr-staging-to-prod.yml
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
* Update .github/workflows/pr-staging-to-prod.yml
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
* Update .github/workflows/pr-staging-to-prod.yml
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
* Update .github/workflows/pr-staging-to-prod.yml
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
* Comments
* Comments
* Remove commit message
* Fix service account reference, add CODEOWNERS
* Update .github/workflows/pr-staging-to-prod.yml
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
* Nits
* Fix newline
---------
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
2023-05-10 08:29:20 -04:00
lavalamp
0db9e51e41
ci: Staging deploy GH action definition ( #6455 )
...
* Staging deploy GH action definition
* Remove workflow_dispatch
* Update src/utils/env.ts
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
* Restrict sentry reporting to staging environment
* Rename and change environment
---------
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
2023-05-10 08:28:59 -04:00
Vignesh Mohankumar
82e7925a17
fix: properly filter AbortErrors ( #6519 )
...
* fix: properly filter AbortErrors
* lol
2023-05-09 19:04:41 -04:00
Zach Pomerantz
2150347ba2
build: cache generated files across builds ( #6495 )
...
* build: cache generated files across builds
* docs: lingui pkg-up comment
* docs: explain clean extraction
2023-05-09 15:49:53 -07:00
Vignesh Mohankumar
2f80646ddd
fix: add chunkResponseStatus tag ( #6509 )
...
* fix: add chunkResponseStatus tag
* add-tests
* fix tests
* tests
* description
* comments
* comment
* move
* comment
* lint
2023-05-09 17:44:58 -04:00
matteen
55eea6a724
chore(deps): bump @uniswap/token-lists ( #6520 )
...
* chore(deps): bump @uniswap/token-lists
* run yarn deduplicate
2023-05-09 17:34:05 -04:00
matteen
709a70652f
feat: add tokenlist validation ( #6504 )
...
* feat: add tokenlist validation
* use alternative for spread operator
* maintain tokenlists version and use original ajv version
* bump ajv
* Revert "bump ajv"
This reverts commit b9d2dd61c61f4aeedc00faf034c5a6e89b0d28fc.
* rename vars in validator
* update gitignore
* nit fixes
* test
* add ^ back
* remove ^
* removed and readded ajv
* try require.resolve
* Revert "try require.resolve"
This reverts commit 62f58bcb7f02f1ead430a4c94ca3428a60d4d4c5.
* bump eslint-config
* yarn lock merge conflict
* bring back spread operator
* remove redundant lint ignore
2023-05-09 16:34:15 -04:00
Jack Short
5a7a041f12
feat: [DetailsV2] background for nft details ( #6496 )
...
* feat: background for nft details
* fixing top spacing
* adding new states for zindex
2023-05-09 16:08:28 -04:00
cartcrom
b60d98fc17
fix: loading spinner console bug ( #6518 )
...
fix: update svg path
2023-05-09 14:59:26 -04:00
Zach Pomerantz
38d9ab67eb
test(e2e): token details and test cleanup ( #6516 )
...
* test(e2e): split e2e commands/setup
* test(e2e): consolidate tests
* test(e2e): simplify
* test(e2e): mv token details tests to appropriate spec
* test(e2e): rm obsolete constant
* test(e2e): comments
* test(e2e): do not wait for animations
2023-05-09 10:33:55 -07:00
Jordan Frankfurt
5e6ef1575b
test: skip flakey e2e test ( #6517 )
2023-05-09 11:07:13 -05:00
Vignesh Mohankumar
4a015e9d0d
fix: ensure event.request is defined in trace ( #6498 )
...
* fix: ensure event.request is defined in trace
* add check for empty event
2023-05-09 11:44:07 -04:00
Mike Grabowski
c383a0a0a2
feat: new Settings menu for Swap ( #6480 )
...
* feat: initial commit
* remove extra check
* chore: divider fix
* feat: switch from boolean to routerPreference enum
* chore: align name
* chore: fix two errors
* chore: clean up
* chore: entire radio button clickable
* chore: remove unused toggle component
* Revert "chore: remove unused toggle component"
This reverts commit 42858a02b5bcd572682db38025b69f8b1426a8c1.
* feat: rewrite slippage
* feat: Slippage
* chore: tbd tomorrow
* Update src/state/user/reducer.ts
Co-authored-by: Tina <59578595+tinaszheng@users.noreply.github.com>
* feat: replace auto with Slippage enum
* chore: add todo for deadline
* chore: cleanup
* feat: improve autoslippage
* chore: replace price with auto
* chore: fix lint
* test: add coverage for Expand
* chore: fix tests
* chore: review feedback part 1
* chore: rework warning
* chore: add jira tickets
* feat: add tests for useUserSlippageTolerance
* chore: add some more
* chore: one more
* add tests for slippage
* chore: add unit tests for transactionsettings
* remove
* revet changes to improve coverage
* chore: update to figma caption
* chore
* chore
* chore: update wording
* Update src/components/Expand/index.tsx
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
* fix: issue with new value, update confusing migration comment
* chore: remove opacity animation temporarily
* chore: update snapshot test
* chore: fix e2e + update comment
* chore: fix tests
* chore: fix tests
---------
Co-authored-by: Tina <59578595+tinaszheng@users.noreply.github.com>
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
2023-05-09 10:33:25 -04:00
Vignesh Mohankumar
d6e92804ad
fix: filter AbortError from Sentry ( #6497 )
2023-05-08 18:25:00 -04:00
Zach Pomerantz
f0d8f8b23b
test(e2e): mock uniswap token lists from ipfs ( #6511 )
...
* test(e2e): mock uniswap token lists from ipfs
* test(e2e): correctly intercept
2023-05-08 15:04:02 -07:00
Charles Bachmeier
ff080aa957
fix: update OS listing fee ( #6505 )
...
* update OS listing fee
* remove redundancy
---------
Co-authored-by: Charles Bachmeier <charlie@genie.xyz>
2023-05-08 10:28:01 -07:00
cartcrom
04d9ff7d71
feat: update useAllTokensMultichain usage ( #6493 )
...
* feat: updates useAllTokensMultichain to return userAddedTokens
* fix: use correct types in tests
* chore: add documentation for future removal of TokenAddressMap
* fix: use doc comments
* test: add unit test for useAllTokensMultichain
* fix: check userAddedTokens for undefined
2023-05-05 18:15:27 -04:00
cartcrom
406893d99a
test(e2e): permit2 approval ( #6488 )
...
* build: upgrade cypress-hardhat
* test: reset hardhat between tests
* test: enable auto-mining
* build: upgrade cypress-hardhat again
* test: permit2 e2e tests
* test: user approval rejection
* refactor: reuse common permit util vars to reduce # of lines
* fix: var casing
* refactor: polish
* refactor: clean up comments and function names
* refactor: remove approval util and update scoping
* fix: further nits
2023-05-05 17:52:22 -04:00
Vignesh Mohankumar
4630720956
fix: handle addEventListener being unsupported on Safari <14 ( #6426 )
...
* fix: handle addEventListener being unsupported on Safari
* conditionally call
* Revert "conditionally call"
This reverts commit b6b7d2f0170caeca3aa8bf82ea97fd16a73cba44.
* comment
* fix
* callback
* add tests
* lint
* casting
* good pr comments
* fix
2023-05-05 13:36:20 -04:00
Jordan Frankfurt
e73e1540ad
fix: errors are responsible for their own grammar ( #6490 )
2023-05-05 11:38:00 -05:00
Vignesh Mohankumar
3a82642fe6
fix: update service worker to precache css/js files ( #6486 )
...
* fix: update service worker to precache css/js files
* add test
* move to utils
* working tests
* fixes
* lint
* change names
* lint
* change return type
* fix
* fix
* changes
* lint
* rename cache
* lint
* fix comments and remove string[] case
* string |
* Update src/serviceWorker/utils.ts
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
---------
2023-05-04 14:29:13 -04:00
Zach Pomerantz
2a50d6a17e
test(e2e): reset hardhat between tests ( #6487 )
2023-05-04 08:31:53 -07:00
eddie
c8a8149127
fix: add amplitude page context to swap flow events ( #6489 )
2023-05-04 11:20:12 -04:00
Vignesh Mohankumar
38cde648cf
fix: add a catch on collect static call ( #6491 )
...
* fix: add a catch on collect static call
* comment
2023-05-04 11:07:01 -04:00
Charles Bachmeier
33c099119d
chore: refactor Bag to use scroll hook ( #6483 )
...
* chore: refactor Bag to use scroll hook
* remove outdated comment
---------
Co-authored-by: Charles Bachmeier <charlie@genie.xyz>
2023-05-03 14:19:27 -07:00
Jordan Frankfurt
40247ff7e0
test(e2e): slippage failure ( #6464 )
...
* initial draft
* remove logs
* assertions improvement
* add more comments
* add explicit call to disable automine
* test out a very long timeout
* Revert "test out a very long timeout"
This reverts commit 0fc2666d6f4cb02739d14cf2aa07f041e6046669.
* improve test reliability
* remove mock list response
* remove hardhat reset and clean up tests
* simplify assertion
* add zzmp's nits
2023-05-03 16:03:43 -05:00
eddie
30d1de8e84
fix: moonpay modal height ( #6439 )
2023-05-03 14:05:50 -04:00
Jack Short
0e5328bee9
feat: [DetailsV2] initial details landing page view ( #6453 )
...
* feat: initial view of details landing page
* gap
* dynamic font sizes
* added test
* responding to comments
* updating snapshot
* linting
2023-05-03 11:08:48 -04:00
Jordan Frankfurt
d1995bc5a6
test(e2e): deadline passed swap error state ( #6444 )
...
* chore: ignore hardhat cache files
* test: add forking hardhat config
* test: install cypress-hardhat
* build: add cypress-hardhat
* fix: lint
* build: add hardhat
* build: add @sentry/types
* fix: better origin
* test: update cypress VisitOptions to include hardhat
* fix: default to connected wallet user state
* test: add a hardhat provider
* build: update imports
* chore: comments
* fix: massage eth_sendTransaction
* feat: example swap test (#6415 )
* initial commit
* add intercept for amplitude
* fix: destructure result
* click swap submission
* fix: eth_sendTransaction via bridge
* test works
* finish chain interaction test
---------
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
* swap should render an error when a transaction fails due to a passed deadline
* use mining utils to manage transaction confirmation
* update to use new hardhat syntax and make comments more clear
* test a very long timeout in CI
* Revert "test a very long timeout in CI"
This reverts commit 141c28e15c511f2338c2b5b2b60521a7cb4c1bda.
* fiddle with automine settings
* pr feedback
* cleanup
* bump cypress-hardhat
* use setAutomine
* use setAutomine
* remove .reset
---------
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
2023-05-02 23:52:07 -05:00
Jordan Frankfurt
4959836c2a
test(e2e): (un/)wrap transactions ( #6474 )
...
* chore: e2e test (un/)wrap transactions
* wrap button should not be disabled (wait for enabled state)
* use automine
* pr feedback
* configure automine
* make tests stop relying on reset
2023-05-02 23:51:17 -05:00
Charles Bachmeier
ef4a80852d
chore: update to listing with seaport 1.5 ( #6485 )
...
update to listing with seaport 1.5
Co-authored-by: Charles Bachmeier <charlie@genie.xyz>
2023-05-02 18:46:12 -07:00
Vignesh Mohankumar
c2a972eb75
fix: filter chrome-extension errors ( #6475 )
...
* fix: filter chrome-extension errors in Sentry
* check stack
2023-05-02 15:43:37 -04:00
eddie
47a2768d89
chore: remove unused feature flags ( #6484 )
2023-05-02 15:28:12 -04:00
eddie
ca60caf6b0
feat: use Swap Component on TDP ( #6332 )
...
* test: swap flow cypress tests
* fix: use default parameter
* feat: use Swap Component on TDP
* feat: auto nav for TDP tokens
* chore: merge
* chore: merge
* chore: merge
* chore: merge
* fix: remove extra inputCurrency URL parsing logic
* fix: undo last change
* fix: pass expected chain id to swap component
* fix: search for default tokens on unconnected networks if needed
* test: e2e test for l2 token
* fix: delete irrelevant tests
* fix: address comments
* fix: lint error
* test: update TDP e2e tests
* fix: use pageChainId for filter
* fix: rename chainId
* fix: typecheck
* fix: chainId bug
* fix: chainId required fixes
* fix: bad merge in e2e test
* fix: remove unused test util
* fix: remove unnecessary variable
* fix: token defaults
* fix: address comments
* fix: address comments and fix tests
* fix: e2e test formatting, remove Maybe<>
* fix: remove unused variable
* fix: use feature flag for swap component on TDP
* fix: back button
2023-05-02 14:39:44 -04:00
Zach Pomerantz
252acef199
build: cap chunk size to 5MB ( #6479 )
...
* build: cap chunk size to 5MB
* test: rm size-tests
2023-05-02 08:46:32 -07:00
Zach Pomerantz
00ecb933ac
test(lint): separate multiline comments ( #6476 )
2023-05-02 08:26:07 -07:00
Vignesh Mohankumar
607d0d443e
fix: filter errors with OneKey in stack ( #6477 )
...
* fix: filter errors with OneKey in stack
* check stack
2023-05-01 15:32:05 -04:00
Charles Bachmeier
ff0209a78f
feat: [DetailsV2] add link and hover state to trait component ( #6472 )
...
* hide trait container when asset has no traits
* add traits header row
* trait value rows and scroll behaviour
* row with placeholder values
* add random filler values and proper scrollbar styles
* working rarity graph
* bar border radius
* move rarity graph to its own file
* always show scrim
* working scrim and move traitrow to its own file
* cleanup
* remove padding
* move scrollbar right
* add snapshot tests
* add comment about randomly generated rarities
* cleanup
* only pass traits
* justify
* not important
* cleanup scrim styles
* remove comment
* add scroll state hook
* lint
* update test
* object over map
* remove spaces
* justify content
* add ticket
* add comments
* update snapshot
* add link and hover state to trait component
* correct padding
* respond to comments
* add component and use css for vis
---------
Co-authored-by: Charles Bachmeier <charlie@genie.xyz>
2023-05-01 11:52:49 -07:00
Zach Pomerantz
924e83139b
test: keep test output clean ( #6469 )
2023-05-01 10:58:32 -07:00
Jack Short
4d5cc8267e
chore: removing pwat feature flag ( #6467 )
...
* chore: removing pwat flag
* removing it from enum
* updating test
* trade is not the same as usingPwat
2023-05-01 11:57:56 -04:00
Charles Bachmeier
6bc7cfc996
feat: [DetailsV2] Add Trait component content ( #6460 )
...
* hide trait container when asset has no traits
* add traits header row
* trait value rows and scroll behaviour
* row with placeholder values
* add random filler values and proper scrollbar styles
* working rarity graph
* bar border radius
* move rarity graph to its own file
* always show scrim
* working scrim and move traitrow to its own file
* cleanup
* remove padding
* move scrollbar right
* add snapshot tests
* add comment about randomly generated rarities
* cleanup
* only pass traits
* justify
* not important
* cleanup scrim styles
* remove comment
* add scroll state hook
* lint
* update test
* object over map
* remove spaces
* justify content
* add ticket
* add comments
* update snapshot
* correct padding
---------
Co-authored-by: Charles Bachmeier <charlie@genie.xyz>
2023-05-01 11:43:55 -04:00
Vignesh Mohankumar
97312bb174
fix: match OneKey more generically ( #6461 )
...
* fix: match OneKey more generically
* flip
* Update src/tracing/errors.test.ts
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
* Update src/tracing/errors.test.ts
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
* Update src/tracing/errors.test.ts
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
* backslashes
* fix
---------
2023-05-01 11:02:26 -04:00
cartcrom
d0a10fcf8d
refactor: activation hook w/ global state ( #6413 )
...
* feat: moved tryActivation to global hook/state
* test: activation hook
* fix: merge conflicts
* fix: update file path for render utils in activate.test.ts
* fix: add await for connector deactivation
* fix: pr comment fixes
* fix: update tests
* refactor: use stronger activation state type
* refactor: use global state instead of props in ConnectionErrorView
* fix: re-add uri availability check
* fix: lint
* fix: nits
* fix: css regression
* fix: update test enum usage
* fix: use native disabled attribute
* test: add snapshot tests for different Option states
* fix: zach's PR comments
* test: update snapshots/unit tests
* style: pending boolean names
* fix: updated test import
* docs: added comment explaining analytics difference in wallet connection
* test: assert console.debug calls and fix act() issues
* test: drawer close
* test: import specific drawer fn instead of whole module
2023-04-28 19:14:30 -04:00
Jordan Frankfurt
7a1a476e45
fix: spoof origin and referer ( #6468 )
...
* fix: spoof origin and referer
* comments, chaining, and an accurate replication of amplitude response bodies
2023-04-28 17:29:16 -05:00
Vignesh Mohankumar
b3bfc1003a
build: upgrade sentry-release action ( #6463 )
2023-04-28 11:55:28 -04:00
Zach Pomerantz
3b1ef8033b
test: upgrade cypress-hardhat ( #6462 )
2023-04-28 08:46:42 -07:00
Zach Pomerantz
803485b96a
build: update default test settings ( #6441 )
...
build: coverage on CI by default
2023-04-27 14:34:37 -07:00
Jack Short
6df5d3a701
chore: moving nft test fixtures to their own file ( #6456 )
...
* chore: moving nft test fixtures to their own file
* refactoring structure
* renaming file
2023-04-27 17:10:06 -04:00
lynn
2d4eafc6b3
test: unsupported currency footer unit test ( #6360 )
...
* tests are complete
* update comment
* remove console log, and test close icon
* init
* lets try something else to avoid timeout
* try splitting up last test for timeout
* undo, it wasnt working
* revert order test
* add comment for sanity check
* test another way
* try userEvent
* increase timeout
* move timeout
* init
* use test constants
* use constants
* change address
* more comprehensive tests
* merge constants and use mocked
* remove comments
* remove dual import
* Update src/components/swap/UnsupportedCurrencyFooter.test.tsx
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
* respond comments
* update tests
* remove console log
* fixes
* add act
---------
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
2023-04-27 16:54:05 -04:00
lynn
9b52fea58a
test: swap details dropdown unit test ( #6349 )
...
* init for swap details dropdown test
* more tests
* complete tests, ready for review
* add to dev deps
* init
* merge main
* init
* use test constants
* use constants
* change address
* more comprehensive tests
* merge with constants
* move noop
* add eslint rule
* return null in noop
* merge
* update snapshot
* constant name
* snapshot change
* lint
* undo eslint change
* Update src/components/swap/SwapDetailsDropdown.test.tsx
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
* Update src/components/swap/SwapDetailsDropdown.test.tsx
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
* Update src/components/swap/SwapDetailsDropdown.test.tsx
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
* respond comments
* update snapshot
* merge main
* user event instead
* add act
* import fix
---------
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
2023-04-27 16:53:45 -04:00
Jack Short
b92b286626
chore: updating listing marketplace icons ( #6458 )
...
* chore: updating listing marketplace icons
* removing svgs from public
* responding to comments
2023-04-27 16:51:53 -04:00
lynn
a8268728d3
test: advanced swap details component unit test ( #6363 )
...
* init
* init
* init
* use test constants
* use constants
* change address
* more comprehensive tests
* move noop
* add eslint rule
* return null in noop
* merge
* checkpoint
* fixes
* add tooltip test
* remove unused file
* merge swap modal header
* add third test
* add test for syncing and loading case
* respond to comments
* more descriptive comments
* update snapshot
* update
* change to act
2023-04-27 16:36:36 -04:00
lynn
ab6debbf46
test: swap modal footer unit test ( #6353 )
...
* swap footer modal test
* remove empty test
* init
* merge main and jordan comment
* init
* use test constants
* use constants
* change address
* more comprehensive tests
* merge constants
* fix errors
* remove dual import noop
* update snapshot
* Update src/components/swap/SwapModalFooter.test.tsx
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
* update snapshot
---------
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
2023-04-27 15:07:49 -04:00
matteen
4c664645c6
feat: add L2 CG tokenlists ( #6292 )
...
* feat: add L2 CG tokenlists
* remove extra line
2023-04-27 12:50:05 -04:00
Jordan Frankfurt
4416a84fd7
fix: disable bnb network option on uniwallet ( #6452 )
...
* fix: disable bnb network option on uniwallet
* use supported chain set
2023-04-27 09:16:28 -05:00
lavalamp
eaaff81a67
ci: Emit to slack on merge to releases/* branch ( #6318 )
...
* Initial draft of Slack notification on releases/* merges
Test
* Add back proper Slack message content
* Feedback revisions
* Update .github/workflows/notify-slack-on-release-merge.yml
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
* Update .github/workflows/notify-slack-on-release-merge.yml
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
* Update .github/workflows/notify-slack-on-release-merge.yml
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
* Comments
* revert to github env
* Add PR target back
* Revert multi-line
* write to context, add multi-line back
* Try other reference to context
* one other way of settings output...
* Pull from output
* Remove env
* Remove PR target
---------
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
2023-04-26 20:32:42 -06:00
Zach Pomerantz
f7b8f945f2
build: allow parallel cypress re-run ( #6449 )
...
* build: allow parallel cypress re-run
* build: add a step
2023-04-26 17:02:53 -07:00
Jordan Frankfurt
115c65500b
feat: mining mode switch to disable auto-mine ( #6450 )
...
* feat: mining mode switch to update so we can make assertions about pending transaction state
* update test to use explicit mining
* Update hardhat.config.js
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
---------
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
2023-04-26 15:16:51 -05:00
Jordan Frankfurt
3d8d29fd18
feat: e2e testing - Handle wallet rejection ( #6442 )
...
* chore: ignore hardhat cache files
* test: add forking hardhat config
* test: install cypress-hardhat
* build: add cypress-hardhat
* fix: lint
* build: add hardhat
* build: add @sentry/types
* fix: better origin
* test: update cypress VisitOptions to include hardhat
* fix: default to connected wallet user state
* test: add a hardhat provider
* build: update imports
* chore: comments
* fix: massage eth_sendTransaction
* feat: example swap test (#6415 )
* initial commit
* add intercept for amplitude
* fix: destructure result
* click swap submission
* fix: eth_sendTransaction via bridge
* test works
* finish chain interaction test
---------
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
* stub sending a transaction to simulate wallet rejection of a transaction
finish test
s
* Update cypress/e2e/swap.test.ts
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
* lint
* fix network connection bug
---------
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
2023-04-26 13:02:51 -05:00
Charles Bachmeier
c178da626f
chore: add more ip infringing collections to the blocklist ( #6446 )
...
* updated blocked collections and don't allow for address search of blocked collections
* revert to array
2023-04-26 10:31:49 -07:00
Zach Pomerantz
e3c589ae41
fix: wallet connection analytics ( #6296 )
...
* test: web3
* fix: wallet connection analytics
* test: wallet connection analytics
* build: upgrade web3-react@^8.2
* test: web3
* chore: better merge
* fix: unmock
* fix: use usePrevious
* fix: naming
* fix: deps
2023-04-26 10:27:04 -07:00
Vignesh Mohankumar
6d60aca437
fix: filter OneKey related errors ( #6396 )
...
* fix: filter OneKey related errors
* fix
* .app
2023-04-26 11:57:13 -04:00
Charles Bachmeier
c77885c4c0
fix: remove patches ( #6448 )
...
remove patches
2023-04-25 16:20:46 -07:00
Zach Pomerantz
01684977b3
test: add a 'hardhat' mock window.ethereum ( #6395 )
2023-04-25 14:24:57 -07:00
Vignesh Mohankumar
025a84de93
build: analyzes only mapped ( #6437 )
...
build: analyze only mapped
2023-04-25 16:59:10 -04:00
Jack Short
0025997175
chore: updating purchasable markets from activity ( #6443 )
...
* updating purchasable markets from activity
* renaming
* adding trans + refactor
* snapshot test
* removing snapshot test and only matchin test
* deleting snap
2023-04-25 16:17:36 -04:00
Vignesh Mohankumar
acf97e042c
fix: filter WebAssembly compile errors ( #6445 )
...
* test
* fix: filter WebAssembly compilition errors
* Update src/tracing/errors.ts
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
---------
2023-04-25 15:35:14 -04:00
Jack Short
771618b1c9
chore: updating marketplace icons ( #6424 )
...
* chore: updating marketplace icons
* removing console
* eslint
* uni logo
* nft20
* weird svg id bug
* adding gradient id to other marketplaces
* purchasable markets
* test size inc
* removing the nxyz endpoint
* adding back nxyz endpoint for testing
* graphql enum is purchasable markets
* removing nxyz
* self nit
* changing width and height to size - removing gradientId from props - updating gradient id
* removing purchasable markets
* linting
* adding tests to ensure marketplace
* better description
* needs to check for null and not undefined
2023-04-25 15:20:30 -04:00
Zach Pomerantz
87144de9c8
test: transform vanilla-extract for jest ( #6425 )
...
* fix: transform vanilla extract for jest
* lint: vanilla transform
* build: deduplicate
* test: improve transformIgnorePatterns
* fix: broken snapshot
* nits
* Update craco.config.cjs
* build: lockfile
* build: lockfile
* Update vanilla.transform.cjs
2023-04-25 12:06:58 -07:00
Charles Bachmeier
63d0290a50
feat: [DetailsV2] more shared component content ( #6420 )
...
* add page break and placeholder files
* container layout
* description tabs
* add table tabs
* mobile wrap
* remove todo
* adaptive padding
* add extensible tabbed component
* add new file
* add snapshot test for empty data page
* update snapshot
* add new snapshot
* undo unrelated snapshot change
* draft: details v2 containers
* Revert "draft: details v2 containers"
This reverts commit 7c6580c974a7c749490c909778757a51a13b8e07.
* uniform padding and single tab styling
* update snapshot
* update default tab behaviour
* add trait bubble
* working chevrons
* shared bubble tab title
* add placeholder nums for offers and listings
* remove styles and update snapshot
* remove chevron and update snapshot
* use test asset for snapshot
* max width
* convert to map with keys
* remove bubbletext helper
* remove extra brace
* use styled components and memo
* update trait component height
* update snapshot
* Add count field to Tab
* add comment
* update snapshot
* move styled component to shared folder
* update snapshot
---------
Co-authored-by: Charles Bachmeier <charlie@genie.xyz>
Co-authored-by: Jack Short <john.short.tj@gmail.com>
2023-04-25 09:40:43 -07:00
Zach Pomerantz
963121f19b
test: prevent async debounce updates ( #6427 )
...
* test: prevent async debounce updates
* lint
* fix: actually fix
* fix: rm unused act
* fix: synchronously update popper
* lint
* way better
2023-04-24 16:26:28 -07:00
Zach Pomerantz
58417412f1
build: tighten tsconfig (to include build cache, exclude watch folders) ( #6375 )
...
* build: extend cypress tsconfig from build tsconfig
* build: exclude node_modules from watch to improve typechecking perf
* fix: even tighter tsconfigs
* fix: even tighter
* fix: tailor cypress tsconfig to testing
* fix: split them up again
* fix: pr comments
2023-04-24 16:00:04 -07:00
Charles Bachmeier
cd3cff0202
chore: remove graphql feature flag and old query methods ( #6384 )
...
* remove graphql feature flag and old query methods
* remove unused fn
* remove redundant names, simplify import
* explicit var naming
* column
* add comment
* update flag check
* undo
* visit /swap in uni search test
* empty array base
---------
Co-authored-by: Charles Bachmeier <charlie@genie.xyz>
2023-04-24 14:03:24 -07:00
Zach Pomerantz
90546fd803
fix: rm non-serializable data ( #6430 )
2023-04-24 12:59:23 -07:00
Zach Pomerantz
bee558fa1a
test: squelch console.debug ( #6429 )
2023-04-24 12:59:12 -07:00
Zach Pomerantz
87514742f1
test: shard GH action unit tests ( #6428 )
...
* test: shard GH action unit tests
* fix: use percent
2023-04-24 12:59:05 -07:00
eddie
75b0320bbe
feat: use codecov flags ( #6418 )
2023-04-24 12:44:41 -07:00
Zach Pomerantz
4966ee56dd
fix: mock useWeb3React ( #6422 )
...
* fix: mock useWeb3React
* fix: pr nits
* fix: do not import for perf
* fix: update snaps
* fix: import type
* Revert "fix: import type"
This reverts commit d7da5a04d1951a50d997005059077e482dd6e97c.
2023-04-24 12:43:55 -07:00
Tina
545fdd2cbe
feat: Update Subhead text to match Figma spec ( #6307 )
...
* update font weight and line height to match figma
* remove unnecessary fontWeight and lineHeight props
* revert textSecondary change
* revert SubheadSmall change
* remove lineHeight from Subheader for Success screen
* add Trans wrapper to Sweep text
* reduce gap between name and address to 2px
* update snapshot tests for classnames change
* fix failing snapshot
---------
Co-authored-by: Lynn Yu <lynn.yu@uniswap.org>
2023-04-24 15:06:15 -04:00
Zach Pomerantz
201dc2ce85
refactor: keep constants insular ( #6411 )
2023-04-24 08:45:38 -07:00
Zach Pomerantz
c36d9c3d3f
test: rm flaky retry test ( #6431 )
2023-04-24 08:32:38 -07:00
Jordan Frankfurt
bc48b4fb0e
feat: reduce severity of phishing filter to allow url token names ( #6249 )
...
* feat: reduce severity of phishing filter to allow url token names
* fix # positions, prototype progressive risk check w/ list presence
* functional progressive risk check functionality
* better name for tokenList
* remove logs/todos
* make it work for mini-portfolio
* getUniqueAddressesFromPositions
* useTokenContractsConstant
* adds comment documenting the positionInfo->positionDetails type mapping
* safe->filtered positions in the Pool page
* use for loop instead of reduce
* WIP: token constants lookup table consolidating chain data and list data
* remove lookup table to pr#6268
* use NEVER_RELOAD
* use a counter on tokenList inclusion
* pr feedback - code simplification
* add tests
* tinaszheng pr feedback
* fix incorrect undefined fn signature
* forEach -> for loop
* add comment explainer to useFilterPossiblyMaliciousPositions
* simplify and comments re: filtration logic
* fix tests
2023-04-24 10:11:04 -05:00
Vignesh Mohankumar
ffdd311be9
fix: handle other types of chunk error codes ( #6423 )
...
* fix: handle other types of chunk error codes
* lint
* change regex
* letters only
2023-04-21 16:34:08 -04:00
Charles Bachmeier
3e5c0bddd7
feat: [DetailsV2] build containers for data page ( #6399 )
...
* add page break and placeholder files
* container layout
* description tabs
* add table tabs
* mobile wrap
* remove todo
* adaptive padding
* add extensible tabbed component
* add new file
* add snapshot test for empty data page
* update snapshot
* add new snapshot
* undo unrelated snapshot change
* draft: details v2 containers
* Revert "draft: details v2 containers"
This reverts commit 7c6580c974a7c749490c909778757a51a13b8e07.
* uniform padding and single tab styling
* update snapshot
* update default tab behaviour
* max width
* convert to map with keys
---------
Co-authored-by: Charles Bachmeier <charlie@genie.xyz>
Co-authored-by: Jack Short <john.short.tj@gmail.com>
2023-04-21 12:38:07 -07:00
Tina
b161022fb1
feat: Use local reducer in Swap flow ( #6312 )
...
* test: swap flow cypress tests
* fix: use default parameter
* use local reducer in swap flow
* remove swap from global reducer
* fix: remove comments
* feat: add new test
* move token constant to fixtures file
---------
Co-authored-by: Eddie Dugan <eddie.dugan@uniswap.org>
2023-04-21 14:32:13 -04:00
eddie
a527f00905
feat: add apple store banner ( #6412 )
...
* feat: add apple store banner
* feat: make apple meta tag use the current url
* fix: tag error
* fix: lint
* fix: yarn dedup
* feat: back to basic impl
* fix: syntax
* fix: comment
2023-04-21 11:30:06 -07:00
eddie
a05dedd8be
fix: remove the info icon popover from the toolbar ( #6407 )
...
* fix: remove the info icon popover from the toolbar
* fix: boolean
2023-04-21 11:10:10 -07:00
Vignesh Mohankumar
916ebef480
fix: filter CSS related 499 chunk errors ( #6417 )
...
* add in css errors
* rm console
* change code
2023-04-21 13:07:50 -04:00
Jack Short
aa77a7a23a
chore: adding snapshot tests for nftCard components ( #6410 )
2023-04-21 12:28:46 -04:00
Vignesh Mohankumar
67b5896886
fix: ignore ChunkLoadingErrors if related to 499 or missing data ( #6365 )
...
* fix: ignore ChunkLoadingErrors if related to 499 or missing data
* add tests
* more tests
* types
* no syntaxerror
* handle undefined performance
* change test name
* comment
* Update src/tracing/errors.ts
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
* Update src/tracing/errors.test.ts
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
* Update src/tracing/errors.test.ts
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
* rm unnecessary
* change
* rm any
* cast earlier
* fixes
* fix: typings
* fixes
* rm mock
* rm comment
* try polyfill
* fix mocks
* rm stuff
* move mock
---------
2023-04-21 12:03:25 -04:00
cartcrom
9e31756cc6
chore: remove miniportfolio and mgtm flags ( #6416 )
...
* chore: remove miniportfolio and mgtm flags
* fix: tiny css fix
2023-04-21 12:00:09 -04:00
Jack Short
3900cdd0dc
chore: removing fallback rarity provider ( #6408 )
2023-04-21 11:56:13 -04:00
Vignesh Mohankumar
fcc6a2d560
fix: filter out all unsafe-eval csp errors ( #6409 )
...
* update match
* Update src/tracing/errors.ts
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
* lint
* add test
---------
2023-04-21 10:58:49 -04:00
Jack Short
98841c783d
chore: removing unused files in nft public folder ( #6403 )
2023-04-20 20:11:45 -04:00
eddie
820e179560
fix: e2e test coverage reporting ( #6286 )
...
* fix: e2e test coverage reporting
* fix: try increasing
* fix: names
* fix: optimize test.yml
* fix: undo last change and add cache
2023-04-20 15:34:09 -07:00
Zach Pomerantz
2268860615
test: web3 ( #6299 )
...
* build: upgrade web3-react@^8.2
* test: web3
* fix: update test name
2023-04-20 15:30:30 -07:00
Zach Pomerantz
9c41955e52
build: upgrade web3-react@^8.2 ( #6401 )
2023-04-20 14:27:50 -07:00
Zach Pomerantz
b6874b8094
build: remove unnecessary webpack plugins ( #6386 )
...
* build: remove duplicate file case check
* build: remove unused moment tree-shaking
* fix: nits
2023-04-20 14:12:43 -07:00
Zach Pomerantz
5e090db8b3
build: add yarn-analyze ( #6400 )
2023-04-20 14:01:28 -07:00
eddie
cf95949406
fix: replace CMC token list URL ( #6406 )
2023-04-20 13:58:55 -07:00
Zach Pomerantz
2b60961812
build: use ignore-path for craco eslint ( #6372 )
...
* build: add caching to eslint
* build: add caching to jest
* build: add caching to tsc
* build: add caching to actions
* fix: upgrade upload-artifact to v3
* build: update craco eslint cacheLocation
* build: use ignore-path for craco eslint
2023-04-20 13:44:57 -07:00
Zach Pomerantz
aed969f38d
test: silence CI tests ( #6387 )
2023-04-20 13:44:29 -07:00
Zach Pomerantz
4e6121d4ab
test: restrict test-utils from src ( #6392 )
2023-04-20 13:43:31 -07:00
eddie
d63bcca539
test: swap flow cypress tests ( #6331 )
...
* test: swap flow cypress tests
* fix: use default parameter
* fix: use shared token addresses
* fix: fix test
* fix: nits
2023-04-20 13:00:43 -07:00
Vignesh Mohankumar
671041360d
fix: filter CSP unsafe-eval errors ( #6397 )
...
* fix: filter CSP errors
* not syntax
* comment
2023-04-20 14:58:45 -04:00
Vignesh Mohankumar
36bdf5dd3e
fix: show empty state on /add and /remove ( #6346 )
...
* fix: handle invalid chainId on position page
* fix
* add test
* Revert "add test"
This reverts commit d18742aa506b210a6600d6ec2e8b5166d514f988.
* fix: prevent crashes on /add and /remove on unsupported chains
* handle v3 rm
* chainId
* lint
* Update src/pages/RemoveLiquidity/V3.tsx
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
2023-04-20 14:54:27 -04:00
lynn
8b1a0e99ee
test: swap modal header unit test ( #6361 )
...
* init
* init
* use test constants
* use constants
* change address
* more comprehensive tests
* move noop
* add eslint rule
* return null in noop
* merge
* fixes
2023-04-20 11:21:57 -04:00
cartcrom
a68a7e1bb4
fix: updated uniswap wallet images ( #6390 )
...
* fix: updated uniswap wallet images
* fix: revert unintended css update
* feat: use updated app icon w/ border
2023-04-20 10:54:33 -04:00
yyip-dev
95b9624bca
feat: Update to app store link with tracking params ( #6398 )
...
Update to app store link with tracking params
2023-04-19 18:35:05 -04:00
Zach Pomerantz
04a0479236
test: add cypress-hardhat ( #6394 )
...
* chore: ignore hardhat cache files
* test: add forking hardhat config
* test: install cypress-hardhat
* build: add cypress-hardhat
* fix: lint
* build: add hardhat
* build: add @sentry/types
* fix: better origin
2023-04-19 10:50:25 -07:00
Jack Short
55f1e35ffc
fix: pwat not setting correct spender ( #6320 )
...
* fix: pwat not setting correct spender
* todo
* responding to comments
2023-04-19 13:43:37 -04:00
lynn
01a3aa1c92
chore: add constants for testing ( #6367 )
...
* init
* use constants
* change address
* move noop
* add eslint rule
* return null in noop
* fixes
2023-04-19 12:21:30 -04:00
Zach Pomerantz
7121b4aa1c
test: expand collectCoverageFrom ( #6393 )
...
* test: expand collectCoverageFrom
* fix: improve types coverage
* fix: target generated dirs
* fix: glob dirs
2023-04-19 09:04:41 -07:00
Zach Pomerantz
a538bf0b69
build: target ESNext for dev ( #6379 )
...
* build: add caching to eslint
* build: add caching to jest
* build: add caching to tsc
* build: add caching to actions
* fix: upgrade upload-artifact to v3
* build: update craco eslint cacheLocation
* build: target ESNext for dev
* merge again
2023-04-17 14:26:00 -07:00
Zach Pomerantz
135cb8fb34
fix: translate "Get started" on landing page ( #6371 )
...
* fix: translate "Get started" on landing page
* lint: html
2023-04-17 14:03:38 -07:00
cartcrom
bf50582d38
test: local activity tests ( #6341 )
...
* refactor: move MP files into subfolders
* refactor: consolidate MP subfolder file-naming scheme
* test: add tests for parseLocal.ts
* refactor: update existing parseLocal tests
2023-04-17 13:03:43 -07:00
lynn
110e23d6eb
fix: fix padding for transaction toast notifications ( #6373 )
...
* padding fixes, special casing for txn
* add drop shadow, change width to 348px, remove debug code
* opacity animation
* address comments
* one more change
* respond to tina comments
* name change
* add $ to padding
2023-04-17 14:39:38 -04:00
Zach Pomerantz
7ab6a17b42
build: utilize the node_modules/.cache ( #6364 )
...
* build: add caching to eslint
* build: add caching to jest
* build: add caching to tsc
* build: add caching to actions
* fix: upgrade upload-artifact to v3
* build: update craco eslint cacheLocation
* fix: pr nits
2023-04-17 09:28:00 -07:00
lynn
7ad13c96a8
fix: fix slow yarn start ( #6369 )
...
init
2023-04-14 11:45:33 -05:00
Vignesh Mohankumar
4e99cc4d93
build: send url without hash to sentry ( #6352 )
...
* build: send url without hash to sentry
* comments
* Update src/tracing/index.ts
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
* Update src/tracing/index.ts
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
* add test
* move files around
2023-04-13 17:49:29 -04:00
Vignesh Mohankumar
6d29815f59
fix: ignore error caused by Cloudflare HTML response ( #6356 )
...
* fix: ignore error caused by Cloudflare HTML response
* add test
* Update src/tracing/errors.test.ts
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
* Update src/tracing/errors.ts
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
* Update src/tracing/errors.ts
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
* multiline
2023-04-13 17:48:50 -04:00
Zach Pomerantz
4888fe23df
test: add jest.asMock ( #6310 )
...
* test: add jest.asMock
* test: use mocked instead
* test: split test-utils to prevent interaction
* test: whoops missed one
* Merge but actually this time
2023-04-13 12:44:06 -07:00
Zach Pomerantz
ef9ecd9ce2
build: optimize build by splitting out typechecking and linting ( #6323 )
...
* build: move typecheck/lint out of build
* build: add typecheck to test action
* build: fix lint to use gitignore
* fix: correctly lint/check
* fix: simplify lint
* build: back out eslint array-ification
* test(lint): add comment RE config/typings
* build: clarify craco webpack plugin mods
* build: simplify craco webpack with functional methods
* build: rm unused IgnorePlugin
* test(lint): order imports
2023-04-13 12:43:47 -07:00
Jack Short
f5d0804c46
feat: creating feature flag for details v2 page ( #6359 )
...
* feat: creating feature flag for details v2 page
* eslint ignore
* moving details v2 under trace
2023-04-13 15:43:14 -04:00
Vignesh Mohankumar
0bac257254
fix: handle invalid chainId on position page ( #6338 )
...
* fix: handle invalid chainId on position page
* fix
* add test
* Revert "add test"
This reverts commit d18742aa506b210a6600d6ec2e8b5166d514f988.
* pr comments
* rename
* fix
2023-04-13 15:40:31 -04:00
lynn
a77752ab83
fix: re-implement dark mode for connector icons ( #6329 )
...
* init
* init
* Update src/connection/index.test.tsx
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
* Update src/components/Identicon/StatusIcon.test.tsx
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
* Update src/components/Identicon/StatusIcon.test.tsx
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
* address comments
* unit test + remove _url in names
---------
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
2023-04-13 11:17:48 -04:00
cartcrom
bf31ca4f06
feat: updated banner ( #6355 )
...
* feat: updated banner
* fix: linted
* feat: add download link to overflow menu
* feat: hover animation
* fix: update landing screen hide logic
* feat: added descriptor comment for stopPropogation
* fix: translations & responsiveness of button text
* fix: icon sizing / padding + word casing
* fix: Learn more casing
2023-04-12 22:00:05 -04:00
Charles Bachmeier
ed8afbd851
fix: App crashing when changing sorting or toggling usd price on trneding NFTs table ( #6354 )
...
* fix app breaking when changing sorting or toggling usd price
* compare floor change correctly
---------
Co-authored-by: Charles Bachmeier <charlie@genie.xyz>
2023-04-12 15:49:04 -07:00
Vignesh Mohankumar
47b6a7c4d5
build: add chainId as tag in sentry ErrorBoundary ( #6345 )
...
* build: add chainId to sentry tags
* set it in web3provider
* set before sending
2023-04-12 14:43:37 -04:00
cartcrom
086fc65457
feat: remove /wallet route ( #6350 )
...
* feat: replace internal microsite routes with links to external site
* feat: use updated analytics events from events repo
* fix: remove unnused empty wallet page
2023-04-12 13:55:53 -04:00
cartcrom
7df53f30a0
feat: uniwallet banner ( #6344 )
...
* feat: update wallet banner display logic
* fix: linted
* fix: learn more link
2023-04-12 12:03:00 -04:00
Jack Short
66497a0108
fix: last sale nan ( #6337 )
...
* fix: last sale nan
* correct formatted price
* responding to comments
* refactoring for readability
2023-04-12 11:45:48 -04:00
cartcrom
e0eb701bc0
feat: log connection activation/errors ( #6333 )
...
* feat: log connection activation/errors in console.debug
* fix: remove now-redundant comment
2023-04-12 10:36:01 -04:00
cartcrom
36cb0668a3
fix: use updated wallet links/language ( #6343 )
...
fix: use updated links/language
2023-04-11 18:36:34 -04:00
eddie
810f42136e
fix: auto-dismiss MP bottom sheet after Buy Crypto click ( #6298 )
2023-04-11 14:46:28 -07:00
Vignesh Mohankumar
07b7d7f268
test: add test for position page states ( #6342 )
2023-04-11 17:10:38 -04:00
Charles Bachmeier
39b5bb37cd
feat: hide looksrare until we can support their sdk ( #6339 )
...
* hide looksrare until we can support their sdk
* remove commented code
---------
Co-authored-by: Charles Bachmeier <charlie@genie.xyz>
2023-04-11 13:13:55 -07:00
cartcrom
feed63b1b3
refactor: reorganize mini-portfolio file names ( #6336 )
...
* refactor: move MP files into subfolders
* refactor: consolidate MP subfolder file-naming scheme
2023-04-11 15:26:27 -04:00
Vignesh Mohankumar
ee56382956
fix: ignores "user rejected transaction" errors ( #6330 )
...
* ignore user rejected errors
* test
* fix
* use util
2023-04-11 14:28:30 -04:00
lynn
64e396d9e0
fix: update empty state svg icons ( #6326 )
...
* update icons
* add snapshot test for empty states
* update failing snapshot
2023-04-11 13:37:05 -04:00
Tina
2ffc8a0bdf
chore: Remove SWAP_TRANSACTION_COMPLETED event ( #6328 )
...
remove swap completed event
2023-04-10 17:27:02 -07:00
eddie
5ec9cdc5c4
fix: redo MP drawer layout changes with mobile fixed ( #6280 )
...
* fix: redo MP drawer layout changes with mobile fixed
* fix: mobile fix and another test
* fix: comments
2023-04-10 12:53:58 -07:00
eddie
4d85775d90
fix: update CurrencyList unit tests ( #6321 )
...
* fix: testing snapshot updates
* fix: remove inline style and update snapshots tests
2023-04-10 12:18:54 -07:00
eddie
c1c59ca692
refactor: rename WalletDropdown to AccountDrawer ( #6313 )
...
* feat: rename WalletDropdown to Portfolio
* fix: update after rebase
* feat: rename from Portfolio to AccountDrawer
* fix: fix test
2023-04-10 11:26:05 -07:00
Zach Pomerantz
f29d97413e
build: use env node for craco lint ( #6311 )
2023-04-10 10:05:22 -07:00
Zach Pomerantz
a078d94a38
chore: update pr template ( #6314 )
2023-04-10 10:05:06 -07:00
lynn
c9c3329bc3
fix: switch back buttons in mini portfolio ( #6327 )
...
switch back header
2023-04-10 12:57:31 -04:00
eddie
13d0b70fa8
fix: remove "Received Swap Quote" field from Connect Wallet event ( #6316 )
2023-04-10 09:18:07 -07:00
lynn
b852e4e64a
feat: adding analytics for fiat on ramp buy button feature ( #6272 )
...
* init
* testing if it works
* wip
* tooltip still not working correctly
* modal still not triggered after initial buy click
* remove invalid import
* region check fixed
* add disabled buy button treatment
* simplify and fix toggle twice bug
* no more state mgmt bugs finally
* rename vars for clarity and add todos
* add feature flag, remove toast
* keep wallet drawer open upon repeated buy clicks
* remove from feature flag modal for now
* unused vars
* first round respond to tina comments
* respond to tina padding comments, fix padding in response to cal feedback
* last round tina comments
* init pending element names being added to analytics events repo
* update event names
* add tooltip delay requested by fred and cal
* middle of revisions, fiat buy flow readability wip
* hook logic refactor done + added basic unit test
* rename enum and add todo for unit tests
* mouseover tooltip disable properly
* fix mouseover tooltip not working, ensure dot working as expected, rename buyFiatClicked to buyFiatFlowCompleted
* change developer doc comment
* respond comments
* update snapshot test
* lint fix
* remove unnecessary changes
2023-04-07 13:02:07 -04:00
lynn
55bd3555be
feat: Web 2996 add fiat on ramp buy flow to swap modal on the interface ( #6240 )
...
* init
* testing if it works
* wip
* tooltip still not working correctly
* modal still not triggered after initial buy click
* remove invalid import
* region check fixed
* add disabled buy button treatment
* simplify and fix toggle twice bug
* no more state mgmt bugs finally
* rename vars for clarity and add todos
* add feature flag, remove toast
* keep wallet drawer open upon repeated buy clicks
* remove from feature flag modal for now
* unused vars
* first round respond to tina comments
* respond to tina padding comments, fix padding in response to cal feedback
* last round tina comments
* add tooltip delay requested by fred and cal
* middle of revisions, fiat buy flow readability wip
* hook logic refactor done + added basic unit test
* rename enum and add todo for unit tests
* mouseover tooltip disable properly
* fix mouseover tooltip not working, ensure dot working as expected, rename buyFiatClicked to buyFiatFlowCompleted
* change developer doc comment
* respond comments
* update snapshot test
* comments
* small changes + unit tests
* dedup
* remove enzyme
* Remove unecessary line
* simplify
* more cleanup
* add missing await
* more comments
* more comment responses
* more comment responses
* delay show fixes and respond to comments
* fix logic for show
* remove tooltip delay, unit test changes
* Update src/components/Popover/index.tsx
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
* remove delay on tooltip
* missed one
* Update src/components/swap/SwapBuyFiatButton.test.tsx
Co-authored-by: Tina <59578595+tinaszheng@users.noreply.github.com>
* comments
* .
* lint error
---------
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
Co-authored-by: Tina <59578595+tinaszheng@users.noreply.github.com>
2023-04-06 17:06:50 -04:00
Zach Pomerantz
972a65066c
fix: do not double-report i18n exception ( #6308 )
2023-04-06 13:18:01 -07:00
eddie
39a212f762
fix: catch json parse error in fetchTokenList ( #6278 )
...
* fix: catch json parse error in fetchTokenList
* fix: refactor fetchTokenList and add more tests
* fix: import in test
* fix: comments and names
* fix: comment format
* fix: comment formatting
2023-04-06 11:15:39 -07:00
Jack Short
c362f4fe39
chore: removing unnecessary data in assets query ( #6301 )
...
* chore: removing unnecessary data in assets query
* no smallimageurl
* disabling nft drawer loading initially on nft pages
* removed too much
* renaming
* fix missing rank
2023-04-06 14:04:16 -04:00
eddie
271ef580e1
fix: make token list version bump error quieter ( #6271 )
...
* fix: use console.debug for expected transient error
* fix: add tests
* fix: name and lints
2023-04-06 10:26:56 -07:00
Zach Pomerantz
81ced4cb8b
test(e2e): configure cypress test retries for CI ( #6305 )
...
test: configure retries for cypress CI
2023-04-06 09:30:07 -07:00
cartcrom
ab214a8133
fix: only use local txs for current account ( #6284 )
...
* fix: only use local txs for current account
* refactor: remove unecessary try/catch
* fix: add back try/catch
2023-04-06 11:43:39 -04:00
eddie
1b2d86ae3a
feat: remove amplitude swap error logging ( #6306 )
2023-04-05 16:09:07 -07:00
Zach Pomerantz
40cac44e07
docs: use comments for pull_request_template ( #6304 )
...
* docs: use comments for pull_request_template
* docs: update
2023-04-05 09:12:38 -07:00