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 0fc2666d6f .
* 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 141c28e15c .
* 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 7c6580c974 .
* 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 d7da5a04d1 .
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 7c6580c974 .
* 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 d18742aa50 .
* 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 d18742aa50 .
* 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
eddie
4e6d28cff4
feat: Update pull_request_template.md ( #6302 )
...
Update pull_request_template.md
add notes about testing mobile layouts to the test plan prompts
2023-04-04 14:57:47 -07:00
eddie
709fad0804
test: add unit test coverage to some redux state files ( #6285 )
2023-04-04 09:46:24 -07:00
Zach Pomerantz
573f4c873a
fix: omit failed eth_blockNumber calls from sentry ( #6267 )
...
* build: upgrade sentry
* fix: omit failed eth_blockNumber calls from sentry
* test: beforeSend
* fix: bring to parity with #6281
* docs: type filterKnownErrors to beforeSend
2023-04-03 15:12:33 -07:00
eddie
d300db669f
fix: z index issue with socks icon ( #6295 )
2023-04-03 15:12:22 -07:00
eddie
fb8217ddea
fix: dont block trade when price impact is favorable ( #6261 )
...
* fix: dont block trade when price impact is favorable
* fix: add comment
2023-04-03 14:13:27 -07:00
Jordan Frankfurt
7b9a23d920
feat: reduce severity of phishing filter to allow url token names ( #6282 )
...
* feat: reduce severity of phishing filter to allow url token names
* tests
* remove unused var from test
* test rendering mini portfolio pools list
* update owner
* update variable names to match cmcewen's suggestions
* checkStringForURL -> hasURL
2023-03-31 12:59:02 -05:00
Connor McEwen
120ad935fa
revert: "fix: mini portfolio layout fixes" ( #6279 )
...
Revert "fix: mini portfolio layout fixes (#6260 )"
This reverts commit fb05439d32 .
2023-03-30 18:47:42 -04:00
cartcrom
4eaf16b624
fix: injection detection bug ( #6276 )
...
* fix: use functions to check injection status rather than static vars
* fix: unnused field
* fix: don't prompt mm install for generics
* fix: generic injector function
* fix: display name for MM on cb browser
* fix: re-add ios mobile check for uniswap wallet
* fix: reword comment
* fix: refactor delayed-injection test
* feat: added comments
* fix: revert to minimal changes
* fix: update tests
2023-03-30 17:50:20 -04:00
Connor McEwen
857e2915ab
fix: put environment in the wrong place ( #6277 )
...
* fix: put environment in the wrong place
* move to proper step
2023-03-30 16:54:45 -04:00
Connor McEwen
7410c81b42
chore: update workflow release env ( #6275 )
2023-03-30 15:43:18 -04:00
eddie
fb05439d32
fix: mini portfolio layout fixes ( #6260 )
...
* fix: mini portfolio layout fixes
* feat: refactor MP drawer CSS
2023-03-30 12:07:02 -07:00
eddie
fb7eade70b
fix: l2 icon borders in MP ( #6254 )
...
* fix: l2 icon borders in MP
* fix: bool logic
* fix: comments and add test
* fix: change variable name
* fix: split l2 icon into two components
2023-03-30 11:59:46 -07:00
eddie
bd2b2c487a
fix: close MP drawer on nft nav ( #6251 )
...
* fix: close MP drawer on nft nav
* fix: make callbacks optional, rename props
* fix: improve card API
* fix: add e2e test
2023-03-29 15:08:30 -07:00
eddie
2f004ed1d9
fix: remove deprecated default imports from zustand ( #6270 )
...
* fix: replace default imports from zustand
* fix: add eslint rule
* fix: typo
o
2023-03-29 13:25:30 -07:00
Zach Pomerantz
db257c73f2
fix: improve chain id error ( #6266 )
...
* build: upgrade sentry
* fix: improve chain id error
2023-03-29 12:38:33 -07:00
Zach Pomerantz
7c37b9d00e
build: upgrade sentry ( #6264 )
...
* build: upgrade sentry
* chore: comment nits
2023-03-29 11:05:13 -07:00
Connor McEwen
7688c527f0
chore: update codecov yaml ( #6262 )
...
chore: set patch coverage to 80%, lower tolerance threshold, remove unused keys
2023-03-29 11:31:27 -04:00
eddie
06dd41a9cd
fix: getCurrency crash when token not found ( #6263 )
...
* fix: getCurrency crash when token not found
* fix: comments and add test
* fix: remove extra whitespace in unit test
* fix: make e2e test pass
2023-03-28 18:44:48 -07:00
eddie
850fec40a9
fix: remove price tag from nft cards in the side drawer ( #6252 )
...
* fix: remove price tag from nft cards in the side drawer
* fix: decouple price from display logic
* fix: missing file chaneg
* fix: add tests
2023-03-28 09:26:32 -07:00
yyip-dev
3c7eabc3d8
docs: Update PR template ( #6235 )
...
* Update PR template
* Add screen capture section and simplify descriptions
* Link out to PR title conventions & remove monitoring section
2023-03-28 11:31:11 -04:00
Jordan Frankfurt
048607080c
feat: add query param to disable the nft sections of the app ( #6225 )
...
* feat: add queryparam to disable the nft sections of the app
* fix
* include mini portfolio
* add comments explaining nft disable atom usage and suggesting future work
* add subtitle exception to landing page and correct the bool
* update comment
* comment syntax nits
2023-03-27 20:54:39 -05:00
eddie
a0f20c54d8
feat: implement new designs for tx notifs ( #6232 )
...
* feat: re-add transaction activity popups
* feat: implement new designs for tx notifs
* fix: address comments
* fix: remove color from alert icon
* fix: nits
* fix: remove null check
* fix: fix
2023-03-27 13:56:52 -07:00
Zoltan Arvai
da79abbc0d
feat: adds Ledger Connect to non-MetaMask wallet list ( #6257 )
...
feat: add Ledger Connect to non-MetaMask wallet list
2023-03-27 16:16:30 -04:00
Vignesh Mohankumar
5ac08e1142
fix: link to lowercase chain name from position page ( #6195 )
...
* fix: link to lowercase chain name from position page
* fix: use existing const
2023-03-27 14:41:03 -04:00
eddie
d330eea375
feat: re-add transaction activity popups ( #6223 )
2023-03-27 10:07:41 -07:00
eddie
35dace7bfe
feat: cypress test coverage reporting ( #6212 )
...
* wip
* fix: only instrument thru babel in test and dev
* fix: remove unused deps
* fix: yarn dedup
* fix: remove nyc_output dir from git
* fix: remove comment from index.html
2023-03-27 09:48:02 -07:00
Vignesh Mohankumar
8ce8e17f62
fix: Revert to previous Nav menu ( #6258 )
...
* fix: revert nav
* lint
* fix
* fix
2023-03-27 12:32:01 -04:00
Vignesh Mohankumar
eb105b6ec7
fix: align /pools CTAs to the top ( #6253 )
...
* fix: align /pools CTAs to the top
* connor comments
* Revert "connor comments"
This reverts commit e8f25e8fa1 .
2023-03-24 18:33:28 -04:00
eddie
267e7de2b6
feat: remove unicon tooltip entirely ( #6250 )
2023-03-24 13:11:21 -07:00
lynn
ab9f2af054
fix: modify mini portfolio pools row event properties ( #6248 )
...
* init
* use memo
2023-03-24 15:49:38 -04:00
Connor McEwen
67b405dd42
chore: update codeowners ( #6247 )
2023-03-24 12:18:07 -04:00
lynn
281dbf4305
feat: remove tax service toast, modal, and menu item ( #6244 )
...
* init
* fix
2023-03-24 11:50:07 -04:00
lynn
369f2d7dfa
fix: update tax copy again ( #6241 )
...
init
2023-03-23 20:29:37 -04:00
Jordan Frankfurt
803c749b13
fix: remove backend name check from badge flag ( #6236 )
...
* fix: remove backend name check from badge flag
* drop undefined check
* drop bool cast
2023-03-23 17:01:09 -05:00
lynn
8818dadf24
fix: update tax services copy ( #6239 )
...
init
2023-03-23 17:39:22 -04:00
Jordan Frankfurt
d179fc6b84
fix: don't show the add liquidity warning when no position currently … ( #6238 )
...
fix: don't show the add liquidity warning when no position currently exists
2023-03-23 16:18:35 -05:00
Jordan Frankfurt
18ec675c52
feat: warn when adding liquidity to an unowned LP position ( #6219 )
...
* feat: warn when adding liquidity to an unowned LP position
* update boolean name
* use a better address equivalence check
2023-03-23 12:09:22 -05:00
lynn
1a79bac893
feat: add additional mini portfolio events ( #6233 )
...
* add events
* update nft logging
* fix lint
* mikes comments
2023-03-23 12:34:59 -04:00
Jordan Frankfurt
bbf49b0477
feat: use new consolidated signing endpoint ( #6222 )
...
feat: use new consolidate signing endpoint
2023-03-22 21:41:17 -05:00
Jordan Frankfurt
7ee41abd99
feat: design refresh on pool list items ( #6230 )
...
* update LP tags
* design feedback
2023-03-22 20:48:31 -05:00
Jordan Frankfurt
581c0982db
fix: add url name filtering to mini-portfolio ( #6231 )
...
* fix: add url name filtering to mini-portfolio
* Update src/components/WalletDropdown/MiniPortfolio/Pools/index.tsx
Co-authored-by: cartcrom <39385577+cartcrom@users.noreply.github.com >
* fix: remove unused deps (#6227 )
* init
* remove one more useless dep
* bump up test size
* bump up test size
* up size
* fix lint and add str == undefined case to hasURL
---------
Co-authored-by: cartcrom <39385577+cartcrom@users.noreply.github.com >
Co-authored-by: lynn <41491154+lynnshaoyu@users.noreply.github.com >
2023-03-22 20:47:54 -05:00
eddie
478a05a34f
fix: crash in nft listing flow ( #6234 )
...
* fix: crash in nft listing flow
* fix: rename test
2023-03-22 16:45:39 -07:00
lynn
5d6664019e
fix: remove unused deps ( #6227 )
...
* init
* remove one more useless dep
* bump up test size
* bump up test size
* up size
2023-03-22 18:32:27 -04:00
Jordan Frankfurt
0cc187a7cb
feat: add 1bps pool to arbitrum ( #6224 )
2023-03-22 17:01:33 -05:00
cartcrom
f3e09a90e2
fix: use correct chain var when switching ( #6229 )
2023-03-22 17:06:06 -04:00
Jordan Frankfurt
17db102484
fix: update url regex to correctly match URLs ( #6220 )
...
* fix: update url regex to correctly match URLs
* add test
* more test cases and better comment explanation
2023-03-22 14:05:27 -05:00
Jordan Frankfurt
e8ca84ee07
fix: update theme gold400 value ( #6213 )
...
fix: update theme gold200 value
2023-03-22 12:23:12 -05:00
Vignesh Mohankumar
dae7314aa9
feat: show error state when on invalid position ( #6214 )
2023-03-22 12:02:18 -04:00
cartcrom
32e6237624
feat: ✨ 🤑 Portfolios 🖼 ✨ ( #6216 )
...
* feat: squash mgtm differences w/ public repo into new base commit to fix rebase issues going forward
* feat: new settings menu (#85 )
* feat: new settings flow
* feat: add statsig geo gate for MGTM assets (#91 )
* init
* feat: geo-gate mgtm features & wallet tab
* feat: new theme toggle (#86 )
* feat: new theme toggle
* fix: import
* refactor: polish
* refactor: use enum instead of string union
* feat: mini portfolio tabs (#88 )
* feat: mini portfolio tabs
* feat: feature flag
* feat: portfolio query (#89 )
* feat: portfolio balance query
* polish
* fix: added todo for api key
* feat: tokens mini-portfolio tab (#93 )
* feat: tokens tab
* fix: lint
* fix: pr comment polish
* fix: snapshot update
* feat: common portfolio row component (#99 )
* feat: porfolio row component
* fix: updated layout
* feat: update token row design (#100 )
* feat: porfolio row component
* fix: updated layout
* fix: updated tokens tab to latest design
* fix: unnused export
* feat: dropdown drawer (#95 )
* inital drawer
* feat: animated drawer
* fix: attempt animation perf fix
* fix: lint
* feat: better animations
* fix: scrim
* refactor: const name
* test: update chain switcher test
* test: update chain switcher test id
* feat: Add NFT tab for mini porftolio (#104 )
* add NFT tab
* add min width to verified icon size
* add keyArgs to nftBalances query so that different callers dont override query cache
* revert yarn node changes
* use flex shrink
* move styled components to top
* navigate to nft page
* update snapshot test after adding gap to Row
* Update src/components/WalletDropdown/MiniPortfolio/NFT.tsx
Co-authored-by: cartcrom <39385577+cartcrom@users.noreply.github.com >
---------
Co-authored-by: cartcrom <39385577+cartcrom@users.noreply.github.com >
* fix scroll behavior (#105 )
* feat: portfolio loading state (#106 )
* feat: loading state for token row
* fix: revert hardcoded loading states
* fix: removed unused component
* feat: activity feed tab (#103 )
* init
* feat: ens avatars
* feat: etherscan api experiment
* fix: ignore error policy
* polish
* fix: query pageSize
* fix: revert redux change
* fix: small polish item
* fix: pr comments
* fix: translated activity titles
* fix: typing and todo comment
* todo comment
* fix: accidental chain name mismatch
* feat: remove dropdown chevron (#110 )
* feat: small drawer UI updates (#109 )
* feat: small changes
* fix: resize status icon w/ ens
* fix: commented css
* feat: activity loading state (#108 )
* feat: activity loading state
* fix: unused wrapper
* fix: activity/nftbalance cache overlap
* fix: mp sidebar width adjustment (#112 )
* fix: mp sidebar width adjustment
* fix: navbar breakpoints
* feat: nav bar MenuDropdown updates (#107 )
* feat: nav bar MenuDropdown updates
* fix: pool breakpoints
* fix: pool in menu dropdown
* fix: lints
* fix: tests
* feat: swap click updates (#111 )
* feat: swap click updates
* fix: updates
* fix: simplify
* fix: snapshots
* fix: snapshots
* feat: collapse button (#113 )
* feat: collapse button
* fix: esc keypress and animation
* fix: MP scrollbar (#115 )
* feat: hide small balances in token list (#116 )
* feat: collapse button (#113 )
* feat: collapse button
* fix: esc keypress and animation
* chore: merge
* fix: updates
* feat: show the hidden tokens at the bottom
* feat: empty balance state for tokens (#118 )
* feat: empty balance state for tokens
* fix: balance change check
* fix: token inputs on TDP widget (#120 )
* feat: remove quick swap button (#125 )
* fix: nft activity descriptor (#119 )
* fix: improper substring usage error
* pr comments + small fix
* feat: add mini portfolio events (#126 )
* add events
* fix failing snapshot test
* incorporate eddie comment
* fix chain switching (#127 )
* feat: pre-parse activity to catch errors (#129 )
* feat: update wallet option icons (#128 )
* feat: update wallet option icons
* feat: theme-aware injected logo, svg logos
* fix: rabby extension
* feat: uni icons avatars (#130 )
* feat: update wallet option icons
* feat: theme-aware injected logo, svg logos
* fix: rabby extension
* feat: update avatar / icon logic
* fix: remove testing hardcoded socks balance
* fix: add isTrustWallet check
* feat: pools tab (#122 )
* init
* feat: working cross-chain calls
* feat: inline range text
* feat: better multicall perf
* feat: loading state
* feat: pools persist between mounts
* feat: polish
* fix: small refactors
* remove stuff to split into sep pr
* fix: remove comment
* fix: judo PR comments
* fix: currencyKey case
* fix: eddie's comment
* fix (#134 )
* feat: removed microsite content, updated responsiveness for wallet tab (#137 )
* fix: injector unit tests (#136 )
* fix: injector unit tests
* fix: lint
---------
Co-authored-by: cartcrom <cartergcromer@gmail.com >
* feat: toggle closed positions (#138 )
* rename file
* refactored hidden row to use for closed positions
* fix: remove unnused atom
* fix: lint
* feat: MP tab empty states (#132 )
* feat: squash mgtm differences w/ public repo into new base commit to fix rebase issues going forward
* feat: new settings menu (#85 )
* feat: new settings flow
* feat: add statsig geo gate for MGTM assets (#91 )
* init
* feat: geo-gate mgtm features & wallet tab
* feat: new theme toggle (#86 )
* feat: new theme toggle
* fix: import
* refactor: polish
* refactor: use enum instead of string union
* feat: mini portfolio tabs (#88 )
* feat: mini portfolio tabs
* feat: feature flag
* feat: portfolio query (#89 )
* feat: portfolio balance query
* polish
* fix: added todo for api key
* feat: tokens mini-portfolio tab (#93 )
* feat: tokens tab
* fix: lint
* fix: pr comment polish
* fix: snapshot update
* feat: common portfolio row component (#99 )
* feat: porfolio row component
* fix: updated layout
* feat: update token row design (#100 )
* feat: porfolio row component
* fix: updated layout
* fix: updated tokens tab to latest design
* fix: unnused export
* feat: dropdown drawer (#95 )
* inital drawer
* feat: animated drawer
* fix: attempt animation perf fix
* fix: lint
* feat: better animations
* fix: scrim
* refactor: const name
* test: update chain switcher test
* test: update chain switcher test id
* feat: Add NFT tab for mini porftolio (#104 )
* add NFT tab
* add min width to verified icon size
* add keyArgs to nftBalances query so that different callers dont override query cache
* revert yarn node changes
* use flex shrink
* move styled components to top
* navigate to nft page
* update snapshot test after adding gap to Row
* Update src/components/WalletDropdown/MiniPortfolio/NFT.tsx
Co-authored-by: cartcrom <39385577+cartcrom@users.noreply.github.com >
---------
Co-authored-by: cartcrom <39385577+cartcrom@users.noreply.github.com >
* fix scroll behavior (#105 )
* feat: portfolio loading state (#106 )
* feat: loading state for token row
* fix: revert hardcoded loading states
* fix: removed unused component
* feat: activity feed tab (#103 )
* init
* feat: ens avatars
* feat: etherscan api experiment
* fix: ignore error policy
* polish
* fix: query pageSize
* fix: revert redux change
* fix: small polish item
* fix: pr comments
* fix: translated activity titles
* fix: typing and todo comment
* todo comment
* fix: accidental chain name mismatch
* feat: remove dropdown chevron (#110 )
* feat: small drawer UI updates (#109 )
* feat: small changes
* fix: resize status icon w/ ens
* fix: commented css
* init
* feat: working cross-chain calls
* feat: inline range text
* feat: better multicall perf
* feat: activity loading state (#108 )
* feat: activity loading state
* fix: unused wrapper
* feat: loading state
* feat: pools persist between mounts
* fix: activity/nftbalance cache overlap
* fix: mp sidebar width adjustment (#112 )
* fix: mp sidebar width adjustment
* fix: navbar breakpoints
* feat: nav bar MenuDropdown updates (#107 )
* feat: nav bar MenuDropdown updates
* fix: pool breakpoints
* fix: pool in menu dropdown
* fix: lints
* fix: tests
* feat: swap click updates (#111 )
* feat: swap click updates
* fix: updates
* fix: simplify
* fix: snapshots
* fix: snapshots
* feat: collapse button (#113 )
* feat: collapse button
* fix: esc keypress and animation
* fix: MP scrollbar (#115 )
* feat: hide small balances in token list (#116 )
* feat: collapse button (#113 )
* feat: collapse button
* fix: esc keypress and animation
* chore: merge
* fix: updates
* feat: show the hidden tokens at the bottom
* feat: empty balance state for tokens (#118 )
* feat: empty balance state for tokens
* fix: balance change check
* fix: token inputs on TDP widget (#120 )
* feat: polish
* fix: small refactors
* remove stuff to split into sep pr
* fix: remove comment
* feat: remove quick swap button (#125 )
* fix: nft activity descriptor (#119 )
* fix: improper substring usage error
* pr comments + small fix
* feat: add mini portfolio events (#126 )
* add events
* fix failing snapshot test
* incorporate eddie comment
* fix chain switching (#127 )
* feat: pre-parse activity to catch errors (#129 )
* fix: activity/nftbalance cache overlap
* fix: mp sidebar width adjustment (#112 )
* fix: mp sidebar width adjustment
* fix: navbar breakpoints
* feat: nav bar MenuDropdown updates (#107 )
* feat: nav bar MenuDropdown updates
* fix: pool breakpoints
* fix: pool in menu dropdown
* fix: lints
* fix: tests
* feat: swap click updates (#111 )
* feat: swap click updates
* fix: updates
* fix: simplify
* fix: snapshots
* fix: snapshots
* feat: collapse button (#113 )
* feat: collapse button
* fix: esc keypress and animation
* fix: MP scrollbar (#115 )
* feat: hide small balances in token list (#116 )
* feat: collapse button (#113 )
* feat: collapse button
* fix: esc keypress and animation
* chore: merge
* fix: updates
* feat: show the hidden tokens at the bottom
* feat: empty balance state for tokens (#118 )
* feat: empty balance state for tokens
* fix: balance change check
* fix: token inputs on TDP widget (#120 )
* feat: remove quick swap button (#125 )
* fix: nft activity descriptor (#119 )
* fix: improper substring usage error
* pr comments + small fix
* feat: add mini portfolio events (#126 )
* add events
* fix failing snapshot test
* incorporate eddie comment
* fix chain switching (#127 )
* feat: pre-parse activity to catch errors (#129 )
* feat: start empty state updates
* feat: update wallet option icons (#128 )
* feat: update wallet option icons
* feat: theme-aware injected logo, svg logos
* fix: rabby extension
* feat: empty wallet states w/ good positioning
* feat: finish empty states w/ theme aware icons
* fix: judo PR comments
* fix: currencyKey case
* feat: uni icons avatars (#130 )
* feat: update wallet option icons
* feat: theme-aware injected logo, svg logos
* fix: rabby extension
* feat: update avatar / icon logic
* fix: remove testing hardcoded socks balance
* fix: add isTrustWallet check
* fix: eddie's comment
* feat: pools tab (#122 )
* init
* feat: working cross-chain calls
* feat: inline range text
* feat: better multicall perf
* feat: loading state
* feat: pools persist between mounts
* feat: polish
* fix: small refactors
* remove stuff to split into sep pr
* fix: remove comment
* fix: judo PR comments
* fix: currencyKey case
* fix: eddie's comment
* fix (#134 )
* feat: removed microsite content, updated responsiveness for wallet tab (#137 )
* fix: injector unit tests (#136 )
* fix: injector unit tests
* fix: lint
---------
Co-authored-by: cartcrom <cartergcromer@gmail.com >
* fix: pool loading state
* fix: simplify pools loading state
* fix: removed unused var
* feat: toggle closed positions (#138 )
* rename file
* refactored hidden row to use for closed positions
* fix: remove unnused atom
* fix: lint
* fix: dry
* fix: lint
* fix: address review comments
* fix: lints
* fix: bad merge
---------
Co-authored-by: cartcrom <cartergcromer@gmail.com >
Co-authored-by: cartcrom <39385577+cartcrom@users.noreply.github.com >
Co-authored-by: Tina <59578595+tinaszheng@users.noreply.github.com >
Co-authored-by: lynn <41491154+lynnshaoyu@users.noreply.github.com >
* make sure mp is above tax service banner (#142 )
* feat: add git version number to settings menu (#141 )
* fix: remove unicon tooltip (#146 )
* feat: remove unicon tooltip from mobile and timer prop
* fix: flip bool logic
* fix: small nits for mp from fred (#150 )
* fixes
* fix
* feat: Local tx activity (#148 )
* local swap working
* feat: cross-chain
* fix: revert query changes
* feat: local approvals
* feat: wrapped activity
* feat: local lp tx history
* fix: add doc comment
* fix: linted
* fix: no pools render error (#152 )
* feat: mp activity feed design tweaks (#145 )
* feat: squash mgtm differences w/ public repo into new base commit to fix rebase issues going forward
* feat: new settings menu (#85 )
* feat: new settings flow
* feat: add statsig geo gate for MGTM assets (#91 )
* init
* feat: geo-gate mgtm features & wallet tab
* feat: new theme toggle (#86 )
* feat: new theme toggle
* fix: import
* refactor: polish
* refactor: use enum instead of string union
* feat: mini portfolio tabs (#88 )
* feat: mini portfolio tabs
* feat: feature flag
* feat: portfolio query (#89 )
* feat: portfolio balance query
* polish
* fix: added todo for api key
* feat: tokens mini-portfolio tab (#93 )
* feat: tokens tab
* fix: lint
* fix: pr comment polish
* fix: snapshot update
* feat: common portfolio row component (#99 )
* feat: porfolio row component
* fix: updated layout
* feat: update token row design (#100 )
* feat: porfolio row component
* fix: updated layout
* fix: updated tokens tab to latest design
* fix: unnused export
* feat: dropdown drawer (#95 )
* inital drawer
* feat: animated drawer
* fix: attempt animation perf fix
* fix: lint
* feat: better animations
* fix: scrim
* refactor: const name
* test: update chain switcher test
* test: update chain switcher test id
* feat: Add NFT tab for mini porftolio (#104 )
* add NFT tab
* add min width to verified icon size
* add keyArgs to nftBalances query so that different callers dont override query cache
* revert yarn node changes
* use flex shrink
* move styled components to top
* navigate to nft page
* update snapshot test after adding gap to Row
* Update src/components/WalletDropdown/MiniPortfolio/NFT.tsx
Co-authored-by: cartcrom <39385577+cartcrom@users.noreply.github.com >
---------
Co-authored-by: cartcrom <39385577+cartcrom@users.noreply.github.com >
* fix scroll behavior (#105 )
* feat: portfolio loading state (#106 )
* feat: loading state for token row
* fix: revert hardcoded loading states
* fix: removed unused component
* feat: activity feed tab (#103 )
* init
* feat: ens avatars
* feat: etherscan api experiment
* fix: ignore error policy
* polish
* fix: query pageSize
* fix: revert redux change
* fix: small polish item
* fix: pr comments
* fix: translated activity titles
* fix: typing and todo comment
* todo comment
* fix: accidental chain name mismatch
* feat: remove dropdown chevron (#110 )
* feat: small drawer UI updates (#109 )
* feat: small changes
* fix: resize status icon w/ ens
* fix: commented css
* feat: activity loading state (#108 )
* feat: activity loading state
* fix: unused wrapper
* fix: activity/nftbalance cache overlap
* fix: mp sidebar width adjustment (#112 )
* fix: mp sidebar width adjustment
* fix: navbar breakpoints
* feat: nav bar MenuDropdown updates (#107 )
* feat: nav bar MenuDropdown updates
* fix: pool breakpoints
* fix: pool in menu dropdown
* fix: lints
* fix: tests
* feat: swap click updates (#111 )
* feat: swap click updates
* fix: updates
* fix: simplify
* fix: snapshots
* fix: snapshots
* feat: collapse button (#113 )
* feat: collapse button
* fix: esc keypress and animation
* fix: MP scrollbar (#115 )
* feat: hide small balances in token list (#116 )
* feat: collapse button (#113 )
* feat: collapse button
* fix: esc keypress and animation
* chore: merge
* fix: updates
* feat: show the hidden tokens at the bottom
* feat: empty balance state for tokens (#118 )
* feat: empty balance state for tokens
* fix: balance change check
* fix: token inputs on TDP widget (#120 )
* feat: remove quick swap button (#125 )
* fix: nft activity descriptor (#119 )
* fix: improper substring usage error
* pr comments + small fix
* feat: add mini portfolio events (#126 )
* add events
* fix failing snapshot test
* incorporate eddie comment
* fix chain switching (#127 )
* feat: pre-parse activity to catch errors (#129 )
* feat: update wallet option icons (#128 )
* feat: update wallet option icons
* feat: theme-aware injected logo, svg logos
* fix: rabby extension
* wip
* feat: uni icons avatars (#130 )
* feat: update wallet option icons
* feat: theme-aware injected logo, svg logos
* fix: rabby extension
* feat: update avatar / icon logic
* fix: remove testing hardcoded socks balance
* fix: add isTrustWallet check
* feat: pools tab (#122 )
* init
* feat: working cross-chain calls
* feat: inline range text
* feat: better multicall perf
* feat: loading state
* feat: pools persist between mounts
* feat: polish
* fix: small refactors
* remove stuff to split into sep pr
* fix: remove comment
* fix: judo PR comments
* fix: currencyKey case
* fix: eddie's comment
* fix (#134 )
* wip with activity status icons
* feat: removed microsite content, updated responsiveness for wallet tab (#137 )
* fix: injector unit tests (#136 )
* fix: injector unit tests
* fix: lint
---------
Co-authored-by: cartcrom <cartergcromer@gmail.com >
* temp
* in progress
* text, and activity status changes working. missing logo changes
* fix lint issues
* refactor: square logo location
* feat: merge other activity changes
---------
Co-authored-by: cartcrom <cartergcromer@gmail.com >
Co-authored-by: cartcrom <39385577+cartcrom@users.noreply.github.com >
Co-authored-by: Tina <59578595+tinaszheng@users.noreply.github.com >
Co-authored-by: eddie <66155195+just-toby@users.noreply.github.com >
* feat: portfolio polling/refetching/performance (#154 )
* init
* feat: implement asset polling & tx updating balances
* add refetching to activity tab
* fix: re-add error policy
* fix: add TODO
* fix: fix scroll + console warnings on mini portfolio nfts (#155 )
* fixes
* rename
* init (#158 )
* fix: browser wallet icons (#156 )
* fix: moved border radius css (#157 )
* feat: token details state for BNB (#151 )
* fix: update token details missing flow
* refactor
* fix: lint
* fix: add bnb to queries
* feat: add comment explaining unsupported chains
* fix: remove buy crypto animation (#160 )
* fix: price display pools tab (#159 )
* fix: price display pools tab
* fix: lint
* feat: pools tab performance (#123 )
* init
* fix: pr comments
* update cache return type
* refactor: rename type
* fix: further pr comments
* fix: remove stringify
* refactor: readability and caching
* fix: zach pr comments
* fix: removed hardcoded value
* feat: catch position errors for chains
* fix: add todo comment for followup ticket
* fix: build issue from merge conflict
* refactor: split up token caching function
* feat: separate array slicing into util with tests
* feat: close wallet drawer on wallet connection (#161 )
* feat: close wallet drawer on wallet connection
* feat: added comment explaining fetchPolicy
* fix: only close if open
* refactor: add comment about ref
* fix: revert change to useAllTokens & rename with more descriptive name (#163 )
* fix: square Arbitrum logo design changes (#162 )
* feat: close wallet drawer on wallet connection
* feat: added comment explaining fetchPolicy
* fix: only close if open
* init
* fixes
* fix border radius
---------
Co-authored-by: cartcrom <cartergcromer@gmail.com >
* fix: token loading state (#165 )
* fix: remove unnused code and comments
* fix: privacy policy date
* fix: revert readme change
* fix: remove unnused FOR file
* fix: missed query id
* fix: add id to portfolios query
* fix: widget cypress test
---------
Co-authored-by: Tina <59578595+tinaszheng@users.noreply.github.com >
Co-authored-by: eddie <66155195+just-toby@users.noreply.github.com >
Co-authored-by: lynn <41491154+lynnshaoyu@users.noreply.github.com >
2023-03-22 11:29:26 -04:00
Jordan Frankfurt
cee19aebe7
fix: improve fetch-schema logging and platform support ( #6191 )
...
* fix: improve fetch-schema logging and platform support
* don't use async/await because linter doesn't like it
2023-03-22 10:14:07 -05:00
Vignesh Mohankumar
b2fbba13a2
fix: set height on vote and v2 liquidity buttons ( #6217 )
2023-03-22 00:11:01 -04:00
github-actions[bot]
a15a6108c1
chore(i18n): new Crowdin translations ( #6196 )
...
* chore(i18n): synchronize translations from crowdin [skip ci]
* merge in translations
---------
Co-authored-by: Crowdin Bot <support+bot@crowdin.com >
Co-authored-by: Yannie Yip <yannie.yip@uniswap.org >
2023-03-21 20:01:47 -04:00
eddie
46724cd8f6
feat: preserve input currency on TDP when navigating ( #6209 )
...
* fix: NPE when connector is undefined
* feat: retain input token when switching Token Detail Page
* fix: remove logic from string template
2023-03-21 16:31:28 -07:00
Jordan Frankfurt
09e6d38f25
feat: bnb network notif badge in search ( #6210 )
...
* feat: bnb network notif badge in search
* add chainname check
2023-03-21 17:08:11 -05:00
Jordan Frankfurt
236a4dc145
feat: add tax service discount to help menu ( #6211 )
2023-03-21 17:07:57 -05:00
eddie
991d07ef39
fix: use weth in e2e test ( #6207 )
2023-03-21 09:50:02 -07:00
Jordan Frankfurt
7f5707e551
feat: add BNB Chain placeholder to token explore network menu ( #6198 )
...
* feat: add BNB Chain placeholder to token explore network menu
* don't make badge .6 opacity
2023-03-21 12:18:06 -04:00
lynn
4050b1b241
fix: dismiss tax service toast after 1 dismissal instead of 3 ( #6200 )
...
* init
* add todo
2023-03-20 18:26:47 -05:00
Charles Bachmeier
a19aa303d9
feat: list 1155s ( #6193 )
...
* undisable 1155s and add nftStandard to CollectionRow
* working OS 1155 listing
* amend OS listing to handle 0 creator fee
* handle no royalties set
* disable already listed protection for 1155s
* can list to LR
* stuck on x2
* working x2y2
* remove comment
* add listing issue finding to helper fn
---------
Co-authored-by: Charles Bachmeier <charlie@genie.xyz >
2023-03-20 12:31:56 -07:00
dependabot[bot]
c7f67437fd
build(deps): bump @uniswap/widgets from 2.48.5 to 2.49.0 ( #6189 )
...
Bumps [@uniswap/widgets](https://github.com/Uniswap/widgets ) from 2.48.5 to 2.49.0.
- [Release notes](https://github.com/Uniswap/widgets/releases )
- [Changelog](https://github.com/Uniswap/widgets/blob/main/.releaserc.json )
- [Commits](https://github.com/Uniswap/widgets/compare/v2.48.5...v2.49.0 )
---
updated-dependencies:
- dependency-name: "@uniswap/widgets"
dependency-type: direct:production
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-03-20 10:03:38 -07:00
Jordan Frankfurt
b5192a2b7d
feat: update "Browser wallet" icons ( #6194 )
...
feat: update Browser wallet icons
2023-03-20 11:58:54 -05:00
Tina
cd92e4cf6f
fix: Revert "feat: trace jsonrpc ( #6159 )" ( #6190 )
...
Revert "feat: trace jsonrpc (#6159 )"
This reverts commit 6fee37c4b8 .
2023-03-20 11:47:13 -04:00
Zach Pomerantz
089fba5dee
test: parallelize cypress (again) with a consistent container ( #6182 )
...
* Revert "test: run cypress on one machine (#6181 )"
This reverts commit a2812fcf79 .
* test: use consistent container across cypress-test-matrix
* test: condition cypress-tests on cypress-test-matrix
* test: check cypress-test-matrix
* debug: cypress-test-matrix.result
* test: fix error
* test: fix error
* test: fix error
* test: fix error
* test: fix error
* test: fix error
2023-03-17 13:09:20 -07:00
cartcrom
503a33314f
fix: use proper apollo client for ticks query ( #6185 )
...
fix: pass thegraph client to ticks query instead of default
2023-03-17 14:29:46 -04:00
Zach Pomerantz
6fee37c4b8
feat: trace jsonrpc ( #6159 )
...
* feat: maybeTrace
* feat: maybeTrace jsonrpc
* docs: maybeTrace
* test: fix test typing
* fix: pr feedback
2023-03-16 22:16:41 -07:00
Zach Pomerantz
a2812fcf79
test: run cypress on one machine ( #6181 )
...
* test: run cypress on one machine
* build: turn off parallel cypress
2023-03-16 21:10:36 -07:00
Vignesh Mohankumar
c42aeae96a
fix: update useIsPoolsPage hook ( #6179 )
...
* fix: update `useIsPoolsPage` hook
* rename file
2023-03-16 19:36:07 -04:00
Vignesh Mohankumar
80ab000d34
fix: back button should lead to /pools not /pools/v2 ( #6171 )
2023-03-16 18:47:28 -04:00
eddie
81206f1eef
test: widget integration tests ( #6145 )
...
* feat: upgrade widget
* test: swap widget integration tests
* test: handle conditional token safety warning
* fix: yarn dedup
* fix: try reformatting cy commands
* test: try waiting for page to load
* fix: update test
* fix: update test
* fix: test
2023-03-16 15:19:02 -07:00
Vignesh Mohankumar
568b05fda1
feat: support both /pool and /pools ( #6173 )
...
* more
* change locally
2023-03-16 18:08:10 -04:00
Vignesh Mohankumar
3d0ca21036
fix: remove Create a pool menu option ( #6168 )
2023-03-16 18:01:54 -04:00
Vignesh Mohankumar
8b743615d1
fix: link to providing liquidity help doc ( #6169 )
2023-03-16 18:01:46 -04:00
eddie
9e4fdabc34
feat: upgrade widget ( #6176 )
...
* feat: upgrade widget
* fix: yarn dedup
2023-03-16 14:05:52 -07:00
lynn
decb922d4b
fix: handle undefined tax service banner counter in state ( #6178 )
...
* fix
* use ternary
* update
2023-03-16 16:42:43 -04:00
Vignesh Mohankumar
ac50555647
fix: equal width for CTA tiles on /pool ( #6170 )
2023-03-16 16:07:17 -04:00
Vignesh Mohankumar
f48356d0fb
feat: link to token details from /pool/{} ( #6162 )
...
* feat: link to token details from /pool/{}
* use backend chain names
* use fn
2023-03-16 15:36:55 -04:00
Jack Short
a362f8797a
chore: refactoring bag ( #6039 )
...
* chore: refactoring bag component to sub components (#6027 )
* moving totalEthPrice to hook
* moving everything from bag to bag footer
* moving transaction state to sep hook
* explicit type
* itemsInBag
* fixing transaction tracking
* chore: refactor useFetchAssets to make it more readable (#6043 )
* chore: refactoring useFetchAssets to make it more readable
* remvoing eslint stuff
* extracting what can be
* comments
* removing feature flag
* changing return type of useUsd hook
* zustand shallow
2023-03-16 14:39:50 -04:00
Jack Short
783f42abcc
fix: cards floating point error ( #6174 )
2023-03-16 14:39:24 -04:00
Tina
0923cf4ac9
fix: Auto-slippage logic ( #6167 )
...
* range auto slippage from [.1% to 5%] and multiply gas by 110% instead of 10%
* remove newline
* no multiplier on gas, add comments
* consolidate constant variables
2023-03-16 12:46:59 -04:00
cartcrom
801958d0ae
fix: skip when address undefined ( #6172 )
...
* fix: skip when address undefined
* fix: add back lowercase
* fix: use ms
* update loading var name
2023-03-16 09:33:47 -07:00
Zach Pomerantz
8392c29a1e
feat: omit unnecessary sentry logs ( #6166 )
...
* fix: omit gracefully handled events from sentry
* fix: log locale load exception to sentry
2023-03-16 09:25:50 -07:00
Charles Bachmeier
8d36edf2b7
chore: remove no longer used anayltics query ( #6165 )
...
* chore: remove no longer used anayltics query
* Remove from index
---------
Co-authored-by: Charles Bachmeier <charlie@genie.xyz >
2023-03-15 18:30:28 -06:00
Charles Bachmeier
0f8d3fa506
fix: add more null checks for trending collections gql query ( #6164 )
...
add more null checks for trending collections gql query
Co-authored-by: Charles Bachmeier <charlie@genie.xyz >
2023-03-15 18:30:01 -06:00
Zach Pomerantz
5f64149f39
feat: trace quote ( #6160 )
...
* feat: trace quote
* fix: include more data
2023-03-15 17:09:22 -07:00
Zach Pomerantz
7115729e3e
feat: trace swap.send ( #6147 )
...
* feat: trace swap.send
* docs: comments
* test: sentry transaction trace
* fix: tag as non-widget
* fix: nits
* refactor: brackets
* fix: type TraceTags
* docs: traceTransaction
* chore: transaction->span
* docs: even more docs
* fix: is_widget
2023-03-15 16:39:04 -07:00
Zach Pomerantz
6618135e7d
feat: enable sentry via .env.production ( #6163 )
...
* build: alphabetize
* fix: rm SENTRY_ENABLED as it defaults to false
* feat: enable sentry via .env.production
* test: do not send events from e2e tests
* fix: negation
2023-03-15 11:59:48 -07:00
Jordan Frankfurt
d3085c1f3c
feat: Add BNB Network support ( #6036 )
...
* Support BNB Chain
* Update Interface with BNB Chain
* use SupportedChainId from sdk
* yarn-deduplicate
* add rpc urls
* add support for arbitrum goerli
* add arbitrum_goerli to jsonrpc list
* remove eslint disables
* remove non-existent gql gen Chain type
* fix import issues
* fix test
* Update src/utils/getExplorerLink.ts
Co-authored-by: Tina <59578595+tinaszheng@users.noreply.github.com >
* add quicknode rpc as primary
* bump universal router sdk to support bnb chain
* add correct network name for asset repo indexing
* add v3 smart order router
* yarn-deduplicate --strategy=highest
* let ethersproject stuff update
* remove safety test that is no longer relevant
* update network info link
* fix block explorer stuff, fix light theme
* add subgraph support
* update quicknode rpc
* update the wrapped BNB token symbol to WBNB
* update useStablecoinPrice api to support loading states
* update useStablecoinPrice api to support loading states
* Revert "update useStablecoinPrice api to support loading states"
This reverts commit c1fa6297d0 .
* Revert "update useStablecoinPrice api to support loading states"
This reverts commit 2e703552b5 .
* fix copy and quote token for non-eth networks
* add coingecko bnb list
* fix: design treatment from @infredible for bnb support (#6052 )
merging in current state--can merge again when the rest is ready
* fix info site links
* fix: don't show a price impact warning if the user is (un)wrapping
* finish switching to chains/constants
* fix chainId test
* fred's bnb background colors
* pr feedback from zzmp
* update sdk-core
* remove unused image
* update bnb chain asset url extension
* new addresses
* fix test and patch sdk-core version to use BNB instead of BSC
* checking in this weird schema file--maybe a mistake?
* remove temp file
* fix bases
* fix network bridge alert text color
* fix: widget defaultToken resetting on TDP
---------
Co-authored-by: ILIA.eth <4621066+ilyamk@users.noreply.github.com >
Co-authored-by: Tina <59578595+tinaszheng@users.noreply.github.com >
Co-authored-by: lynn <41491154+lynnshaoyu@users.noreply.github.com >
Co-authored-by: Tina Zheng <tina.s.zheng+github@gmail.com >
Co-authored-by: Eddie Dugan <eddie.dugan@uniswap.org >
2023-03-15 09:00:09 -05:00
Vignesh Mohankumar
813aeda012
feat: use tx formatting for PositionPage cards ( #6142 )
...
* tooltip
* add numberType
* try again
* eslint
* one more
2023-03-14 21:57:13 -04:00
Tina
13d3e75ada
fix: Eth price fetch cache miss and use default fetch policy to remove extra network requests ( #6157 )
2023-03-14 20:43:08 -04:00
github-actions[bot]
8c55c70a1e
chore(i18n): new Crowdin translations ( #6000 )
...
* chore(i18n): synchronize translations from crowdin [skip ci]
* merge in translations
---------
Co-authored-by: Crowdin Bot <support+bot@crowdin.com >
Co-authored-by: Yannie Yip <yannie.yip@uniswap.org >
2023-03-14 18:25:40 -04:00
Charles Bachmeier
18939aa871
feat: Migrate NFT Activity to GraphQL ( #6103 )
...
* add new activity query
* add nftactivity hook and fix query
* converted activity type to accept optionals, hook should return activity type
* single asset activity
* relaystylepagination
* working on local endpoint
* working timestamps
* updated endpoint
* use correct env var
* undo asset testing
* forgot last
* undo more testing
* don't break on null address
* working loading state
* better loading states
* handle marketplace type update
* remove types
* properly format price and reduce redundancy
* handle null price
---------
Co-authored-by: Charles Bachmeier <charlie@genie.xyz >
2023-03-14 14:07:32 -07:00
Tina
bc251230da
fix: Remove block number check for quotes ( #6148 )
...
* remove block number check
* add refetchOnMountOrArgChange
2023-03-14 16:30:31 -04:00
Charles Bachmeier
b0aea5f62a
feat: add infringing collection to blocklist ( #6151 )
...
add infringing collection to blocklist
Co-authored-by: Charles Bachmeier <charlie@genie.xyz >
2023-03-14 13:06:38 -07:00
Jack Short
b963d3b27b
feat: cards v2 ( #6048 )
...
* initial setup
* forgot border
* cta
* rough draft
* adding marketplace container and selector
* removing last sale
* details link
* marketplace icons
* removing hovered
* adding icons
* removing unused exports
* fixing hover
* not linking to details
* linting
* mobile
* moving cards to component
* linting
* profile cards
* deleting cards
* fixing imports
* actually fixing imports
* tryingn to fix linting errors
* disabling module export for this file
* fixing build
* seems to hate uppercase C
* fixing tests
* passing data-testid correctly
* tertiary info
* removing the extra times
* button states
* adjusting tertiary
* pointer-events
* border animation
* variance bug
* cryptopunks
* unavailable for listing
* disabled cta
* set heihgt
* animated slide up
* animation
* badge changes
* shadows
* ran yarn
* removing eslint comment
* removing types and hooks
* removing from cache
* small tweaks
* removing unused tertiary info
* initial comment addressing
* more comments
* translations
* refactoring file structure
* removing trans tag
* reverting to what it prev was
* text-shadow
* eslint ignore
* updating size test
2023-03-14 15:38:39 -04:00
Charles Bachmeier
799edfb493
fix: don't fire off a graphql query on an empty search ( #6152 )
...
don't fire off a graphql query on an empty search
Co-authored-by: Charles Bachmeier <charlie@genie.xyz >
2023-03-14 12:38:13 -07:00
Jordan Frankfurt
1e25436421
feat: injected -> browser wallet w/ icon updates ( #6155 )
...
* feat: injected -> browser wallet w/ icon updates
* update tests
2023-03-14 14:08:49 -05:00
Zach Pomerantz
ee2dc1ee17
feat: pageload performance tracing ( #6146 )
...
* build: add @sentry/tracing
* feat: turn on pageload tracing
* feat: simple trace abstractions
* fix: set sample rate in .env
* fix: rm unused trace
* fix: bump size for new deps
* fix: unnecessary line
2023-03-14 11:39:58 -07:00
cartcrom
4bdef2b601
fix: pricing sources ( #6156 )
...
* Revert "fix: "revert feat: Use ETH based pricing instead of USDC based pricing for quote USD values (#6132 ) (#6150 )"
This reverts commit 645d92185a .
* Revert "fix: Use non-subgraph fields for calculating USD prices on explore and token details pages (#6134 )"
This reverts commit 5c8b45c8e5 .
2023-03-14 14:37:58 -04:00
eddie
acc6b0a740
fix: reset to defaultTokens when chain changes ( #6154 )
2023-03-14 11:18:50 -07:00
Jordan Frankfurt
645d92185a
fix: "revert feat: Use ETH based pricing instead of USDC based pricing for quote USD values ( #6132 ) ( #6150 )
...
* Revert "feat: Use ETH based pricing instead of USDC based pricing for quote USD values (#6132 )"
This reverts commit a8864614c1 .
* revert isLoading api
* fix lint errors
* fix loading state
2023-03-14 13:44:44 -04:00
lynn
145c96caa6
fix: tax promo banner updates ( #6144 )
...
* init
* update unit test
* fix hover states, fix landing pg behavior
* wip
* fix hook
* rename tax service hook
* fix typo
* remove left and right borders on mobile
* fix height of inner container on mobile
2023-03-14 11:50:43 -04:00
cartcrom
c3ae545b68
fix: fetch same tokens for topTokens and sparkline queries ( #6135 )
...
* fix: fetch same tokens for topTokens and sparkline queries
* fix: updated comment
2023-03-13 16:38:39 -04:00
Tina
2a04f0faca
fix: loading states for USD prices ( #6141 )
...
* set loading state in usdc price fetch
* remove console log
* use 100 for polygon
* use 10k for polygon
2023-03-13 15:18:20 -04:00
Zach Pomerantz
1d2d1259e5
fix: set user properties before event properties ( #6143 )
2023-03-13 11:30:58 -07:00
Jordan Frankfurt
10eda002f5
fix: full range lp shortcut ( #6136 )
...
* fix: fix full range LP
* make a dedicated hook for syncing query parameters
* sync full range button to url
* add comment explaining lint rule disable
2023-03-13 12:36:45 -05:00
eddie
b5f665bc6e
fix: allow defaultTokens to reset state in Widget ( #6131 )
...
fix: tdp widget bug
2023-03-13 10:31:15 -07:00
lynn
bf337f2865
fix: fix overflowing lp ui ( #6138 )
...
* fix
* incorporate comments from jordan + tina
2023-03-13 11:47:19 -04:00
Tina
5c8b45c8e5
fix: Use non-subgraph fields for calculating USD prices on explore and token details pages ( #6134 )
...
* use non subgraph fields for querying usd prices
* undefined check
* remove unuecessary logoUrl field
* remove outdated test
* fix: switch recently fetched tokens to token project market & update missing chart message
---------
Co-authored-by: cartcrom <cartergcromer@gmail.com >
2023-03-11 14:01:38 -05:00
Tina
2eb5ff3c5c
fix: USD price for WETH + don't call gql for testnets ( #6133 )
...
fix weth + dont call gql for testnets
2023-03-11 12:04:28 -05:00
Tina
a8864614c1
feat: Use ETH based pricing instead of USDC based pricing for quote USD values ( #6132 )
...
* add eth denominated usd pricing mecanism
* fix usd value change and trade price calculations
* remove console log
* break out 10k into constant
* put back faulty block number check for now - separate PR
* add 1 min poll interval
* use lib/utils/tryParseCurrencyAmount
---------
Co-authored-by: Jordan Frankfurt <jordanwfrankfurt@gmail.com >
2023-03-11 01:53:47 -06:00
Jordan Frankfurt
19d25de1d9
chore: bump dep versions ( #6128 )
...
* chore: bump dep versions
* drop sdk-core
* checkout lock from main, yarn i, dedupe
2023-03-10 19:20:42 -06:00
Vignesh Mohankumar
a9e7c6f560
chore: remove deprecated zustand import ( #6129 )
2023-03-10 18:42:59 -05:00
Vignesh Mohankumar
333c3a289a
fix: check if supported chainId before calling universal-router-sdk ( #6126 )
2023-03-10 16:58:59 -05:00
Vignesh Mohankumar
d06451cb98
refactor: remove universal-router logic in pay with any token flag ( #6127 )
2023-03-10 16:44:41 -05:00
shortcircuit
c1297b2aa3
fix: Use html for linking to tax services ( #6124 )
...
* Use html for linking to tax services
* Add target blank
* styling
* override default styling
---------
Co-authored-by: Lynn Yu <lynn.yu@uniswap.org >
2023-03-10 13:57:48 -05:00
lynn
6ab6f4daa5
fix: Revert "fix: use chain query param properly when activating" ( #6122 )
...
Revert "fix: use `chain` query param properly when activating (#6114 )"
This reverts commit ae559d164a .
2023-03-10 11:32:31 -05:00
Vignesh Mohankumar
ae559d164a
fix: use chain query param properly when activating ( #6114 )
...
* fix: use `chain` query param properly when activating
* move
* Update src/hooks/useSyncChainQuery.ts
Co-authored-by: Jordan Frankfurt <jordanwfrankfurt@gmail.com >
---------
Co-authored-by: Jordan Frankfurt <jordanwfrankfurt@gmail.com >
2023-03-09 22:24:14 -05:00
Zach Pomerantz
a90318cbe9
fix: update test-size ( #6118 )
...
* fix: update test-size
* fix: update main size
2023-03-09 14:49:39 -08:00
Zach Pomerantz
93cf4b358e
build: ignore types and hooks and update test-size ( #6117 )
...
build: gitignore types and hooks
2023-03-09 14:27:46 -08:00
Vignesh Mohankumar
ad8aff0b90
chore: update graphql types ( #6115 )
2023-03-09 16:50:14 -05:00
lynn
8757e413bb
feat: tax service toast + modal ( #6101 )
...
* working
* unused export
* remove fiat on ramp toast
* design feedback tweaks
* add test + final design tweaks from fred
* add back fiat on ramp modal
* temp
* remove temp
* remove fiat on ramp stuff
* add back modal
* remove fiat on ramp ack from reducer
* respond to jordan
* mobile full width
* add feature flag
* fixes
* TESTING FEATURE FLAG
* testing w blair
* add stat sig server to prod env
* testing stat sig, wait for initialization
* revert stat sig testing stuff
* fix
2023-03-09 14:19:45 -05:00
Vignesh Mohankumar
78ac7650ee
fix: remove full range warning in AddLiquidity ( #6113 )
...
* fix: remove full range warning in AddLiquidity
* rm button yellow
2023-03-09 13:59:03 -05:00
Jordan Frankfurt
f3e9b513ba
fix: dont fetch a route for wrap transactions ( #6102 )
...
* fix: dont fetch a route for wrap transactions
* refactor logic into useBestTrade
* add mock for useWeb3React
* remove unnecessary diff
* fix tests
* Update src/hooks/useBestTrade.ts
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org >
* Update src/hooks/useBestTrade.ts
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org >
* remove unnecessary wethContract reference
---------
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org >
2023-03-09 11:16:33 -06:00
Annie Ke
412a10e0d9
fix: change optimism goerli addresses to actual deploy ( #5542 )
...
* fix: change optimism goerli addresses to actual deploy
* Update addresses.ts
---------
Co-authored-by: Vignesh Mohankumar <me@vig.xyz >
2023-03-09 11:56:15 -05:00
Jesse
411b690ae4
chore: update Celo logo with new version ( #6111 )
...
Update Celo logo SVG with new version
2023-03-09 11:38:34 -05:00
Tina
b721824c7f
feat: Add USD amounts to swap analytics ( #6108 )
2023-03-09 10:07:46 -05:00
Charles Bachmeier
2451a5c9ec
chore: Remove limit from topCollections query ( #6104 )
...
the limit does not exist
Co-authored-by: Charles Bachmeier <charlie@genie.xyz >
2023-03-08 17:19:44 -08:00
eddie
d62dd585ea
feat: upgrade widget again ( #6106 )
2023-03-08 15:43:44 -08:00
Zach Pomerantz
6ba3c6cf93
chore: group third-party initializations ( #6097 )
...
* chore: clean up 3P initialization
* chore: integrations
2023-03-08 13:45:04 -08:00
Charles Bachmeier
e069ba1153
feat: NFT Collection Search via GraphQL ( #6081 )
...
* add new search query and formatting helper fn
* working search
* skip gql search if not enabled
* minimize query
---------
Co-authored-by: Charles Bachmeier <charlie@genie.xyz >
2023-03-08 10:34:53 -08:00
Mike Grabowski
4ebc467c58
feat: implement Sentry for state tracking ( #6015 )
...
* feat: add sentry middleware
* chore: remove file
* chore: reorg
* chore: update txt
* chore: fix types
* chore
* chore: normalize
* add todo
* Update src/state/logging.ts
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org >
* Update src/state/logging.ts
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org >
* chore: update type
* nits
---------
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org >
2023-03-08 12:28:40 +04:00
Vignesh Mohankumar
7b7e4e61d2
chore: derive SupportedChainId from sdk-core ( #6091 )
...
* chore: derrive SupportedChainId from sdk-core
* fix
* fix more types
* wip
* Revert "wip"
This reverts commit dccd83f6ac .
* Revert "fix more types"
This reverts commit 4f11b5a10c .
* fix: use literal enum for derived types
* Update src/components/NetworkAlert/NetworkAlert.tsx
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org >
---------
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org >
2023-03-07 20:19:06 -05:00
Vignesh Mohankumar
e8936f500b
chore: upgrade widgets ( #6099 )
2023-03-07 20:18:55 -05:00
Charles Bachmeier
3d8a5ed6fe
feat: Support listing to Seaport v1.4 ( #6094 )
...
* upgrade seaport
* working 1.4 listing
* update OS fee to 0%
* update zone to null addr
* update var name
* rounding bug
* unused exports
---------
Co-authored-by: Charles Bachmeier <charlie@genie.xyz >
2023-03-07 16:34:38 -08:00
eddie
c3d2c43861
fix: unsupported chain bugs ( #6098 )
...
* feat: upgrade widget again
* fix: verify chainId is supported
2023-03-07 16:02:06 -08:00
Zach Pomerantz
de5816e573
feat: export window.GIT_COMMIT_HASH ( #6080 )
2023-03-07 13:54:59 -08:00
eddie
5a2f81c4bf
fix: show error message when token is not found ( #6057 )
...
* fix: show error message when token is not found
* fix: make onContinue optional
2023-03-07 13:04:51 -08:00
eddie
c34742c23b
chore: add reviewers to dependabot PRs ( #6095 )
...
* chore: add reviewers to dependabot PRs
* chore: update dependabot reviewers to team
* fix: remove web tokens
* Update .github/dependabot.yml
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org >
---------
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org >
2023-03-07 12:45:36 -08:00
Vignesh Mohankumar
6225462645
chore: upgrade web3-react, zustand ( #6090 )
...
fix
2023-03-07 15:31:41 -05:00
eddie
c21b9379fd
feat: add Peer Wallet Name to WALLET_CONNECT_TXN_COMPLETED event ( #6084 )
...
* feat: add Peer Wallet Name to WALLET_CONNECT_TXN_COMPLETED event
* fix: yarn dedup
* feat: use agent instead of name
* fix: rename name to agent
2023-03-07 10:48:49 -08:00
Vignesh Mohankumar
1610356a18
fix: Revert "fix: deep link by swapping sooner after user interaction" ( #6092 )
...
Revert "fix: deep link by swapping sooner after user interaction (#6073 )"
This reverts commit 3eeb467266 .
2023-03-07 13:29:10 -05:00
Jack Short
1b8cee7e87
fix: react router updated appropriate fix ( #6086 )
2023-03-07 13:05:54 -05:00
Zach Pomerantz
a7c6ce499d
test: enforce package size ( #4098 )
...
* build: use fewer babel versions
* build: dedup
* test: test deps dedups
* fix: test.yml
* fix: typo
* test: failing
* fix: dedup
* fix: dedup
* test: comment dedup tests
* chore: whitespace
* test: package size
* build: scripts
* test: update test-size
* docs: CONTRIBUTING
2023-03-07 09:27:20 -08:00
Charles Bachmeier
e9fc55550d
fix: Revert "chore: upgrade web3-react, widgets" ( #6085 )
...
Revert "chore: upgrade web3-react, widgets (#6077 )"
This reverts commit 521b9b8e52 .
2023-03-06 18:44:08 -08:00
Zach Pomerantz
3eeb467266
fix: deep link by swapping sooner after user interaction ( #6073 )
...
* build: conedison@1.5
* fix: use conedison/sendTransaction when able
* build: dedup
* build: upgrade conedison again
* build: deduplicate
* fix: nits
2023-03-06 15:14:47 -08:00
Vignesh Mohankumar
585d67c44a
refactor: always enable permit2 ( #6068 )
...
* refactor: always enable permit2
* rm from modal
* one more
* rm
* more
* more
* more
* rm useswapcallback
* rm useapprovecallback
* unused hooks
* unused hooks
* rm
* lint
2023-03-06 18:07:19 -05:00
Vignesh Mohankumar
521b9b8e52
chore: upgrade web3-react, widgets ( #6077 )
...
* fix: support permit2 in gnosis safe apps
* package
* rm qr code
* 8.1.1
* revert
* update widgets
2023-03-06 16:56:40 -05:00
Mike Grabowski
cba1b83cd6
fix: focus issues with WalletConnect modal ( #6060 )
...
* Update index.tsx
* Update index.tsx
* add type
* chore: fix lint
2023-03-07 01:07:08 +04:00
Vignesh Mohankumar
498d4bf667
chore: remove unused assets ( #5738 )
2023-03-06 15:05:46 -05:00
eddie
34bed922ab
feat: upgrade widget again ( #6079 )
2023-03-06 11:42:28 -08:00
eddie
b026db3db3
test: fix url param in tests ( #6072 )
2023-03-06 10:14:26 -08:00
eddie
912eb82971
feat: setup widget integration update ( #6045 )
...
* feat: setup widget integration update
* feat: preview of widget token selector
* feat: upgrade widget again for token selector
* fix: add back legacy token selector
* fix: token
* fix: upgrade again
* fix: tooltip bug
* fix: for real
* fix: updates
2023-03-06 10:03:37 -08:00
gzeon
2ddf3fe6bd
feat: add arbitrum goerli ( #5457 )
...
* chore: add ARBITRUM_GOERLI
* chore: add arb goerli custom deployment
* fix: typo
* chore: add arbitrum goerli rpc
* fix: add rpc url for arb goerli
* chore: update providers.ts
* fix: arb goerli everywhere
* fix: declare ARBITRUM_GOERLI as testnet
* chore: add ARBITRUM_GOERLI to theme
* Merge remote-tracking branch 'upstream/main'
* chore: add todos
* fix: patch router
* fix: use bridged goerli usdc
* chore: remove patch
* feat: add usdc to arb goerli default
* chore: bump smart-order-router to 3.4.0
* fix: yarn-deduplicate
* chore: bump sdk-core to 3.1.1
* revert: smart-order-router 2.10.0
* Revert "chore: remove patch"
This reverts commit 84311c1828 .
* fix: remove debug log in patch file
* fix: use bridged official Goerli USDC in patch
* fix: revert unnecessary change to yarn.lock
* fix: yarn yarn-deduplicate
* docs: fix comments
* remove patch
* rm rink
* link
---------
Co-authored-by: Vignesh Mohankumar <me@vig.xyz >
2023-03-03 20:29:49 -05:00
Vignesh Mohankumar
79ad611e79
fix: remove $ in hexlified string ( #6075 )
...
* fix
* Update cypress/support/ethereum.ts
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org >
---------
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org >
2023-03-03 20:09:36 -05:00
Zach Pomerantz
e6d0d96ce4
fix: omit gas estimation from token.approve ( #6069 )
2023-03-03 15:01:34 -08:00
Vignesh Mohankumar
dcb660d052
refactor: variable for goerli in test ( #6066 )
2023-03-03 17:45:06 -05:00
Vignesh Mohankumar
1f0b8ffaf0
test: disable /send redirect test temporarily ( #6070 )
2023-03-03 17:42:56 -05:00
Vignesh Mohankumar
c59b3d7d88
build: upgrade sdk-core ( #6065 )
...
upgrade
2023-03-03 16:09:35 -05:00
Zach Pomerantz
513c90723b
build: upgrade ethers@5.7.2, smart-order-router@3.6.0, widgets@2.43.2 ( #5958 )
...
* build: upgrade ethers@5.7.2
* fix: use namehash directly
* fix: TS7030
* build: upgrade widgets version and smart-order-router (#6053 )
* upgrade widgets
* build: dedup router packages
---------
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org >
* chore: remove deprecated chains (#6054 )
* start
* more
* more
* more
* use SupportedChainId from sdk
* add support for arbitrum goerli
* add arbitrum_goerli to jsonrpc list
* local sdk-core
* Revert "add arbitrum_goerli to jsonrpc list"
This reverts commit 51b29764f5 .
* add local chain ids
* Revert "add support for arbitrum goerli"
This reverts commit 46cdd15543 .
* rm arb goerli in supported chain ids
* autofix
* fix import
* fix import
* fix import
* move back down for sdk-core
* use the supportedchainid
* add-types
* comment
---------
Co-authored-by: Jordan Frankfurt <jordanwfrankfurt@gmail.com >
* combine
---------
Co-authored-by: Vignesh Mohankumar <vignesh@vigneshmohankumar.com >
Co-authored-by: Vignesh Mohankumar <me@vig.xyz >
Co-authored-by: Jordan Frankfurt <jordanwfrankfurt@gmail.com >
2023-03-03 15:18:42 -05:00
eddie
ef388e17d5
test: e2e tsts for goerli ( #6063 )
...
* fix: e2e tsts for goerli
* fix: test
2023-03-03 14:20:41 -05:00
Marcus Milton-Ellis
e2f5041707
refactor: Improve A11y ( #5913 )
...
* Imporove a11y
* fix cypress test
* Add translations to labels
2023-03-03 10:42:59 -08:00
Jordan Frankfurt
ac8d294ef6
fix: don't show a price impact warning if the user is (un)wrapping ( #6059 )
2023-03-03 13:04:14 -05:00
Zach Pomerantz
2df0ca178c
build: fix vanilla-extract for M1 ( #6058 )
2023-03-03 09:56:33 -08:00
Jordan Frankfurt
02c970a077
chore: update types to match schema changes ( #6062 )
2023-03-03 12:10:19 -05:00
cartcrom
a965c3792b
feat: Unicons ✨ ( #6061 )
...
* feat: unicons
* fix: linted
* fix: deduplicate
2023-03-03 11:30:51 -05:00
Charles Bachmeier
e8c689e1d4
feat: Migrate trending nfts endpoint to graphql ( #6049 )
...
* defined useTrendingCollections hook and made fields optional
* working trending collections table
* add gql file
* add gql to search suggestions and handle floor wei vs eth
* gql carousel
* fontWeight typo and skip if flag disabled
---------
Co-authored-by: Charles Bachmeier <charlie@genie.xyz >
2023-03-01 16:18:17 -08:00
cartcrom
70cd7272a1
fix: hide missing % changes/prices ( #6046 )
2023-03-01 10:23:06 -05:00
Jack Short
2b5769ac86
chore: removing VE from cards ( #6038 )
...
* moving cards to styled components
* converting rows to styled components
* image
* finished images
* handling all media
* removed VE from cards
* no content colors
* removing aspect ratio calc
* responding to all comments
2023-02-28 16:49:51 -05:00
Charles Bachmeier
b811afd134
feat: add new statsig backed feature flag for nft graphql migration ( #6044 )
...
* NFT-1113 add new statsig backed feature flag for nft graphql migration
* remove comment
---------
Co-authored-by: Charles Bachmeier <charlie@genie.xyz >
2023-02-28 13:38:10 -08:00
Charles Bachmeier
6131e6bfab
chore: Cleanup and refactor significant portion of listing logic ( #6042 )
...
* NFT-91 move listing mode to shared
* move expiration setting out of useEffect
* simplify price input color logic
* unused boolean
* simplify removal of local listing market
* handle global same pricing
* undo local market change
* added comment
* undo expiration changes
* remove old listing state logic
* formatting
* small cleanup
* cleanup
* deprecate global listing state
* use stablecoin values
* remove unused pausing functionality
* remove unused pausing functionality
* remove unused warning logic
* remove unused royalty field
* use royalty helper fn
* simplify global vs normal price input
* simplified price setting logic
* price inputs need to respond to global price method changes
* slight simplifcations
* move dynamic price logic to hook
* move utils file
* move enum to shared
* only usdc check
---------
Co-authored-by: Charles Bachmeier <charlie@genie.xyz >
2023-02-28 11:47:22 -08:00
Vignesh Mohankumar
5979635939
chore: update coinbase-wallet sdk ( #6037 )
2023-02-27 17:18:21 -05:00
dependabot[bot]
5399bdb550
chore(deps): bump @uniswap/widgets from 2.39.0 to 2.40.0 ( #6032 )
...
Bumps [@uniswap/widgets](https://github.com/Uniswap/widgets ) from 2.39.0 to 2.40.0.
- [Release notes](https://github.com/Uniswap/widgets/releases )
- [Changelog](https://github.com/Uniswap/widgets/blob/main/.releaserc.json )
- [Commits](https://github.com/Uniswap/widgets/compare/v2.39.0...v2.40.0 )
---
updated-dependencies:
- dependency-name: "@uniswap/widgets"
dependency-type: direct:production
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-02-27 15:01:55 -05:00
Charles Bachmeier
1df9da9eff
chore: Refactor ListingButton with deprecation of Listing V1 ( #6023 )
...
* remove unused wrapper
* remove old listing modal
* simplify button styling
* deprecate outdated listing logic and move button to styled components
* remove unused linting protection
* remove unused functions from sellAssets hook
* undo and save this refactor for different PR
* remove more unused items
* hook dependencies
* more trash cleanup
* styled continue button
* slight continue button tweaks
* cleanup
* add new standard hover state
* no mixed conditionals
* lint
---------
Co-authored-by: Charles Bachmeier <charlie@genie.xyz >
2023-02-27 10:42:30 -08:00
Jordan Frankfurt
b1e6d0ab7a
chore: schema changed gen types ( #6033 )
...
schema changed gen types
2023-02-27 13:03:20 -05:00
eddie
a7fcbb4cfc
revert: dont hideConnectionUI for widget ( #6030 )
...
Revert "fix: dont hideConnectionUI for widget (#6010 )"
This reverts commit c18522159b .
2023-02-27 09:18:47 -08:00
Moody Salem
a5a6a037e5
ci: references to old id upload ( #6034 )
...
fix: references to old id `upload`
`upload` seems to have been changed to `pinata`
2023-02-27 09:09:50 -08:00
Andrew MacPherson
8bfebd37a2
Updating .env.production file to also include the same comment as .env about reporting these public API keys
2023-02-27 10:00:22 -05:00
Vignesh Mohankumar
4029819090
chore: update widget ( #6029 )
2023-02-24 17:27:08 -05:00
Vignesh Mohankumar
021ae5e74e
fix: reset tokens, amounts when switching chains ( #6026 )
...
* fix: reset tokens when switching chains on widget
* clear amounts
2023-02-24 16:35:53 -05:00
eddie
2b9720705f
feat: log errors on swap page ( #6008 )
...
* feat: log error from widget
* fix: upgrade analytics
* feat: add swap error to main Error Boundary too
2023-02-24 12:09:41 -08:00
blairmason
8f1ea32e5e
feat: config statsig init to use reverse proxy ( #6018 )
...
* config statsig init to use reverse proxy
* formatting fixes
* update statsig proxy endpoints to prod url
2023-02-24 09:28:01 -08:00
eddie
23acb3b395
feat: add statsig feature gate for widget ( #6011 )
...
* feat: add statsig feature gate for widget
* feat: move statsig check into featureFlag infra
* fix: move statsig check deeper into feature flag code
* Update src/featureFlags/flags/featureFlags.ts
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org >
* Update src/featureFlags/flags/dummyFeatureGate.ts
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org >
---------
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org >
2023-02-23 12:47:26 -08:00
Charles Bachmeier
772416cc7a
feat: add collection blocklist for ip infringement ( #6022 )
...
Co-authored-by: Charles Bachmeier <charlie@genie.xyz >
2023-02-23 10:44:27 -08:00
Jordan Frankfurt
f15e5725f1
fix: token list load issue WEB-2083 ( #6019 )
2023-02-22 22:24:30 -06:00
Jordan Frankfurt
83c8393f19
fix: back arrow from migration should take you to v3 pool page ( #6020 )
2023-02-22 22:24:22 -06:00
Jack Short
1348eb3322
fix: token selector correct zIndex on mobile for pwat ( #6017 )
2023-02-22 20:43:35 -05:00
eddie
a2271ba428
fix: widget defaultChainId ( #6012 )
2023-02-22 14:14:12 -08:00
Charles Bachmeier
1845cb3b7b
chore: remove listv2 feature flag ( #6009 )
...
* remove listv2 feature flag
* no longer used styles and icons
* missed one
---------
Co-authored-by: Charles Bachmeier <charlie@genie.xyz >
2023-02-22 09:43:39 -08:00
Jordan Frankfurt
6a02bde8e0
fix: darkmode FoR iframe wrapper background color ( #5993 )
...
* fix: darkmode FoR iframe wrapper background color
* pr feedback
2023-02-22 10:38:52 -06:00
eddie
c18522159b
fix: dont hideConnectionUI for widget ( #6010 )
2023-02-22 09:23:56 -06:00
Jack Short
5ea7b1de3f
feat: enable pay with any token ( #6002 )
2023-02-22 08:25:09 -05:00
Charles Bachmeier
6efe8f3260
feat: [ListV2] Several Small Polish Changes ( #5998 )
...
* NFT-1075 update floor and last price to use body primary
* NFT-1080 update image thumbnail size and adjusted row accordingly
* NFT-1081 force page refresh on success screen
* NFT-1089 update same price icons
* NFT-1082 show warning colors over focus
* remove unused state var
* replace margin with padding for sticky header
* NFT-1109 properly calc if listing date is over 6mo
* NFT-1076 change listing button text to light and mobile profile bar to backgroundSurface
* NFT-1079 persist row data when listing to multiple markets
* perf improvement
---------
Co-authored-by: Charles Bachmeier <charlie@genie.xyz >
2023-02-21 13:56:26 -08:00
lynn
9ac28a4571
fix: token selector scroll margin ( #6005 )
...
* fix
* update tests
* remove gql file
* fix breakng snapshot
2023-02-21 16:40:36 -05:00
eddie
bde1421ffb
fix: use ipfs token list as fallback for unsupported list ( #6007 )
2023-02-21 12:55:40 -08:00
eddie
3dceb45d9e
fix: use ipfs token list temporarily ( #6006 )
...
fix: use ipfs token list as fallback
2023-02-21 12:19:39 -08:00
Jack Short
7b589561bc
fix: not using stablecoin to calc price impact pwat ( #5997 )
...
* feat: implementing graphql endpoint
* changing from hook to function call
* initial gql routing works
* feat: initial pwatRouting setup
* sending correct amount
* removing console
* it is working
* sufficient balance
* 0 if no inputCurrency
* removing value to send if erc20
* removing console
* permit2 optional flag
* removing not necessary stuff
* mobile fixes
* overlay needs to be here
* changing swap amount to pool reserves
* refactoring routing logic
* no route found button state
* better price loading for insufficient liquidity
* refactoring graphql routing code
* overflow
* initial comments
* resetting bag status on input currency change
* locking
* done
* remove helper text for eth
* fix: pay with any token routing bug
* reordering button
* zindex
* price updated
* keeping debounce
* feat: adding amplitude events for pwat
* bumping analytics version
* types and hooks
* moving erc20 flag to useSendTransaction
* why did i put it in a hook
* no return
* fix: not using usdc value to calculate price impact
* refactor + loading state
2023-02-21 12:55:35 -05:00
eddie
c9d3dc36b8
feat: introduce statsig and expose dummy feature gate ( #5974 )
...
* feat: introduce statsig and expose dummy feature gate
* feat: use the flag for different copy
* feat: use amplitude user ID
* fix: lock file
* feat: upgrade analytics package
* fix: update snapshots
* fix: unit test snapshot
* fix: fix tests and value check
* feat: switch user ID to device ID
* fix: move statsig wrapper
* fix: move statsig wrapper
* fix: e2e tests
* fix: e2e tests
* fix: env var
* fix: env var
* fix: try testEnv
* fix: undo last commit
* fix: e2e tests
* fix: typo
* fix: dont wait for init
* wip
* fix: undo wip change
2023-02-17 17:42:57 -08:00
eddie
ef4d8fc269
fix: change e2e test language ( #5999 )
2023-02-17 17:29:59 -08:00
Jack Short
ff9cc5cb69
feat: pwat amp events ( #5991 )
...
* feat: implementing graphql endpoint
* changing from hook to function call
* initial gql routing works
* feat: initial pwatRouting setup
* sending correct amount
* removing console
* it is working
* sufficient balance
* 0 if no inputCurrency
* removing value to send if erc20
* removing console
* permit2 optional flag
* removing not necessary stuff
* mobile fixes
* overlay needs to be here
* changing swap amount to pool reserves
* refactoring routing logic
* no route found button state
* better price loading for insufficient liquidity
* refactoring graphql routing code
* overflow
* initial comments
* resetting bag status on input currency change
* locking
* done
* remove helper text for eth
* fix: pay with any token routing bug
* reordering button
* zindex
* price updated
* keeping debounce
* feat: adding amplitude events for pwat
* bumping analytics version
* types and hooks
* moving erc20 flag to useSendTransaction
* why did i put it in a hook
* no return
2023-02-17 16:26:57 -05:00
lynn
719fd524ed
fix: update user rejected txn errors to stay up to date with widget ( #5996 )
...
init
2023-02-17 16:03:26 -05:00
github-actions[bot]
f15dd1e61e
chore(i18n): new Crowdin translations ( #5855 )
...
chore(i18n): synchronize translations from crowdin [skip ci]
Co-authored-by: Crowdin Bot <support+bot@crowdin.com >
2023-02-17 11:12:47 -05:00
Jack Short
8c372c6142
fix: fixing pwat routing edge case ( #5987 )
...
* feat: implementing graphql endpoint
* changing from hook to function call
* initial gql routing works
* feat: initial pwatRouting setup
* sending correct amount
* removing console
* it is working
* sufficient balance
* 0 if no inputCurrency
* removing value to send if erc20
* removing console
* permit2 optional flag
* removing not necessary stuff
* mobile fixes
* overlay needs to be here
* changing swap amount to pool reserves
* refactoring routing logic
* no route found button state
* better price loading for insufficient liquidity
* refactoring graphql routing code
* overflow
* initial comments
* resetting bag status on input currency change
* locking
* done
* remove helper text for eth
* fix: pay with any token routing bug
* reordering button
* zindex
* price updated
* keeping debounce
2023-02-16 18:46:42 -05:00
Charles Bachmeier
8c0998bd59
feat: [ListV2] Updated page responsiveness and breakpoints ( #5972 )
...
* updated responsiveness for grid
* add sell nfts back header
* input responsiveness
* lint
* remove shrink property
---------
Co-authored-by: Charles Bachmeier <charlie@genie.xyz >
2023-02-16 14:23:26 -08:00
Charles Bachmeier
ad3a4ea808
feat: [ListV2] Proceeds bar polish ( #5966 )
...
* update nft info row height
* update proceeds styling
* update text
* move issues to hook
* update br padding
* mobile bar padding
* fix bug where no expiration wouldn't create issue
* build issue
* update bar padding
* reorganize statement
---------
Co-authored-by: Charles Bachmeier <charlie@genie.xyz >
2023-02-16 14:22:54 -08:00
Charles Bachmeier
d30c5173f5
feat: [ListV2] Dropdown and Modal Polish ( #5990 )
...
* update market dropdown border and shadow
* duration modal polish
* update twitter button text color
* reduce height of durection switcher
* NFT-1074 update approval modal text styling
---------
Co-authored-by: Charles Bachmeier <charlie@genie.xyz >
2023-02-16 14:02:33 -08:00
Jordan Frankfurt
689100afa2
feat: support moonpay iframe theme ( #5986 )
...
* feat: support moonpay iframe theme
* move theme param to body
2023-02-16 14:52:48 -06:00
Charles Bachmeier
d546ffec1c
fix: Market icons displaying over dropdown ( #5989 )
...
* remove correct market
* fix market icons displaying overtooltip
---------
Co-authored-by: Charles Bachmeier <charlie@genie.xyz >
2023-02-16 12:11:51 -08:00
Jordan Frankfurt
4a72d8835c
chore: remove FoR feature flag ( #5985 )
...
remove feature flag
2023-02-16 13:02:02 -06:00
eddie
19c6023601
fix: remove gap on tdp bottom bar ( #5973 )
...
* fix: remove gap on tdp bottom bar
* fix: adjust bottom and border
2023-02-16 08:43:19 -08:00
Jordan Frankfurt
a4a954c8af
fix: update subgraph query to actually fetch all tick data ( #5982 )
2023-02-15 20:50:36 -06:00
Charles Bachmeier
82dcdcec55
feat: [ListV2] Updated fee tooltip style ( #5976 )
...
* updated tooltip style
* never forget your colon
---------
Co-authored-by: Charles Bachmeier <charlie@genie.xyz >
2023-02-15 14:35:07 -08:00
Jack Short
27e20d7230
feat: pay with any token routing ( #5959 )
...
* feat: implementing graphql endpoint
* changing from hook to function call
* initial gql routing works
* feat: initial pwatRouting setup
* sending correct amount
* removing console
* it is working
* sufficient balance
* 0 if no inputCurrency
* removing value to send if erc20
* removing console
* permit2 optional flag
* removing not necessary stuff
* mobile fixes
* overlay needs to be here
* changing swap amount to pool reserves
* refactoring routing logic
* no route found button state
* better price loading for insufficient liquidity
* refactoring graphql routing code
* overflow
* initial comments
* resetting bag status on input currency change
* locking
* done
* remove helper text for eth
2023-02-15 16:59:17 -05:00
eddie
95eafbab7d
fix: wait for page to load in e2e tests ( #5983 )
...
* fix: make FoR announcement click optional in e2e tests
* fix: optional chaining
* fix: build error
* fix: wait for page to load
2023-02-15 13:55:35 -08:00
Jordan Frankfurt
639fe2f73b
fix: add default case to switch ( #5984 )
2023-02-15 13:55:42 -06:00
Vignesh Mohankumar
72cd27f045
fix: allow signing with smart contract wallets ( #5970 )
...
* chore: upgrade universal-router-sdk
* dedupe
* update widgets
* empty
2023-02-15 11:30:09 -05:00
eddie
4e64c0e88f
fix: round corners of CurrencySearch ( #5969 )
2023-02-14 15:17:54 -08:00
Charles Bachmeier
fda28d9be3
fix: Mixed success modal wrapping ( #5967 )
...
fix mixed success wrapping
Co-authored-by: Charles Bachmeier <charlie@genie.xyz >
2023-02-14 14:19:45 -08:00
cartcrom
bc92af6c15
fix: use latest version of tokenlists over cache ( #5975 )
...
fix: use constants in fetch interval callback to prevent updates
2023-02-14 15:48:53 -05:00
lynn
9a257e0ca8
fix: correct copy on TVL ( #5968 )
...
fix copy
2023-02-13 19:28:00 -05:00
cartcrom
82646b77dd
feat: migrate search tokens to gql ( #5802 )
...
* init
* feat: search tokens hook
* feat: search ordering
* feat: separated FungibleToken parsing into sep function
* refactor: memoized search token sorting
* fix: cache waterfall issue
* fix: removed no longer relevant test
* feat: trending tokens from gql (#5805 )
* feat: trending tokens from gql
* fix: reverted out-of-scope change
* refactor: remove trendingTokensFetcher
* fix: linted
* fix: removed fetch policy overrides
* fix: loading state cache
* fix: unwrap native trending tokens
* feat: refetch recently searched (#5894 )
* feat: trending tokens from gql
* fix: reverted out-of-scope change
* refactor: remove trendingTokensFetcher
* feat: recently searched tokens query
* fix: linted
* feat: combined query function
* feat: recently searched hooks
* feat: combined query
* fix: removed fetch policy overrides
* fix: loading state cache
* fix: empty history loading state
* fix: revert change
* fix: revert unintended nft query change
* refactor: state functions
* fix: removed unnused query var
* fix: unwrap native trending tokens
* feat: remove fungible token type (#5896 )
* feat: trending tokens from gql
* fix: reverted out-of-scope change
* refactor: remove trendingTokensFetcher
* feat: recently searched tokens query
* fix: linted
* feat: combined query function
* feat: recently searched hooks
* feat: combined query
* fix: removed fetch policy overrides
* fix: loading state cache
* fix: empty history loading state
* fix: revert change
* fix: revert unintended nft query change
* refactor: state functions
* fix: removed unnused query var
* refactor: remove FungibleToken type
* refactor: use TokenStandard.Native instead of string
* refactor: improve boolean logic readability
* refactor: removed duplicate code
* fix: unwrap native trending tokens
* fix: type error
* fix: duplicate entry bug
* refactor: use undefined instead of null/string cast
* fix: update apollo types
* fix: polygon edge case & polish
2023-02-13 18:45:13 -05:00
Jordan Frankfurt
1992c5de06
fix: don't render LP position when token name or symbol includes a url ( #5961 )
2023-02-13 13:45:08 -06:00
Charles Bachmeier
0208ccd7d2
feat: [ListV2] Changes to Multiple Market handling and row hovering ( #5953 )
...
* add overlay to row hover
* add remove icon on hover
* working expand and collapse icons
* fixed margin
* don't show collpase on nonhovered rows
* display mutliple markets
* remove market
* 0 margin divider
* hide on mobile
* better mobile check
* margin adjustment and hover border radius
* address comments
---------
Co-authored-by: Charles Bachmeier <charlie@genie.xyz >
2023-02-09 11:58:59 -08:00
Jordan Frankfurt
12df4b3981
fix: update some urls to match current page structure ( #5957 )
2023-02-09 13:35:12 -06:00
Jack Short
3eaeb65b07
feat: implementing permit2 with pay with any token ( #5926 )
...
* feat: implementing permit2 with pay with any token
* permit2 hook
* usePayWithAnyTokenHook
* removing ternary operators
* weird export type bug
* resolving merge
* fixing nft test
* styles
* refactoring styles
* reformatting
* price impact warnings
* forgot trans tag
* responding to comments
* fixes
* disabling pay with any token when on the wrong chain
* missing enabled flag
* vertically centering button
2023-02-09 13:41:30 -05:00
Jordan Frankfurt
6df2f3677e
fix: use general sort rank instead of only volume rank for row numbers ( #5955 )
2023-02-09 12:37:13 -06:00
lynn
80edf5a0d6
fix: follow custom design for token selector scrollbar ( #5952 )
...
* fix
* remove unused styled component
* update snapshot
* disable scroll on larger currency search modal
* update snapshot
2023-02-09 13:17:58 -05:00