Commit Graph

1811 Commits

Author SHA1 Message Date
saml33 40f84f6e8d link to token/market stats page from details tables 2023-05-03 11:00:32 +10:00
saml33 78469e2dc8 fix font color 2023-05-03 10:26:32 +10:00
tjs e9ea12fdda update tooltips with links to docs 2023-05-02 13:57:53 -04:00
tjs fb1199dc83 show more details on stats table 2023-05-02 13:47:26 -04:00
tjs b866c5454b show insurance fund status 2023-05-02 13:41:55 -04:00
saml33 2b13cf8c6c Merge branch 'main' into mango-stats-loading 2023-05-02 12:06:19 +10:00
saml33 1afb2fe36c update recharts 2023-05-02 12:01:14 +10:00
saml33 a7425f7eec yarn setup 2023-05-02 11:01:55 +10:00
saml33 79d7c9b03e format mango stats outside of component 2023-05-02 10:52:32 +10:00
Riordan Panayides eb1d17df9f Reject orderbook updates not for current market 2023-05-01 17:13:37 +01:00
saml33 beeab56f6d update client to fix borrow rates 2023-05-01 23:27:21 +10:00
saml33 eacff90468 fix deposit/borrow scaling start for usdc 2023-05-01 22:42:28 +10:00
saml33 2a8dc2c283 fix net borrows value 2023-05-01 21:54:25 +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 5167ac1768 add oracle provider to token/perp stats settings tables 2023-05-01 15:24:21 +10:00
saml33 cf0a5e7e59 add oracle provider to market details modals 2023-05-01 14:42:29 +10:00
saml33 9d37cf2007 fix token/perp page bottom padding 2023-05-01 13:13:53 +10:00
saml33 f44a323aff remove border 2023-05-01 13:10:24 +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
tjs 1f30784930 fix bug with decimal in trade form 2023-04-28 14:39:22 -04:00
saml33 506433e539 fix market header 24h change 2023-04-28 22:22:40 +10:00
saml33 3e013044ea remove console logs 2023-04-28 22:13:11 +10:00
Adrian Brzeziński b6dfb42532
fix (#143) 2023-04-27 20:27:56 +02:00
Riordan Panayides 24b2b406b7 Fix oracle warning for BONK 2023-04-27 19:01:52 +01:00
tlrsssss 8fb5c17d92
Merge pull request #137 from blockworks-foundation/pan/orderbook-feed-v2
Use websocket feed for Orderbook
2023-04-27 13:55:30 -04: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
riordanp d7e74fb874
Merge branch 'main' into pan/orderbook-feed-v2 2023-04-27 18:02:42 +01: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
riordanp f54d8287a6
Merge branch 'main' into pan/oracle-info 2023-04-27 17:25:26 +01:00
Riordan Panayides c5dd4a0e82 Add warning state if oracle is stale, convert last updated to human readable format 2023-04-27 17:23:18 +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
saml33 a9f333e92f comment out insurance details 2023-04-27 20:25:12 +10:00
saml33 1accd9746d fix bonk simple spot market charts 2023-04-27 15:10:04 +10:00
saml33 7e9d5fa34d fix spot market stats prices on mobile 2023-04-27 14:20:42 +10:00
saml33 727cf53d7d add modal for spot market details 2023-04-27 13:39:49 +10:00
saml33 4eea086ef6 fix file name extension 2023-04-27 12:36:52 +10:00
saml33 f62048c87b add perp market settings table 2023-04-27 12:33:03 +10:00
tlrsssss bdc341aeab
Merge pull request #138 from blockworks-foundation/orderbook-formatting
handle large and small numbers in orderbook
2023-04-26 13:14:24 -04:00
tlrsssss 78fcb8ca8c
Merge pull request #131 from blockworks-foundation/swap-review-animation
fix swap review transition
2023-04-26 13:13:27 -04:00
saml33 9609a2bd27 fix trade form icon loading position 2023-04-26 12:54:55 +10:00
saml33 d1620ced49 handle large and small numbers in orderbook 2023-04-26 10:58:33 +10:00
saml33 724680ea11 fix quote size from max size button 2023-04-26 10:23:14 +10:00
Riordan Panayides f122994874 Add info tooltip to oracle price 2023-04-25 21:36:18 +01:00
riordanp 5da195233e
Merge branch 'main' into pan/orderbook-feed-v2 2023-04-25 16:57:02 +01:00
Riordan Panayides 0c6960dd9d Remove errant logs 2023-04-25 16:40:45 +01:00
Riordan Panayides d3b08eb08d Update mango-feeds 2023-04-25 16:25:35 +01:00
saml33 2c2544dbb0 fix bonk/sol ui issues 2023-04-25 22:41:23 +10:00
saml33 3e5d96162d improve connect wallet button 2023-04-25 12:09:18 +10:00
tlrsssss 35e5a12da0
Merge pull request #122 from blockworks-foundation/plot-swap-history
show swap history on swap chart
2023-04-24 16:15:03 -04:00
tjs 15c7a5164b switch to query params for stats tabs 2023-04-24 15:25:45 -04:00
Riordan Panayides 43c3368c25 Use production url 2023-04-24 19:23:12 +01:00
Riordan Panayides f751882026 Compute funding rate from L2 data 2023-04-24 19:03:11 +01:00
saml33 b0f1619434 reduce horizontal padding in market header 2023-04-24 21:45:30 +10:00
saml33 5b8d3eb90b merge main 2023-04-24 21:35:55 +10:00
saml33 ab97ac9738 fix orderbook grouping 2023-04-24 20:17:01 +10:00
saml33 20529ac753 add token fees collected chart 2023-04-24 16:21:05 +10:00
saml33 572c6842a0 make sure total deposit/borrow values are sorted by date 2023-04-24 13:01:26 +10:00
saml33 1f335a058f use total_fees for perp fees and fix total deposits/borrows loading 2023-04-24 12:54:18 +10:00
saml33 8b53a01232 fix swap history filtering 2023-04-24 11:51:46 +10:00
saml33 302dadd35b merge main and show swaps by default 2023-04-24 11:29:36 +10:00
Riordan Panayides 56ca927c40 Use client library for orderbook 2023-04-22 18:35:57 +01: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 b960c25db4 fix swap review transition 2023-04-21 16:10:09 +10:00
saml33 1e784daa81 remove extra border 2023-04-21 15:24:20 +10:00
saml33 a89d528709 align linkbutton styles 2023-04-21 12:32:20 +10:00
saml33 a8b1acc502 export account history to csv 2023-04-20 20:55:52 +10:00
saml33 1750b865ca remove inline default-transition class 2023-04-20 11:12:45 +10:00
saml33 4eb3def93a give active tabs focus-visible state 2023-04-20 11:01:31 +10:00
saml33 228ea6d59a change focus states to use focus-visible 2023-04-20 10:43:33 +10:00
tlrsssss 66a5a2e5ea
Merge pull request #128 from blockworks-foundation/feature/resolve-proposal-description
resolve descriptions for proposals
2023-04-19 12:05:44 -04:00
microwavedcola1 da49da23c1 Revert "swaps disabled message"
This reverts commit 17ea3b2be4.
2023-04-19 08:49:16 +02:00
microwavedcola1 50c6fc0a38 Revert "fix typo"
This reverts commit a9666ffffe.
2023-04-19 08:49:09 +02:00
saml33 dc72a8cc0f show counterparty pk in activity details 2023-04-19 13:59:21 +10:00
saml33 70b1ddf8a4 fix mobile orderbook 2023-04-19 12:01:58 +10:00
saml33 d14973e246 add zero line to funding charts 2023-04-19 10:44:19 +10:00
tlrsssss ad6218ba87
Merge pull request #125 from blockworks-foundation/add-unsettled-spotmax
add unsettled balance to spot trade max
2023-04-18 18:10:51 -04:00
tlrsssss 94329f4d89
Merge pull request #124 from blockworks-foundation/foramt-swap-token-symbols
format swap token symbols
2023-04-18 18:07:13 -04: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
Adrian Brzeziński fbf91eab28 resolve descriptions for proposals 2023-04-18 22:18:03 +02:00
saml33 57bcfb42b8 fix trade history type 2023-04-18 09:45:27 +10:00
saml33 03a94d4571 merge main 2023-04-18 09:17:23 +10:00
tjs 7f70915650 add funding tooltip to stats page 2023-04-17 17:34:33 -04:00
tjs e9d3e80d24 remove commented out code 2023-04-17 17:19:05 -04:00
tjs 9ff76e4198 add language selector to settings 2023-04-17 14:03:35 -04:00
tjs ed0b6c2b17 update funding rate display 2023-04-17 12:26:05 -04:00
saml33 948c37ad59 merge main 2023-04-17 21:31:51 +10:00
saml33 90ae89154d use url param for token page 2023-04-17 14:25:21 +10:00
saml33 4dba708f6c fix activity feed explorer link 2023-04-17 13:18:51 +10:00
saml33 51aed56b88 merge main and update tooltip 2023-04-17 12:13:50 +10:00
saml33 214ece99d9 focus on modal close last in tab order 2023-04-17 11:51:53 +10:00
saml33 821cc56328 format swap token symbols 2023-04-17 11:04:13 +10:00
saml33 0ada9e231c use swap market name instead of input bank name 2023-04-17 10:38:09 +10:00
saml33 aff12ef294 only insert swap points when swap history is toggled 2023-04-17 10:17:45 +10:00
saml33 fea60efbbb change swap history points to use arrows 2023-04-15 23:56:50 +10:00
Adrian Brzeziński 3e0f66f063 fix spl token class import for gov 2023-04-14 21:13:10 +02:00