Commit Graph

2186 Commits

Author SHA1 Message Date
saml33 9976698c67 default market dropdown category to selected market type 2023-06-21 09:30:31 +10:00
saml33 0a122c0f79 hot keys modal form 2023-06-21 09:16:58 +10:00
Lou-Kamades 969f78dc16
update funding sign to match smart contract 2023-06-20 09:41:01 -05:00
saml33 f7d77a353a handle not connected 2023-06-19 22:41:51 +10:00
saml33 0d85a6ff12 filter markets dropdown 2023-06-19 15:44:41 +10:00
saml33 51791de4bb wire up api endpoints 2023-06-19 13:47:25 +10:00
Riordan Panayides 3e5b91fb96 Fix perp sorting 2023-06-17 10:55:34 +01:00
saml33 a89a042e57 add input/output notional value to swap form 2023-06-16 14:08:45 +10:00
saml33 3db404d790 add max-width to market name input 2023-06-16 12:33:30 +10:00
saml33 bba4c7208b add market name conventions to list form 2023-06-16 12:28:19 +10:00
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 de567bf3e0 update image 2023-06-14 14:17:23 +10: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 aa3b2f8adf add leaderboard view 2023-06-13 22:52:58 +10:00
saml33 0fa3271c55 add missing image properties 2023-06-13 15:53:00 +10:00
saml33 59fd4334d1 add promo banner 2023-06-13 15:33:15 +10:00
saml33 0b650e8a5e rewards tier icons 2023-06-13 14:41:59 +10:00
saml33 4faa2afc1a add how it works modal 2023-06-13 13:01:01 +10:00
saml33 96f6dfeb93 add win/loss modals 2023-06-11 22:39:48 +10:00
saml33 29a5ca8563 start claim ui 2023-06-09 22:35:36 +10:00
saml33 fc9b64bf66 add layout and some placeholders 2023-06-09 15:43:54 +10:00
saml33 1492c1b138 allow stats tabs to scroll on mobile 2023-06-09 09:59:11 +10:00
saml33 79bdec5bd1 add custom theme font support 2023-06-08 20:41:23 +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 8bfd978661 Merge branch 'main' into bonk-theme 2023-06-08 15:38:25 +10:00
saml33 59261f95e1 fix tooltip fonts 2023-06-08 15:37:13 +10:00
saml33 b40a468451 test bonk font 2023-06-08 15:33:43 +10:00
saml33 696a89fe70 fix side nav expanding menu 2023-06-08 14:59:15 +10:00
saml33 6945707c11 merge main 2023-06-08 13:49:49 +10:00
saml33 6540396c74 fix modals 2023-06-08 12:30:56 +10:00
saml33 f13acf6bd0 add tv chart meme and support changing fonts 2023-06-07 22:45:09 +10:00
saml33 9d14bc5b8b add chart easter egg functionality 2023-06-07 16:04:38 +10:00
saml33 9ffd337fe0 use themeData for vars 2023-06-07 15:00:59 +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 a00caa6c8c fix topbar padding 2023-06-06 22:52:33 +10:00
saml33 4e0239e366 fix sidenav animation duration 2023-06-06 22:47:42 +10:00
saml33 610de84dc7 start nft theme gating and topbar buttons 2023-06-06 22:40:26 +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 6173d28e46 play animation on sidenav image click 2023-06-06 12:49:51 +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 70f599b6cb add side nav image placeholder 2023-06-05 22:25:10 +10: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 095728986c more bonk 2023-06-02 16:05:08 +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 b09b412494 Merge branch 'main' into bonk-theme 2023-05-31 15:15:22 +10:00
saml33 5d20993914 fix medal icons on light themes 2023-05-31 15:13:41 +10:00
saml33 2edd631e02 fix logo 2023-05-31 14:49:42 +10:00
saml33 97b331df27 tv styles 2023-05-31 14:38:15 +10:00
saml33 eefc1f374d add bonk theme 2023-05-31 13:03:53 +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 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
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
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
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
tlrsssss e7080c393a
Merge pull request #120 from blockworks-foundation/perp-stats-details-page
show perp stats details on a page
2023-04-14 12:51:07 -04:00
tjs 2a49dc1c5c fix bug in sorting trade history from event queue 2023-04-14 11:56:36 -04:00
Adrian Brzeziński 6660b751bb fix 2023-04-14 16:02:19 +02:00
saml33 840084433c load nfts from metaplex 2023-04-14 21:48:09 +10:00
saml33 442af25a09 remove shadow from medal icon 2023-04-14 15:53:43 +10:00
saml33 707205eabe show swap history on swap chart 2023-04-14 15:22:39 +10:00
saml33 a9666ffffe fix typo 2023-04-14 09:48:12 +10:00
saml33 17ea3b2be4 swaps disabled message 2023-04-14 09:40:20 +10:00
microwavedcola1 b09596322e Revert "Revert "settle fees along with pnl""
This reverts commit bc113df1c3.
2023-04-13 16:55:32 +02:00
saml33 144d25fc9d save show zero balance state 2023-04-13 22:35:23 +10:00
saml33 89e9834a5d use url param 2023-04-13 21:56:18 +10:00
saml33 e141233d79 show trade executions on tv charts 2023-04-13 21:25:58 +10:00
saml33 7f88073f03 fix token stats price chart x-axis 2023-04-13 10:31:22 +10:00
saml33 e0b855f6c4 show perp stats details on a page 2023-04-12 13:38:21 +10:00
saml33 207868fc82 add apr to perp funding rate display 2023-04-12 10:34:50 +10:00
saml33 0711c6088a full width notifications on mobile 2023-04-11 20:50:51 +10:00
saml33 797a7b31c6 increase mobile more menu height 2023-04-11 20:33:58 +10:00
tlrsssss 938b3d70c3
Merge pull request #90 from blockworks-foundation/share-positions
add share positions to twitter
2023-04-10 20:58:38 -04:00
tlrsssss d3b9b3ab08
Merge pull request #109 from blockworks-foundation/margin-toggle-size
retain size when toggling margin
2023-04-10 20:52:11 -04:00
saml33 4aa883d093 add unsettled balance to spot trade max 2023-04-10 21:43:50 +10:00
tjs 598c29fe13 use tradeform for checkboxes 2023-04-08 13:24:21 -04:00
saml33 b52499afcb curly braces isunownedaccount 2023-04-08 20:56:39 +10:00
tlrsssss 3d2b485cf7
Merge pull request #114 from blockworks-foundation/use-birdeye-prices
Use birdeye prices
2023-04-07 16:41:32 -04:00
saml33 cbbc1e6a1f implement pr feedback 2023-04-06 22:54:37 +10:00