Bob van der Helm
63994ba87b
✨ Add available HLS Vaults page ( #558 )
2023-10-18 12:23:47 +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
Linkie Link
7917d24134
fix: rename withdraw to unlend ( #557 )
2023-10-18 09:32:48 +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
Linkie Link
96ab3f64c0
added hatched health masks ( #552 )
...
* added hatched health masks
* Mp 2837 pre commit hook (#549 )
* MP-2837: added husys and lint-staged
* MP-2837: enabled lint-staged
* MP-2837: setup .prettierignore
* MP-2837: setup .prettierignore
* MP-3483: all Depo. Caps are now % filled (#551 )
* MP-3487: changed the copy of the bridging intro screen (#553 )
* MP-3482: replaced Max LTV with Max. Leverage (#550 )
* sneak: change filled to used
* fix: fixed the foregroundColor on increase and my ocd
2023-10-17 12:19:37 +02:00
Linkie Link
daa88ee548
MP-3482: replaced Max LTV with Max. Leverage ( #550 )
2023-10-17 09:09:48 +02:00
Linkie Link
759f2931d8
MP-3487: changed the copy of the bridging intro screen ( #553 )
2023-10-17 09:08:53 +02:00
Linkie Link
623bbe8854
MP-3483: all Depo. Caps are now % filled ( #551 )
2023-10-17 09:08: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
a507e9060c
Merge branch 'main' of https://github.com/mars-protocol/mars-v2-frontend into develop
...
# Conflicts:
# src/components/Trade/TradeChart/OsmosisTheGraphDataFeed.ts
2023-10-14 18:09:22 +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
5da0ab009f
post launch fixes ( #536 )
2023-10-11 16:32:30 +02:00
Linkie Link
3fce7f5851
Fix utilization rate ( #537 )
2023-10-11 16:08:31 +02:00
Linkie Link
db1048bf4c
various fixes ( #535 )
...
* fix: fixed autoConnect
* tidy: Credit Account
* fix: fallback timer
* fix: clearTimer
* fix: fixed v1 links
* fix: changed the farm columns
* fix: updated doc urls according to Dino (#531 )
* fix: updated doc urls according to Dino
* fix: updated the v1 url
* Build(deps-dev): bump @types/react from 18.2.23 to 18.2.27 (#530 )
Bumps [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react ) from 18.2.23 to 18.2.27.
- [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>
* 🐛 stAtom chart data (#533 )
* env: update
* env: tidy
* fix: fixed v1 links
* fix: no need for camelcase in keywords
---------
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-11 12:56:13 +02:00
Bob van der Helm
b175ee3e0e
✨ add 4h and 1D intervals ( #534 )
2023-10-11 12:45:59 +02:00
Bob van der Helm
7fac73b4dd
🐛 stAtom chart data ( #533 )
2023-10-11 11:07:56 +02:00
Linkie Link
2c5e919504
fix: updated doc urls according to Dino ( #531 )
...
* fix: updated doc urls according to Dino
* fix: updated the v1 url
2023-10-10 11:47:48 +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
Linkie Link
8a71f4664a
fix: fixed the rewards center ( #524 )
2023-10-03 15:54:22 +02:00
Linkie Link
7864b579cf
Mp 3443 sage feedback pre mars v 2 credit manager ( #522 )
2023-10-03 15:54:11 +02:00
Linkie Link
7056e8240e
MP-3445: added leverage change to AccountSummary ( #521 )
2023-10-03 15:53:56 +02:00
Bob van der Helm
fe9040b29f
✨ added caching for api requests ( #513 )
2023-10-01 14:56:22 +02:00
Bob van der Helm
44196f1a10
✨ added portfolio summary for all accounts ( #512 )
2023-09-30 09:56:11 +02:00
Linkie Link
fac07787c5
fix: apys and aprs ( #514 )
...
* fix: fixed aprs
* fix: apy and apr
* fix: fixed build
2023-09-30 09:25:56 +03:00
Linkie Link
f20ae553d9
fix: replaced apollo vault APR api with true APR api ( #511 )
2023-09-28 09:11:45 +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
4630426ae7
fix: height to maxHeight ( #508 )
2023-09-27 10:16:49 +02:00
Linkie Link
5f83570a4a
Env update ( #509 )
...
* env: updated dependencies
* linter: fixed format issue
* env: updated yarn.lock
2023-09-27 10:16:41 +02:00
Bob van der Helm
d11cf0ec03
🐛 Fix flickering of tutorial and migrationbanner ( #507 )
2023-09-26 14:07:04 +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
Bob van der Helm
d0ce3eea45
🐛 Allow > 10 accounts ( #505 )
2023-09-25 16:52:01 +02:00
Linkie Link
308ec7dba4
fix: fixed account change and refresh issues ( #498 )
2023-09-24 12:29:49 +02:00
Linkie Link
8bb308c3e0
MP-3436: sort accounts by id ( #499 )
2023-09-24 12:29:35 +02:00
Linkie Link
b9f5b1b7b2
feat: docs update ( #496 )
2023-09-21 12:53:27 +02:00
Bob van der Helm
851aeac233
Remove Pyth for testnet/devnet ( #495 )
...
* vaults: multiple bug fixes
* fixed relative import
2023-09-21 12:53:08 +02:00
Linkie Link
6c193c1a9b
fix: applied design feedback ( #494 )
2023-09-21 09:42:50 +02:00
Bob van der Helm
653227921a
vaults: multiple bug fixes ( #493 )
...
* vaults: multiple bug fixes
* Update src/components/Account/AccountComposition.tsx
Co-authored-by: Linkie Link <linkielink.dev@gmail.com>
* Update src/components/Account/AccountComposition.tsx
Co-authored-by: Linkie Link <linkielink.dev@gmail.com>
* Update src/components/Portfolio/Account/Summary.tsx
Co-authored-by: Linkie Link <linkielink.dev@gmail.com>
* Update src/components/Account/AccountComposition.tsx
Co-authored-by: Linkie Link <linkielink.dev@gmail.com>
* Update src/components/Portfolio/Account/Summary.tsx
Co-authored-by: Linkie Link <linkielink.dev@gmail.com>
---------
Co-authored-by: Linkie Link <linkielink.dev@gmail.com>
2023-09-20 19:05:17 +02:00
Linkie Link
5bf46d4da0
fix: all your codebase belongs to us ( #492 )
2023-09-20 15:53:33 +02:00
Linkie Link
574dedec23
fix: fixed accountId usage ( #491 )
...
* fix: fixed accountId usage
* fix: fixed rewards center
* fix: copy fix
2023-09-20 15:53:24 +02:00
Linkie Link
2ba18d2f05
Max margin trade fix ( #490 )
...
* fix: margin trading fix
* fix: accountsBalancesTable fix
* fix: show detailed APR where we have the space
* fix: smallerThan not biggerThan
* fix: be more precise on the decimals
* tidy: refactor
2023-09-20 11:16:47 +02:00
Linkie Link
9a3fe4dd1e
Tutorial updates ( #489 )
...
* fix: remove headline of Portfolio
* feat: added multiple backgrounds and new intro props
2023-09-20 10:26:14 +02:00
Linkie Link
ca5e424700
fix: fixed Borrow infinite render ( #488 )
...
* fix: fixed Borrow infinite render
* feat: added a Repay not available info
* tidy: updated wording
2023-09-19 17:02:56 +02:00
Linkie Link
9ced4ab6c9
fix: vault calculation of assets ( #486 )
2023-09-19 15:39:28 +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
f87403eb4d
Various fixes ( #485 )
...
* fix: fixed info icon
* fix: remove margin trading on asset select
* fix: force abbreviated values larger than 1_000 to be max two decimals
* fix: added AssetRate to Select Option
* fix: fixed reduceMotion default setting on resetSettings
* fix: disable autoLend on AXL and stATOM
* Build(deps): bump @splinetool/runtime from 0.9.443 to 0.9.452 (#484 )
Bumps @splinetool/runtime from 0.9.443 to 0.9.452.
---
updated-dependencies:
- dependency-name: "@splinetool/runtime"
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 prettier from 3.0.2 to 3.0.3 (#483 )
Bumps [prettier](https://github.com/prettier/prettier ) from 3.0.2 to 3.0.3.
- [Release notes](https://github.com/prettier/prettier/releases )
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md )
- [Commits](https://github.com/prettier/prettier/compare/3.0.2...3.0.3 )
---
updated-dependencies:
- dependency-name: prettier
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-dev): bump prettier-plugin-tailwindcss from 0.5.3 to 0.5.4 (#481 )
Bumps [prettier-plugin-tailwindcss](https://github.com/tailwindlabs/prettier-plugin-tailwindcss ) from 0.5.3 to 0.5.4.
- [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.3...v0.5.4 )
---
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>
Co-authored-by: Linkie Link <linkielink.dev@gmail.com>
* Build(deps): bump @tanstack/react-table from 8.9.3 to 8.10.0 (#482 )
Bumps [@tanstack/react-table](https://github.com/tanstack/table ) from 8.9.3 to 8.10.0.
- [Release notes](https://github.com/tanstack/table/releases )
- [Commits](https://github.com/tanstack/table/compare/v8.9.3...v8.10.0 )
---
updated-dependencies:
- dependency-name: "@tanstack/react-table"
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>
Co-authored-by: Linkie Link <linkielink.dev@gmail.com>
* fix: get the info icon out of the users FACE
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-19 11:32:47 +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
b04f244d3e
MP-3414: support unborrowable assets ( #479 )
...
* MP-3414: support unborrowable assets
* tidy: refactor
* MP-3414: added Rate Tooltip to BalancesTable
2023-09-18 16:24:16 +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
Bob van der Helm
1d5595d687
🐛 change BUFFER to slippage for Vault enter value ( #476 )
2023-09-15 11:03:42 +02:00