Commit Graph

22 Commits

Author SHA1 Message Date
Linkie Link
6946ceddfc
Portfolio fix (#809)
* fix: fixed the portfolio account detail page layout

* fix: fixed portfolio cards

* tidy: refactor
2024-02-14 14:18:10 +01:00
Linkie Link
71d8e49a3d
v2.2.2 OS (#794)
* fix: fixed transaction messages (#792)

* Open Source + Docker image (#793)

* feat: added dummy charting library

* feat: added docker workflow

* feat: remove tests and code-coverage

* feat: added final TradingView fallback

* env: set private to false

* fix: added production env

* env: added README and LICENSE

* env: cleanup variables

* env: add license field

* env: finish docker setup

* fix: updated the description of the dummy data
2024-02-13 11:33:13 +01:00
Linkie Link
ffa5abb55b
fix: fixed high gas prices (#788)
* fix: fixed high gas prices

* env: remove sentry
2024-02-09 14:36:44 +01:00
Bob van der Helm
ba8758aa91
perps: add tradingfee percentage tooltip (#787) 2024-02-09 10:35:09 +01:00
Linkie Link
6ac7708ca5
feat: debounce input sliders (#784)
* feat: debounce input sliders

* fix: fixed the debounce function
2024-02-09 08:29:26 +01:00
Bob van der Helm
6d5e7c7325
perps: modify perps, update contracts, interest, realized profits (#783) 2024-02-08 15:25:41 +01:00
Bob van der Helm
ef9c353b6b
Mp 2193 pnl breakdown (#775)
* perps: add additional pnl info

* perps: make realized / unrealized coins
2024-02-06 15:12:55 +01:00
Linkie Link
9ccb32b743
fix: filled the empty space below collapsed content (#773)
* fix: filled the empty space below collapsed content

* fix: fixed timings
2024-02-06 13:48:41 +01:00
Linkie Link
3c280518e8
Morph summary (#763)
* fix: fixed mobile issues with SVGs

* feat: first morphing AccountDetails

* tidy: composition refresh

* tidy: fine adjusting

* fix: svg fixes

* feat: updated summary structure

* feat: overall layout adjustments

* fix: fixed svg adjustments

* feat: finished AccountSummary update

* fix: fixed build

* tidy: refactor

* fix: fix enourmous APYs

* fix: don’t abbreviate APYs

* tidy: console.log

* fix: fix borrow Rate sorting

* fix: fixed scrollbars

* fix: hide scrollbars

* fix: resolved feedback

* fix: amount not size

* feat: only show credit account number outside of modals

* fix: added missing Strategies to PortfolioAccount

* fix: save some space
2024-02-06 10:05:42 +01:00
Bob van der Helm
e763203d15
Mp 2182 convert api folder to swr hooks (#758)
* moved api/openingFee to hook

* moved api/icns and api/balances to hooks

* moved api/assetIncentivesApy to hooks

* moved api/incentives to hooks

* fix relative import
2024-01-31 09:17:13 +01:00
Linkie Link
3123220fee
Withdraw and fund fix (#756)
* fix: fixed markets.find(byDenom())

* fix: fixed the account Summary in modals

* fix: fixed the withdraw lent assets logic
2024-01-30 13:51:23 +01:00
Linkie Link
d1ed6e542e
fix: replaces the store with useChainConfig (#755) 2024-01-30 09:19:51 +01:00
Bob van der Helm
a00c8e391b
Moved Markets data to SWR (#749) 2024-01-26 16:55:45 +01:00
Linkie Link
957b44a153
tidy: remove console.log 2024-01-24 09:15:28 +01:00
Linkie Link
2997d7440e
Merge branch 'main' of https://github.com/mars-protocol/mars-v2-frontend into develop
# Conflicts:
#	src/components/Icons/index.ts
#	src/components/Trade/TradeChart/TVChartContainer.tsx
#	src/components/Trade/TradeChart/index.tsx
#	src/components/common/Icons/PythLogoType.svg
#	src/components/common/Toaster/index.tsx
#	src/components/header/DesktopHeader.tsx
#	src/components/trade/TradeChart/PoweredByPyth.tsx
#	src/store/slices/broadcast.ts
2024-01-24 08:53:44 +01:00
Linkie Link
0ccb29154a
feat: created AccountPerpsPositions for the AccountDetails component (#745)
* feat: created AccountPerpsPositions for the AccountDetails component

* fix: type fixing

* feat: added ToolTip

* tidy: refactor

* fix: added unrealized PnL placeholder

* tidy: finetune on the border color

* fix: fixed tables

* fix: adjustments according to feedback

* fix: fixed lent assets table

* fix: fixed typing

* refactor: streamline size to amount
2024-01-23 15:14:48 +01:00
Linkie Link
5c45491497
feat: added external links and marked them accordingly (#740) 2024-01-22 15:02:37 +01:00
Bob van der Helm
fa4e0530c5
change labels for leverage slider (#738) 2024-01-22 15:02:12 +01:00
Linkie Link
000aa71e06
Miscellaneous (#737)
* fix: sorted assets by value

* tidy: refactored AssetsSelectTable

* fix: fixed the multipleVaultWithdraw Modal
2024-01-18 09:36:26 +01:00
Linkie Link
fd924c885e
Custom Pyth Endpoint & Price Data on Tx's (#736)
* env: remove testing library

* fix: use pyth over oracle

* fix: fix the endpoints

* fix: fix build

* tidy: refactor

* fix: fixed account fetching

* fix: made all queries chain agnostic

* fix: fixed the chart position

* feat: added basic auth

* fix: added env validation

* fix: added ‘no-cors’ and included credentials

* fix: removed ‘no-cors’ mode

* fix: change the isLessThanACent logic

* tidy: console log

* fix: added fallback api

* feat: progress on pythVaas

* fix: getting prices

* fix: try catch

* feat: add pythPriceData to transactions based on setting

* fix: disable Pyth Update when user uses Ledger

* tidy: copy
2024-01-18 09:03:32 +01:00
Linkie Link
68206ae14c
Deposit cap highlighting (#735)
* feat: added depositCap highlighting

* feat: added depositCap highlighting
2024-01-17 10:49:17 +01:00
Bob van der Helm
ab0e184a39
refactor components folder (#734)
* refactor components folder

* create leverage slider variants
2024-01-16 15:35:18 +01:00