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
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
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