Charles Bachmeier
9fd6ab01de
refactor: Asset Details GQL Query ( #5037 )
...
* add details query
* add new query file
* connect details gql query to page
* remove comment
* type refactoring
* working pooled asset logic
* useLazyload
* remove any cast
* Deprecated_SellOrder
* extranneous cast
* return markets
Co-authored-by: Charles Bachmeier <charlie@genie.xyz>
2022-11-03 10:52:20 -07:00
Charles Bachmeier
ab43800d8e
refactor: add suspense loading states for Relay on Collection Page ( #5021 )
...
* add suspense loading states for Relay
* remove duplication
* cleanup
* add back in suspense wrapper
* rename to skeleton
Co-authored-by: Charles Bachmeier <charlie@genie.xyz>
2022-11-01 09:48:04 -07:00
lynn
d4884716e2
fix: when scrolled, remove blur on nav bar ( #5035 )
...
* init
* add transition animation as per fred rec
* add border transition rec by fred
* respond to comments
2022-10-28 16:12:02 -04:00
Zach Pomerantz
751ba3c62d
fix: token price ( #5018 )
...
* feat: add decimals, wrapper to token query
* fix: construct token in details page
* fix: clean widget default behavior
* fix: actual defaulting again
* fix: split token from price queries
* fix: reimplement TokenPrice query
* chore: rm old code
* fix: keep loading chart while loading
* fix: mv loader down
* fix: loading chart
2022-10-26 18:53:44 -07:00
Zach Pomerantz
83bc6db74e
fix: clean up widget token lock ( #5017 )
...
* feat: add decimals, wrapper to token query
* fix: construct token in details page
* fix: clean widget default behavior
* fix: actual defaulting again
2022-10-26 18:16:04 -07:00
Zach Pomerantz
058aa52faf
fix: fetch decimals from token query ( #5016 )
...
* feat: add decimals, wrapper to token query
* fix: construct token in details page
2022-10-26 18:00:53 -07:00
Zach Pomerantz
c871e55d82
fix: clean up balance summaries ( #4984 )
...
* fix: clean up balance summaries
* fix: nits
* fix: off-chain balances
* fix: only show token under details
* fix: consolidate formatting
2022-10-25 13:46:25 -07:00
Zach Pomerantz
d0e4659d32
feat: transition between tokens details ( #4981 )
...
* fix: navigate to widget-selected token
* fix: leave tokens if default is already set
* refactor: clean up widget skeleton
* fix: clean widget skeleton
* feat: transition between tokens
* fix: flicker on chart draw
* fix: nits
* fix: pixel-match loader
* fix: rm debug clause
* fix: hr color
2022-10-25 12:16:01 -07:00
Zach Pomerantz
a955b3730e
feat: navigate to widget-selected token ( #4975 )
...
* fix: navigate to widget-selected token
* fix: leave tokens if default is already set
* refactor: clean up widget skeleton
* fix: clean widget skeleton
* fix: nits
2022-10-25 08:56:15 -07:00
vignesh mohankumar
2f7c5b1df4
chore: remove remaining redesign flag usage ( #4958 )
...
* chore: remove redesign flag in base shared components
* remove more flags
* rm pending view
* chore: remove liquidity redesign flags
* rm searchmodal
* rm searchmodal
* rm searchmodal
* numericalinput
* rm remaining
* rm flag
* fix
* fixes
* !isactive fix
* fix appbody
* hoverdefault fix
2022-10-25 09:08:14 -04:00
Jordan Frankfurt
0987a311cf
fix(nft): empty bag state render ( #4947 )
...
* fix empty bag state render
* add tests
2022-10-21 12:38:30 -05:00
vignesh mohankumar
bf13b4a917
chore: remove redesign flag in swap ( #4964 )
2022-10-19 17:42:34 -04:00
vignesh mohankumar
443cfe7540
chore: remove favoriteTokens flag ( #4955 )
...
* chore: remove favoriteTokens flag
* remove more favorites stuff
* unused imports
2022-10-19 12:55:45 -04:00
cartcrom
aeeb3a248a
fix: show blocked tokens warning ( #4954 )
...
shows blocked warning
2022-10-18 17:10:11 -04:00
vignesh mohankumar
cba30fb0b1
chore: remove navBarFlag ( #4941 )
...
* chore: remove navBarFlag
* move Polling
2022-10-17 16:44:11 -04:00
vignesh mohankumar
604b854ef7
chore: remove tokens flag ( #4943 )
2022-10-17 12:28:16 -04:00
lynn
332843f428
fix: add logging for token details ( #4925 )
...
logging for token details
2022-10-13 17:27:30 -04:00
Zach Pomerantz
cee32f9751
fix: display loaded logo on token details ( #4922 )
2022-10-13 12:15:09 -07:00
lynn
a5c5567936
feat: widget analytics ( #4869 )
...
* chore: todos for analytics
* example
* another skeleton logging event
* feat: onSwapApprove
* feat: widget tracing
* feat: better useTrace
* feat: max
* feat: switch
* add trace amd remove onreviewswapclick
* onExpandSwapDetails
* feat: initial quote
* add event properties for wrap
* feat: update ack
* SWAP_SIGNED
* feat: submit
* fix: wrap type
* chore: tracing
* move format fn to utils
* fix: remove old background-color flash (#4890 )
remove old background-color
* revert: add back phase0 bug fixes (#4888 )
* Revert "revert: removing phase0 bug fixes temporarily (#4886 )"
This reverts commit 06291a15a6af77b8493e14e2cb2c84cea5c10709.
* use token amount
* Revert "use token amount"
This reverts commit f47c00358b29cfa9886bf4e490df4bf70b88e648.
* dont render if empty
* fix: upgrade pkg to eliminate compile error (#4898 )
* upgrade pkg
* dedup
* fix: Remove token selector flash of old ui (#4896 )
remove token selector flash of old view
* fix: Web 1561 logging event for clicking on explore banner toast + WEB-1543 [Explore Banner] String should be sentence case (#4899 )
* explore banner changes
* remove console log
* oops
* test: run tests on all PRs (#4905 )
* fix: use correct optimism icon in explore (#4893 )
* fix: click area should match button effect (#4887 )
* fix: update font-weight values to match spec (#4863 )
* fixes. working now verified on console.
* fix: mobile tweaks (#4910 )
* update manifest theme colors to magenta
* text spacing and right positioning on very small screens
* feat: load token from query data (#4904 )
* fix: do not fetch balances cross-chain
* build: updgrade widget
* feat: cleanly load and switch chains from widget
* fix: load token from query data
* build: trigger checks
* fix: do not override native token from query
* fix: catch error on switch chain
* refactor: useTokenFromActiveNetwork
* refactor: defaultToken behavior clarification
Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
Co-authored-by: Jordan Frankfurt <jordanwfrankfurt@gmail.com>
Co-authored-by: vignesh mohankumar <vignesh@vigneshmohankumar.com>
Co-authored-by: cartcrom <39385577+cartcrom@users.noreply.github.com>
2022-10-13 12:20:59 -04:00
Connor McEwen
cdd5b66d1b
fix: merge conflict
2022-10-13 11:38:26 -04:00
Zach Pomerantz
b65fffc5f7
feat: load token from query data ( #4904 )
...
* fix: do not fetch balances cross-chain
* build: updgrade widget
* feat: cleanly load and switch chains from widget
* fix: load token from query data
* build: trigger checks
* fix: do not override native token from query
* fix: catch error on switch chain
* refactor: useTokenFromActiveNetwork
* refactor: defaultToken behavior clarification
2022-10-13 11:38:26 -04:00
Jordan Frankfurt
8a4e07e6b2
fix: update font-weight values to match spec ( #4863 )
2022-10-13 11:38:26 -04:00
vignesh mohankumar
ec523e5235
revert: add back phase0 bug fixes ( #4888 )
...
* Revert "revert: removing phase0 bug fixes temporarily (#4886 )"
This reverts commit 06291a15a6af77b8493e14e2cb2c84cea5c10709.
* use token amount
* Revert "use token amount"
This reverts commit f47c00358b29cfa9886bf4e490df4bf70b88e648.
* dont render if empty
2022-10-13 11:38:26 -04:00
vignesh mohankumar
06291a15a6
revert: removing phase0 bug fixes temporarily ( #4886 )
...
* Revert "fix: handle backspace out of /tokens (#4879 )"
This reverts commit 3e40a6f5c6a26053d882de85943dd797460ff7b1.
* Revert "fix: add padding-bottom to TokenDetailsLayout (#4882 )"
This reverts commit f91b48e214d70ab8bddc1d24364b3add007223c1.
* Revert "fix: updates outputCurrency link in mobile balance footer (#4885 )"
This reverts commit e340f405b4ecbe1a61e9d8dca1a429283d015e5f.
2022-10-12 09:34:03 -05:00
vignesh mohankumar
3e40a6f5c6
fix: handle backspace out of /tokens ( #4879 )
...
* fix: handle backspace out of /tokens
* simplify banner
* simplify banner more
2022-10-12 09:05:53 -05:00
vignesh mohankumar
f91b48e214
fix: add padding-bottom to TokenDetailsLayout ( #4882 )
2022-10-12 09:03:14 -05:00
vignesh mohankumar
e340f405b4
fix: updates outputCurrency link in mobile balance footer ( #4885 )
2022-10-12 09:02:54 -05:00
Connor McEwen
21e0faeb1e
fix: actually fetch token object on page ( #4875 )
...
* fix: actually fetch token object on page
* syntax
2022-10-11 20:46:59 -04:00
Connor McEwen
537fea103e
fix: revert max input formatting change ( #4865 )
...
revert max input formatting change
2022-10-11 14:16:52 -04:00
Zach Pomerantz
4806c69053
fix: map wrapped tokens to native tokens for top/trending ( #4855 )
...
* fix: map wrapped to native for trending tokens
* fix: close top tokens subscription
* fix: map wrapped to native for top tokens
* fix: link to native from native
* refactor: unwrapToken.ts
* fix: mv query to effect
* fix: native token logos
* fix: use NATIVE_CHAIN_ID
* fix: rm todo
* fix: include NATIVE_CHAIN_ID
* fix: NATIVE_CHAIN_ID import
2022-10-10 22:34:11 -07:00
vignesh mohankumar
33fa32cb07
chore: remove unused TokensLoading ( #4858 )
2022-10-10 23:16:06 -05:00
lynn
a663482dc6
fix: second part of price fixes ( #4852 )
...
* init
* use named args
* transaction price format
* respond to comments
* 1.00 rounding edge case
2022-10-10 22:09:02 -04:00
cartcrom
d8677d8a6d
feat: lazy load sparklines ( #4827 )
...
* testing removing sparklines
* fixed build
* filter working
* added lazy loading of sparklines
* fixed bugs
* removed comments
* add back memo
Co-authored-by: Connor McEwen <connor.mcewen@gmail.com>
2022-10-10 16:51:45 -04:00
Jordan Frankfurt
54f831ede4
fix(token-details): make breakpoints more consistent and use only theme.breakpoint values ( #4836 )
...
* fix(token-details): make breakpoints more consistent and use only theme.breakpoint values
* feat(token-details): design patch for mobile swap button footer
* render mobile balance footer w/ only swap button when user is disconnected
* don't render BalanceSummary if no balances are provided
* full width swap button footer until breakpoints.lg
2022-10-07 12:35:27 -05:00
Jordan Frankfurt
2338255a54
fix(token-details): nits from design re: headers, spacing, layout ( #4829 )
...
* fix(token-details): nits from design re: headers, spacing, layout
* pr feedback
2022-10-06 18:26:51 -05:00
Jordan Frankfurt
b0b61f886d
fix: refactors the way chainId is accessed in some places ( #4818 )
...
fix: refactors the way some data is accessed
2022-10-06 11:55:46 -05:00
Jordan Frankfurt
a96d13978b
feat(token-details): link between native:wrapped assets in the balance summary ( #4817 )
...
* feat(token-details): link between native:wrapped assets in the balance summary
* update pageChainName access method
2022-10-06 11:36:52 -05:00
Jordan Frankfurt
22b26de78d
feat(token-details): native/wrapped-native balance UI ( #4814 )
...
* feat(token-details): balance hook
* mobile balance UI
* feat(token-details): sidebar balance summary
* pr feedback
2022-10-05 22:46:24 -05:00
vignesh mohankumar
aaf105ef51
fix: add redirect from /tokens to /tokens/ethereum ( #4816 )
2022-10-05 20:14:32 -04:00
cartcrom
66fad96e61
perf: improve token details query performance ( #4808 )
...
* updated hook
* fixed build error
2022-10-05 15:50:08 -04:00
cartcrom
d62013177d
feat: add 52 w highlow ( #4791 )
...
updated query
2022-10-05 10:44:09 -04:00
vignesh mohankumar
995a62985e
fix: allows SwapDetailsDropdown to be opened ( #4794 )
2022-10-04 17:46:21 -04:00
vignesh mohankumar
a73e814167
fix: swap hover states ( #4771 )
...
* Swap component tweaks
* Fix spacing issues and update swap arrows icon
* px
* fix ternaries
* 20px
* create a separate OutputWrapper
* variable
* update border radius case
* fix type
* use right variable
* move the containers around
* rename to swap section
* swapdetailssection
* remove unnecessary autocolumn
* border radius
* remove unnecessary wrapping div
* wrap the output swap stuff
* inherit border-radius
* update overlay styles
* remove floating bg
* fix ungated version
* fix background colors
* trying this out
* separate blocks
* accent action on the buttons
* undo
* show unselected state properly
* show on expert mode
* 0 not none
* handle margintop
* flag font size
* undo reverse icon change
* fix build
Co-authored-by: Callil Capuozzo <callil.capuozzo@gmail.com>
2022-10-04 14:10:42 -04:00
cartcrom
1839e145ec
style: updating explore language and css ( #4772 )
...
* finished updating explore language and css
* implemented feedback from fred
* refactored css for row height
* extended filter option
2022-10-03 10:49:17 -04:00
Charles Bachmeier
1138101dd0
feat: profile entry point in wallet dropdown ( #4760 )
...
* refactor sell and select page to profile page
* add renamed profile pages
* add profile entry button
* add profile details header
* small adjustments for small screens
* add new details component
* show tag on correct page
* fix wallet dropdown height
* update header spacing
Co-authored-by: Charles Bachmeier <charlie@genie.xyz>
2022-09-30 13:54:32 -07:00
Zach Pomerantz
19b4ee463b
fix: memoize tokens in TokenDetails ( #4777 )
2022-09-30 13:04:52 -07:00
vignesh mohankumar
1601962f03
fix: use font-feature-settings in AppWrapper ( #4759 )
...
* font-feature-settings
* fix: use font-feature-settings across app
* move to appwrapper
* oops
* maybe better?
* fix
2022-09-28 18:14:00 -04:00
vignesh mohankumar
5f6d17bfe2
fix: grow left panel in token details ( #4754 )
2022-09-28 17:50:05 -04:00
Zach Pomerantz
888f02dbaa
fix: approval pending ux ( #4693 )
...
* fix: approval button colors
* feat: show spinner while pending wallet interaction
* fix: constant allow button height
2022-09-28 12:18:32 -07:00
vignesh mohankumar
728a5653be
fix: update TokenDetails layout sizing ( #4750 )
2022-09-28 15:12:01 -04:00