Commit Graph

596 Commits

Author SHA1 Message Date
saml33 840991961f merge main 2023-07-31 09:56:42 +10:00
saml33 e572dbc17f add refresh wallet balance to deposit form 2023-07-27 11:06:53 +10:00
saml33 4eefede386 show interest rate charts as a bar chart 2023-07-26 16:21:23 +10:00
saml33 ce4c9389c0 merge main and more componenets 2023-07-26 12:48:13 +10:00
saml33 ed1f680409 merge main 2023-07-26 09:27:17 +10:00
Lou-Kamades 2fad084485
feat: add open orders as a search option for accounts 2023-07-25 10:53:30 -05:00
saml33 fe97719530 add info on orderbook row hover 2023-07-25 20:43:19 +10:00
saml33 f1e0770106
Merge pull request #210 from blockworks-foundation/markets-api-data
use markets api data
2023-07-25 08:19:42 +10:00
Adrian Brzeziński fe1ca08cc8
nft market (#173)
* poc wip

* devnet temp setup

* fix

* list item modal

* fix

* bid asset

* my bids modal

* mybids

* bids

* asset bids accept

* fixes

* nft market

* transaltions

* pagination

* bids without lisings

* list of bids

* fix

* add desktop ui styling

* yarn setup

* bring back mainnet

* mainnet setup

* only for whitelisted users

* fix pr

---------

Co-authored-by: saml33 <slam.uke@gmail.com>
2023-07-24 20:17:07 +02:00
saml33 84ecc51d87 merge main 2023-07-24 08:15:46 +10:00
saml33 8cf2da402c merge main 2023-07-23 21:06:29 +10:00
tjs 647fbcfa50 update dashboard; toggle zero balances 2023-07-21 17:34:19 -04:00
saml33 eb8b06afcc use markets api data 2023-07-21 22:03:44 +10:00
saml33 226d610bbf
Merge pull request #193 from blockworks-foundation/depth-chart
orderbook depth chart
2023-07-21 20:01:41 +10:00
tlrsssss 0605872a56
Merge pull request #204 from blockworks-foundation/balance-collateral-value
balance collateral value
2023-07-20 10:49:33 -04:00
tlrsssss 93249bbdca
Merge pull request #203 from blockworks-foundation/ts/trade-pg-jup
Use jupiter on trade page
2023-07-20 10:48:00 -04:00
saml33 8169aeef95 merge main 2023-07-20 13:52:07 +10:00
tlrsssss fa83167f58
Merge pull request #207 from blockworks-foundation/perp-volume-stats
add total perp volume to mango stats
2023-07-19 13:09:44 -04:00
saml33 960e90393b merge main 2023-07-19 13:53:28 +10:00
saml33 02cf848587 add link to risks doc 2023-07-19 13:04:22 +10:00
saml33 27f03bfd66 add total perp volume to mango stats 2023-07-19 10:48:49 +10:00
tjs 848286d947 add trade page swap summary details 2023-07-18 14:55:13 -04:00
tjs e5945b60e2 Merge branch 'main' into ts/trade-pg-jup 2023-07-18 13:23:07 -04:00
saml33 e8cdbd0437 checkout orderbook liquidity before market close 2023-07-18 22:13:08 +10:00
saml33 8cf597c63f merge main 2023-07-18 21:03:45 +10:00
saml33 d22c659541 add collateral value to balance tables 2023-07-18 12:58:20 +10:00
saml33 d8be43ee7a merge main 2023-07-18 11:24:13 +10:00
saml33 a1fbe18bf1 remove orderbook subscription hook and other fixes 2023-07-18 11:18:01 +10:00
saml33 dc9e7a8e6b merge main 2023-07-17 20:08:52 +10:00
tjs e478d6405a use jupiter on trade page 2023-07-16 23:41:13 -04:00
saml33 3f6b1908a4
Merge pull request #157 from blockworks-foundation/feedback-survey
add link to feedback survey
2023-07-17 09:31:57 +10:00
saml33 42e89eeb79 Merge branch 'main' into feedback-survey 2023-07-17 08:33:49 +10:00
saml33 ebde7f4402 merge main 2023-07-17 08:32:43 +10:00
tjs d2a6b1e616 new accts support more token accts by default 2023-07-16 17:58:49 -04:00
saml33 7074a28583 merge main 2023-07-14 23:52:17 +10:00
rjpeterson a55c0e45ce sort json 2023-07-13 20:23:52 -07:00
rjpeterson 38e065c6e9 Merge branch 'main' into chinese-localization 2023-07-13 20:21:41 -07:00
rjpeterson 3718060d58 typos 2023-07-13 20:18:42 -07:00
rjpeterson 196a3480f2 add translations 2023-07-13 20:18:37 -07:00
saml33 c2aa4676b0 more labels 2023-07-14 08:53:50 +10:00
saml33 23c038facc conflicts 2023-07-12 10:49:36 +10:00
Adrian Brzeziński 3eda6ba06e Merge branch 'main' into mango-mints 2023-07-12 00:30:14 +02:00
saml33 21202ed274 table components 2023-07-11 21:00:06 +10:00
saml33 c962cbf6ab mobile, colors, more mouse events 2023-07-11 16:01:22 +10:00
saml33 0ec955cf25 add health view 2023-07-10 22:00:53 +10:00
saml33 758dda303c add health contributions to token list 2023-07-10 12:53:21 +10:00
saml33 f6b3d2c5e7
Merge pull request #182 from blockworks-foundation/trade-hot-keys
Trade Hot Keys
2023-07-09 11:37:42 +10:00
saml33 9221c2c8d5 disable account action buttons disallowed for delegates 2023-07-08 21:42:03 +10:00
Adrian Brzeziński c7dcbc7836 Merge branch 'main' into mango-mints 2023-07-07 00:57:51 +02:00
saml33 9b3fd3a454 allow view account charts when no data 2023-07-06 21:00:47 +10:00
saml33 3f59a23377
Merge pull request #192 from blockworks-foundation/account-volume-stats
account volume stats
2023-07-06 08:26:09 +10:00
saml33 034ab5071e merge main 2023-07-05 10:13:19 +10:00
Adrian Brzeziński ef1bdd11fe delegated governance tokens warning text 2023-07-04 13:04:41 +02:00
saml33 24d927e156 merge main 2023-07-04 11:31:07 +10:00
saml33 6f61ec17a1 update endpoints and format data 2023-07-04 11:25:47 +10:00
saml33 fe0e6eee3d fix close perp on mobile and some styling fixes 2023-07-03 23:17:17 +10:00
rjpeterson 4d13079ebd Merge branch 'main' into chinese-localization 2023-07-02 18:30:43 -07:00
saml33 6d2c1bccdb fix position side 2023-07-03 10:32:22 +10:00
saml33 82b8457f69 merge main 2023-06-28 20:53:53 +10:00
saml33 2c4a1cf772 fix ROE and update client 2023-06-28 20:50:27 +10:00
saml33 d5b9537341 copy update 2023-06-28 13:48:25 +10:00
saml33 febb6a7ad3 calc liq price outside of the positions table 2023-06-28 12:10:47 +10:00
saml33 b76df3c87c new layout and add liq price 2023-06-27 12:43:15 +10:00
tjs ce13f685a3 Merge branch 'main' into trade-hot-keys 2023-06-26 12:58:10 -04:00
saml33 743fbb3c40 limit number of keys per user to 20 2023-06-26 11:11:31 +10:00
saml33 4e56e3db07 disallow hot keys already in use 2023-06-26 11:02:52 +10:00
saml33 adac0ada69 update description 2023-06-24 23:06:19 +10:00
saml33 a8fd16eb29 errors and translations 2023-06-24 22:44:15 +10:00
saml33 daaa1fcfeb use unrealized as primary value for perp pnl 2023-06-22 21:17:35 +10:00
saml33 f7d77a353a handle not connected 2023-06-19 22:41:51 +10:00
saml33 f65305de7f merge main 2023-06-16 22:30:06 +10:00
saml33 eedc32fadb split swap and limit into two components 2023-06-16 22:23:50 +10:00
saml33 bba4c7208b add market name conventions to list form 2023-06-16 12:28:19 +10:00
saml33 2a9d74de15
Merge pull request #169 from blockworks-foundation/manual-refresh
add manual refresh button
2023-06-15 20:56:53 +10:00
saml33 b548e7f61e ui for swap limit orders 2023-06-15 14:42:34 +10:00
riordanp a229d55ed6
Add soon label to perp markets where oracle was never active (#170) 2023-06-14 18:19:39 +01:00
saml33 5f90821a22 add manual refresh button 2023-06-14 11:12:28 +10:00
rjpeterson 77e6c78b8f token translations 2023-06-13 16:45:53 -07:00
rjpeterson fa67b00e02 Merge branch 'main' into chinese-localization 2023-06-13 16:23:49 -07:00
rjpeterson ee5a3dea6b translations 2023-06-13 16:21:39 -07:00
saml33 6945707c11 merge main 2023-06-08 13:49:49 +10:00
Adrian Brzeziński 655662bf05
token listing presets (#163)
* wip create oracle

* wip

* wip

* wi[

* switchboard oracle wip

* switchboard oracle

* switchboard authority

* deduplicate

* fix cfg

* listing presets

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* small fixes

* fix insurance found prop

* more param fixes

* more sol funding to switchboard oracle

* oracle lock fix

* adjust oracle settings

* adjust params
2023-06-07 00:54:44 +02:00
Adrian Brzeziński 79b6fd6cc7
create switchboard oracle from ui (#162)
* wip create oracle

* wip

* wip

* wi[

* switchboard oracle wip

* switchboard oracle

* switchboard authority

* deduplicate

* fix cfg
2023-06-05 17:29:04 +02:00
saml33 0f0a7c937b calc volume from cumulative 2023-06-05 21:06:37 +10:00
rjpeterson e338516872 more translations 2023-06-03 22:32:38 -07:00
rjpeterson 3385974cab Merge branch 'main' into chinese-localization 2023-06-01 21:59:04 -07:00
saml33 ab62e89893 show if margin is enabled/disabled on swap form 2023-06-02 10:55:24 +10:00
saml33 eefc1f374d add bonk theme 2023-05-31 13:03:53 +10:00
saml33 fe5379f60a add spot market volume to trade header 2023-05-31 10:05:02 +10:00
saml33 8d03bc353d sort governance translations alphabetically 2023-05-30 10:22:36 +10:00
tlrsssss ae5b3f1c87
Merge pull request #156 from blockworks-foundation/feature/list-market
WIP: List market
2023-05-29 20:01:28 -04:00
saml33 a249080b7b update page url 2023-05-29 19:41:39 +10:00
saml33 1fb642c996 update nav and url 2023-05-29 16:02:16 +10:00
saml33 de8a2dae8b add ui 2023-05-29 15:43:01 +10:00
Adrian Brzeziński c46ac29a89 fix 2023-05-28 22:44:26 +02:00
saml33 29e208177e add average duration to funding chart title 2023-05-25 19:38:17 +10:00
saml33 08828e240d link to perp market stats from market details modal 2023-05-25 13:59:41 +10:00
saml33 fd16034483 add link to feedback survey 2023-05-25 12:45:03 +10:00
saml33 cfbbed612d merge main 2023-05-25 10:01:12 +10:00
saml33 0cf5200b2b merge main 2023-05-24 21:11:58 +10:00
saml33 25d2a68c8d add missing tooltips 2023-05-24 21:09:14 +10:00
saml33 b487c51db5 add custom modal when dragging order line 2023-05-23 21:48:26 +10:00
Adrian Brzeziński ea392fc9f0 next view wip 2023-05-22 21:47:47 +02:00
rjpeterson 192eea2dc6 add zh_tw translations 2023-05-20 21:59:55 -07:00
rjpeterson 1fe413e0a5 Merge branch 'main' into chinese-localization 2023-05-20 21:25:02 -07:00
rjpeterson a4006ac2bc translations & sort json 2023-05-20 21:19:46 -07:00
saml33 842b5288d1 style governance delegate 2023-05-19 10:18:48 +10:00
saml33 7288a11840 add tooltip to unowned account with account address and wallet 2023-05-18 15:04:58 +10:00
Adrian Brzeziński b9f9636bd6
governance delegate select (#151)
* delegate modal

* delegate wip

* fix

* translations

* fix
2023-05-15 19:14:50 +02:00
saml33 b708d838d7 change to bar chart and add averaging intervals 2023-05-15 13:08:48 +10:00
saml33 004964bde4 spot margin off by default and show borrow amount in trade summary 2023-05-14 23:07:06 +10:00
saml33 50e567b278 show borrow fee in swap review 2023-05-14 21:33:01 +10:00
riordanp 5b0eef685c
Use ref for Orderbook feed to prevent multiple connections, add settings tooltip (#150)
* Use ref for orderbook feed, enable if unset, prettify logs

* Add tooltip to orderbook feed setting
2023-05-10 10:53:55 +01:00
saml33 6228b80b4c fix activity filter panel width 2023-05-09 20:15:56 +10:00
tlrsssss 12d515042b
Merge branch 'main' into chinese-localization 2023-05-08 10:47:05 -04:00
saml33 0bdbb42f28 improve notification settings ux 2023-05-08 21:59:46 +10:00
riordanp 25ea31beec
Add setting to disable orderbook feed (#148)
Co-authored-by: tlrsssss <tjshipe@gmail.com>
2023-05-07 12:53:22 +01:00
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 6c0474dbc9 add perp market params to stats page 2023-05-03 13:05:23 +10:00
rjpeterson f1f2805237 add simplified chinese translations 2023-05-02 19:22:24 -07:00
rjpeterson d849e3c1bb sort json 2023-05-02 19:22:08 -07:00
rjpeterson 488f19a0e5 add zh_tw translations 2023-05-02 19:02:36 -07: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 e1d134408d
Merge pull request #141 from blockworks-foundation/spot-details-modal
add modal for spot market details
2023-04-27 20:31:42 +10:00
rjpeterson af689e056f replace deleted zh_tw locale keys 2023-04-26 20:43:09 -07: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
tlrsssss 80fffadd8b
Merge pull request #121 from blockworks-foundation/show-trade-executions
show trade executions on tv charts
2023-04-18 18:06:02 -04:00
tjs ed0b6c2b17 update funding rate display 2023-04-17 12:26:05 -04: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
rjpeterson d0326c76d4 Merge branch 'main' into chinese-localization 2023-04-13 19:30:18 -07:00
rjpeterson b3989b42bb revert english profile.json 2023-04-08 22:00:24 -07:00
rjpeterson 0821c34335 Merge branch 'main' into chinese-localization 2023-04-05 19:51:45 -07: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
tlrsssss 5c03151a2e
Merge branch 'main' into perp-market-details-modal 2023-04-03 21:43:58 -04:00
rjpeterson 4995870f08 remove english in chinese entry 2023-04-02 18:57:30 -07:00
rjpeterson ef8f548cb2 chinese edit 2023-04-02 18:57:03 -07:00
rjpeterson 7cbf9bfbcf remove spaces in chinese localization 2023-04-02 18:56:46 -07:00
rjpeterson cfbc0dda2a translate new phrases 2023-04-02 18:37:18 -07:00
rjpeterson cde776307a remove traling comma 2023-04-02 18:04:00 -07:00
rjpeterson 174a615ce7 Merge branch 'main' into chinese-localization 2023-04-02 18:03:42 -07:00
rjpeterson ff308cebc5 translate trade 2023-04-02 17:57:24 -07:00
rjpeterson 77fa84c752 translate profile 2023-04-02 17:23:01 -07:00
rjpeterson 784ace6a17 translate onboarding 2023-04-02 17:00:56 -07:00
rjpeterson 0831abcaaa translate onboarding-tours.json 2023-04-02 16:24:48 -07:00
rjpeterson 73088dae4a translate common 2023-04-02 13:03:32 -07:00
rjpeterson 7d8355c817 translate search.json 2023-04-02 12:30:27 -07:00
rjpeterson 8828748299 translate profile.json 2023-04-02 12:29:42 -07:00
rjpeterson 0259bd2ae2 translate token.json 2023-04-02 12:25:16 -07:00
rjpeterson 4d5d289e02 translate tv-chart 2023-04-02 12:13:01 -07:00
rjpeterson e189ee0771 translate swap 2023-04-02 12:09:00 -07:00
rjpeterson 6e00c8ab5f translate settings 2023-04-02 11:51:29 -07:00
rjpeterson 47c4d3871f translate swap and token 2023-03-30 22:11:00 -07:00
tjs cee4745f8a update chart label 2023-03-29 12:56:48 -04: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
rjpeterson efcb8c9c47 more translations 2023-03-21 20:47:26 -07:00
rjpeterson 585756c917 more translations 2023-03-21 19:37:48 -07:00
rjpeterson 2431230744 fix typo 2023-03-21 19:37:48 -07:00
rjpeterson 39de8b9494 more translations 2023-03-21 19:37:48 -07:00
rjpeterson 9eb1dc825e add more translations 2023-03-21 19:37:48 -07:00