Commit Graph

1999 Commits

Author SHA1 Message Date
saml33 0941f431e5 fix refresh on account page 2023-06-16 09:27:49 +10:00
saml33 4f12c9e9cf fix leading period on trade form 2023-06-15 22:32:40 +10:00
saml33 2e3a0e8a2e fix order value 2023-06-15 22:18:44 +10:00
saml33 78f2544ffe fix spot price quote token display 2023-06-15 21:24:54 +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 2e4852e965 use soon badge on perp stats page 2023-06-15 10:49:16 +10:00
riordanp b5f6bba803
Disable trading for markets where oracle was never active (#171) 2023-06-15 00:02:40 +01:00
riordanp a229d55ed6
Add soon label to perp markets where oracle was never active (#170) 2023-06-14 18:19:39 +01:00
saml33 e2af69ec3f only expand sidebar if breakpoint >= xl 2023-06-14 12:19:09 +10:00
saml33 5f90821a22 add manual refresh button 2023-06-14 11:12:28 +10:00
saml33 1492c1b138 allow stats tabs to scroll on mobile 2023-06-09 09:59:11 +10:00
Adrian Brzeziński 0b0f5970ab
add untursted tier + small refactor (#166)
* untursted tier

* small refactor

* fix
2023-06-08 11:14:46 +02:00
saml33 59261f95e1 fix tooltip fonts 2023-06-08 15:37:13 +10:00
saml33 6540396c74 fix modals 2023-06-08 12:30:56 +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
saml33 4e0239e366 fix sidenav animation duration 2023-06-06 22:47:42 +10:00
saml33 38b04561e1 use pnl from mangoaccount.getpnl 2023-06-06 15:29:04 +10:00
saml33 527fb69801 fix spot market price chart gradient 2023-06-06 14:00:22 +10:00
saml33 258131aa5c sort perp positions by notional value 2023-06-06 09:59:45 +10: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
tlrsssss d8b66e390e
Merge pull request #165 from blockworks-foundation/perp-volume-chart
add volume chart to perp stats
2023-06-05 11:21:40 -04:00
saml33 48ffc844e9 only show funding chart button when funding exists for account 2023-06-05 21:25:42 +10:00
saml33 0f0a7c937b calc volume from cumulative 2023-06-05 21:06:37 +10:00
saml33 7ec3fa02f0 Merge branch 'main' into perp-volume-chart 2023-06-05 11:14:19 +10:00
saml33 96f4af9288 add volume to perp stats overview table 2023-06-05 11:12:54 +10:00
saml33 53159a372b add perp volume to trade page 2023-06-05 11:06:03 +10:00
saml33 6dfca6c781 improve select option hover style 2023-06-05 10:51:49 +10:00
saml33 1a6e1d5b6d fix perp position table tize click 2023-06-05 10:19:19 +10:00
saml33 ab62e89893 show if margin is enabled/disabled on swap form 2023-06-02 10:55:24 +10:00
saml33 6d04ac7378 comment out perp volume 2023-06-01 13:07:34 +10:00
saml33 1be8cd7cd7 add perp volume chart 2023-06-01 13:03:56 +10:00
saml33 a8e590514b add volume to perp stats table 2023-06-01 11:50:00 +10:00
saml33 aaa4c04adc add perp volume to trade header 2023-06-01 10:17:31 +10:00
saml33 29070b1fa4 add spot market volume to stats 2023-05-31 22:15:50 +10:00
saml33 5d20993914 fix medal icons on light themes 2023-05-31 15:13:41 +10:00
saml33 6bf3714e80
Merge pull request #159 from blockworks-foundation/24h-spot-volume
add spot market volume to trade header
2023-05-31 11:00:36 +10:00
saml33 fe5379f60a add spot market volume to trade header 2023-05-31 10:05:02 +10:00
saml33 557e79566d fix account action buttons on mobile 2023-05-30 15:49:26 +10:00
saml33 e062212347 connection lost mobile 2023-05-30 15:30:34 +10:00
saml33 0fbe2c7871 deposit/withdraw button on mobile 2023-05-30 15:21:31 +10:00
saml33 657f88241f align back button styles 2023-05-30 13:48:43 +10:00
saml33 571c372054 remove oracle link for usdc 2023-05-30 13:35:19 +10:00
saml33 ba08b0ffe1 clean up listing success 2023-05-30 13:20:37 +10:00
saml33 05d853e9af add connect wallet empty state to list page 2023-05-30 10:24:02 +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
Adrian Brzeziński 570ab5c9c2 fix 2023-05-29 20:51:01 +02:00
Adrian Brzeziński 2f8f2ebd0e small fix 2023-05-29 20:47:58 +02:00
Adrian Brzeziński 419b6e105b usecallbacks on fcns 2023-05-29 14:37:43 +02:00
Adrian Brzeziński f0cc098202 fixes 2023-05-29 14:29:43 +02:00
saml33 9c6795e2a9 copy update 2023-05-29 20:24:41 +10:00
saml33 a249080b7b update page url 2023-05-29 19:41:39 +10:00
saml33 37182855c2 round corners more 2023-05-29 16:03:36 +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
Adrian Brzeziński 0f32b5b89e more fixes 2023-05-28 14:45:19 +02:00
Adrian Brzeziński 7aad91bd95 create market list proposal 2023-05-28 12:50:27 +02:00
Adrian Brzeziński 1dfb23cb8e fix 2023-05-25 22:34:29 +02:00
Adrian Brzeziński 94637a529c fix 2023-05-25 22:17:58 +02:00
Adrian Brzeziński 941bf7acb4 cleanup 2023-05-25 22:12:50 +02:00
Adrian Brzeziński ebc0595310 fix trading params comment 2023-05-25 22:06:22 +02:00
Adrian Brzeziński 36d017f12a fix 2023-05-25 18:09:12 +02:00
Adrian Brzeziński dc129e243b merge list tok pages 2023-05-25 16:00:23 +02:00
Adrian Brzeziński acdbbe29b0 merge list token page 2023-05-25 15:59:45 +02:00
saml33 29e208177e add average duration to funding chart title 2023-05-25 19:38:17 +10:00
saml33 c088190e61 sum funding for average funding chart 2023-05-25 15:28:48 +10:00
saml33 08828e240d link to perp market stats from market details modal 2023-05-25 13:59:41 +10:00
saml33 cfbbed612d merge main 2023-05-25 10:01:12 +10:00
Adrian Brzeziński 7303b63a7b market props json 2023-05-25 01:22:13 +02:00
Adrian Brzeziński bb45b5777b min sol 2023-05-24 16:32:49 +02:00
Adrian Brzeziński 3137b588c1 fix 2023-05-24 13:53:12 +02:00
Adrian Brzeziński 5011ea2365 calc tick and min order 2023-05-24 13:50:23 +02: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 4e90899407 fix text alignment 2023-05-24 14:41:04 +10:00
saml33 166d7eafe1 remove stable price from tv chart 2023-05-24 13:32:02 +10:00
saml33 899df83839 fix notifications count styling 2023-05-24 12:28:31 +10:00
saml33 aff58c7e70 improve order line drawing 2023-05-24 12:05:13 +10:00
saml33 846e574a71 use long/short for perp order lines 2023-05-24 11:22:09 +10:00
saml33 88614f8bd7 use perp side badge for perp open orders 2023-05-24 10:34:26 +10:00
saml33 5b4b30df0a remove time from daily average tooltip 2023-05-24 10:07:29 +10:00
tlrsssss 09e10671b4
Merge pull request #155 from blockworks-foundation/edit-tv-order-modal
add custom modal when dragging order line
2023-05-23 17:13:45 -04:00
tlrsssss f7d69b90b2
Merge pull request #153 from blockworks-foundation/align-tooltip-styles
align tooltip styles
2023-05-23 17:11:13 -04:00
Adrian Brzeziński 08cade38eb traind params and openbook market create modal 2023-05-23 22:00:02 +02:00
Adrian Brzeziński 0e424c98eb create market 2023-05-23 16:10:22 +02:00
saml33 b487c51db5 add custom modal when dragging order line 2023-05-23 21:48:26 +10:00
saml33 62054f0758 fix sell/short button 2023-05-23 13:25:03 +10:00
saml33 e22719c196 add divider to tv limit price menu item 2023-05-23 09:46:47 +10:00
Adrian Brzeziński b25b41aa2b fix tools 2023-05-23 01:39:06 +02:00
Adrian Brzeziński 313f9d4112 fix 2023-05-23 01:17:53 +02:00
Adrian Brzeziński ae509d5796 tools wip 2023-05-23 01:05:43 +02:00
Adrian Brzeziński ea392fc9f0 next view wip 2023-05-22 21:47:47 +02:00
saml33 dfd3e1b0e9 change button case to match menu 2023-05-22 23:03:21 +10:00
saml33 b6a3f47eaf use address when no account name in topbar 2023-05-22 22:56:11 +10:00
saml33 b64af38f7d set limit price from right click tv chart 2023-05-22 22:51:27 +10:00
Adrian Brzeziński 58ee6f49e0 list market page wip 2023-05-22 14:41:27 +02:00
saml33 cdd116dcb1 update onboarding image 2023-05-22 15:24:04 +10:00
saml33 88d956c5ba fix console warnings 2023-05-22 13:15:58 +10: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
saml33 4912950fd9 default activity filters type to empty 2023-05-18 12:03:08 +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 1e10d799d0 remove account modal double borders 2023-05-15 14:45:46 +10:00
saml33 8deaeccf18 remove swap form double border 2023-05-15 14:41:32 +10:00
saml33 720bf8c5a3 improve topbar back arrow button 2023-05-15 14:30:00 +10:00
saml33 b708d838d7 change to bar chart and add averaging intervals 2023-05-15 13:08:48 +10:00
tjs cfa95dfd9c update oracle component with last price after switching mkts 2023-05-14 12:43:42 -04: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
saml33 c8edebc1fc format token symbols in select buttons 2023-05-13 22:17:04 +10:00
saml33 d02a96b131 fix perp slider rounding 2023-05-13 21:41:42 +10:00
saml33 ebeccd8df5 fix spot slider rounding 2023-05-13 21:25:50 +10:00
saml33 46b2e53902 fix trade summary order value 2023-05-13 20:44:22 +10:00
saml33 4ede5b9a6c align tooltip styles 2023-05-12 14:08:06 +10:00
saml33 e4b85b4d5e link to chart from funding tooltip 2023-05-12 13:46:59 +10:00
saml33 2ab60782a6 only show health tooltip scenarios when health < 100 2023-05-12 12:59:37 +10:00
saml33 dd0f89861e undo allowing delegate accounts to swap 2023-05-12 12:49:01 +10:00
saml33 e314901f27 fix max swap amounts for reduce only 2023-05-12 12:25:16 +10:00
saml33 ef383bec36 fix reduce only display in swap list 2023-05-12 11:48:30 +10:00
tjs 73322833a8 add xborder prop option to tables 2023-05-11 17:32:48 -04: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
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
tlrsssss 97fbb42588
Merge pull request #126 from blockworks-foundation/save-tv-charts
save tv charts
2023-05-05 14:20:36 -04:00
tlrsssss a1d476eeba
Merge pull request #145 from blockworks-foundation/mango-stats-loading
format mango stats outside of component
2023-05-04 13:49:34 -04:00
saml33 5b88633501 improve market select link styles 2023-05-04 11:41:18 +10:00
tjs 2494ba2022 fix datafeed crash 2023-05-03 14:26:26 -04:00
saml33 c260d7782f save tv chart drawings 2023-05-03 13:15:37 -04:00
Riordan Panayides cbb88dcbe5 Temporarily disable orderbook feed 2023-05-03 15:29:01 +01:00
saml33 daa829b589 fix padding 2023-05-03 21:52:01 +10:00
saml33 63340c6001 fix total interest value 2023-05-03 20:56:12 +10:00
saml33 5cc2cdbdf3 allow toggling chart type from account chart expanded view 2023-05-03 16:12:08 +10:00
saml33 3f0c195a1a fix account interest chart 2023-05-03 14:39:25 +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
saml33 4ad8a29da6 transition table row hover 2023-05-03 11:03:42 +10:00
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