Zach Pomerantz
ec547ab100
build: upgrade to webpack 5 ( #6459 )
...
* fix: import default from json
* fix: fallback to path-browserify
* build: upgrade to webpack5
* test: update size-tests to reflect single entry
* test: increase service-worker timeout
* docs: improve comments
* build: rm MiniCssExtract workaround
* docs: even better comments
* test: back out longer test
* build: vendor chunk
* test: increase sw timeout
* fix: justified splitChunks config
* better explanation
* fix: longer timeout
* fix: caching
* merge and rm duplication
* build
2023-05-12 12:55:01 -07:00
Charles Bachmeier
9de76c69ae
feat: [DetailsV2] Data Page Header ( #6549 )
...
* hide header on mobile
* add buy and offer buttons, thumbnail, text
* handle no sell orders and add tests
* rehide on mobile
* breakpoint optimizations
* design feedback
---------
Co-authored-by: Charles Bachmeier <charlie@genie.xyz >
2023-05-12 14:48:26 -04:00
Charles Bachmeier
85d1b90197
feat: [DetailsV2] Mobile support for traits ( #6535 )
...
Co-authored-by: Charles Bachmeier <charlie@genie.xyz >
2023-05-12 13:39:31 -04:00
lavalamp
38af86e1bb
ci: More CI pipeline fixes ( #6550 )
...
Move git config
2023-05-12 10:03:45 -07:00
Zach Pomerantz
11a8df2a3e
build: report test failures via Slack ( #6539 )
...
* build: report test failures
2023-05-12 09:19:20 -07:00
Vignesh Mohankumar
3726b6bb47
fix: remove top-level Fragment ( #6540 )
2023-05-12 11:19:52 -04:00
Vignesh Mohankumar
bfde34c774
refactor: moves retry helper to subfolder ( #6531 )
2023-05-12 11:08:14 -04:00
Tina
bd8113d018
chore: Goodbye widget :( ( #6543 )
...
* goodbye widget :(
* remove unused function
* modify trace tests
* fix lint
* is github down?
2023-05-12 11:05:22 -04:00
lavalamp
14e3ef044e
ci: CI pipeline fixes for merge issues ( #6529 )
...
* CI fixes
* update text content
* Change PR to force push
* releases environment for prod deploy
* add runs-on
* Rename third step
* Update .github/workflows/1-main-to-staging.yml
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org >
* Update .github/workflows/1-main-to-staging.yml
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org >
* nits
---------
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org >
2023-05-12 08:30:30 -04:00
Vignesh Mohankumar
4fc4bdcd55
fix: propagates user rejection errors ( #6533 )
2023-05-11 19:40:02 -04:00
Zach Pomerantz
3733570a89
build: update workflow owners ( #6537 )
2023-05-11 14:24:52 -07:00
Tina
7a042a5199
chore: Replace widget skeleton with internal swap skeleton ( #6524 )
...
* replace widget skeleton with internal version
* remove unuecessary div wrappers
* add snapshot test
* forgot to commit this file earlier
* remove exports
* revert(e2e): waitForAnimations
* convert values to px, refactor a bit to use flex gap instead of padding
* remove unnecessary props
* update snapshot test
---------
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org >
2023-05-11 16:58:35 -04:00
Jordan Frankfurt
6d5e17a6e7
fix: deduplicate remote and local tx lists ( #6438 )
...
* fix: deduplicate remote and local tx lists
* add nonce to local transactions
* removes local transactions that have nonces that are duplicates of remote transactions
* add e2e test
* lint fix
* fix types in test
* use supported chain id for reducer tests
* use getReceipt to remove outdated transactions via existing polling setup
* pr nits from cmcewen
* fix lint
* fix test
2023-05-11 13:16:18 -05:00
Jack Short
8301c5892c
chore: removing token type check from routing ( #6536 )
2023-05-11 13:37:28 -04:00
Vignesh Mohankumar
59b757dda0
fix: disables CMC list temporarily ( #6532 )
...
* fix: disables CMC list temporarily
* -
2023-05-10 20:32:43 -04:00
Jack Short
92a6ec67b3
feat: [DetailsV2] different media types on landing page ( #6492 )
...
* initial layout assuming media type exists
* fixing embeds
* media type function
* updated snapshot test
* initial shadow impl
* better shadows
* audio player controls
* updating tests
* content not available handlers
* errors on all media types
* removing fullscreen from iframe
* adding snapshot tests
* responding to comments
* text align center
* updating tests
2023-05-10 13:10:25 -04:00
lavalamp
1d6a1e90d7
ci: GH action for deploying to production ( #6482 )
...
* GH action for deploying to production
* Remove dependency on tests
* Update .github/workflows/4-deploy-to-prod.yml
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org >
* Update .github/workflows/4-deploy-to-prod.yml
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org >
* Add tag as action step rather than separate target
* Comments
* Update .github/workflows/4-deploy-to-prod.yml
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org >
* Specify branches
* Update run name
---------
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org >
2023-05-10 12:59:59 -04:00
Jack Short
01aa3291b3
chore: bubbling up pwat spender from route query ( #6481 )
...
* chore: bubbling up pwat spender from route query
* refactoring
* adding loading state
* moving to loading allowance
* responding to comments
* linting
2023-05-10 12:45:58 -04:00
Zach Pomerantz
5539ebedf7
build: update stage 2 name ( #6526 )
2023-05-10 09:38:31 -07:00
Vignesh Mohankumar
e6adddbf55
refactor: return onDemandEntries instead of mediaURLs ( #6514 )
...
* refactor: return onDemandEntries instead of mediaURLs
* lint
* fix test
2023-05-10 11:46:28 -04:00
Mike Grabowski
0050b1e165
feat: new routing diagram ( #6510 )
...
* chore: initial commit
* chore: add todo to refactor and simplify if conditional in the future
* chore: update layout
* chore: ui tweaks
* chore: add todo
* chore: change todo
* chore: update UI
* chore: tmp
* feat: rename router preference
* chore: update type
* fix error
* fix one more issue
* finish UI work
* chore: remove unecessary components
* chore: update non-snapshot unit tests
* chore: fix lint
* chore: fix ts
* chore: one more time
* fix
* chore: update snapshots
* chore: add jira tickets
* chore: fix mobile popovers
* chore: add analytics event
* chore: fix padding and send event
* chore: fix loading state
* oops
* chore: address review
* chore: comment
* chore
2023-05-10 19:06:12 +04:00
Vignesh Mohankumar
5bf33ab004
revert(e2e): waitForAnimations ( #6525 )
...
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org >
2023-05-10 10:53:53 -04:00
lavalamp
a4cfeecd8c
ci: Workflow for pushing to releases/staging ( #6319 )
...
* Initial draft of releases/staging force push
* Rename
* Update PAT, test on PR target
* Remove pull request target, add environment
* Update .github/workflows/push-staging.yml
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org >
* Update .github/workflows/push-staging.yml
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org >
* Update .github/workflows/push-staging.yml
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org >
* comments
* Update step name
---------
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org >
2023-05-10 08:29:31 -04:00
lavalamp
76cbfdd0b9
ci: GH action for promoting staging -> prod ( #6366 )
...
* Add action for promoting to prod
* Update .github/workflows/pr-staging-to-prod.yml
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org >
* Update .github/workflows/pr-staging-to-prod.yml
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org >
* Update .github/workflows/pr-staging-to-prod.yml
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org >
* Update .github/workflows/pr-staging-to-prod.yml
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org >
* Update .github/workflows/pr-staging-to-prod.yml
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org >
* Comments
* Comments
* Remove commit message
* Fix service account reference, add CODEOWNERS
* Update .github/workflows/pr-staging-to-prod.yml
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org >
* Nits
* Fix newline
---------
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org >
2023-05-10 08:29:20 -04:00
lavalamp
0db9e51e41
ci: Staging deploy GH action definition ( #6455 )
...
* Staging deploy GH action definition
* Remove workflow_dispatch
* Update src/utils/env.ts
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org >
* Restrict sentry reporting to staging environment
* Rename and change environment
---------
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org >
2023-05-10 08:28:59 -04:00
Vignesh Mohankumar
82e7925a17
fix: properly filter AbortErrors ( #6519 )
...
* fix: properly filter AbortErrors
* lol
2023-05-09 19:04:41 -04:00
Zach Pomerantz
2150347ba2
build: cache generated files across builds ( #6495 )
...
* build: cache generated files across builds
* docs: lingui pkg-up comment
* docs: explain clean extraction
2023-05-09 15:49:53 -07:00
Vignesh Mohankumar
2f80646ddd
fix: add chunkResponseStatus tag ( #6509 )
...
* fix: add chunkResponseStatus tag
* add-tests
* fix tests
* tests
* description
* comments
* comment
* move
* comment
* lint
2023-05-09 17:44:58 -04:00
matteen
55eea6a724
chore(deps): bump @uniswap/token-lists ( #6520 )
...
* chore(deps): bump @uniswap/token-lists
* run yarn deduplicate
2023-05-09 17:34:05 -04:00
matteen
709a70652f
feat: add tokenlist validation ( #6504 )
...
* feat: add tokenlist validation
* use alternative for spread operator
* maintain tokenlists version and use original ajv version
* bump ajv
* Revert "bump ajv"
This reverts commit b9d2dd61c6 .
* rename vars in validator
* update gitignore
* nit fixes
* test
* add ^ back
* remove ^
* removed and readded ajv
* try require.resolve
* Revert "try require.resolve"
This reverts commit 62f58bcb7f .
* bump eslint-config
* yarn lock merge conflict
* bring back spread operator
* remove redundant lint ignore
2023-05-09 16:34:15 -04:00
Jack Short
5a7a041f12
feat: [DetailsV2] background for nft details ( #6496 )
...
* feat: background for nft details
* fixing top spacing
* adding new states for zindex
2023-05-09 16:08:28 -04:00
cartcrom
b60d98fc17
fix: loading spinner console bug ( #6518 )
...
fix: update svg path
2023-05-09 14:59:26 -04:00
Zach Pomerantz
38d9ab67eb
test(e2e): token details and test cleanup ( #6516 )
...
* test(e2e): split e2e commands/setup
* test(e2e): consolidate tests
* test(e2e): simplify
* test(e2e): mv token details tests to appropriate spec
* test(e2e): rm obsolete constant
* test(e2e): comments
* test(e2e): do not wait for animations
2023-05-09 10:33:55 -07:00
Jordan Frankfurt
5e6ef1575b
test: skip flakey e2e test ( #6517 )
2023-05-09 11:07:13 -05:00
Vignesh Mohankumar
4a015e9d0d
fix: ensure event.request is defined in trace ( #6498 )
...
* fix: ensure event.request is defined in trace
* add check for empty event
2023-05-09 11:44:07 -04:00
Mike Grabowski
c383a0a0a2
feat: new Settings menu for Swap ( #6480 )
...
* feat: initial commit
* remove extra check
* chore: divider fix
* feat: switch from boolean to routerPreference enum
* chore: align name
* chore: fix two errors
* chore: clean up
* chore: entire radio button clickable
* chore: remove unused toggle component
* Revert "chore: remove unused toggle component"
This reverts commit 42858a02b5 .
* feat: rewrite slippage
* feat: Slippage
* chore: tbd tomorrow
* Update src/state/user/reducer.ts
Co-authored-by: Tina <59578595+tinaszheng@users.noreply.github.com >
* feat: replace auto with Slippage enum
* chore: add todo for deadline
* chore: cleanup
* feat: improve autoslippage
* chore: replace price with auto
* chore: fix lint
* test: add coverage for Expand
* chore: fix tests
* chore: review feedback part 1
* chore: rework warning
* chore: add jira tickets
* feat: add tests for useUserSlippageTolerance
* chore: add some more
* chore: one more
* add tests for slippage
* chore: add unit tests for transactionsettings
* remove
* revet changes to improve coverage
* chore: update to figma caption
* chore
* chore
* chore: update wording
* Update src/components/Expand/index.tsx
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org >
* fix: issue with new value, update confusing migration comment
* chore: remove opacity animation temporarily
* chore: update snapshot test
* chore: fix e2e + update comment
* chore: fix tests
* chore: fix tests
---------
Co-authored-by: Tina <59578595+tinaszheng@users.noreply.github.com >
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org >
2023-05-09 10:33:25 -04:00
Vignesh Mohankumar
d6e92804ad
fix: filter AbortError from Sentry ( #6497 )
2023-05-08 18:25:00 -04:00
Zach Pomerantz
f0d8f8b23b
test(e2e): mock uniswap token lists from ipfs ( #6511 )
...
* test(e2e): mock uniswap token lists from ipfs
* test(e2e): correctly intercept
2023-05-08 15:04:02 -07:00
Charles Bachmeier
ff080aa957
fix: update OS listing fee ( #6505 )
...
* update OS listing fee
* remove redundancy
---------
Co-authored-by: Charles Bachmeier <charlie@genie.xyz >
2023-05-08 10:28:01 -07:00
cartcrom
04d9ff7d71
feat: update useAllTokensMultichain usage ( #6493 )
...
* feat: updates useAllTokensMultichain to return userAddedTokens
* fix: use correct types in tests
* chore: add documentation for future removal of TokenAddressMap
* fix: use doc comments
* test: add unit test for useAllTokensMultichain
* fix: check userAddedTokens for undefined
2023-05-05 18:15:27 -04:00
cartcrom
406893d99a
test(e2e): permit2 approval ( #6488 )
...
* build: upgrade cypress-hardhat
* test: reset hardhat between tests
* test: enable auto-mining
* build: upgrade cypress-hardhat again
* test: permit2 e2e tests
* test: user approval rejection
* refactor: reuse common permit util vars to reduce # of lines
* fix: var casing
* refactor: polish
* refactor: clean up comments and function names
* refactor: remove approval util and update scoping
* fix: further nits
2023-05-05 17:52:22 -04:00
Vignesh Mohankumar
4630720956
fix: handle addEventListener being unsupported on Safari <14 ( #6426 )
...
* fix: handle addEventListener being unsupported on Safari
* conditionally call
* Revert "conditionally call"
This reverts commit b6b7d2f017 .
* comment
* fix
* callback
* add tests
* lint
* casting
* good pr comments
* fix
2023-05-05 13:36:20 -04:00
Jordan Frankfurt
e73e1540ad
fix: errors are responsible for their own grammar ( #6490 )
2023-05-05 11:38:00 -05:00
Vignesh Mohankumar
3a82642fe6
fix: update service worker to precache css/js files ( #6486 )
...
* fix: update service worker to precache css/js files
* add test
* move to utils
* working tests
* fixes
* lint
* change names
* lint
* change return type
* fix
* fix
* changes
* lint
* rename cache
* lint
* fix comments and remove string[] case
* string |
* Update src/serviceWorker/utils.ts
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org >
---------
2023-05-04 14:29:13 -04:00
Zach Pomerantz
2a50d6a17e
test(e2e): reset hardhat between tests ( #6487 )
2023-05-04 08:31:53 -07:00
eddie
c8a8149127
fix: add amplitude page context to swap flow events ( #6489 )
2023-05-04 11:20:12 -04:00
Vignesh Mohankumar
38cde648cf
fix: add a catch on collect static call ( #6491 )
...
* fix: add a catch on collect static call
* comment
2023-05-04 11:07:01 -04:00
Charles Bachmeier
33c099119d
chore: refactor Bag to use scroll hook ( #6483 )
...
* chore: refactor Bag to use scroll hook
* remove outdated comment
---------
Co-authored-by: Charles Bachmeier <charlie@genie.xyz >
2023-05-03 14:19:27 -07:00
Jordan Frankfurt
40247ff7e0
test(e2e): slippage failure ( #6464 )
...
* initial draft
* remove logs
* assertions improvement
* add more comments
* add explicit call to disable automine
* test out a very long timeout
* Revert "test out a very long timeout"
This reverts commit 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
eddie
96f6929127
fix: showCommonBases for widget token selector ( #5951 )
2023-02-08 16:50:21 -08:00
eddie
4ec95d0927
fix: URL params for widget ( #5943 )
...
* fix: URL params for widget
* fix: remove output token from tokenDetails callsite
* fix: combine props, rename initial state values
* fix: better prop types
* fix: rename prop type
2023-02-08 16:50:11 -08:00
yyip-dev
fba6cc9e02
fix: test pr for github<>jira integration ( #5950 )
...
* test pr for github<>jira integration
* remove diff
2023-02-08 18:13:04 -05:00
lynn
bc2f68565b
fix: Web 1992 token details update blocked token detail pages ( #5948 )
...
* init
* Update src/components/Tokens/TokenDetails/index.tsx
Co-authored-by: eddie <66155195+just-toby@users.noreply.github.com >
* oops last commit leads to error :/
---------
Co-authored-by: eddie <66155195+just-toby@users.noreply.github.com >
2023-02-08 18:03:36 -05:00
Zach Pomerantz
f232643d8e
feat: upgrade conedison to improve signing ( #5947 )
...
* feat: upgrade conedison to improve signing
* fix: deduplicate conedison
2023-02-08 13:32:19 -08:00
lynn
527270e33f
fix: handle wallets that don't send default 4001 error code for user rejected txns ( #5941 )
...
* init
* add more to comment
* zzmp comments
* regex
* oops
* fix
2023-02-08 13:34:21 -05:00
cartcrom
18cd5ec9d9
fix: default to null when query address is undefined ( #5937 )
2023-02-08 00:17:39 -05:00
Jordan Frankfurt
5ddb565805
feat: add feedback link to ... menu ( #5933 )
...
add feedback link to ... menu
2023-02-07 18:21:00 -06:00
Jack Short
f0b4b92b88
chore: setting up feature flags and boilerplate gql for routing gql endpoint ( #5935 )
...
* feat: routing gql endpoint
* adding feature flags
* adding to modal
* adding mocked provider to test
* adding apollo client to mocked providers
* comment
2023-02-07 18:33:41 -05:00
Charles Bachmeier
4d82f9fb3a
fix: Handle Different Listing Failure Responses ( #5940 )
...
fix: handle different failure responses
Co-authored-by: Charles Bachmeier <charlie@genie.xyz >
2023-02-07 10:26:36 -08:00
Charles Bachmeier
654b26dc54
feat: [ListV2] Enable ListV2 feature flag ( #5939 )
...
enable v2 feature flag
Co-authored-by: Charles Bachmeier <charlie@genie.xyz >
2023-02-07 09:05:43 -08:00
Charles Bachmeier
c0753ae52f
fix: [ListV2] Better Collection and Listing Retry and Removal Logic ( #5938 )
...
* keep approved collection status when removing
* better map name
* improve callback logic
* improve callback logic for collection approval
* reduce zustand calls
* additional zustand reductions
* add back correct check
---------
Co-authored-by: Charles Bachmeier <charlie@genie.xyz >
2023-02-07 08:29:58 -08:00
Charles Bachmeier
16bb9470ae
feat: [ListV2] Changes based off Bug Bash ( #5936 )
...
* duration wrap
* better styling a different breakpoints
* throw error on listing same price
* don't show spinner on v2
* remove unused check
---------
Co-authored-by: Charles Bachmeier <charlie@genie.xyz >
2023-02-06 19:04:56 -08:00
Jordan Frankfurt
6dcfca24cb
fix: remove roll list ( #5934 )
2023-02-06 20:41:01 -06:00
Charles Bachmeier
9cac9f8299
feat: [ListV2] error and warning states ( #5921 )
...
* update error message for price inputs
* add grid and button warning states
* add list below floor warning modal
* only warn for prices 20% below floor
* highlight unentered price in red on button press
* missing dependency
* updated modal name and mobile height
* add new file
* fix column presence
* rookie mistake
* bulk zustand imports
* below floor threshold
* move issue check higher
* cleanup mouseEvent
* rename color var
---------
Co-authored-by: Charles Bachmeier <charlie@genie.xyz >
2023-02-06 13:00:29 -08:00
Charles Bachmeier
5def0dd166
feat: [ListV2] Add retry and remove logic to listings and collection approvals ( #5923 )
...
* add remove/retry buttons
* add retry logic functionality
* add scroll to active row
* properly update rejected status
* replace loadingicon with loader
---------
Co-authored-by: Charles Bachmeier <charlie@genie.xyz >
2023-02-06 12:55:05 -08:00
Charles Bachmeier
7229637c4c
feat: [ListV2] Update price and duration dropdowns ( #5925 )
...
* add custom option and style market dropdown
* working dropdown for price
* hide dropdown on mobile
* update duration dropdown
* themed opacity hover
---------
Co-authored-by: Charles Bachmeier <charlie@genie.xyz >
2023-02-06 12:54:56 -08:00
Charles Bachmeier
f26b09537d
feat: [ListV2] Success modal + Twitter Share ( #5924 )
...
* added success screen with images
* add listing proceeds
* working return
* working single tweet
* working tweet multiple
* update how we parse twitterName
* add scrollbar styles
* usestablecoinvalue
* math.min
* add collection name backup to tweet
---------
Co-authored-by: Charles Bachmeier <charlie@genie.xyz >
2023-02-06 12:45:13 -08:00
Charles Bachmeier
8f922b665a
feat: [ListV2] Add extra bottom padding to collection assets ( #5930 )
...
add extra bottom padding to collection assets
Co-authored-by: Charles Bachmeier <charlie@genie.xyz >
2023-02-06 12:43:59 -08:00
Zach Pomerantz
134b1d708f
revert: "fix: surface connection error" ( #5932 )
...
Revert "fix: surface connection error (#5931 )"
This reverts commit e9bddcb670 .
2023-02-06 12:20:11 -08:00
Zach Pomerantz
e9bddcb670
fix: surface connection error ( #5931 )
...
* fix: surface connection error
* fix: to spec
* fix: sentence case
2023-02-06 15:01:12 -05:00
Callil Capuozzo
19e45fd119
fix: style collect and create a proposal buttons ( #5927 )
...
* Add responsive button styles
* Clean up responsive
* Use SmallButtonPrimary
* Allow button to accept padding props
* Fix vote padding and update link
* Hide position NFT in mobile
2023-02-06 12:49:58 -05:00
Noah Zinsmeister
ae4135fa49
fix: block time is 12 seconds now ( #5929 )
...
* block time is 12 seconds now
* fix lint error
* Update governance.ts
2023-02-06 11:18:30 -05:00
Jordan Frankfurt
89e438bcc5
chore: update generated types ( #5922 )
2023-02-03 15:15:03 -06:00
cartcrom
92af2167ee
refactor: L2 icons in component ( #5901 )
...
* feat: feature complete
* fix: hide l2 icons on most currencylogos
* linted
* refactor: remove unecessary logo container skeleton
* fix: removed todo comment and linted
2023-02-03 14:15:08 -05:00
eddie
db6084d717
feat: widget on tx success callback ( #5916 )
...
feat: log SWAP_TRANSACTION_COMPLETED for widget transactions
2023-02-03 10:23:41 -08:00
Jack Short
927d35d59e
fix: useStablecoinPrice switching between WETH and ETH ( #5904 )
2023-02-03 11:05:47 -05:00
eddie
b4e981b2fd
fix: landing page styling of widget ( #5917 )
2023-02-02 18:08:48 -08:00
Zach Pomerantz
967a698178
fix: upgrade @web3-react connectors ( #5920 )
2023-02-02 16:24:31 -08:00
Zach Pomerantz
7818426b53
fix: use conedison signTypedData ( #5875 )
...
* fix: use conedison signTypedData
* chore: rm old signTypedData
* fix: deduplicate
2023-02-02 14:02:45 -08:00
Jordan Frankfurt
93e0054f10
feat: add jest coverage to github action ( #5850 )
...
* add jest coverage to github action
* working on action config
* fix yaml syntax
2023-02-02 14:06:15 -06:00
eddie
661d2b6a33
feat: add zIndex to widget theme ( #5915 )
...
* feat: create feature flag for swap widget
* feat: add new flag to modal
* fix: missing defaultField usage
* feat: add zIndex to widget theme
2023-02-02 11:28:15 -08:00
eddie
c560b94366
feat: create feature flag for swap widget ( #5909 )
...
* feat: create feature flag for swap widget
* feat: add new flag to modal
* fix: missing defaultField usage
2023-02-02 11:26:24 -08:00
Jack Short
93a4f00287
fix: adding usd_value back to trace event ( #5912 )
2023-02-02 12:05:29 -07:00
Charles Bachmeier
48833f27e3
feat: [ListV2] Connect modal styling to functionality ( #5905 )
...
* dynamic styles based on listing status
* connect collection approval to v2 modal
* import cleanup
* add comments
* connect sign listing logic
* correct pending styles
* correct pending status for collection approval
* correct pending status for os listings
* use check from react-feather
---------
Co-authored-by: Charles Bachmeier <charlie@genie.xyz >
2023-02-01 13:41:50 -08:00
Jack Short
35a03e2681
fix: using the swap token selector for pay with any token ( #5902 )
...
* feat: adds input token quote for nfts
* remove eslint
* correct usdc pricing
* fix: uses swap token selector for pay with any token selector
* check when balances are loaded
* removing token selector
* only showing active tokens in pay with any token
2023-02-01 15:59:06 -05:00
Charles Bachmeier
ac0badfb1d
feat: [ListV2] Add mobile styles ( #5906 )
...
* correct mobile modal width
* better mobile styling for listing page
* add height to modal
2023-02-01 12:54:55 -08:00
eddie
149b18f02e
fix: about footer link weights ( #5898 )
2023-02-01 09:13:15 -08:00
Jack Short
52a43f3db0
chore: removeing fetch usd price for bag footer ( #5903 )
...
* chore: removing fetchUsdprice
* removing console
2023-02-01 12:00:39 -05:00
Jack Short
0a2a46d506
feat: quote token price for nfts ( #5897 )
...
* feat: adds input token quote for nfts
* remove eslint
* correct usdc pricing
2023-01-31 15:45:02 -05:00
Charles Bachmeier
a7c1bd4391
feat: [ListV2] Setup styles for Listing Modal ( #5870 )
...
* init modal title
* active and closed section headers
* added left border to section
* add tooltip
* complete collection row
* enforce max height
* add sign listings section
* fix top margin for section
* file re-org
* make modal section re-useable and move to its own file
* format
* define section props
* use accentAction for icons
* improved index
---------
Co-authored-by: Charles Bachmeier <charlie@genie.xyz >
2023-01-30 12:22:48 -08:00
cartcrom
13221e6935
feat: caching and polling on apollo token queries ( #5874 )
...
* fix: caching on apollo token queries
* refactor: rename state variable
* added documentation for state variable purpose
* added documentation for nullish operator usage
2023-01-30 14:53:53 -05:00
lynn
26fc3caa55
fix: Revert "fix: remove gwei indicator", restore block number ( #5891 )
...
* Revert "fix: remove gwei indicator (#5873 )"
This reverts commit 409ba72f9f .
* add back block number
2023-01-30 14:30:01 -05:00
Charles Bachmeier
6072bb1be0
fix: Broken NFT Details test ( #5893 )
...
fix broken NFT test
Co-authored-by: Charles Bachmeier <charlie@genie.xyz >
2023-01-30 10:09:45 -08:00
eddie
302af21a22
fix: widget theme integration ( #5880 )
...
* fix: add missing colors to widget theme integration
* feat: upgrade widget version
* fix: conedison in jest tests
2023-01-25 17:12:23 -05:00
Rachel-Eichenberger
b61a2d4111
fix: Update footer Github and Discord links ( #5841 )
...
Update footer github and discord links
Discord and github links were reversed
2023-01-25 16:15:23 -05:00
Zach Pomerantz
9be26788a2
test: skip flaky universal search test ( #5881 )
...
test: skip flaky test
2023-01-24 12:57:08 -05:00
Zach Pomerantz
ed393de481
fix: use wallet modal for widget-prompted connection ( #5879 )
...
* fix: use wallet modal for widget-prompted connection
* fix: prevent widget modal
* fix: invoke modal toggle
2023-01-24 12:36:50 -05:00
Zach Pomerantz
cf5c393d97
fix: sanitize legacy signature format ( #5878 )
...
Upgrades @uniswap/universal-router-sdk to fix a bug where legacy wallets submitted unhandled legacy signature formats, with suffixes that failed to execute when calling estimateGas.
See ticket CX-140
2023-01-23 09:37:06 -05:00
lynn
68d81a0040
fix: txn header styling for long ens names ( #5872 )
...
done fix
2023-01-22 22:00:29 -05:00
Mike Grabowski
53caa51ac3
fix: disconnection error while switching networks with MetaMask ( #5871 )
...
* fix: disconnection error while switching networks with MetaMask
* nit: oops
* fix: tests
2023-01-21 02:20:43 +04:00
lynn
409ba72f9f
fix: remove gwei indicator ( #5873 )
...
* remove polling
* remove dead code
* lint issues
2023-01-20 15:58:30 -05:00
Mike Grabowski
9d9b3dca78
feat: detect Brave Wallet ( #5836 )
...
* feat: support brave better
* fix: apply review comments
* address revieW
* chore: fix lint
* chore: add comment
2023-01-21 00:42:43 +04:00
Jack Short
a11c7e9573
feat: select input token for pay with any token ( #5865 )
...
* feat: select input token for pay with any token
* creating zustand state
* updating symbol
* cursor pointer
2023-01-20 13:02:43 -05:00
Charles Bachmeier
31bbcae1ed
fix: slideout menu title overlap on firefox ( #5869 )
...
fix wallet overlap on firefox
Co-authored-by: Charles Bachmeier <charlie@genie.xyz >
2023-01-20 12:03:42 -05:00
Zach Pomerantz
a1f6c7270e
fix: amend gas estimate error message ( #5868 )
...
* fix: amend gas estimate error message
* fix: language
* Update src/utils/swapErrorToUserReadableMessage.tsx
Co-authored-by: Tina <59578595+tinaszheng@users.noreply.github.com >
Co-authored-by: Tina <59578595+tinaszheng@users.noreply.github.com >
2023-01-19 17:48:54 -08:00
Zach Pomerantz
8471d9b46f
test: skip token explore filter tests ( #5867 )
2023-01-19 16:16:00 -08:00
lynn
5fc4d98faa
chore: universal search e2e test ( #5839 )
...
* init
* change comments
* init
* done
* charlie comments
* fix lint
* fix explore filter test
2023-01-19 18:12:40 -05:00
Zach Pomerantz
8d9ddf36a2
fix: display specific gas estimation error ( #5863 )
2023-01-19 14:11:01 -08:00
Zach Pomerantz
6cfd5fa475
fix: allow signing from safepal ( #5862 )
2023-01-19 14:10:03 -08:00
Zach Pomerantz
f2c5a7c09c
fix: track universal router swaps and err on wallet-edited calldata ( #5864 )
...
fix: track universal router swaps
2023-01-19 13:04:36 -08:00
lynn
fb52770953
chore: token explore filter e2e test ( #5835 )
...
* init
* fix
* init
* remove old token test
* fixes
* remove extraneous tokens test
* init
* tests working
* remove unnecessary data-cy
2023-01-19 14:29:05 -05:00
Zach Pomerantz
94aa8ae2c9
fix: avoid error swap state while loading ( #5860 )
...
fix: omit price impact warning while loading
2023-01-19 10:41:58 -08:00
Zach Pomerantz
6cb0824a0b
fix: rm "approval failed" UI ( #5861 )
2023-01-19 10:32:04 -08:00
Zach Pomerantz
777887b25d
fix: rm faulty revert flow ( #5859 )
2023-01-19 08:57:14 -08:00
Zach Pomerantz
d15d5d85f5
feat: enable permit2 ( #5858 )
2023-01-19 10:11:18 -05:00
Zach Pomerantz
43218d5655
feat: retry gas estimate and log to console ( #5856 )
2023-01-18 20:53:20 -08:00
Zach Pomerantz
a534ba41ed
revert: "feat: enable permit2" ( #5854 )
...
Revert "feat: enable permit2 (#5833 )"
This reverts commit a9ab5717de .
2023-01-18 16:27:09 -08:00
Zach Pomerantz
4715115743
fix: compute price impact off of debounced trade ( #5852 )
...
* fix: compute price impact off of debounced trade
* chore: rm console log
2023-01-18 16:23:19 -08:00
Zach Pomerantz
3389d01213
fix: fetch allowances without debouncing ( #5853 )
2023-01-18 16:04:28 -08:00
Zach Pomerantz
d9a0aa3ff0
fix: use non-warning colors for allowance button ( #5851 )
2023-01-18 16:03:29 -08:00
github-actions[bot]
e9e5d2e43e
chore(i18n): new Crowdin translations ( #5627 )
...
chore(i18n): synchronize translations from crowdin [skip ci]
Co-authored-by: Crowdin Bot <support+bot@crowdin.com >
2023-01-18 18:57:43 -05:00
Jack Short
d58dc14bd5
feat: initial token selector for pay with any token ( #5848 )
...
* feat: initial token selector for pay with any token
* addressing some comments
* addressing comments
* linting
2023-01-18 18:52:17 -05:00
Charles Bachmeier
909e18cb23
chore: convert top level profile page to styled components ( #5849 )
...
* move const to shared file
* convert top level page wrappers to styled components
* style empty content
* simplify and wrap empty content and remove unused ve styles
* better margins
* delete unused common style
* isListingNfts bool
* remove comment
* cleanup bools
* import bag_width
2023-01-18 15:22:07 -08:00
Zach Pomerantz
a9ab5717de
feat: enable permit2 ( #5833 )
2023-01-18 12:17:30 -08:00
Zach Pomerantz
94544de74b
fix: fallback to eth_sign for permit approval ( #5847 )
...
* fix: fallback to eth_sign for permit approval
* chore: clean up comments/logs
* refactor: mirror ethers impl
* chore: add comment re: impl
2023-01-18 12:14:55 -08:00
lynn
96f24d5a9b
fix: txn and language dropdown styling fix ( #5845 )
...
fix
2023-01-18 14:10:04 -05:00
Charles Bachmeier
8e59a352c0
feat: [NFTListV2] convert old bag to modal ( #5838 )
...
* hide bag on list page
* use feature flag
* maxWidth
* convert existing bag to modal'
* add new file
* add overlay
* only show old padding with flag off
* set margin const
Co-authored-by: Charles Bachmeier <charlie@genie.xyz >
2023-01-18 10:58:25 -08:00
lynn
3b765b4f05
chore: token details test ( #5830 )
...
* init
* fix
* init
* remove old token test
* fixes
* remove extraneous tokens test
* respond to mike
* oops
2023-01-18 13:36:30 -05:00
cartcrom
9f4a1f48a5
feat: fixed modal positioning on mobile & updated theming ( #5790 )
...
* feat: fixed modal positioning on mobile & updated theming
* fix: undid spacing change
2023-01-18 13:27:21 -05:00
Zach Pomerantz
de9533399a
build: re-enable releases for Monday ( #5844 )
...
Revert "build: skip Monday releases (#5834 )"
This reverts commit 6f147c1ff3 .
2023-01-18 10:14:35 -08:00
Jordan Frankfurt
a02afd50b5
fix: add react state hookup for fiat announcement dismissal ( #5840 )
2023-01-18 11:35:33 -06:00
lynn
1f7ba5ae9f
chore: add token explore integration test ( #5820 )
...
* init
* fix
* fixes
* remove extraneous tokens test
2023-01-17 21:40:08 -05:00
Mike Grabowski
3686803c17
refactor: improve metamask error modal ( #5818 )
...
* refactor: improve metamask error modal
* chore: rename and use translations
* chore: fix lint
* chore: Fix test
2023-01-16 20:34:42 +04:00
Zach Pomerantz
6f147c1ff3
build: skip Monday releases ( #5834 )
2023-01-13 14:41:32 -08:00
Zach Pomerantz
049a09a346
build: upgrade @uniswap/widgets@2.25.1 ( #5831 )
...
* build: upgrade @uniswap/widgets@2.25 .0
* build: upgrade @uniswap/widgets@2.25 .1
2023-01-13 14:18:34 -08:00
Zach Pomerantz
4b9a885a34
test: enable skipped fetchTokenList test ( #5822 )
2023-01-13 13:53:40 -08:00
Jordan Frankfurt
e3918d039f
fix: spacing and other small cosmetic errors in for account dropdown ( #5829 )
...
* consolidate padding in connection menu
* reduce button vertical spacing
* reduce button vertical spacing
* add 'ETH Balance' header
* reduce cc icon size to 20px
2023-01-13 13:42:28 -06:00
Zach Pomerantz
9719af66e5
fix: update permit2 to match widget implementation again ( #5826 )
...
* fix: update permit2 to match widget implementation (#5821 )
* refactor: usePermit2->usePermit2Allowance
* fix: update permit2 logic to match widgets
* fix: lint issues
* fix: memoize the interval callback
2023-01-13 11:28:54 -08:00
Jack Short
14b02eda0f
feat: initial pay with any token setup ( #5823 )
...
* feat: initial pay with any token ui setup
* reordering
* refactoring
* refactoring
2023-01-13 14:09:27 -05:00
Zach Pomerantz
60bc2a1660
revert: "fix: update permit2 to match widget implementation ( #5821 )" ( #5825 )
...
Revert "fix: update permit2 to match widget implementation (#5821 )"
This reverts commit ef3407f299 .
2023-01-12 16:40:00 -08:00
Zach Pomerantz
ef3407f299
fix: update permit2 to match widget implementation ( #5821 )
...
* refactor: usePermit2->usePermit2Allowance
* fix: update permit2 logic to match widgets
* fix: lint issues
2023-01-12 15:16:07 -08:00
Jordan Frankfurt
f312a148d0
fix: persist volume ranking in token table rows instead of using index ( #5819 )
...
* fix: persist volume ranking in token table rows instead of using index
* pr feedback
2023-01-12 14:54:40 -06:00
Charles Bachmeier
cf5bb5740d
feat: [List V2] Initial Floating Bar ( #5817 )
...
* initial floating bar and VE removal
* dynamic price info
* align bottom bar to bottom
* fixed to bottom
* darkmode gradient
* dynamic overlay
* style tweaks
* toggle bag if flag enabled
* handle really small numbers
* address comments
* add border
Co-authored-by: Charles Bachmeier <charlie@genie.xyz >
2023-01-12 12:11:59 -08:00
Jack Short
5f280ffd0e
fix: nft add to bag test ( #5824 )
...
fix: nft add to bag teest
2023-01-12 14:33:04 -05:00
Jack Short
97075acb91
feat: pay with any token feature flag ( #5814 )
2023-01-12 12:16:11 -05:00
Jack Short
6089d38daf
feat: adding price scaling for sudoswap xyk pool ( #5804 )
...
* feat: adding price scaling for sudoswap xyk pool
* big number
* updating pricing logic for xyk
* fixing sweep
* removing isnotxykpool
* sudoswap calc refactoring
* refactoring calcpoolprice to include sudoswap
* refactoring calcpoolprice
* not letting asset items equal to 0 to be added
* removing comment
2023-01-11 16:05:51 -05:00
Mike Grabowski
3c6e067e90
refactor: less confusing MetaMask extension/connection detection ( #5816 )
...
* fix
* chore: remove
2023-01-12 00:12:10 +04:00
Mike Grabowski
fd1ee61daf
fix: crash when invalid ENS avatar ( #5810 )
...
* chore: fix invalid ens
* chore: unwanted
2023-01-11 21:57:29 +04:00
Charles Bachmeier
de71f07b65
fix: collectionNft called before intialized ( #5815 )
...
Co-authored-by: Charles Bachmeier <charlie@genie.xyz >
2023-01-11 09:51:39 -08:00
Mike Grabowski
59f9c6c2d8
fix: infinite render loop on connection error ( #5808 )
...
fix: infinite render loop
2023-01-10 22:01:04 +04:00
lynn
3efcd3b23a
fix: correct link on add liquidity page ( #5803 )
...
init
2023-01-09 19:03:55 -05:00
Jordan Frankfurt
726640787d
fix: use number formatting lib for tick bounds on LP positions ( #5573 )
...
* fix: use number formatting lib for tick bounds on LP positions
* lint
* configure craco to work with conedison
* lint
2023-01-09 15:54:48 -06:00
Charles Bachmeier
889cdf6b66
feat: add nft list page v2 feature flag ( #5801 )
...
* add nft list page v2 feature flag
* add new flag file
Co-authored-by: Charles Bachmeier <charlie@genie.xyz >
2023-01-09 11:27:18 -08:00
Charles Bachmeier
400666cd0b
chore: migrate MarketplaceRow to styled-components ( #5798 )
...
* style ethPrice
* style old price info and fix up ethpricedisplay
* share style and use for remove icon
* style icon
* style fee column
* style returns column
* marketplace wrapper
* needed column
* remove unused style file
Co-authored-by: Charles Bachmeier <charlie@genie.xyz >
2023-01-09 10:20:44 -08:00
Mike Grabowski
7f4fe6cc9b
chore: disable Sentry in production ( #5795 )
...
disable sentry
2023-01-09 21:49:35 +04:00
Mike Grabowski
dce891ddbd
chore: update Sentry version ( #5794 )
...
fix: update version:
2023-01-09 21:49:19 +04:00
Charles Bachmeier
bc9bb39a8f
chore: Migrate List PriceInput from vanilla-extract to styled-components ( #5792 )
...
* wrapper
* wrap currency type
* global price icon
* style warning message
* rename style
* style warning message
* style input border
* remove useMemo
* simplify boolean
Co-authored-by: Charles Bachmeier <charlie@genie.xyz >
2023-01-06 11:41:52 -08:00
Jack Short
0cc6879638
fix: do not show assets in sudoswap xyk pools ( #5793 )
...
* fix: failed sudoswap listings do not throw error
* valid asset filter on collection queries
* responding to comments
2023-01-05 16:28:58 -05:00
Jack Short
a5534803a1
chore: migrating bag footer to styled components ( #5791 )
2023-01-05 15:07:46 -05:00
eddie
a06f885724
fix: adjust the styling of BalanceSummary component to match design ( #5755 )
2023-01-05 12:04:09 -08:00
eddie
de7cfc93e6
fix: theme-aware root element color ( #5788 )
...
* fix: theme-aware root element color
* fix: add comment
2023-01-05 09:20:56 -08:00
eddie
aa6c469042
fix: remove manual redirects on token page ( #5752 )
2023-01-05 09:09:33 -08:00
Charles Bachmeier
dc478ce37e
chore: Migrate NFTListRow from vanilla-extract to styled-components ( #5785 )
...
* remove redundant styles
* wrap nft info
* added back needed style
* style nft image
* style token and collection name
* wrap token info and marketplace rows
* use Row and Column shared components
Co-authored-by: Charles Bachmeier <charlie@genie.xyz >
2023-01-05 08:46:54 -08:00
Jordan Frankfurt
3f3f16c366
fix: after 1 dismissal FoR banner should go away ( #5778 )
...
* Revert "fix: use localStorage for Fiat announcement (#5750 )"
This reverts commit 62361647e0 .
* fix: when a user dismisses the FoR banner, never show it again
* pr feedback
* fix some weird nft e2e test issues
2023-01-05 10:05:05 -06:00
Jack Short
8e84a53e57
fix: updating generated graphql types ( #5784 )
2023-01-05 11:03:24 -05:00
eddie
e88a50d309
fix: colors in token warnings ( #5787 )
2023-01-04 15:14:44 -08:00
Charles Bachmeier
102d99afa2
chore: Migrate NFTListingGrid from vanilla-extract to styled-components ( #5782 )
...
* remove some redundant styles
* column to Box
* add NFT header style
* wrap all price headers
* last header columns
* remove unused import
* unintentional build change
* migrate divider styles
* unintentional build change
* remove more unused styles
* use Row and Column shared components
Co-authored-by: Charles Bachmeier <charlie@genie.xyz >
2023-01-04 13:34:36 -08:00
Jordan Frankfurt
73e4202497
fix: use analytics-events exported event names for sendAnalyticsEvent calls ( #5781 )
...
use analytics-events exported event names for sendAnalyticsEvent calls
2023-01-04 13:01:05 -06:00
eddie
6e228185b4
fix: add missing trace events and fix logo ( #5780 )
2023-01-04 10:45:49 -08:00
aballerr
bb92a9ee36
feat: consolidating fee columns ( #5713 )
...
* adding in floor price
* consolidating fee columns
* adding in tooltip
* adding in floor price
* current table progress
* better flex experience
* improved mobile listing experience
* improving the mobile experience
* cleaned up mobile experience
* reverting some file changes
* improving mobile experience
* some final adjustments
* updating text color to be line with task
* updating to address design comments
* resolving lint errors
* updating fees logic
* fixing linting issues
* removing generated files
* removing generated files
* removing generated files
* updating margin left
* Adding in trans components
* fixingl inting errors
* fixing minus icon placement
* i18n sort dropdown prompt
* move tooltip to its own file
* remove unused styles
* move NFTListRow to its own file
* move PriceTextInput to its own file
* adjust column settings
* add more translations
* Move MarketplaceRow to its own file
* warning message on small screens
Co-authored-by: Charles Bachmeier <charlie@genie.xyz >
2023-01-04 09:49:23 -08:00
Charles Bachmeier
4936ec5cfc
feat: nft input price field to use numeric keypad on mobile ( #5775 )
...
Co-authored-by: Charles Bachmeier <charlie@genie.xyz >
2023-01-04 08:39:03 -08:00
Adrian Kant
bb1db9048a
refactor: using more specific analytics names ( #5505 )
...
* using new events library
* use not found page name constant
* use 2.0
* fix
* latest package including commonJS
* update to latest version
2023-01-04 10:29:12 -05:00
Charles Bachmeier
20dbb2a9f7
build: restart daily releases ( #5777 )
...
Co-authored-by: Charles Bachmeier <charlie@genie.xyz >
2023-01-03 13:26:37 -08:00
eddie
fd4430fe69
fix: include descriptions and links for native tokens ( #5756 )
2023-01-03 11:57:53 -08:00
eddie
167cc695c9
fix: stop showing the token logos from different chains as a fallback ( #5761 )
2023-01-03 11:57:22 -08:00
eddie
e175bff7f4
feat: build correct footer into About page ( #5757 )
...
* feat: build correct footer into About page
* fix: remove about link from footer
2023-01-03 11:56:53 -08:00
cartcrom
4442933eac
feat: fetch top tokens based on volume & update data descriptions ( #5360 )
...
* replaced info icons w/ popover text
* replaced tooltip components w/ existing mouseover component
* fix: updating useCallback dependencies in tooltip component
* fix: removing redundant space
2023-01-03 12:12:06 -05:00
Charles Bachmeier
8447b30327
feat: update tx complete share icon ( #5771 )
...
update tx complete share icon
Co-authored-by: Charles Bachmeier <charlie@genie.xyz >
2023-01-03 08:29:17 -08:00
Charles Bachmeier
22ce55ec46
fix: center empty wallet text on Profile Page Mobile ( #5770 )
...
center empty wallet text
Co-authored-by: Charles Bachmeier <charlie@genie.xyz >
2023-01-03 08:29:06 -08:00
Vignesh Mohankumar
b25da9de2d
fix: end -> flex-end ( #5774 )
2022-12-29 21:55:42 -05:00
Zach Pomerantz
ae1fb4367f
build: pause scheduled releases ( #5765 )
2022-12-22 10:32:38 -08:00
Mike Grabowski
1410edda32
fix: Sentry source maps URL ( #5764 )
...
fix
2022-12-22 22:14:03 +04:00
Jordan Frankfurt
3bc7f015ee
fix: add two more analytics events for m parity ( #5748 )
...
* fix: add two more analytics events for m parity
* pr feedback
2022-12-22 11:26:34 -06:00
lynn
802714377c
fix: display warning / reload prompt modal when metamask erroneously disconnects ( #5722 )
...
* init
* hook up modal to error detection
* zzmp comments
* zzmp fixes
2022-12-21 18:32:34 -05:00
Mike Grabowski
352daf959e
feat: enable Sentry ( #5758 )
2022-12-22 02:44:04 +04:00
Mike Grabowski
92c21c2811
feat: better UX when Sentry disabled ( #5695 )
...
* feat: disable sentry
* chore: update error page
* chore: use continue on error instead
* chore: wrap in trans
* flip check
2022-12-22 00:39:29 +04:00
lynn
e70723aaf3
fix: add missing amplitude sell events ( #5530 )
...
* in progress
* add events
* remove debug
* update analytics pkg
* removed signatures requested
Co-authored-by: Charles Bachmeier <charlie@genie.xyz >
2022-12-21 11:19:38 -08:00
Mike Grabowski
1802f50163
chore: use @uniswap eslint preset ( #5556 )
...
* feat: replace eslint with preset
* chore: update
* add empty line
* Revert changes
* chore: replace colors
* chore: tweaks
* Revert "chore: replace colors"
This reverts commit 3462420ecb .
* bring lint back
* chore: tweaks
* chore: add note
* chore: fix yarn lock
* chore: fix yarn.lock 2
* chore: use ESLint from npm
* Chore: update lockfile
* tweaks
* chore: initial take fixing some lint issues
* tweaks
* chore: another take
* chore: further tweaks
* chore: fix further
* feat: ignore Jest for cypress
* revert change
* chore: update to latest preset
* tmp lets see if this works
* chore: turn error into warning
* chore: remove warnings
* chore: deduplicate yarn lock
* feat: add recommended ESLint extension in case someone has Prettier instead
* upgrade to latest uniswap config
* chore: update todo
* remove patch
* find to some
* name
* chore: tweak yarn lock
* update
* cleanup
* update name for filter
* nl
* no unsafe finally
* chore: update doc
* fix
* fix
* one more fix
* one more file
* chore: Fix two last build issues
* add generated back
* fix lint after merge
* chore: fix tests
* remove
* one more
2022-12-21 03:08:20 +04:00
Charles Bachmeier
2aa1b18d14
chore: Migrate from Relay to Apollo ( #5754 )
...
* feat: initial apollo configutation (#5565 )
* initial apollo configutation
* add new files
* check in types-and-hooks
* config unused export
* deduplicate
* ignore checked in schema for linting
* remove prettier ignore
* test unchecking types and hooks file
* undo
* rename codegen, respond to comments
Co-authored-by: Charles Bachmeier <charlie@genie.xyz >
* Remove maybe value from codegen
* add babel gql codegen
* correct ts graphql-tag
* remove plugin from craco
* chore: migrate Assets Query to Apollo (#5665 )
* chore: migrate Assets Query to Apollo
* delete comment
* move length check back to collectionAssets
* remove uneeded check
* respond to comments
* working switching and filters
* change sweep fetch policy
Co-authored-by: Charles Bachmeier <charlie@genie.xyz >
* chore: migrate collection query to apollo (#5647 )
* migrate collection query to apollo
* remove page level suspense
* undo removing page level suspense
* rename query and hook
* guard returns
* add return type prop
* cleanup nullables
* memoizing
* use gql from apollo
* use babel gql and move empty trait
* add fetch policy
Co-authored-by: Charles Bachmeier <charlie@genie.xyz >
* chore: migrate NFT details query to apollo (#5648 )
* chore: migrate NFT details query to apollo
* update todo
* update imports
* remove no longer used hook
* rename query
* use babel gql and nonnullable type
* working page
* add fetchpolicy
* respond to comments
Co-authored-by: Charles Bachmeier <charlie@genie.xyz >
* chore: migrate NftBalanceQuery (#5653 )
* chore: migrate NftBalanceQuery
* cleanup
* update pagination
* better undefined handling
* move brake listing for invalid asset higher
* better handle loading
* memoize and cleanup
Co-authored-by: Charles Bachmeier <charlie@genie.xyz >
* remove named gql query consts
* set default fetchPolicy
* null suspense
* chore: Migrate The Graph queries (#5727 )
* migrate TheGraph queries to Apollo
* add new files
* ignore thegraph generated types
* use standard fetchPolicy
* update apollo codegen commands
Co-authored-by: Charles Bachmeier <charlie@genie.xyz >
* chore: migrate token queries to Apollo (#5682 )
* migrate utils to types-and-hooks
* too many TokenTable re-renders
* working token queries
* fixed sparkline for native asset
* onChangeTimePeriod
* define inline
* use query instead of data in naming
* sparklineQuery instead of sparklineData
* rename to usePriceHistory
* multiline if else
* remove optional
* remove unneeded eslint ignore
* rename tokenQueryLoading
* rename OnChangeTimePeriod
* token address fallback
* just address
Co-authored-by: Charles Bachmeier <charlie@genie.xyz >
* chore: deprecate Relay (#5747 )
* chore: deprecate Relay
* remove graph:ql generate step
* add new files
* apollo to graphql centric naming
* add new files
Co-authored-by: Charles Bachmeier <charlie@genie.xyz >
* remove no longer needed config exclusions
Co-authored-by: Charles Bachmeier <charlie@genie.xyz >
2022-12-20 13:42:52 -08:00
Vignesh Mohankumar
a286e5b114
test: disable fiat announcement on cypress tests ( #5751 )
...
* test: disable fiat announcement on cypress tests
* Revert "test: skip tests due to fiat on-ramp change (#5742 )"
This reverts commit 283479f76e .
* dismissed
2022-12-20 15:36:57 -05:00
Vignesh Mohankumar
62361647e0
fix: use localStorage for Fiat announcement ( #5750 )
...
* fix: use localStorage for Fiat announcement
* move to redux
* rm locally
* lint
* add change to hook
* fixes
2022-12-20 15:21:52 -05:00
Vignesh Mohankumar
deee278439
chore: remove unused isOpen state in Landing ( #5732 )
...
Co-authored-by: eddie <66155195+just-toby@users.noreply.github.com >
2022-12-20 14:55:18 -05:00
Vignesh Mohankumar
6340deb201
chore: remove unused NFT redux user reducer state ( #5753 )
2022-12-20 14:55:08 -05:00
Vignesh Mohankumar
28b154ebe8
chore: remove landing redirect flag ( #5736 )
...
* test: add tests for landing redirect
* test: add tests for landing page (#5737 )
* test: add tests for landing page
* lint
* intro=true
* rm downloads?
* fix: use second config option for no wallet in cypress
Co-authored-by: Eddie Dugan <eddie.dugan@uniswap.org >
Co-authored-by: Eddie Dugan <eddie.dugan@uniswap.org >
2022-12-20 14:54:56 -05:00
aballerr
3bde2165f4
fix: modal was removed, updating test to accommodate ( #5749 )
...
nft modal was removed, updating cypress to accommodate
2022-12-20 14:47:15 -05:00
Jack Short
78c8fd2359
style: updating cards to use appropriate aspect ratio ( #5681 )
...
* style: updating cards to use appropriate aspect ratio
* loading card height
* audio and video cards
* change loading height rendering
* respond to self serving comments
Co-authored-by: Charles Bachmeier <charlie@genie.xyz >
2022-12-20 11:10:54 -08:00
eddie
c378752910
feat: fiat on ramp tile for about page ( #5746 )
...
* feat: move about content into landing page
* fix: delete unused image files
* fix: remove unused components
* fix: pointer events on title and subtitle
* feat: add about footer to landing page
* fix: simplify css in Landing Page
* feat(moonpay): moonpay ip checks to determine if the user can access the fiat onramp (#10 )
* feat(moonpay): useFiatOnrampAvailable
* feat(moonpay): ip check with moonpay for buy crypto availability
* add error state and clear up some of the sequence of logic
* add button-specific spinner, put the ... menu button behind the feature flag
* hide ... menu option if onramp is unavailable
* add live publishable moonpay key
* add initial FoR hype border flash to announcement acknowledgment
* remove ... menu access to FoR feature
* add tooltip and external link to info icon
* nicer error display
* add stale market to ack
* pr feedback from zzmp
* fix really weird react bug
* ts fix and clear timeout
* pairing staleness handler w/ zzmp
* add back feature flag
* feat: fiat on ramp tile for about page
Co-authored-by: Jordan Frankfurt <jordanwfrankfurt@gmail.com >
2022-12-20 13:23:29 -05:00
eddie
0bf7b92013
feat: move about content into landing page ( #5734 )
...
* feat: move about content into landing page
* fix: delete unused image files
* fix: remove unused components
* fix: pointer events on title and subtitle
* feat: add about footer to landing page
* fix: simplify css in Landing Page
* feat(moonpay): moonpay ip checks to determine if the user can access the fiat onramp (#10 )
* feat(moonpay): useFiatOnrampAvailable
* feat(moonpay): ip check with moonpay for buy crypto availability
* add error state and clear up some of the sequence of logic
* add button-specific spinner, put the ... menu button behind the feature flag
* hide ... menu option if onramp is unavailable
* add live publishable moonpay key
* add initial FoR hype border flash to announcement acknowledgment
* remove ... menu access to FoR feature
* add tooltip and external link to info icon
* nicer error display
* add stale market to ack
* pr feedback from zzmp
* fix really weird react bug
* ts fix and clear timeout
* pairing staleness handler w/ zzmp
* add back feature flag
Co-authored-by: Jordan Frankfurt <jordanwfrankfurt@gmail.com >
2022-12-20 13:07:46 -05:00
Jordan Frankfurt
283479f76e
test: skip tests due to fiat on-ramp change ( #5742 )
...
skip tests
2022-12-20 12:31:11 -05:00
Vignesh Mohankumar
d3c30e2f6b
docs: update buying crypto helpcenter link ( #5744 )
...
* docs: update buying crypto helpcenter link
* new link
* new link
2022-12-20 12:30:32 -05:00
Jordan Frankfurt
32d226f78e
feat: enable FoR flag ( #5741 )
2022-12-20 11:50:00 -05:00
Jordan Frankfurt
96744505c0
Merge pull request #5740 from Uniswap/FoR-publish
...
feat: FoR publish
2022-12-20 10:40:36 -06:00
Jordan Frankfurt
97236033d4
conditional access of .renderCount
2022-12-20 10:27:52 -06:00
Jordan Frankfurt
86e62dc4b9
add back feature flag
2022-12-20 09:56:15 -06:00
Vignesh Mohankumar
e584a5fa36
chore: removes unused Liquidity Mining code ( #5451 )
...
* feat: remove unused liquidity mining pages
* some changes
* rm more
2022-12-19 20:06:59 -05:00
Vignesh Mohankumar
332ef6e6c8
chore: remove /#/claim ( #5445 )
...
rm claim
2022-12-19 19:46:36 -05:00
Jordan Frankfurt
8cbd111e65
Merge pull request #8 from Uniswap/merge-upstream
...
chore: Merge upstream
2022-12-19 15:25:10 -06:00
Jordan Frankfurt
55ffcbd465
Merge remote-tracking branch 'upstream/main' into merge-upstream
2022-12-19 15:12:16 -06:00
Jordan Frankfurt
404775e86d
Merge pull request #7 from Uniswap/analytics-account-dropdown-click
...
chore: analytics account dropdown click
2022-12-19 15:10:15 -06:00
Vignesh Mohankumar
0ae9fe28a2
feat: force landing page to show based on landing query param ( #5730 )
...
* feat: force landing page to show based on `landing` query param
* flag
* use intro
* lint
2022-12-19 15:49:42 -05:00
Vignesh Mohankumar
89c0caae43
feat: push nav icon to /?intro=true ( #5731 )
...
* feat: push nav icon to /?intro=true
* search
2022-12-19 15:48:53 -05:00
Vignesh Mohankumar
c8086e3c76
fix: wait to render Landing content until checking wallet cache ( #5729 )
...
* fix: wait to render Landing content until checking wallet cache
* use state
2022-12-19 15:22:13 -05:00
Jordan Frankfurt
1c2842e5a0
chore: analytics account dropdown click
2022-12-19 14:21:50 -06:00
Vignesh Mohankumar
a2c6d3f475
feat: navigate to /swap if user has a wallet cached ( #5728 )
...
* feat: navigate to /swap if user has a wallet cached
* flag it
2022-12-19 14:55:51 -05:00
Jordan Frankfurt
841ea7f8a1
Merge pull request #6 from Uniswap/fix-menu-z-index
...
fix: landing page overlay occlusion of Z_INDEX.dropdown
2022-12-19 13:49:10 -06:00
aballerr
804692b114
fix: adding fixed header ( #5712 )
...
* adding fixed header
2022-12-19 14:26:07 -05:00
Vignesh Mohankumar
6282298d13
chore: add landing page redirect flag ( #5724 )
...
* chore: add landing page redirect flag
* unused
* fix
2022-12-19 13:38:03 -05:00
eddie
7a5b855097
chore: bump version of @uniswap/analytics-events ( #5726 )
2022-12-19 13:36:42 -05:00
Jordan Frankfurt
c9908748cf
make under-dropdown 990
2022-12-19 12:24:43 -06:00
Jordan Frankfurt
79b77deee1
fix: bump conedison ( #5725 )
2022-12-19 12:15:16 -06:00
Jordan Frankfurt
a554af6670
pr feedback
2022-12-19 11:39:29 -06:00
lynn
1843f214b1
fix: hover button states ( #5553 )
...
* init but this looks wrong based on figma
* init
* fix props
* add back children
2022-12-19 12:18:25 -05:00
Jordan Frankfurt
3e0788092e
Merge pull request #5 from Uniswap/geocheck-analytics
...
feat: add analytics for moonpay ip check
2022-12-19 11:13:30 -06:00
Jordan Frankfurt
d14c49df0d
fix: landing page overlay occlusion of Z_INDEX.dropdown
2022-12-19 11:03:03 -06:00
eddie
c098ad1ffe
fix: correct font size for the trade rate to on safari ( #5714 )
...
* fix: correct font size for the trade rate to on safari
* fix: use themedText.BodySmall for this label
2022-12-19 09:27:43 -05:00
Jordan Frankfurt
48114ef51d
feat: add analytics for moonpay ip check
2022-12-18 09:48:38 -06:00
aballerr
4529e3cc88
fix: failing cypress test ( #5715 )
...
* fix failing cypress test for 404 page
2022-12-16 16:49:23 -05:00
Jordan Frankfurt
cb7132ee17
Merge pull request #3 from Uniswap/FoR-main
...
feat: FoR commits from mgtm repo
2022-12-16 11:10:30 -06:00
Mike Grabowski
4d47470f33
feat: not found page ( #5708 )
...
* chore: save
* save
* chore: finish
* chore: Fix link
* chore: remove div
* chore: tweaaks
* chore: tweaks
2022-12-16 11:21:29 -05:00
eddie
aedc020646
fix: use render function for SearchBar placeholder translation ( #5710 )
...
* fix: use render function for SearchBar placeholder translation
* fix: use render function for SearchBar placeholder translation
* fix: correct clsx usage
2022-12-16 11:07:42 -05:00
Jordan Frankfurt
0fa4859a09
6a47ac3c231a42a00ffee40677c46bf612e14187
2022-12-15 17:39:38 -06:00
Jordan Frankfurt
f8bb5046f0
73ad9987e4b337987f8e3cb2ef861bf03c42cc67
2022-12-15 17:37:58 -06:00
Jordan Frankfurt
7d1589d1df
fixing from cherry-pick process
2022-12-15 17:05:06 -06:00
Jordan Frankfurt
26b603cc2e
fix: update moonpay supported currencies list ( #57 )
...
lint
2022-12-15 16:34:05 -06:00
Jordan Frankfurt
ece68a0ec7
fix: close wallet modal on connection ( #53 )
...
fix: hide celo on uniswap wallet connections (#48 )
* fix: hide celo on uniswap wallet connections
* add disabled UI instead of removing network from list
Revert "fix: hide celo on uniswap wallet connections (#48 )"
This reverts commit b22d82545fef6812b22fe1adc3f281588642c9cd.
2022-12-15 15:32:21 -06:00
Jordan Frankfurt
fd212477ce
fix: json.stringify addresses ( #52 )
2022-12-15 15:32:20 -06:00
Jordan Frankfurt
a16d2387cc
fix: FoR polish ( #47 )
...
* fix: remove currencyCode config property from moonpay url
* add 8px padding to moonpay iframe
* don't switch button text when loading
* update tooltip text
* update announcement text
* remove FoR announcement on iOS mobile
* improve fiat quote format in account dropdown
fix: typo (#51 )
2022-12-15 15:32:20 -06:00
Jordan Frankfurt
cae56ec385
feat: add supported currency list to moonpay config ( #45 )
2022-12-15 15:32:20 -06:00
Jordan Frankfurt
d16b3473e0
fix: remove currencyCode config property from moonpay url ( #40 )
2022-12-15 15:32:20 -06:00
Jordan Frankfurt
f66f249dba
fix: fiat onramp polish ( #36 )
...
* fix: fiat onramp polish
* add 3 session render cap on FoR announcement
2022-12-15 15:32:20 -06:00
Jordan Frankfurt
08afd888d0
fix(moonpay): add ?platform=web to moonpay env vars ( #35 )
2022-12-15 15:32:20 -06:00
Jordan Frankfurt
b427be2673
feat(moonpay): moonpay ip checks to determine if the user can access the fiat onramp ( #10 )
...
* feat(moonpay): useFiatOnrampAvailable
* feat(moonpay): ip check with moonpay for buy crypto availability
* add error state and clear up some of the sequence of logic
* add button-specific spinner, put the ... menu button behind the feature flag
* hide ... menu option if onramp is unavailable
* add live publishable moonpay key
* add initial FoR hype border flash to announcement acknowledgment
* remove ... menu access to FoR feature
* add tooltip and external link to info icon
* nicer error display
* add stale market to ack
* pr feedback from zzmp
* fix really weird react bug
* ts fix and clear timeout
* pairing staleness handler w/ zzmp
2022-12-15 15:32:20 -06:00
Jordan Frankfurt
f753a5e325
feat(moonpay): add iframe ( #9 )
...
* feat(moonpay): add iframe
* add prod url
* polish iframe styles and supply the firebase fn with the new platform query param
* pr feedback
* pr feedback - .production env key distinction
feat(moonpay): add iframe (#9 )
* feat(moonpay): add iframe
* add prod url
* polish iframe styles and supply the firebase fn with the new platform query param
* pr feedback
* pr feedback - .production env key distinction
2022-12-15 15:32:19 -06:00
Jordan Frankfurt
46d9d8e3df
feat(fiat): announcement
...
cleanup
cleanup
fix close button
cleanup
2022-12-15 15:32:19 -06:00
Jordan Frankfurt
680d3a3f26
feat(fiat): add overflow menu cta
2022-12-15 15:32:19 -06:00
Jordan Frankfurt
e4c625ee71
feat(onramp): cta
2022-12-15 15:32:19 -06:00
Zach Pomerantz
fd8085722e
fix: mark permit not syncing if not permitted ( #5706 )
...
* fix: mark permit not syncing if not permitted
* fix: clarify naming
* fix: show approval when loading
2022-12-15 13:09:39 -08:00
Mike Grabowski
a60a85db54
fix: layout padding/margin & overflow ( #5707 )
...
* chore: fix
* chore: tweaks
2022-12-15 15:34:39 -05:00
eddie
ad2472eac6
fix: correct color for selected token in CurrencySearchModal ( #5705 )
...
Co-authored-by: Eddie Dugan <eddie.dugan@UniswapdieDugan.localdomain >
2022-12-15 15:14:16 -05:00
eddie
f4d4acacae
fix: constrain width on token details back button ( #5703 )
...
Co-authored-by: Eddie Dugan <eddie.dugan@UniswapdieDugan.localdomain >
2022-12-15 14:46:04 -05:00
lynn
a5d7af192c
fix: Web 1610 token details another funky state chart re prices ( #5685 )
...
* initial commit
* fixes
* move msg loc depending on display price avail
* fred copywriting + jordan comments changes
* fix build errors
Co-authored-by: cartcrom <cartergcromer@gmail.com >
2022-12-15 14:23:03 -05:00
Zach Pomerantz
21a2863ae3
build: default flags but maintain togglability ( #5702 )
...
fix: default flags but maintain togglability
2022-12-15 10:56:06 -08:00
Zach Pomerantz
1f871d4e73
build: upgrade widget to 2.22.11 ( #5701 )
2022-12-15 10:49:31 -08:00
Vignesh Mohankumar
3690936aff
chore: remove landing page flag ( #5673 )
2022-12-15 13:48:50 -05:00
Vignesh Mohankumar
e95e2321b4
fix: used sticky position for landing page content ( #5699 )
...
* fix: update padding to 80px on mobile landing
* try 100
* try 120
* 140
* try sticky
2022-12-15 13:29:55 -05:00
Zach Pomerantz
8b1bf09ff1
fix: await syncing allowance to update permit state ( #5689 )
...
* fix: await syncing allowance to update permit state
* fix: clarify isSyncing on Permit2
* fix: further clarify isApprovalSyncing
2022-12-15 09:48:18 -08:00
aballerr
6383e9e4bf
fix: reverting some changes to wallet dropdown ( #5694 )
...
reverting some changes to wallet dropdown cypress tests
2022-12-15 12:15:44 -05:00
Vignesh Mohankumar
515ce9253d
fix: add more padding-bottom on mobile landing page ( #5696 )
2022-12-15 11:06:17 -05:00
Vignesh Mohankumar
23ed384802
fix: Revert "fix: allow landing page scroll" ( #5697 )
...
Revert "fix: allow landing page scroll (#5692 )"
This reverts commit 642c489240 .
2022-12-15 11:05:53 -05:00
Mike Grabowski
9ae31aa26e
build: update name for revert github action ( #5693 )
...
chore: update name for revert github action
2022-12-15 07:50:46 -08:00
Vignesh Mohankumar
642c489240
fix: allow landing page scroll ( #5692 )
2022-12-15 10:32:13 -05:00
aballerr
778ea8ee42
test: adding in some basic token tests ( #5686 )
...
* adding in some basic token tests
2022-12-15 10:16:15 -05:00
Vignesh Mohankumar
36900fe6c6
test: skip wallet dropdown tests ( #5691 )
2022-12-15 09:55:55 -05:00
Vignesh Mohankumar
40eb28f1e1
build: change cypress timeout to 24s ( #5690 )
2022-12-15 09:29:47 -05:00
Mike Grabowski
7c3ee78715
chore: replace deprecated colors with correct theme values [part 1] ( #5563 )
...
* chore: replace colors
* add missing line
* chore: fix lint after replacing colors
Co-authored-by: Vignesh Mohankumar <vignesh@vigneshmohankumar.com >
2022-12-14 16:46:56 -05:00
Vignesh Mohankumar
ccac51ec1f
chore: turn landing page flag on ( #5684 )
...
Revert "chore: turn landing page flag off (#5679 )"
This reverts commit 0176c74430 .
2022-12-14 16:19:47 -05:00
Jack Short
77747f9f6f
style: updating bag ( #5539 )
...
* style: updating bag
* desktop bag
* initial setup
* bag animations
* mobile stylings
* removing vanilla extract components
* background position
* design comments
* screen sizing
* closing filters and bag on appropriate screen sizes
* move screen size to main hooks
* prettier
* bag margins
* footer outline
* correct scrolling indicator width
* collection stats truncation
* merged with main
* collection stats on screen
2022-12-14 13:27:41 -05:00
Vignesh Mohankumar
0622ff30f6
fix: remove learn more link on landing page ( #5683 )
...
* fix: remove learn more link on landing page
* lowercase
2022-12-14 12:09:14 -05:00
aballerr
982c99b07f
chore: Nft cypress tests 2 ( #5658 )
...
* adding in final set of nft cypress tests
2022-12-14 10:09:55 -05:00
aballerr
484a7d49f6
fix: allow empty states on days in listing ( #5675 )
...
allow empty states on days
2022-12-14 09:23:36 -05:00
lynn
082591d5dd
fix: jumpy nav on safari mweb ( #5668 )
...
* test
* swap page nav bar on mobile looks weird without this change
* fixes
2022-12-14 08:56:36 -05:00
Zach Pomerantz
aa03f97890
build: add a revert workflow ( #5680 )
2022-12-13 17:29:02 -05:00
Zach Pomerantz
fd12a0d6e7
fix: display impact before severity ( #5678 )
2022-12-13 16:43:06 -05:00
Vignesh Mohankumar
0176c74430
chore: turn landing page flag off ( #5679 )
2022-12-13 16:39:35 -05:00
Vignesh Mohankumar
35613cc979
feat: amplitude analytics for landing and about ( #5606 )
...
* add events - no names yet
* lint fix
* events
* link
* more into card
* fix
* switch
2022-12-13 15:54:21 -05:00
Jack Short
b0d71f10e9
chore: adding useScreenSize hook ( #5669 )
...
* feat: adding useScreenSize hook
* updating isTablet
* adding comments
2022-12-13 14:22:24 -05:00
Vignesh Mohankumar
1cfb3d8034
feat: release new landing page ( #5596 )
...
* feat: release new landing page
* fix wallet dropdown integration tests
* remove problematic/not useful tests
Co-authored-by: Jordan Frankfurt <jordanwfrankfurt@gmail.com >
2022-12-13 13:40:56 -05:00
Zach Pomerantz
a650807c96
fix: correctly center navbar els ( #5676 )
2022-12-13 13:17:48 -05:00
Vignesh Mohankumar
6efd7ca779
build: re-start scheduled builds ( #5674 )
...
Revert "build: pause scheduled releases (#5615 )"
This reverts commit 185c1f6772 .
2022-12-13 12:32:43 -05:00
aballerr
d658720505
chore: initial set of cypress tests for nft ( #5590 )
...
* initial set of cypress tests for nft
2022-12-13 11:43:02 -05:00
Zach Pomerantz
bba40846e1
build: upgrade widget to 2.22.10 ( #5666 )
2022-12-12 15:54:40 -05:00
pp-hh-ii-ll
8fa6c87015
fix: responsive styles for steps ( #5651 )
...
* feat: styled footer links
* grid
* center
* Update bottom links and full bleed image
* Mobile spacing and font size adjustments
Decrease spacing in mobile and swap the sizing of fonts between mobile and desktop sizes
* Add responsive behavior to steps
Changes font size and margins in mobile view
Co-authored-by: Vignesh Mohankumar <me@vig.xyz >
Co-authored-by: Callil Capuozzo <callil.capuozzo@gmail.com >
2022-12-12 15:35:06 -05:00
pp-hh-ii-ll
933d02b275
fix: responsive styling for info buttons ( #5652 )
...
Responsive styling for info buttons
Reduces margins and font size in mobile view
Adds some margin to the side of the external-link arrow
Co-authored-by: Vignesh Mohankumar <vignesh@vigneshmohankumar.com >
2022-12-12 14:59:23 -05:00
Zach Pomerantz
7738a6b9e0
fix: vertically center-align navbar items ( #5664 )
2022-12-12 14:50:21 -05:00
Vignesh Mohankumar
2db4b1da3d
fix: remove period on landing page title ( #5663 )
2022-12-12 14:22:25 -05:00
Zach Pomerantz
06c85b744f
fix: show error when present (not approval) ( #5662 )
2022-12-12 13:51:38 -05:00
Callil Capuozzo
aa29ea80a9
fix: tweak landing page buttons ( #5661 )
...
* Tweak landing details
* flex
Co-authored-by: Vignesh Mohankumar <me@vig.xyz >
2022-12-12 13:45:28 -05:00
pp-hh-ii-ll
3613dc2d4a
style: add transition to button and move gradient up ( #5660 )
...
Add transition to button and move gradient up
Moves gradient up to obscure more of the swap box
2022-12-12 13:33:22 -05:00
pp-hh-ii-ll
e22554b4c4
fix: responsive styling for info button ( #5659 )
...
Responsive styling for info button
Decreases gap and font size and adds margin to external link arrow icon
2022-12-12 12:55:25 -05:00
pp-hh-ii-ll
5f1625f5dc
fix: update outline button to use non-deprecated colors ( #5657 )
...
Update outline button to use non-deprecated colors
Quick fix for about page – full refactor to come later
2022-12-12 11:48:01 -05:00
pp-hh-ii-ll
c1e6dd7335
fix: Add hover state to footer link ( #5656 )
...
* Add hover state to footer link
* Update hover outline to textTertiary
Don't use deprecated color
2022-12-12 11:45:46 -05:00
pp-hh-ii-ll
45419c2739
fix: responsive behavior for info cards ( #5655 )
...
Responsive behavior for info cards
Decreases margin, font size, card height, and grid gap in mobile
2022-12-12 11:40:09 -05:00
Mike Grabowski
c2342a86d6
fix: pointer events on Swap ( #5654 )
...
* feat: decouple landing from swap
* implement pointer events
2022-12-12 11:23:55 -05:00
Zach Pomerantz
504cd5b848
build: bump widgets/universal-router-sdk ( #5582 )
...
* build(deps): bump @uniswap/widgets from 2.22.0 to 2.22.2
Bumps [@uniswap/widgets](https://github.com/Uniswap/widgets ) from 2.22.0 to 2.22.2.
- [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.22.0...v2.22.2 )
---
updated-dependencies:
- dependency-name: "@uniswap/widgets"
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
* build(deps): bump @uniswap/widgets to 2.22.5
* fix(snyk): ack oz vulns
* build(deps): bump @uniswap/widgets to 2.22.9
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-12 11:21:22 -05:00
Vignesh Mohankumar
1faf13639c
feat: styled footer links ( #5644 )
...
* feat: styled footer links
* grid
* center
* Update bottom links and full bleed image
* Mobile spacing and font size adjustments
Decrease spacing in mobile and swap the sizing of fonts between mobile and desktop sizes
Co-authored-by: Callil Capuozzo <callil.capuozzo@gmail.com >
Co-authored-by: pp-hh-ii-ll <111304124+pp-hh-ii-ll@users.noreply.github.com >
2022-12-12 11:18:58 -05:00
Vignesh Mohankumar
69c084ebe7
fix: full bleed about banner ( #5650 )
...
* fix: full bleed about banner
* add px
2022-12-12 11:12:59 -05:00
Zach Pomerantz
e5ac7e77da
fix: observe submitted allowance immediately ( #5620 )
...
Fixes a bug where a user could submit a transaction, but would be required to re-sign a permit for a subsequent transaction, because the prior transaction's modification of allowance was not detected.
2022-12-12 11:02:12 -05:00
Vignesh Mohankumar
0614358a5e
feat: close landing page when wallet connected ( #5639 )
2022-12-12 10:39:38 -05:00
pp-hh-ii-ll
42784e6121
fix: update card images ( #5649 )
...
update card images
Update card images to improve legibility
2022-12-12 10:37:58 -05:00
Vignesh Mohankumar
830500dc3b
fix: use background-size cover for about banner ( #5641 )
2022-12-12 10:36:41 -05:00
Vignesh Mohankumar
5af32592aa
fix: about button copy change ( #5638 )
2022-12-12 09:36:02 -05:00
Vignesh Mohankumar
0f36a99e98
fix: remove period in about copy ( #5643 )
2022-12-12 09:29:01 -05:00
Callil Capuozzo
5fe9f3f6e8
fix: add light mode images and gradient mask ( #5640 )
...
* add light mode image and gradient mask
* fix-image-bleed
* clean up
* rm todo
2022-12-11 21:21:04 -05:00
Vignesh Mohankumar
167fff16a0
fix: remove period in landing page copy ( #5637 )
2022-12-11 18:33:36 -05:00
Vignesh Mohankumar
a6eff7823a
fix: make background header a background-image ( #5635 )
...
* fix: make background header a background-image
* fit differently
2022-12-11 17:37:50 -05:00
Mike Grabowski
1aba4fbcd7
feat: add glow to landing page ( #5636 )
...
* chore: adjust z-index on the linear gradient
* feat: add blur
* fix: heights and paddings
* chore: abstract values into sep variable
* chore: remove bg
* chore: tweaks
2022-12-11 17:30:58 -05:00
Vignesh Mohankumar
714d215cda
feat: add about card backgrounds ( #5634 )
...
* fix: update landing page paddings
* feat: add about card backgrounds
* fix
2022-12-11 17:30:45 -05:00
Vignesh Mohankumar
0f32ed34f7
fix: update landing page paddings ( #5633 )
2022-12-11 14:49:16 -05:00
Vignesh Mohankumar
3703e843f8
fix: improve mobile spacing/ordering on /about ( #5632 )
2022-12-11 14:42:32 -05:00
Vignesh Mohankumar
3c3158f443
fix: update landing page paddings ( #5630 )
...
* fix: update landing page paddings
* button gap
2022-12-11 14:33:41 -05:00
Vignesh Mohankumar
f933e538e6
feat: add background image to /about ( #5623 )
...
* feat: add background image to /about
* 100% height
2022-12-11 14:33:09 -05:00
Vignesh Mohankumar
02b678b4a9
fix: centers /about Panels ( #5631 )
...
fix: centers about Panels
2022-12-11 14:30:36 -05:00
Vignesh Mohankumar
c25a2cfc00
fix: show swap hover state on landing page ( #5629 )
...
* fix: body, #root, AppWrapper and BodyWrapper height: 100%
* fix: show swap hover state on landing page
* pointer events fix
* revert gradient change
* pointer events auto
* pointer events auto
2022-12-11 14:29:23 -05:00
Vignesh Mohankumar
a5d75cad5b
fix: body, #root, AppWrapper and BodyWrapper height: 100% ( #5628 )
2022-12-11 14:27:00 -05:00
Vignesh Mohankumar
40784963a5
fix: copy changes for /about ( #5626 )
2022-12-11 14:26:46 -05:00
Vignesh Mohankumar
6ca8e4f664
fix: remove Earn and Build dApps links ( #5625 )
2022-12-11 14:26:32 -05:00
Vignesh Mohankumar
91c0580825
feat: add initial footer to /about ( #5624 )
2022-12-11 14:26:22 -05:00
Ian Lapham
c518501e7b
fix: update unsupported list ( #5622 )
...
Add GOLD1 to unsupported list
2022-12-10 15:51:19 -05:00
Zach Pomerantz
d59e4f334e
fix: hexlify tx value from SwapRouter ( #5621 )
...
Hexlifies the value returned from universal-router-sdk, which is required for ethers to accept it as input.
Fixes an error thrown by ethers (RE: un-hexlified data).
See Uniswap/universal-router-sdk#92 (fixed in Uniswap/universal-router-sdk#93 but not yet released).
2022-12-09 20:05:52 -05:00
pp-hh-ii-ll
4c3528a03d
style: update steps ( #5619 )
...
* update steps
Add Transfer crypto step to the steps and change Swap copy
* Fix transfer tokens image
Remove shadows from transfer token image
2022-12-09 17:24:47 -05:00
pp-hh-ii-ll
ed82f9ff8a
fix: color updates ( #5617 )
...
Fixed colors for cards and text
2022-12-09 17:24:41 -05:00
lynn
dd5a22ce83
feat: add inline preview of pending txn in wallet dropdown ( #5616 )
...
* it looks good
* sort by latest timestamp and show latest only
* jordan comment
2022-12-09 15:34:55 -05:00
Zach Pomerantz
185c1f6772
build: pause scheduled releases ( #5615 )
2022-12-09 14:18:21 -05:00
lynn
93e6b65cb3
fix: swap quote loading spinner ( #5569 )
...
* init TEMP
* it's working now but the loading spinner is being redesigned by fred
* working with fred new design
* undo unnecesary changes
* undo unnecessary change
* rspond to jordan
* more fixes
* remove %
2022-12-09 13:28:44 -05:00
lynn
965a745d5e
fix: token details chart x axis and time selector style tweaks ( #5613 )
...
init
2022-12-09 12:23:29 -05:00
pp-hh-ii-ll
6d97590c0f
fix: adjustments to /about font size ( #5614 )
...
* Adjustments to font size
Changes font weights and sizes of text elements in the about page
* fixes
* fixes
Co-authored-by: Vignesh Mohankumar <me@vig.xyz >
2022-12-09 11:32:37 -05:00
Vignesh Mohankumar
8e7ab6f8c3
fix: copy changes about ( #5611 )
...
* fix: make cards smaller and update font-sizes
* breakpoints
* fix: update copy/images on About
2022-12-09 11:19:33 -05:00
Vignesh Mohankumar
61729610c2
fix: update /about cards and step sizings ( #5610 )
...
* fix: make cards smaller and update font-sizes
* breakpoints
2022-12-09 10:58:48 -05:00
Vignesh Mohankumar
53860dd8e4
fix: update about preview on hover ( #5607 )
2022-12-09 10:30:46 -05:00
Vignesh Mohankumar
19028c1d82
fix: update About sizings ( #5609 )
2022-12-09 10:30:34 -05:00
Vignesh Mohankumar
6676d80707
fix: landing page font-size changes ( #5608 )
2022-12-09 10:27:45 -05:00
Vignesh Mohankumar
f9f804c381
feat: add page view traces for / and /about ( #5594 )
...
* feat: add page view traces for / and /about
* update analytics
* page name
* import
2022-12-08 22:56:14 -05:00
Vignesh Mohankumar
0a0b56b13d
fix: center the subtext by using a container ( #5599 )
2022-12-08 22:29:41 -05:00
Vignesh Mohankumar
480f3f29f3
fix: handle light mode image in About step ( #5601 )
2022-12-08 22:29:35 -05:00
Vignesh Mohankumar
5f2072f449
fix: makes sure padding-bottom isn't overriden in Landing ( #5603 )
2022-12-08 22:29:23 -05:00
Vignesh Mohankumar
4e144c7fb5
chore: remove unused wallet icons ( #5604 )
2022-12-08 22:29:17 -05:00
Vignesh Mohankumar
cfbb6a7129
fix: light mode cards for /about ( #5605 )
...
* fix: light mode cards for /about
* transparent
2022-12-08 22:00:09 -05:00
Vignesh Mohankumar
61f03af20a
fix: switch to scrollHeight and add less padding ( #5600 )
...
* fix: add less padding-top to about
* switch to scroll height
* add-200
2022-12-08 21:23:11 -05:00
Vignesh Mohankumar
5eb1274f97
feat: dynamically add padding-top on /about ( #5597 )
2022-12-08 20:33:17 -05:00
Vignesh Mohankumar
9eb7d45aea
fix: prevent scroll on landing page ( #5595 )
...
use hook
2022-12-08 20:21:43 -05:00
Vignesh Mohankumar
2e1d4fdda1
fix: update links in /about cards ( #5593 )
2022-12-08 17:17:05 -05:00
Vignesh Mohankumar
e85b6e4cc6
fix: update links in /about info buttons ( #5592 )
2022-12-08 17:13:09 -05:00
Vignesh Mohankumar
9c334bc865
fix: tablet responsiveness on /about ( #5591 )
2022-12-08 16:46:39 -05:00
Vignesh Mohankumar
6a833fc740
fix: CTAButton should use white text always ( #5589 )
...
different colors
2022-12-08 16:20:10 -05:00
Vignesh Mohankumar
80ed8eb6c2
feat: /about mobile responsive ( #5587 )
...
* fix gap
* order
* update gap
2022-12-08 16:19:59 -05:00
Vignesh Mohankumar
a14d2df8e6
feat: add thumbnails to /about ( #5586 )
...
* remove these icons
* destructure
* move to constants
* update thumbnails
2022-12-08 15:21:00 -05:00
Vignesh Mohankumar
09511b06f2
feat: add selected state for about steps ( #5584 )
...
* refactor: move steps and cards into config
* selected state
* css only
2022-12-08 14:26:19 -05:00
Vignesh Mohankumar
9def686344
fix: add max-width to landing page subtext ( #5585 )
2022-12-08 12:59:02 -05:00
lynn
a88c083758
fix: token details loading state fixes ( #5567 )
...
* init
* no export
* respond to jordan
2022-12-08 12:55:10 -05:00
Vignesh Mohankumar
1a6cad4a8f
fix: update swap description in about, remove transfer ( #5583 )
...
* fix: update swap description in about, remove transfer
* fix
2022-12-08 12:29:28 -05:00
Vignesh Mohankumar
505b3f2a20
feat: new /about page ( #5578 )
...
* update card
* copy changes
* change
* add descriptions
* move folder
* move card
* template
* powered by
* more
* wallet icons
* add initial buttons
* gap
* external
* size
* Title
* button changes
* undo
* other icons
* color
* rm border
* new icons
* font weight
* naming and gaps
* naming
* get started
* StepList
* move out step
* move title
* eslint
* import
* transition stuff
* rgb
* rm rem
2022-12-08 12:06:39 -05:00
Vignesh Mohankumar
1b5a145738
fix: textPrimary for landing page copy ( #5580 )
2022-12-08 00:46:57 -05:00
Zach Pomerantz
dbdd3a8e16
fix: handle user rejection ( #5576 )
2022-12-07 21:40:40 -08:00
Zach Pomerantz
78e438294f
fix: disable swap while permit loading ( #5577 )
...
* fix: disable swap while permit loading
* refactor: UNKNOWN -> INVALID
2022-12-07 16:56:38 -08:00
Zach Pomerantz
2c014c6f38
fix: stable trade currency ( #5574 )
...
Uses a stable value for the trade's currencies, so that hooks depending on the currency are not rerendered.
Practically, this fixes an issue where changing the input amount would reset approval state.
2022-12-07 16:48:57 -08:00
lynn
7b3b7864ad
fix: remove border on last item in txn list on wallet dropdown ( #5568 )
...
* init
* respond to jordan
2022-12-07 19:33:03 -05:00
Zach Pomerantz
e35eefbeb3
fix: only prompt for necessary approval/permit ( #5575 )
2022-12-07 16:25:15 -08:00
Vignesh Mohankumar
049a7d1d6a
feat: add learn more button ( #5572 )
...
* fix pointer
* buttons
* fix gap
* buttons wrapper
* order
2022-12-07 18:46:40 -05:00
Mike Grabowski
28d6c6454e
refactor: update to landing page structure ( #5571 )
...
* feat: initial work
* chore: add translations
* Revert "chore: add translations"
This reverts commit 8ba0bf4a2e .
* chore: bring it back
2022-12-07 18:10:37 -05:00
Vignesh Mohankumar
f96ecb59eb
fix: update copy on landing page ( #5566 )
2022-12-07 14:59:04 -05:00
lynn
a4c54ff953
fix: show ens in wallet dropdown too if available ( #5564 )
...
* done
* handle no ENS case
2022-12-07 14:38:40 -05:00
Charles Bachmeier
d4cb32c4c3
feat: nft collection name and description size on larger screens ( #5550 )
...
* large collection name text on tablet and above
* make description text larger on tablets and above
* remove sprinkles
Co-authored-by: Charles Bachmeier <charlie@genie.xyz >
2022-12-07 11:31:07 -08:00
Zach Pomerantz
efb76200ce
feat: adds permit2 and universal router integration ( #5554 )
...
* feat: disable approval if permit2 is enabled
* feat: add permit through permit2
* fix: include analytics
* chore: pass permit to useSwapCallback
* feat: use universal router
* fix: remove unused import + update param formmating
* fix: suppress eslint error on restricted imports
* fix: lint issues
* fix: do not disable unapproved permit2 swap
* Revert "fix: do not disable unapproved permit2 swap"
This reverts commit be3f758e36 .
* fix: do not disable unapproved permit2 swap
* fix: allow error for permit2 swap
* fix: better sequencing to handle rejections
* build: upgrade universal router sdk to include goerli address
* fix: mv block time into const
* fix: rm unnecessary id
* fix: cast swap error to string
* chore: parity with widgets
* test: rm old feature flags
* fix: gate permit2 on chain deployment
* fix: import for gate
Co-authored-by: Yannie Yip <yannie.yip@uniswap.org >
2022-12-07 11:24:50 -08:00
Charles Bachmeier
a96bdaad04
fix: align social overflow icon on mobile ( #5561 )
...
align social overflow on mobile
Co-authored-by: Charles Bachmeier <charlie@genie.xyz >
2022-12-07 11:20:08 -08:00
Charles Bachmeier
b89860dc53
fix: change readMore val on address change ( #5558 )
...
change readMore val on address change
Co-authored-by: Charles Bachmeier <charlie@genie.xyz >
2022-12-07 11:08:26 -08:00
Zach Pomerantz
e640dccebd
test: reduce parallelization to 4 containers ( #5562 )
2022-12-07 10:37:29 -08:00
Vignesh Mohankumar
4710b832fa
build: no eslint errors on local build ( #5560 )
2022-12-07 13:02:02 -05:00
Vignesh Mohankumar
fb07666e23
build: update .nvmrc ( #5559 )
2022-12-07 12:55:36 -05:00
Vignesh Mohankumar
22f64a98a1
feat: remove footer on landing page ( #5555 )
2022-12-07 09:42:28 -05:00
Vignesh Mohankumar
50f6401a8a
feat: Initial landing page redesign updates ( #5456 )
...
* Initial landing page redesign updates
* export
* unnecessary brackets
* unused component
* remove state for the overlay
* remove more show landing logic
* only show when on /
* gated
* pointer events fix
* import z-index
* get started -> continue
* rm text-fill-color
* no fill color
* unused icon
* dont add route
* css fixes
2022-12-06 22:06:21 -05:00
Zach Pomerantz
6480b947ef
build: upgrade widgets for permit2 ( #5551 )
...
* build: upgrade widgets for permit2
* feat: flag permit2 in widget
2022-12-06 12:41:45 -08:00
lynn
f41cbbb58f
fix: broken polygon bridge link ( #5548 )
...
init
2022-12-06 15:20:08 -05:00
Mike Grabowski
0cb098b9d4
build: send source maps to Sentry on every release ( #5540 )
...
* feat: add source maps
* chore: use commit sha instead of semver for gh actions
* add test sentry action
* Delete sentry.yaml
* chore: add url prefix
2022-12-06 21:34:09 +04:00
lynn
76f5638583
fix: link color for learn more in token safety msg ( #5547 )
...
* fix
* Fix
2022-12-06 12:24:40 -05:00
aballerr
c840de73db
fix: verified icon fix ( #5538 )
...
* fixed verified icon on details to follow title properly
2022-12-06 09:55:32 -05:00
Zach Pomerantz
ab4271b2ff
feat: permit 2 feature flag ( #5545 )
2022-12-05 22:26:16 -08:00
Zach Pomerantz
6f0586c596
build: install permit2 and universal-router sdks ( #5546 )
...
build: install permite2 and universal-router sdks
2022-12-05 22:25:11 -08:00
lynn
9f33ed06dd
fix: improve network switching error to new design ( #5543 )
...
init
2022-12-05 23:25:29 -05:00
lynn
85f4cec829
fix: add back “NFT Sell item added” event ( #5528 )
...
* init
* fix
* fix
* remove debug
2022-12-05 21:44:43 -05:00
lynn
5e23501d58
fix: more precise numbers in swap exchange price ( #5541 )
...
fix rounding
2022-12-05 21:44:12 -05:00
Vignesh Mohankumar
6bc98363cc
build: lint for unused exports ( #5513 )
...
* build: fail on unused exports
* fix
* dedupe
* add unused export to test
* fix
* some fixes
* unused
* rm unresolved
* add .eslintignore
* rm
* unused modal
* unused useragent
2022-12-05 18:18:07 -05:00
Jordan Frankfurt
e15ccc3c79
fix: update <AppBody /> to allow its intended prop passthrough ( #5537 )
2022-12-05 14:09:54 -06:00
Mike Grabowski
e8880be1d9
feat: better error page ( #5536 )
...
* initial commit
* wrap up styling
* feat: add eventId
* chore: finialise design
* chore: simplify css
* feat: use grids from theme and font family
2022-12-05 22:55:45 +04:00
Mike Grabowski
0e9b05405d
feat: add Sentry / improve error handling ( #5509 )
...
* initial commit
* chore: tweaks
* chore: tweaks ahead of full rewrite
* chore: only enable Sentry in production builds
* chore: keep existing behavior
* chore: fix lint
* chore: add release
* feat: remove GA sendEvent exception
* chore: simplify
* chore: bring back new line
* chore: group code together
2022-12-05 15:37:37 +04:00
Vignesh Mohankumar
55d85d2623
feat: show Browser Wallet instead of Injected ( #5531 )
...
* feat: show Browser Wallet instead of Injected
* fix test
2022-12-02 17:34:20 -05:00
Vignesh Mohankumar
7fb7517a1a
chore: remove more unused exports ( #5529 )
...
* chore: remove more unused exports
* fix
* undo top tokens change
2022-12-02 17:18:54 -05:00
Vignesh Mohankumar
1a6fe3c1a8
chore: remove more unused exports ( #5515 )
...
* chore: remove more unused exports
* remove surveypopup
* rm NewMenu
2022-12-02 16:44:07 -05:00
Vignesh Mohankumar
a49ff49185
chore: remove some unused exports ( #5514 )
...
* remove some unused exports
* undo
2022-12-02 16:22:04 -05:00
Jack Short
ca1dc593d9
style: updating page loader for activity ( #5508 )
...
* style: updating page loader for activity
* reusing loader
2022-12-02 15:45:12 -05:00
Charles Bachmeier
afacc4a348
fix: only show owner container if we have NftBalance data ( #5526 )
...
* only show owner container if we have NftBalance data
* add endAt to NftBalanceQuery
* simplify isOwner check
* add undefined check
* remove test
Co-authored-by: Charles Bachmeier <charlie@genie.xyz >
2022-12-02 14:59:05 -05:00
Vignesh Mohankumar
91157b7a43
chore: remove unused hooks, utils, components ( #5524 )
2022-12-02 14:10:14 -05:00
Jayden Windle
d5e676efb5
feat: Adds support for embedded animation_urls ( #5492 )
...
* feat: adds support for embedded animation_urls
* chore: refactored styles and MediaType types
* chore: re-use image styles for embeds
2022-12-02 13:07:00 -05:00
Charles Bachmeier
9ac83bea7e
fix: replace many blue instances with accentAction ( #5501 )
...
replace many blue instances with accentAction
Co-authored-by: Charles Bachmeier <charlie@genie.xyz >
2022-12-02 10:48:34 -05:00
lynn
53b9a847ca
fix: add back previously deleted trending row selected event ( #5512 )
...
* init
* upgrade analytics pkg
2022-12-02 10:45:13 -05:00
Vignesh Mohankumar
04f9127961
chore: remove more unused NFT code ( #5525 )
2022-12-02 10:08:31 -05:00
Vignesh Mohankumar
5364eb5715
chore: remove some unused NFT exports ( #5517 )
2022-12-01 23:07:00 -05:00
Vignesh Mohankumar
5126e24d19
chore: remove some unused exports ( #5516 )
2022-12-01 19:12:53 -05:00
Vignesh Mohankumar
a06bb79039
chore: remove all remaining unused exports ( #5510 )
...
chore: remove unused tokens/core variables
2022-12-01 17:13:07 -05:00
Vignesh Mohankumar
a446dc7f10
chore: add landing page flag to modal ( #5511 )
...
add flag to modal
2022-12-01 17:09:31 -05:00
lynn
e903a335d6
fix: disabled treatment for unlisted collection page card + tooltip styling fixes ( #5507 )
...
init
2022-12-01 16:56:59 -05:00
Vignesh Mohankumar
3be5e9b5fe
chore: remove unused nft variables ( #5506 )
2022-12-01 15:41:35 -05:00
Jack Short
818e98328e
style: adding loading state for asset activity ( #5503 )
...
* style: adding loading state for asset activity
* translations
* previous translations did not work
2022-12-01 15:18:10 -05:00
Charles Bachmeier
aa3225c21c
feat: show 1155s in collection filter ( #5498 )
...
* show 1155s in collection filter
* continue to hide shared contract collections
Co-authored-by: Charles Bachmeier <charlie@genie.xyz >
2022-12-01 14:19:37 -05:00
Vignesh Mohankumar
35d66f1e09
chore: remove nft feature flag ( #5484 )
...
* chore: remove nft feature flag
* add back wallet modal terms
* unused styles
* rm
2022-12-01 14:18:30 -05:00
Charles Bachmeier
e156635f77
feat: add mobile profile menu filter header ( #5499 )
...
* add mobile profile menu filter header
* incorrectly set color
Co-authored-by: Charles Bachmeier <charlie@genie.xyz >
2022-12-01 14:00:53 -05:00
Charles Bachmeier
d2a97c62ed
fix: always show listed % ( #5497 )
...
Co-authored-by: Charles Bachmeier <charlie@genie.xyz >
2022-12-01 13:58:36 -05:00
aballerr
6aa999f713
fix: Web 2398 ( #5488 )
...
* adding highlight when no value for selling has been set
2022-12-01 13:43:05 -05:00
lynn
0a3f8636e7
fix: wrong color on list button ( #5502 )
...
* init
* simplify
2022-12-01 13:39:18 -05:00
Jack Short
f5de7178d9
style: updating details loader to match design ( #5504 )
2022-12-01 13:36:15 -05:00
yyip-dev
6c203cc990
fix: reduce size for remove liquidity button ( #5500 )
...
Fix size for remove liquidity button
2022-12-01 11:17:58 -05:00
aballerr
3a40159147
fix: making colors correct on approval screen ( #5444 )
...
update approval button colors to be correct
2022-12-01 10:41:49 -05:00
Vignesh Mohankumar
c6f6bd446b
chore: remove react-confetti ( #5443 )
2022-12-01 08:33:50 -05:00
Vignesh Mohankumar
416212be3b
chore: remove /swap/:outputCurrency redirect ( #5442 )
2022-12-01 08:33:02 -05:00
Vignesh Mohankumar
ce9f4525a3
chore: remove unused favoriteTokens flag ( #5454 )
2022-12-01 08:32:39 -05:00
Vignesh Mohankumar
23a250aae0
chore: landing page feature flag ( #5453 )
2022-12-01 08:32:24 -05:00
Vignesh Mohankumar
5d5e0f4596
fix: full width for all TokenRow breakpoints ( #5491 )
2022-12-01 08:31:58 -05:00