Linkie Link
5bc8afb410
added sharp ( #682 )
...
* env: added sharp
* fix: use dvh over vh
2023-12-08 11:54:57 +01:00
Bob van der Helm
b82cf37c3d
Add usePerpsMarket hook and adjust routing ( #680 )
...
* Add usePerpsMarket hook and adjust routing
* fix: enable 7 links in the header
---------
Co-authored-by: Linkie Link <linkielink.dev@gmail.com>
2023-12-06 15:29:48 +01:00
Linkie Link
c738b01382
feat: make USDC the standard secondary asset (for trade) ( #681 )
2023-12-06 15:27:25 +01:00
Linkie Link
f24d96ad75
UX/UI finetuning ( #672 )
...
* feat: added Buy/Sell token ratio to the TradingView header
* fix: changed the order in the trading view description
* feat: added minute timeframe to the chart
* fix: changed WBTC to WBTC/USD pyth price feed
* fix: adjusted HLS health curve
* fix: made HLS accounts unselectable
* copy: changed the APY range and Strategy text
* tidy: fix the tables layout to be more readable
* fix: change the precision of the Trading chart header
* feat: added summary collapsable
* fix: removed Debt Column for active HLS positions
* fix: added Memo to TVChart
* fix: adjust Trade page layout
* tidy: refactor table meta
* fix: DisplayCurrency is able to take options now
* tidy: remove unneeded typesafety
* fix: adjusted according feedback
* env: enabled autoRepay and updated version
2023-12-04 11:51:58 +01:00
Linkie Link
befb34de6c
Auto Lend Switch ( #660 )
...
* refactor: moved the autolend logic to the switch
* tidy: update default value
* adjust logic of auto-lend for switch component
---------
Co-authored-by: Bob van der Helm <34470358+bobthebuidlr@users.noreply.github.com>
2023-11-27 15:40:34 +01:00
Bob van der Helm
a4bbf92ced
Initialize perps ( #648 )
...
* setup routing
* add basic perps interface
* small fix
2023-11-23 15:42:08 +01:00
Bob van der Helm
0f48e4bd27
Hls latest ( #637 )
...
* env: enable HLS
* feat: added background and orb fading
* tidy: updated the token logos (#629 )
* tidy: updated the token logos
* feat: added dydx
* fix: increase load spead of trading charts
* feat: first version of the UI shift
* Deployment for HLS testing
* ✨ add APY to HLS staking
* ✨ add APY account overview and summary
* fix: fixed the intro component visibility
* ✨ add warning messages HLS
* fix: menu order
* ✨ implement live APRs
* auto-select first account, add no balance message
* enable tabs for hls, fix net APY for deposit
* fix button for hls, sorting apy and console warnings
* disable feature flag HLS
* fix slider
* update routing
---------
Co-authored-by: Linkie Link <linkielink.dev@gmail.com>
2023-11-16 11:16:16 +01:00
Bob van der Helm
1ecd80dac2
Hls leverage ( #628 )
...
* ✨ Add basic modal for HLS staking
* ✨ UI components for Manage
* ✨ All Manage actions (except change lev)
* 🐛 hls intro icons + checkbox, hide repay when no debt, clickable dropdown
* fix build
* ✨ finish all actiosn for HLS staking
* 🐛 clean up tooltip props
2023-11-10 17:20:48 +01:00
Linkie Link
cc3b0eee20
Tia and stosmo ( #627 )
...
* feat: listed TIA and stOSMO
* fix: fixed USDC
* tidy: refactor the token logos
2023-11-10 15:05:36 +01:00
Bob van der Helm
d2afe06b16
Mp 3367 staking interactions ( #613 )
...
* ♻️ Refactor borrowRate to be in full numbers
* ✨ Enter into HLS Staking strategy
* ✨ HLS Staking deposited table + Portfolio pages
* tidy: refactored the masks for HealthBar
---------
Co-authored-by: Linkie Link <linkielink.dev@gmail.com>
2023-11-03 15:01:15 +01:00
Linkie Link
dd29f17a42
Feedback implementation ( #611 )
...
* env: update wallet volnurabilities
* fix: always render TradingChart container
* fix: amounts can be a fraction of MIN_AMOUNT
* feat: added clickaway handler
* tidy: refactor
* fix: size below 0.00001 is possible for BTC and WETH
* fix: fixed tests
2023-11-03 14:10:19 +01:00
Linkie Link
c82f2d6089
fix: update
2023-10-24 20:21:35 +02:00
Linkie Link
79a2e86d8f
fix: fixed the AccountDetails position
2023-10-24 20:09:56 +02:00
Linkie Link
abd36bc502
Mp 3480 persist last trading pair ( #578 )
...
* MP-3480: remove favourite asset and prepare localStore
* env: updated shuttle, keplr and version (#566 )
* fix: fixed dust left when trying to buy max amount without leverage (#565 )
* feat: added squidrouter to the bridges (#561 )
* feat: added squidrouter to the bridges
* fix: copy update
* MP-3521: updated the APR calculation (#572 )
* Table fixes (#563 )
* fix: fixed the sorting of the tables
* fix: added sorting functions
* fix: farm sorting for deposit cap
* fix: fixed Row types
* Build(deps-dev): bump prettier-plugin-tailwindcss from 0.5.5 to 0.5.6 (#567 )
Bumps [prettier-plugin-tailwindcss](https://github.com/tailwindlabs/prettier-plugin-tailwindcss ) from 0.5.5 to 0.5.6.
- [Release notes](https://github.com/tailwindlabs/prettier-plugin-tailwindcss/releases )
- [Changelog](https://github.com/tailwindlabs/prettier-plugin-tailwindcss/blob/main/CHANGELOG.md )
- [Commits](https://github.com/tailwindlabs/prettier-plugin-tailwindcss/compare/v0.5.5...v0.5.6 )
---
updated-dependencies:
- dependency-name: prettier-plugin-tailwindcss
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Build(deps): bump react-router-dom from 6.16.0 to 6.17.0 (#571 )
Bumps [react-router-dom](https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom ) from 6.16.0 to 6.17.0.
- [Release notes](https://github.com/remix-run/react-router/releases )
- [Changelog](https://github.com/remix-run/react-router/blob/main/packages/react-router-dom/CHANGELOG.md )
- [Commits](https://github.com/remix-run/react-router/commits/react-router-dom@6.17.0/packages/react-router-dom )
---
updated-dependencies:
- dependency-name: react-router-dom
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>
* ✨ HLS: Add info modal (#573 )
* MP-3484: remember summaryAccount tabs and auto expand both (#574 )
* User feedback (#575 )
* feat: added debt indicator and adjusted the borrowModal
* fix: wallet interaction fix
* Add usdc noble (#576 )
* env: added USDC.n
* env: updated usdc noble variables
* fix: fixed the pool on USDC for devnet purposes
* 🐛 Fix initial status of chart (#577 )
* MP-3480: persist trading pair
* fix: updated according to feedback
* fix: remove pair from Trading View header
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Bob van der Helm <34470358+bobthebuidlr@users.noreply.github.com>
2023-10-24 16:36:06 +02:00
Bob van der Helm
bcd840150d
✨ HLS: Add info modal ( #573 )
2023-10-23 14:04:17 +02:00
Bob van der Helm
ccc4a42354
Full refactor tables ( #556 )
...
* 📈 Improve structure generic Table component
* ♻️ Update Borrow Table and overall structure of Table comp
* ♻️ Update Lend table
* ✨ add loading state for lend table
* 🧪 Fix unit tests
2023-10-18 09:38:24 +02:00
Bob van der Helm
9e5f88ac83
♻️ refactor table (Farm) ( #555 )
...
* ♻️ refactor table (Farm)
* 🧽 clean up PR
* 🧽 clean up PR
2023-10-17 12:42:25 +02:00
Bob van der Helm
5392a4717c
Mp 3245 usehlsvaults hook ( #541 )
...
* ✨ routing and pages for HLS
* ✨ create hooks for fetching HLS vaults and Strategies
* Share accounts (#539 )
* feat: do not redirect to wallet on portfolio page
* fix: use connected wallet for AccountMenu
* fix: fixed ghost AccountDetails
* feat: created ShareBar and share functionality
* fix: don’t show shareBar if no address is present
* fix: stupid 'next/navigation'
* tidy: format
* fix: fixed tests
* ✨ routing and pages for HLS (#538 )
* 🐛 use useAccountIds
* fix: fixed the tests
* fix: accountIds is now a suspense
---------
Co-authored-by: Bob van der Helm <34470358+bobthebuidlr@users.noreply.github.com>
* 🐛 fix build
---------
Co-authored-by: Linkie Link <linkielink.dev@gmail.com>
2023-10-16 10:45:57 +02:00
Linkie Link
ea614997a7
Share accounts ( #539 )
...
* feat: do not redirect to wallet on portfolio page
* fix: use connected wallet for AccountMenu
* fix: fixed ghost AccountDetails
* feat: created ShareBar and share functionality
* fix: don’t show shareBar if no address is present
* fix: stupid 'next/navigation'
* tidy: format
* fix: fixed tests
* ✨ routing and pages for HLS (#538 )
* 🐛 use useAccountIds
* fix: fixed the tests
* fix: accountIds is now a suspense
---------
Co-authored-by: Bob van der Helm <34470358+bobthebuidlr@users.noreply.github.com>
2023-10-13 13:49:38 +02:00
Bob van der Helm
4915729ed5
✨ routing and pages for HLS ( #538 )
2023-10-12 14:40:40 +02:00
Linkie Link
17f13b6d7c
Mp 3442 sage feedback pre mars v 2 trade page ( #520 )
...
* MP-3442: set autolend to true by default
* MP-3442: remember margin setting and toggle it on by default
* MP-3442: add balances to AssetSelector
* MP-3442: close assetOverlay on clickAway
* fix: fixed TradeModule z-index
* MP-3442: set priority of balance and cap
* fix: overlayState
* fix: adjusted to comments
2023-10-05 09:15:32 +02:00
Bob van der Helm
44196f1a10
✨ added portfolio summary for all accounts ( #512 )
2023-09-30 09:56:11 +02:00
Linkie Link
5bbb59d5dc
fix: fixed the loading issue by adding a suspense ( #510 )
2023-09-27 14:57:10 +02:00
Linkie Link
cfd7fb3073
Pre migration adjustments ( #506 )
...
* fix: added close button to accountDetails
* fix: fixed the AccountList to load async
* fix: fixed the heart size on the AccountStats
* fix: added AccountDetails loading state
* feat: added migration banner
* fix: fixed tests
2023-09-25 20:17:43 +02:00
Linkie Link
6c193c1a9b
fix: applied design feedback ( #494 )
2023-09-21 09:42:50 +02:00
Bob van der Helm
50fd39e926
Mp 3412 ( #487 )
...
* first iteration
* finish implementation
* finish
* fix pr comments
* fix: added Card Title to Overview
---------
Co-authored-by: Linkie Link <linkielink.dev@gmail.com>
2023-09-19 15:39:14 +02:00
Linkie Link
74127213aa
Mp 3413 pending tx toasts ( #478 )
...
* MP-3413: added pending transaction toast
* fix: removed txLoader/broadcastInitialized
* fix: replace the toast instead of closing the previous
* fix: fixed the build
* MP-3413: added transition on update and success checkmark
* fix: changed Search for ChevronDown
2023-09-18 16:54:36 +02:00
Linkie Link
dc9a757224
MP-3391: make sure locked and unlocking is taken into account ( #477 )
...
* MP-3391: make sure locked and unlocking is taken into account
* fix: accounts was missing unlocked and locked value
* fix: fixed small layout bug
* fix: rebuild the addValueToVaults function
* tidy: refactor
* fix: unwrapped BN on BigNumber values from
* fix: removed the refreshInterval from accounts
2023-09-18 16:22:11 +02:00
Linkie Link
b12f5d3583
Account detail finetuning ( #474 )
...
* fix: fixed the position of extended AccountDetails
* feat: shrink full screen content on expansion
* fix: fixed the overlap
2023-09-15 10:44:05 +02:00
Linkie Link
2a06d896ca
Mp 2442 tab and alignment fixes ( #464 )
...
* fix: fixed the margins and paddings of the layout
* fix: fixed the gap
2023-09-13 11:44:33 +02:00
Linkie Link
1bf93670a3
Transaction loader component ( #449 )
...
* feat: added transaction loader screen to modals
* tidy: refactor
* 🐛 fix: borrow not updating vault values (#436 )
* ⚡ Merge FundAccount and AccountFund (#431 )
* ⚡ Merge FundAccount and AccountFund
* fix build
* 🐛 fundAccount not showing, small typos/text corrections
* MP-3376: overpay on repay (#438 )
* MP-3376: overpay on repay
* fix: remove Buffer and fix NaN on useSpring
* feat: added transaction loader screen to modals
* fix: updated AccountFundContent
* fix: fixed the animated-loader issues
* 🐛 UNSAFE_COMPONENT error (#439 )
* 🐛 UNSAFE_COMPONENT error
* 🐛 fix unit tests for react-helmet-async
* Small text fixes (#440 )
* 🐛 text fix on fund for new account
* 🐛 make toggle account-wide lending on new-account
* Styling alert dialog (#441 )
* 🐛 text fix on fund for new account
* 🐛 make toggle account-wide lending on new-account
* 💅🏼 Update styling of alertDialogs
* Fixes bob (#443 )
* 🐛 Trading chart title
* 🐛 Trading chart title
* 🐛 fix incorrect vault deposit amounts
* 🐛 fix incorrect vault borrow calc
* 🧽 run format
* 🧽 fix comments
* 🧽 update code owners
* Build(deps): bump bignumber.js from 9.1.1 to 9.1.2 (#444 )
Bumps [bignumber.js](https://github.com/MikeMcl/bignumber.js ) from 9.1.1 to 9.1.2.
- [Release notes](https://github.com/MikeMcl/bignumber.js/releases )
- [Changelog](https://github.com/MikeMcl/bignumber.js/blob/master/CHANGELOG.md )
- [Commits](https://github.com/MikeMcl/bignumber.js/compare/v9.1.1...v9.1.2 )
---
updated-dependencies:
- dependency-name: bignumber.js
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Build(deps-dev): bump @types/react from 18.2.19 to 18.2.21 (#448 )
Bumps [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react ) from 18.2.19 to 18.2.21.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react )
---
updated-dependencies:
- dependency-name: "@types/react"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Build(deps): bump next from 13.4.9 to 13.4.19 (#446 )
Bumps [next](https://github.com/vercel/next.js ) from 13.4.9 to 13.4.19.
- [Release notes](https://github.com/vercel/next.js/releases )
- [Changelog](https://github.com/vercel/next.js/blob/canary/release.js )
- [Commits](https://github.com/vercel/next.js/compare/v13.4.9...v13.4.19 )
---
updated-dependencies:
- dependency-name: next
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Build(deps-dev): bump @types/node from 20.4.8 to 20.6.0 (#447 )
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node ) from 20.4.8 to 20.6.0.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node )
---
updated-dependencies:
- dependency-name: "@types/node"
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Linkie Link <linkielink.dev@gmail.com>
* feat: refactored the toast responses (#442 )
* feat: refactored the toast responses
* fix: fixed the map return
* feat: added a recent transaction center
* tidy: removed logs
* fix: fixed autolend
* feat: added global lending on first account funding
* fix: added endOfLine setting
* feat: added eslint warnings for lineEnds
* fix: made the vault message generic
* feat: added transaction loader screen to modals
* 🐛 fix: borrow not updating vault values (#436 )
* ⚡ Merge FundAccount and AccountFund (#431 )
* ⚡ Merge FundAccount and AccountFund
* fix build
* 🐛 fundAccount not showing, small typos/text corrections
* feat: added transaction loader screen to modals
* fix: updated AccountFundContent
* fix: fixed the animated-loader issues
* tidy: refactor
* fix: set pendingTransaction inside the broadcast slice
* fix: fixed the pipeline
* fix: setting showTxLoader
* fix: fixed the pipeline
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: Bob van der Helm <34470358+bobthebuidlr@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-11 12:51:44 +02:00
Linkie Link
4cc0fddada
MP-3357: created the Intro component ( #427 )
2023-09-05 19:42:53 +02:00
Linkie Link
19e06aa7d4
Fix auto lend setting ( #425 )
...
* fix: fixed the auto-lend setting impact
* fix: fixed trade layout and autoLend
2023-09-05 12:38:20 +02:00
Linkie Link
2d146449ca
Mp 3260 finalize account summary ( #395 )
2023-08-26 10:30:56 +02:00
Linkie Link
eeb49ba2ab
feat: added account details and fund account button to empty accounts ( #393 )
2023-08-24 18:30:54 +02:00
Bob van der Helm
9c3a6a0482
[bugfixes] health percentage, trade slider, animation ++ ( #369 )
...
* [bugfixes] health percentage, trade slider, animation ++
* Update src/hooks/useHealthComputer.tsx
Co-authored-by: Yusuf Seyrek <yusufseyrek@users.noreply.github.com>
---------
Co-authored-by: Yusuf Seyrek <yusufseyrek@users.noreply.github.com>
2023-08-15 08:19:37 -03:00
Linkie Link
6efe2c71a0
Mp 2784 mobile not supported screen ( #358 )
...
* MP-2784: first itteration of the mobile support screen
* fix: fixed the AccountSummary
* MP-2784: mobile not supported
* fix: v1 is not v1.0
* fix: fixed according to feedback
* fix: created a standalone mobile page
2023-08-14 10:32:49 +02:00
Linkie Link
d494bce26a
MP-2802: created get started overlay ( #351 )
2023-08-08 21:50:07 +02:00
Yusuf Seyrek
dca3f8a236
feat(Trade page): account details card ( #348 )
...
* feat(Trade page): account details card
* feat(account details): dont display the card when account has no deposits
2023-08-08 12:12:52 +03:00
Linkie Link
0aa3bb0c5f
MP-2798, MP-2799, MP-2902, MP-2893, MP-2895, MP-2896, MP-2898 ( #312 )
2023-07-25 09:48:59 +02:00
Bob van der Helm
3413203ca7
Mp 2949 implemet health computer for borrow ( #311 )
...
* implemented max borrow for borrow page
setup basic useHealthComputer
* finish up healthcomputer
* updated tests
2023-07-24 09:44:45 +02:00
Linkie Link
48d07173fb
Mp 2591 add terms of service ( #300 )
2023-07-14 16:39:12 +02:00
Bob van der Helm
4aec1bee67
WIP: Tradingview charts ( #296 )
...
* almost finished custom styling for TV
add basic chart
intermittent update
finished basic route pairing datafeed
update datafeed
fix relative import
* finish shell script
add shell script for charting_library
* remove wrong line in shell
* fixed pr comments
* fixed pr comments
* fix config for TV CHart
* add example for thegraph api
* update favorite assets
* add + to boolean operation
* remove usecallback
2023-07-13 09:02:38 +02:00
Linkie Link
df6d7a3ba2
overall cleanup and refactoring + SettingsModal ( #286 )
2023-07-11 21:01:14 +02:00
Linkie Link
3c3e722c49
Mp 2821 unlocked positions ( #276 )
2023-07-04 16:15:36 +02:00
Bob van der Helm
39e745b210
Mp 2713 asset selector ( #275 )
...
* added dumb asset selector
* fix table layouts borrow and farm
* 🍱 added basic overlay, esc btn
* finish asset selector
* Update tailwind configf to include button styles
2023-07-03 09:39:34 +02:00
Bob van der Helm
789a0d7b47
added full width layout for trade page ( #274 )
2023-06-29 17:35:45 +02:00
Bob van der Helm
999bad4059
Mp 2880 modifying farm position ( #272 )
...
* added correct resolving of account positions
* solve rendering bug for lp amount
* bugfix: add slippage to minlpamount
* fix DisplayCurrency to accept only BNCoin
* bugfix: remove prices from store
* add basic depostied vaults table
* Farm: Added deposited table
* finish deposited table, remove featured vaults:
* enable deposit more for vaults
* use controller for vault modal
* small fixes and polishing of add deposit
* fix tests, run format
* removed empty deposited table
---------
Co-authored-by: Linkie Link <linkielink.dev@gmail.com>
2023-06-29 13:12:11 +02:00
Bob van der Helm
697e83b7cb
Mp depostied vaults table ( #271 )
...
* added correct resolving of account positions
* solve rendering bug for lp amount
* bugfix: add slippage to minlpamount
* fix DisplayCurrency to accept only BNCoin
* bugfix: remove prices from store
* add basic depostied vaults table
* Farm: Added deposited table
* finish deposited table, remove featured vaults:
2023-06-29 12:55:47 +02:00
Yusuf Seyrek
2c399a2f16
feat: lend and withdraw modals ( #257 )
...
* feat: lend/withdraw functionality
* feat: addressed to pr discussions
* rename: data hook members
2023-06-23 13:30:08 +03:00