Commit Graph

434 Commits

Author SHA1 Message Date
saml33 5cc2cdbdf3 allow toggling chart type from account chart expanded view 2023-05-03 16:12:08 +10:00
saml33 2d279eb057 add insurance details to token params 2023-05-03 14:19:50 +10:00
saml33 aa6a5e75c9 add missing tooltips 2023-05-03 13:57:54 +10:00
saml33 40f84f6e8d link to token/market stats page from details tables 2023-05-03 11:00:32 +10:00
saml33 5f9352b97b update net borrows tooltip 2023-05-01 22:12:42 +10:00
saml33 e6e86bcf96 add/update copy 2023-05-01 20:55:22 +10:00
saml33 7e322520fb add tooltip to token fees collected chart 2023-05-01 16:01:46 +10:00
saml33 cf0a5e7e59 add oracle provider to market details modals 2023-05-01 14:42:29 +10:00
saml33 9ceb264c0a add token params to token page 2023-05-01 12:16:29 +10:00
saml33 53369f741f merge main 2023-04-29 13:21:54 +10:00
Adrian Brzeziński 1f2e90bdf8
notifications settings + websockets (#139)
* notification settings

* fix

* websockets

* fix url

* websockets

* fix

* fix

* fix api url

* fix hook

* reconnect sockets

* fix url

* fix double connection move back hooks to btn

* fix

* fix dependncy array
2023-04-28 23:36:24 +02:00
tlrsssss 31c2169324
Merge pull request #134 from blockworks-foundation/token-fees-chart
add token fees collected chart
2023-04-27 13:48:46 -04:00
Riordan Panayides 177229785e Merge branch 'pan/oracle-info' of github.com:blockworks-foundation/mango-v4-ui into pan/oracle-info 2023-04-27 17:48:37 +01:00
Riordan Panayides 5104439f80 i18n 2023-04-27 17:43:36 +01:00
saml33 4d261b61a7 add token settings table 2023-04-27 22:11:20 +10:00
saml33 727cf53d7d add modal for spot market details 2023-04-27 13:39:49 +10:00
saml33 f62048c87b add perp market settings table 2023-04-27 12:33:03 +10:00
saml33 5b8d3eb90b merge main 2023-04-24 21:35:55 +10:00
saml33 20529ac753 add token fees collected chart 2023-04-24 16:21:05 +10:00
saml33 302dadd35b merge main and show swaps by default 2023-04-24 11:29:36 +10:00
Adrian Brzeziński d390447659
ui notifications (#127)
* notifications modal

* fix

* refetch, notify, mark as seen

* fix

* fix

* set secure cookie

* add ui

* more ui details and translations

* fix errors handling

* add remove all function to button

* pr fixes

* rename notifications toast

* add catch

* rename notifications prop in mango store

---------

Co-authored-by: saml33 <slam.uke@gmail.com>
2023-04-21 16:23:27 +02:00
saml33 a8b1acc502 export account history to csv 2023-04-20 20:55:52 +10:00
saml33 51aed56b88 merge main and update tooltip 2023-04-17 12:13:50 +10:00
saml33 fea60efbbb change swap history points to use arrows 2023-04-15 23:56:50 +10:00
Adrian Brzeziński 453b62fdd7
governance active proposal voting (#117)
* governance wip

* governance store + helpers wip

* get voter weight

* on boarding realms component

* token list wip

* pyth oracle get

* adv fields

* hidden adv fields

* create proposal fcn + mangolana

* register market wip

* list market fixes wip

* translations

* register to register trustless + layout changes

* fix layout

* match switchboard oracle

* loaders

* validation

* style components

* change icon

* copy update

* translations keys

* fix translation

* fix warning create open book market

* fix

* fix transaltion

* fix

* fix

* fix pr

* fix onboarding translation

* fix token owner record error in console

* remove axios

* generic vsr idl

* fix pr

* remove mangolana

* small folder ref

* voting wip

* code fix

* menu

* fix

* additional prop in onboarding component

* fix translation

* fix transaltion

* voting fixes

* add basic styling

* fix merge

* fix files

* fix

* fix loaders

* fix

* fix loading voteRecord

* fix voter state without wallet

* fix

* translations

* fix translation

* dynamic imports

* copy updates, show vote weight and current vote

* fix

---------

Co-authored-by: saml33 <slam.uke@gmail.com>
2023-04-14 21:05:27 +02:00
saml33 707205eabe show swap history on swap chart 2023-04-14 15:22:39 +10:00
saml33 b0a4162d95 merge main 2023-04-06 09:19:58 +10:00
Adrian Brzeziński 3bf2a7d470
list tokens from ui (#107)
* governance wip

* governance store + helpers wip

* get voter weight

* on boarding realms component

* token list wip

* pyth oracle get

* adv fields

* hidden adv fields

* create proposal fcn + mangolana

* register market wip

* list market fixes wip

* translations

* register to register trustless + layout changes

* fix layout

* match switchboard oracle

* loaders

* validation

* style components

* change icon

* copy update

* translations keys

* fix translation

* fix warning create open book market

* fix

* fix transaltion

* fix

* fix

* fix pr

* fix onboarding translation

* fix token owner record error in console

* remove axios

* generic vsr idl

* fix pr

* remove mangolana

* small folder ref

* additional prop in onboarding component

* fix translation

* fix navbar

* change order of governance in navbar

* fix proposal index

* fix pr

* remove link without href for mint

---------

Co-authored-by: saml33 <slam.uke@gmail.com>
2023-04-05 23:59:30 +02:00
saml33 d849e34c96 make table rows expand for more details 2023-04-05 23:22:11 +10:00
saml33 6aec6fd144 expand perp trade activity feed details 2023-04-05 14:21:01 +10:00
saml33 d2e50e51ec fix roi and merge main 2023-03-29 21:38:26 +11:00
saml33 a25dac1602 add perp market details modal 2023-03-29 13:10:05 +11:00
tlrsssss 08fcae739c
Merge branch 'main' into accept-terms 2023-03-28 15:01:35 -04:00
tlrsssss 5135dba0e3
Merge pull request #97 from blockworks-foundation/pnl-leaderboard
PnL Leaderboard
2023-03-28 14:00:20 -04:00
saml33 6e1a8061e7 fix value and fee 2023-03-28 10:56:23 +11:00
saml33 e2395aa149 merge main 2023-03-27 21:14:27 +11:00
saml33 97c0abc2ce merge main 2023-03-27 11:42:50 +11:00
saml33 0a63571d3f merge main 2023-03-27 11:34:25 +11:00
tlrsssss a9033f8c6b
Merge pull request #102 from blockworks-foundation/customize-trade-layout
customize trade layout settings
2023-03-26 13:45:58 -04:00
saml33 d4344b7241 update data fetching 2023-03-26 23:21:25 +11:00
saml33 f92edf39fe merge main 2023-03-26 20:32:39 +11:00
tlrsssss dda6c07903
Merge pull request #100 from blockworks-foundation/account-funding
show funding on account page
2023-03-25 14:29:09 -04:00
tlrsssss 6f80cf9d1c
Merge pull request #99 from blockworks-foundation/top-depositors-borrowers
add top token accounts to token stats
2023-03-25 14:21:31 -04:00
saml33 caf98f8354 add customize trade page layout to settings 2023-03-23 19:29:13 +11:00
saml33 de1da7c4b2 add additional perp items 2023-03-23 12:54:51 +11:00
saml33 e75cb06eb2 add perp liquidations 2023-03-23 12:26:02 +11:00
saml33 803c7d2693 show daily data on 30 day chart 2023-03-22 15:55:37 +11:00
saml33 f805dc215a add terms of use modal and agree to terms in onboarding 2023-03-22 11:52:17 +11:00
saml33 0001419c9c use bar chart 2023-03-21 23:01:48 +11:00
saml33 e5e096ebb4 add account funding total and hourly chart 2023-03-21 21:27:37 +11:00
saml33 bbf8d91fbb update fees collected tooltip 2023-03-20 20:53:29 +11:00
saml33 253a5fbb87 add show more button 2023-03-20 14:19:53 +11:00
saml33 dea3eb01e3 add top token accounts to token stats 2023-03-20 12:39:54 +11:00
saml33 8684f380ae add loan origination fee to trade form 2023-03-17 23:48:38 +11:00
saml33 eff36ce362 tidy up and add nav links 2023-03-15 21:35:29 +13:00
saml33 666b65bbc4 add leaderboard data 2023-03-14 23:50:42 +13:00
tjs a825e6b1cf update side nav links 2023-03-08 14:24:46 -05:00
saml33 5aa9536819 update onboarding image 2023-03-08 13:54:36 +11:00
saml33 700b0a8583 update onboarding intro copy 2023-03-08 10:54:13 +11:00
saml33 6b7398323e style new app version refresh button 2023-03-06 22:48:24 +11:00
saml33 23ca473f5a update copy 2023-03-06 14:21:15 +11:00
saml33 941a6324f2 update copy/styling 2023-03-06 11:34:54 +11:00
saml33 49c0d5517c merge main 2023-03-03 22:29:34 +11:00
saml33 0898318f23 merge main 2023-03-01 09:53:43 +11:00
saml33 5770720b5f add share positions to twitter 2023-03-01 09:45:39 +11:00
saml33 066fd9b364 merge main 2023-02-15 10:41:47 +11:00
Adrian Brzeziński 82f82a2940
fix close account label translation (#87) 2023-02-13 17:06:59 +01:00
saml33 33d066f340 merge main and mobile 2023-02-13 10:30:33 +11:00
saml33 42d660b2be merge main 2023-02-12 20:40:26 +11:00
saml33 93956ca44f merge main 2023-02-12 20:33:50 +11:00
tylersssss 320853dbc3
Merge branch 'main' into trade-volume-alert 2023-02-11 15:21:07 -05:00
saml33 f4209c3f88 merge main 2023-02-10 21:38:05 +11:00
saml33 7bbff02367 add deposit info if repayment > borrow 2023-02-10 21:21:26 +11:00
saml33 c3d8f0af68 Merge branch 'main' into stable-price-tv-line 2023-02-10 16:09:02 +11:00
saml33 00e08c3b31 add stable price to perp stats table 2023-02-10 16:05:07 +11:00
saml33 9c0cb6e6c1 add stable price line to tv chart 2023-02-09 22:41:15 +11:00
saml33 5388035d33 handle swap reduce only 2023-02-09 11:31:53 +11:00
saml33 d67648badd fix activity translation values 2023-02-08 21:47:31 +11:00
saml33 fdd0c97fcd add missing translation keys 2023-02-08 21:04:20 +11:00
saml33 21896ca2c3 add order lines to tv chart 2023-02-08 20:58:03 +11:00
saml33 d58ac010a2 add assets and liabilities 2023-02-06 13:37:31 +11:00
saml33 581a7a9cb1 merge main 2023-02-06 10:10:23 +11:00
saml33 7fe24b6a0b new account button and merge main 2023-02-06 10:08:04 +11:00
Adrian Brzeziński c4bc880e21 handle error when no swap route found 2023-02-04 22:55:42 +01:00
saml33 610af80619 add account actions bar 2023-02-04 23:31:36 +11:00
saml33 240556291b combine account tabs for history 2023-02-03 19:58:15 +11:00
tjs db1598a3df fix translations 2023-01-31 16:21:13 -05:00
saml33 68118a20b1 merge main 2023-01-30 11:53:05 +11:00
tylersssss 98c36682bd
Merge pull request #74 from blockworks-foundation/borrow-page
add borrow page
2023-01-27 21:57:12 -05:00
saml33 150998afc4 fix search when api fails 2023-01-27 22:45:18 +11:00
saml33 c1c795cb40 add borrow page 2023-01-26 23:12:03 +11:00
saml33 5efb43b7fc simplify close account modal 2023-01-25 22:26:21 +11:00
saml33 0128c8c29f add activity fee tooltip 2023-01-23 15:25:43 +11:00
saml33 3e932635bf merge main 2023-01-23 13:08:08 +11:00
saml33 e08cea4a35 add positions to account page 2023-01-22 22:27:04 +11:00
saml33 0952fde644 merge main 2023-01-20 22:38:56 +11:00
saml33 a95df1b248 align market close modal button to other modals 2023-01-20 14:43:44 +11:00
saml33 2e664b3dfc add accountsbutton component and add loading state 2023-01-20 13:06:49 +11:00
saml33 211bd40de1 add connect wallet empty states 2023-01-20 12:45:08 +11:00
saml33 aafa6c8e0c merge main 2023-01-19 15:35:36 +11:00
tylersssss f0db2495fe
Merge branch 'main' into daily-pnl-history 2023-01-18 19:05:21 -05:00
saml33 7107b91ad1 fix swap history amounts and improve columns 2023-01-18 22:34:25 +11:00
saml33 bf626cc8ef add recent trade volume alert 2023-01-18 16:06:00 +11:00
Adrian Brzeziński 418c044f54 Merge branch 'main' into feature/close-account-modal 2023-01-17 12:54:48 +01:00
saml33 46d9c54ef3 add translation vars 2023-01-17 15:59:51 +11:00
saml33 6981b72137 fix search accounts bug 2023-01-17 14:08:12 +11:00
saml33 3ea84c32ae fix swap minimum received 2023-01-14 23:41:30 +11:00
Adrian Brzeziński 08a59ae4ec fixes 2023-01-13 18:07:18 +01:00
Adrian Brzeziński d4e8372969 merge 2023-01-12 22:31:47 +01:00
Adrian Brzeziński 99553974ed fix 2023-01-12 14:34:12 +01:00
Adrian Brzeziński 509e486a55 transalations 2023-01-12 14:23:16 +01:00
tylersssss f54787e955
Merge pull request #58 from blockworks-foundation/account-search
account search
2023-01-11 14:28:46 -05:00
tylersssss c3f107820e
Merge branch 'main' into trade-success-animation 2023-01-11 13:11:03 -05:00
tylersssss 1b2a4f231e
Merge pull request #50 from blockworks-foundation/recent-trades-ratio
add buy/sell ratio to recent trades
2023-01-11 12:55:44 -05:00
saml33 a759b0fe6f tidy up 2023-01-11 13:49:05 +11:00
saml33 434967b0a1 add available vault balance to token stats 2023-01-09 12:31:34 +11:00
saml33 e8d4d8e5d0 show sidenav account summary on page load 2023-01-06 14:17:37 +11:00
saml33 a5e06517d3 give balances more space in action modals 2023-01-06 12:19:39 +11:00
saml33 29d9083701 copy update 2023-01-05 21:27:46 +11:00
saml33 8ddb4e52c1 add buy/sell ratio to recent trades 2023-01-05 20:38:34 +11:00
saml33 a27dc08b75 hide action buttons and add message when viewing unowned account 2023-01-05 19:52:16 +11:00
saml33 fb7f4a7cf0 add openbook to activity filters 2023-01-04 23:10:36 +11:00
saml33 6c7d2b63b9 format openbook trades for activity table 2023-01-04 15:29:16 +11:00
saml33 6737dc5e51 update swap settings ui 2023-01-04 14:12:30 +11:00
saml33 94ac53ebf5 fix low sol balance in fund account 2023-01-04 10:58:31 +11:00
tjs a045b90c70 fix notional label 2023-01-03 17:27:49 -05:00
tjs 4ec7f74466 fewer onboarding steps, hide profile name until use exists for them 2023-01-03 16:40:36 -05:00
saml33 3c91bbf1ef add swap success animation to trade 2023-01-02 23:19:30 +11:00
saml33 c88944aa80 update account button label to Actions 2022-12-31 20:46:26 +11:00
tylersssss 9ea5efc2f3
Merge branch 'main' into simple-swap-review 2022-12-30 13:14:54 -05:00
saml33 8807082471 add perp market stats view 2022-12-30 22:40:52 +11:00
saml33 0674ebaf8f merge main 2022-12-30 19:40:05 +11:00
saml33 d6867732f7 update liquidation display in activity feed 2022-12-30 11:04:23 +11:00
Adrian Brzeziński 74565aef7f label account actions dropdown 2022-12-30 01:03:32 +01:00
saml33 9f57d84349 address feedback 2022-12-29 21:59:56 +11:00
tylersssss 49bf8a7a76
Merge pull request #43 from blockworks-foundation/trade-form-ux
trade form ux improvements
2022-12-29 00:49:16 -05:00
saml33 d8658574f7 simplify swap review 2022-12-29 15:17:38 +11:00
saml33 99f190d576 use amount and value in account action modals 2022-12-29 13:01:37 +11:00
tylersssss 30153160ae
Merge branch 'main' into rpc-settings 2022-12-27 13:58:22 -05:00
saml33 00003266ad show inline error when profile update is unavailable 2022-12-25 21:40:45 +11:00
saml33 916089f0fa trade chart selection settings 2022-12-22 21:04:38 +11:00
saml33 201a8ad62a trade form ux improvements 2022-12-22 15:19:00 +11:00
Adrian Brzeziński 2ef6070991 do not use translated values in settings fix 2022-12-21 23:33:26 +01:00
Adrian Brzeziński 96031df4dc fix transalate 2022-12-21 11:52:35 +01:00
Adrian Brzeziński b60c61f181 Merge branch 'main' into feature/kline-charts-spot 2022-12-20 21:31:57 +01:00
saml33 4fa3fe217c update user setup copy 2022-12-20 20:20:25 +11:00
saml33 a61f1b76d6 add mango stats 2022-12-20 19:16:05 +11:00
tjs 555de062af clarify empty positions text 2022-12-19 23:01:16 -05:00
Adrian Brzeziński 8bc70fe532 Merge branch 'main' into feature/kline-charts-spot 2022-12-20 01:38:52 +01:00
tjs f3080cb27f add geo check to trade forms 2022-12-19 16:58:29 -05:00
tjs 408f738720 tab empty state text 2022-12-19 15:15:49 -05:00
saml33 b98c25eaf6 add health impact to swap review and update styling 2022-12-19 22:20:01 +11:00
saml33 409d47d735 remove sub-account copy 2022-12-19 12:03:04 +11:00
saml33 d7ccc7b4a6 combine borrow and repay modals 2022-12-18 23:30:49 +11:00
saml33 13cdf408ef combine deposit and withdraw to single modal 2022-12-17 23:37:00 +11:00
saml33 84b7e622ab add icon when account is delegated 2022-12-16 15:04:26 +11:00
saml33 4fd02a4014 finish delegate modal 2022-12-16 14:16:05 +11:00
saml33 de69a19ade update connection/client 2022-12-16 13:19:11 +11:00
saml33 0a75f8f0b6 add rpc settings ui 2022-12-15 23:28:17 +11:00
Adrian Brzeziński 4d71a9d5c5 merge 2022-12-15 11:35:14 +01:00
saml33 70ad72c0cc replace icon 2022-12-13 09:53:04 +11:00
saml33 0510b26935 add collateral value tooltip 2022-12-12 22:14:21 +11:00
saml33 776c581c75 update copy and icon 2022-12-12 10:21:40 +11:00
saml33 144a26e8a6 update mango account rent cost 2022-12-12 10:06:43 +11:00
saml33 084c945bd4 add borrow tooltips to swap review 2022-12-09 10:42:55 +11:00
Adrian Brzeziński 68d3c961b6 merge 2022-12-08 15:12:18 +01:00
saml33 17156fd87f move swap borrow amount info 2022-12-08 22:15:16 +11:00
tjs b53c4830f9 use new funding rate api endpoint
fix balance underline; simplify health impact by removing confusing parenthesis
2022-12-07 22:24:18 -05:00
saml33 97a27ade59 add stats perp market table 2022-12-07 13:47:03 +11:00
Adrian Brzeziński c9c30c2d9d merge 2022-12-06 23:02:35 +01:00
Adrian Brzeziński 04ea8408e3 chart settings 2022-12-06 18:35:15 +01:00
saml33 7b58e9ce6d add token stats charts 2022-12-06 22:58:22 +11:00
saml33 8dd1363212 olive and high contrast theme 2022-12-05 21:59:56 +11:00
saml33 3b864ce58d add theme name translation vars 2022-12-05 12:57:50 +11:00
saml33 4660d04041 add order value to trade form 2022-12-02 13:16:59 +11:00
saml33 a9526cff9e merge main 2022-12-02 10:14:10 +11:00
saml33 eb406e47df add perp trades to activity feed 2022-11-30 10:15:25 +11:00
saml33 63e3d187b1 add swaps to activity feed 2022-11-29 21:33:15 +11:00
saml33 211a2104fd recent trades sounds 2022-11-28 10:13:13 +11:00
saml33 f9f86b529d add slippage to trade form 2022-11-25 21:10:23 +11:00
saml33 e2832f0eea add sounds to recent trades 2022-11-25 12:57:19 +11:00
saml33 39485015c2 connect empty state icons 2022-11-25 10:56:31 +11:00
saml33 72e6a030b4 positions table connect empty state 2022-11-25 10:30:28 +11:00
saml33 c355c3c13a add setting for number scroll 2022-11-24 13:30:20 +11:00
saml33 0447fc5d61 better sound support and fix settings 2022-11-23 23:40:38 +11:00
saml33 f52cb54008 sound support and settings 2022-11-23 16:38:31 +11:00
saml33 37df58f959 use settings for slider or buttons to swap 2022-11-23 14:31:50 +11:00
saml33 67c1064d38 improve ioc tooltip copy 2022-11-22 20:50:53 +11:00
saml33 8b9519ea6c perp position size rounding 2022-11-22 20:30:37 +11:00
saml33 982662c5f5 pnl and interest change 2022-11-19 22:28:06 +11:00
saml33 1de0ef5333 add character limits to size restricted inputs 2022-11-18 20:53:45 +11:00
saml33 777e020648 add low sol balance warnings 2022-11-18 15:43:23 +11:00
tylersssss 95df906a76
Merge branch 'main' into repay-modal 2022-11-17 16:47:27 -05:00
saml33 29eb59e332 add loan fee to borrow modal 2022-11-17 14:18:22 +11:00
saml33 c9b94f4e55 fix modals 2022-11-17 13:18:50 +11:00
tjs 57f009aa2e add delegate modal 2022-11-16 11:59:34 -05:00
saml33 41e1c16fea add repay borrow modal 2022-11-16 23:14:53 +11:00
saml33 4a368e2514 add buttongroup to trade form 2022-11-16 12:32:55 +11:00
saml33 2650622fe3 add health impact tooltip 2022-11-14 15:56:18 +11:00
saml33 07d420e785 update swap tour copy 2022-11-14 14:33:45 +11:00