Commit Graph

1685 Commits

Author SHA1 Message Date
tjs 17b6861d88 check min borrow amount even when not using margin 2023-01-29 23:02:16 -05:00
saml33 68118a20b1 merge main 2023-01-30 11:53:05 +11:00
saml33 52e871e566 let tables scroll horizontal if they need to 2023-01-30 10:15:03 +11:00
saml33 991d36aa62 fix trade history bug 2023-01-29 21:22:09 +11:00
saml33 7523ae357d fix table header alignment 2023-01-29 21:12:58 +11:00
saml33 4f97064e46 fix console warning 2023-01-29 21:05:32 +11:00
saml33 1288f6f659 simplify amoutwithvalue component 2023-01-29 12:13:36 +11:00
saml33 ba665fd066 add new formatting functions to borrow page 2023-01-28 20:56:32 +11:00
tylersssss 98c36682bd
Merge pull request #74 from blockworks-foundation/borrow-page
add borrow page
2023-01-27 21:57:12 -05:00
tylersssss 8c53d278a5
Merge pull request #72 from blockworks-foundation/format-numeric-value
format numeric value component
2023-01-27 12:44:49 -05:00
saml33 150998afc4 fix search when api fails 2023-01-27 22:45:18 +11:00
saml33 e7a2be76ff add borrow to bottombar 2023-01-27 11:05:50 +11:00
saml33 ad48ab17c7 finish mobile and add to sidenav 2023-01-27 11:02:48 +11:00
saml33 da3bb18780 fix account performance loading 2023-01-27 09:52:40 +11:00
saml33 c1c795cb40 add borrow page 2023-01-26 23:12:03 +11:00
saml33 dd3f9b18ae fix activity table mobile 2023-01-26 11:45:48 +11:00
saml33 f6e8ed1557 merge main 2023-01-26 10:07:25 +11:00
tjs 9623341498 use connection from store for orderbook changes 2023-01-25 17:28:26 -05:00
saml33 5efb43b7fc simplify close account modal 2023-01-25 22:26:21 +11:00
saml33 e47cd766db fix console warning 2023-01-25 20:19:12 +11:00
saml33 260b18fb95 reload account performance data for wallet change with no mango account 2023-01-25 15:27:17 +11:00
saml33 6a9a40f95e remove trimdecimals 2023-01-25 14:11:42 +11:00
saml33 f8f022fe9a only use floortodecimal for unformatted values 2023-01-25 13:54:06 +11:00
saml33 d25b0dc399 remove formatdecimal 2023-01-25 12:12:13 +11:00
saml33 ebf9bddfc9 remove formatfixeddecimals 2023-01-25 11:54:24 +11:00
saml33 fc1aac89e1 split functions for value/currency 2023-01-25 11:14:51 +11:00
saml33 4e856695ff make stats tabs full width on small screens 2023-01-25 10:28:14 +11:00
tjs 139ba30675 dashboard tweaks 2023-01-24 13:08:35 -05:00
saml33 63d7d4ca42 add to token list mobile 2023-01-24 21:56:04 +11:00
saml33 e64129e2d1 add to token stats 2023-01-24 21:42:26 +11:00
saml33 add1924920 add to balances table 2023-01-24 16:17:08 +11:00
saml33 e218adef0d add to trade history 2023-01-24 15:44:50 +11:00
saml33 636096ac26 add to swap history 2023-01-24 15:37:26 +11:00
saml33 5385780c69 add to activity table 2023-01-24 15:14:37 +11:00
saml33 65cef0fb71 add to unsettled table 2023-01-24 14:58:14 +11:00
saml33 8cbfe1dc59 add to positions table 2023-01-24 14:55:47 +11:00
saml33 7f597681fd add to maxamountbuttons 2023-01-24 14:04:05 +11:00
saml33 84277736ec add to other amoutwithvalue components 2023-01-24 13:09:14 +11:00
saml33 530d0ef2ce round up borrow rate 2023-01-24 12:50:07 +11:00
saml33 aec60a1288 add format numeric value component 2023-01-24 12:26:14 +11:00
tjs 991d3ee4b3 sort mango accounts list by equity 2023-01-23 18:54:54 -05:00
saml33 0f99619e2c remove show/hide account values 2023-01-24 09:52:59 +11:00
tjs cea7ee54ed fix btc tv data url 2023-01-23 12:47:34 -05:00
saml33 0e98231224 remove leading zero from recent trades time 2023-01-23 23:01:48 +11:00
saml33 53e7610338 align fee column formatting 2023-01-23 20:59:43 +11:00
tjs bae363a6fa temporary charts for perps 2023-01-23 00:25:46 -05:00
saml33 0128c8c29f add activity fee tooltip 2023-01-23 15:25:43 +11:00
saml33 dc357fb42c add chart range buttons to token page charts 2023-01-23 14:40:59 +11:00
saml33 454a1900d7 remove references to soETH 2023-01-23 13:20:44 +11:00
saml33 3e932635bf merge main 2023-01-23 13:08:08 +11:00
saml33 450100328d add success animation to market close 2023-01-23 13:03:09 +11:00
saml33 c27fe43835 add ability to show/hide account value and pnl 2023-01-23 11:34:52 +11:00
saml33 c499a0b514 add leverage and pnl to account summary 2023-01-23 10:54:47 +11:00
saml33 e08cea4a35 add positions to account page 2023-01-22 22:27:04 +11:00
saml33 22afdb8dac make bottom bar brighter 2023-01-22 20:54:07 +11:00
saml33 3dbae5a1a9 fix bottom bar issue on trade page 2023-01-22 20:27:04 +11:00
tjs f94bd3c656 better handle display around very small balances 2023-01-20 18:21:57 -05:00
tjs 63909e2bb7 improve use query config options 2023-01-20 11:13:03 -05:00
tjs 9c8ef98cfd remove console logs 2023-01-20 08:53:15 -05:00
tjs b974a84461 move trade history parsing out of JSX 2023-01-20 08:24:35 -05:00
saml33 0952fde644 merge main 2023-01-20 22:38:56 +11:00
saml33 b13cea05e6 use usdc unit for unsettled perp 2023-01-20 22:17:50 +11:00
saml33 d3cdd2c301 fix trade history date column alignment 2023-01-20 22:09:37 +11:00
saml33 1231a0be44 fix trade success animation for trade 2023-01-20 22:03:31 +11:00
saml33 dc584ed0fb fix perp max button 2023-01-20 15:45:44 +11:00
tjs 9f129d9dff remove mngo-perp 2023-01-19 23:17:43 -05:00
tjs dd07d08d1f add dollar sign and catch errors for coingecko 2023-01-19 23:15:11 -05:00
saml33 1fc9b0ce66 fix open orders inputs 2023-01-20 15:06:14 +11:00
saml33 154e508944 update delegate icon 2023-01-20 14:48:14 +11:00
tjs 3f431676ef fix trade history when swapping mango accounts 2023-01-19 22:44:53 -05:00
saml33 a95df1b248 align market close modal button to other modals 2023-01-20 14:43:44 +11:00
saml33 b97a501527 disable connect buttons until group loads 2023-01-20 14:33:02 +11:00
saml33 71b40fbaf5 fix table states for unowned account 2023-01-20 14:10:15 +11:00
tjs 9d495f2e46 add onclose to market close modal 2023-01-19 21:24:12 -05:00
tjs 458a70fc9d perp market close modal 2023-01-19 21:14:51 -05: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 bfaecd1716 fix chart loader heights 2023-01-20 11:56:22 +11:00
saml33 2e555ba5dc add size prop to icon buttons 2023-01-20 10:49:49 +11:00
saml33 91d916c858 use icon button for view counterparty 2023-01-20 10:44:58 +11:00
tjs 83c7382153 fix first and last padding 2023-01-19 18:17:54 -05:00
tjs 397595e501 fixes commit that shrank table padding for smaller screens 2023-01-19 18:02:48 -05:00
tjs f1db6f2de8 trade page breakpoint fixes 2023-01-19 16:25:19 -05:00
tjs a3f1edd457 fix min decimals in trade form 2023-01-19 16:01:46 -05:00
tjs 3bc8b87830 fix localstorage default key typo 2023-01-19 15:41:11 -05:00
tjs 39bbe69ffb add priority fee to settings 2023-01-19 15:31:45 -05:00
tjs 009b0cb59e add view counterpart to trade history table 2023-01-19 14:36:44 -05:00
saml33 53cb435393 add format y-axis function 2023-01-19 21:42:39 +11:00
saml33 7e9ef8e1bd fix long digit price display for token details 2023-01-19 21:12:33 +11:00
saml33 37612534e3 add size prop to icon button 2023-01-19 21:06:46 +11:00
saml33 e6a155c720 improve mango stats chart load 2023-01-19 21:05:07 +11:00
saml33 edc1013869 fix stats spot chart on mobile 2023-01-19 20:54:50 +11:00
saml33 6ef115f791 merge main 2023-01-19 20:49:57 +11:00
tylersssss 1513fb0372
Merge pull request #69 from blockworks-foundation/paginate-swap-history
paginate swap history
2023-01-19 00:23:23 -05:00
tjs e7fa818e65 fix recent trades for perp markets 2023-01-19 00:18:06 -05:00
tjs a0c24f11c5 fix trade history 2023-01-18 23:35:57 -05:00
saml33 aafa6c8e0c merge main 2023-01-19 15:35:36 +11:00
saml33 9f3d10d4ae merge main 2023-01-19 15:33:51 +11:00
saml33 cf7cf1c037 round account page change components 2023-01-19 15:22:16 +11:00
saml33 235f3cde9d fix account performance data when changing accounts 2023-01-19 15:16:43 +11:00
saml33 4ce190161d round pnl history 2023-01-19 14:38:06 +11:00
saml33 270c74b9db toggle tradingview on mobile 2023-01-19 13:42:29 +11:00
tylersssss e9a284619b
Merge branch 'main' into pan/change-transaction-log-url 2023-01-18 19:11:02 -05:00
tylersssss ac2a50c1fc
Merge branch 'main' into pan/fix-trade-history 2023-01-18 19:07:59 -05:00
tylersssss f0db2495fe
Merge branch 'main' into daily-pnl-history 2023-01-18 19:05:21 -05:00
tylersssss 3c83103b30
Merge pull request #62 from blockworks-foundation/paginate-trade-history
paginate trade history
2023-01-18 18:58:35 -05:00
saml33 193d2a16fe fix connect wallet button for long wallet names 2023-01-19 10:50:55 +11:00
Riordan Panayides 79821f5216 Fix side badge for combinedTradeHistory trades 2023-01-18 18:42:54 +00:00
Riordan Panayides 4d5230cf05 Replace references to mango-transaction-log 2023-01-18 13:21:01 +00:00
saml33 4646393602 merge main 2023-01-18 22:44:11 +11:00
saml33 7107b91ad1 fix swap history amounts and improve columns 2023-01-18 22:34:25 +11:00
saml33 9d8f804b75 fix token logo symbol matching 2023-01-18 22:18:57 +11:00
saml33 7fab02c1ba merge main 2023-01-18 21:56:06 +11:00
saml33 adeb08daeb finish swap history pagination 2023-01-18 21:36:45 +11:00
saml33 bf626cc8ef add recent trade volume alert 2023-01-18 16:06:00 +11:00
tylersssss 5e17c81df7
Merge pull request #61 from blockworks-foundation/feature/mang-router-v2
mango router
2023-01-17 23:00:43 -05:00
Adrian Brzeziński be7aa47a09 Merge branch 'main' into feature/close-account-modal 2023-01-18 02:12:16 +01:00
saml33 5732910003 add chart range buttons to mango stats charts 2023-01-18 10:38:33 +11:00
tjs e5dff1c8c3 use latest client; update perp positions table with new pnl calcs 2023-01-17 18:31:58 -05: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
tjs 71d0623002 remove mngo-perp from perp list on alpha 2023-01-16 23:49:00 -05:00
tjs 3a59e73416 only show reduce only for perps 2023-01-16 23:16:25 -05:00
tjs 41e8172581 add reduce only to perp trade form 2023-01-16 23:00:42 -05:00
tjs fd048ecfc6 fix perp position side badge 2023-01-16 22:50:31 -05:00
saml33 6981b72137 fix search accounts bug 2023-01-17 14:08:12 +11:00
saml33 9716c5f775 add pnl for current week 2023-01-17 12:26:31 +11:00
Adrian Brzeziński 5a00c0c004 Merge branch 'main' into feature/mang-router-v2 2023-01-16 22:25:54 +01:00
tjs 23fc84b202 fix reduce only bug; better acct loading; increase ob depth 2023-01-16 16:09:21 -05:00
saml33 bc48b5a740 fixes 2023-01-16 22:25:13 +11:00
saml33 2c12f5c5ea add daily pnl history 2023-01-16 16:13:34 +11:00
saml33 8736d7991e add useMargin to max trade size button 2023-01-16 14:58:01 +11:00
saml33 35cd56b9fc fix trade form balance click 2023-01-16 12:27:51 +11:00
saml33 fa52bffc66 fix percentage sign 2023-01-16 12:19:01 +11:00
Adrian Brzeziński 5f6bdf0948 fix ata creation for middle mints 2023-01-15 14:15:35 +01:00
saml33 bdd03b0e0c merge main 2023-01-15 20:58:07 +11:00
saml33 ea636b8df4 add missing icon 2023-01-15 20:53:34 +11:00
tjs 58a113b7cc handle use margin checkbox for serum trade form 2023-01-15 00:52:22 -05:00
tjs 38a3db06df refactor to use hook useSelectedMarket 2023-01-15 00:01:30 -05:00
Adrian Brzeziński db8f1bcc77 review fixes 2023-01-15 02:05:45 +01:00
tjs 1ce76d3924 sync accounts list with selected mango account 2023-01-14 16:51:06 -05:00
Adrian Brzeziński c96fe8a739 Revert "Revert "Merge pull request #56 from blockworks-foundation/feature/mango-router""
This reverts commit 774219cadd.
2023-01-14 21:16:01 +01:00
tylersssss 448fdfa3e3
Merge pull request #63 from blockworks-foundation/flip-swap-chart
allow flip swap chart prices
2023-01-14 14:03:24 -05:00
saml33 3ea84c32ae fix swap minimum received 2023-01-14 23:41:30 +11:00
saml33 c35e70ec15 format account chart y-axis 2023-01-14 22:53:28 +11:00
Adrian Brzeziński e5988cb631 comment 2023-01-14 02:05:02 +01:00
Adrian Brzeziński d22392be6c fix 2023-01-14 02:03:53 +01:00
Adrian Brzeziński 28e47eb6a9 fix full repay 2023-01-14 01:58:07 +01:00
Adrian Brzeziński ccd8391a75 fix 2023-01-14 01:04:59 +01:00
Adrian Brzeziński 781bab12fe fix 2023-01-14 01:02:52 +01:00
Adrian Brzeziński 8c575056b8 fix 2023-01-14 01:02:11 +01:00
Adrian Brzeziński 08a59ae4ec fixes 2023-01-13 18:07:18 +01:00
saml33 8c426484fc format mango stats chart axis 2023-01-13 21:14:27 +11:00
saml33 c7187748d5 allow flip swap chart prices 2023-01-13 15:26:07 +11:00
saml33 cb96bb1823 allow tables to scroll horizontally 2023-01-13 12:46:36 +11:00
saml33 297f653e0f add trade history to account tabs 2023-01-13 12:34:21 +11:00
saml33 9d94828aac paginate trade history 2023-01-13 11:16:10 +11:00
Adrian Brzeziński d4e8372969 merge 2023-01-12 22:31:47 +01:00
tjs ad634a46fa prevent rerendering orderbook due to trade form changes 2023-01-12 16:02:23 -05:00
tjs 17d606be9c prevent chart rerenders on swap form amount changes 2023-01-12 15:46:30 -05:00
tylersssss 774219cadd Revert "Merge pull request #56 from blockworks-foundation/feature/mango-router"
This reverts commit aa46e5f998.
2023-01-12 14:39:19 -05:00
tylersssss aa46e5f998
Merge pull request #56 from blockworks-foundation/feature/mango-router
use mango router
2023-01-12 11:53:04 -05: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
saml33 d410b0b073 fix side nav icon position 2023-01-12 21:33:15 +11:00
saml33 ecbc944b19 reset activity filter button position 2023-01-12 21:19:08 +11:00
saml33 c6607d10a6 fix duplicate key 2023-01-12 16:06:17 +11:00
saml33 70c30d8512 fix z index 2023-01-12 15:45:04 +11:00
saml33 9a975d58a7 fix missing translation 2023-01-12 14:52:56 +11:00
saml33 6a902fb1dd fix toggle side nav when near nav icon 2023-01-12 14:48:22 +11:00
saml33 e0b616a5cf fix swap history load when not connected 2023-01-12 14:34:33 +11:00
saml33 badb6931bc add swap history pagination 2023-01-12 14:21:23 +11:00
saml33 85f81ce55b fix swap panel height 2023-01-12 10:21:01 +11:00
saml33 adb7674f95 fix icon button 2023-01-12 10:17:41 +11:00
tjs 68bcbf6597 fix negative leverage number 2023-01-11 18:03:11 -05:00
tjs 8b3a251fac show count of unsettled mkts on account page 2023-01-11 18:02:51 -05:00
tjs 18decda62c reload wallet balances after borrow 2023-01-11 18:02:30 -05:00
Adrian Brzeziński 5f1a52ea7e wip 2023-01-11 23:42:42 +01:00
Adrian Brzeziński 4627c0e070 fix 2023-01-11 23:37:58 +01:00
tjs 6a1a55adbc hide swap route except for test wallet 2023-01-11 16:45:56 -05:00
tjs ca89b132da remove price impact from swap form since it is on the review page 2023-01-11 16:35:37 -05:00
tjs 15e0e781cf dont hardcode height width if size isn't passed into iconbutton 2023-01-11 16:34:59 -05:00
tylersssss 1ce1090417
Merge pull request #53 from blockworks-foundation/full-height-charts
make account charts full height on detail view
2023-01-11 14:29:56 -05:00
tylersssss f54787e955
Merge pull request #58 from blockworks-foundation/account-search
account search
2023-01-11 14:28:46 -05:00
tylersssss 9bd4642d75
Merge pull request #54 from blockworks-foundation/swap-form-button
update swap button text
2023-01-11 13:12:00 -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
Adrian Brzeziński 53572e8824 wip 2023-01-11 18:38:51 +01:00
Adrian Brzeziński 5817809fa6 fix 2023-01-11 16:45:53 +01:00
saml33 a5980512d5 hide token desc if empty 2023-01-11 23:25:38 +11:00
saml33 7643a2f808 format token price chart y axis 2023-01-11 23:19:02 +11:00
saml33 5866cd0cdf use compact number format on token charts 2023-01-11 21:01:35 +11:00
saml33 70e42b1ca0 fix flipping chart gradient direction 2023-01-11 15:39:02 +11:00
saml33 23fac7895a animate simple area chart 2023-01-11 15:32:48 +11:00
saml33 a759b0fe6f tidy up 2023-01-11 13:49:05 +11:00
saml33 66c635b00c update to use volume 2023-01-11 12:00:26 +11:00
saml33 a3e731be15 add !selectedroute to disabled 2023-01-11 11:33:03 +11:00
saml33 ccd6e392c2 remove tolocalestring 2023-01-11 11:20:06 +11:00
tylersssss 750cce2f5e
Merge pull request #52 from blockworks-foundation/available-vault-balance
add available vault balance to token stats
2023-01-10 13:55:26 -05:00
tylersssss 034d82f11d
Merge pull request #57 from blockworks-foundation/token-vault-warnings
improve token vault warnings
2023-01-10 13:32:20 -05:00
tjs 3019a1d555 add perp trade history 2023-01-10 12:36:29 -05:00
saml33 74447f8482 show search results 2023-01-10 23:56:48 +11:00
saml33 154ec6ba78 fix negative value display in detailed chart 2023-01-10 15:24:55 +11:00
saml33 fb4d29ea63 align vertical spacing 2023-01-10 14:57:56 +11:00
saml33 60388f4423 format swap token list max number 2023-01-10 13:18:47 +11:00
saml33 fbc5f37cfe add fee to activity table 2023-01-10 13:02:51 +11:00
Adrian Brzeziński 2bd8c86061 fix 2023-01-10 01:07:36 +01:00
Adrian Brzeziński 0cf973f0c4 other amount 2023-01-10 01:02:31 +01:00
saml33 eefd59670d fix console error 2023-01-10 10:58:09 +11:00
Adrian Brzeziński ba5facc4e2 fix 2023-01-10 00:52:06 +01:00
saml33 ea7e148578 improve token vault warnings 2023-01-10 10:47:18 +11:00
Adrian Brzeziński 3553ae03e6 fix 2023-01-09 14:14:22 +01:00
Adrian Brzeziński cd2597e26a use mango router 2023-01-09 14:13:48 +01:00
saml33 3a8a0d1df8 update button text 2023-01-09 21:01:21 +11:00
saml33 929a190f73 make account charts full height on detail view 2023-01-09 15:58:01 +11:00
saml33 8b00e67159 add amount with value component 2023-01-09 14:38:09 +11:00
saml33 93738b0dcc fix formatfixeddecimals rounding 2023-01-09 12:50:46 +11:00
saml33 434967b0a1 add available vault balance to token stats 2023-01-09 12:31:34 +11:00
saml33 3d6f30b7fb add deposit/borrow value to mobile token stats 2023-01-09 11:49:42 +11:00
saml33 b0b090d0bc add deposit/borrow value to token stats 2023-01-09 11:40:15 +11:00
saml33 003bb488f9 fix borrow modal summary numbers 2023-01-09 10:08:23 +11:00
tjs 8884381618 use latest client 2023-01-07 17:40:36 -05:00
tjs 5296cb8720 fix account actions console error 2023-01-07 15:52:22 -05:00
tjs 0846d82fb9 Merge branch 'alpha' into main 2023-01-07 13:59:49 -05:00
tjs b4e63ffcb6 add commas to swap history 2023-01-07 13:59:32 -05:00
saml33 ce0acbf892 fix spot market price chart 2023-01-07 22:14:06 +11:00
tjs 59b724e431 add openbook history 2023-01-06 19:26:06 -05:00
tjs 50fc7593ec remove console log 2023-01-06 14:42:21 -05:00
tjs 89e9ac2d61 round decimals in unsettled table 2023-01-06 14:41:18 -05:00
saml33 02e3e6d132 fix country not allowed button 2023-01-06 21:55:51 +11:00
saml33 4e713a7c26 fix account page mobile 2023-01-06 21:43:07 +11:00
saml33 da78529b2e more rounding fixes 2023-01-06 21:32:54 +11:00
saml33 5410d12071 fix account page rounding 2023-01-06 20:30:29 +11:00
saml33 209de8a666 repay and withdraw formatting and sol balance warning spacing 2023-01-06 20:14:54 +11:00
saml33 71f8a259ff deposit modal number format 2023-01-06 19:56:34 +11:00
saml33 04c4c5e00d fix borrow modal rounding 2023-01-06 19:49:15 +11:00
tjs 079e622624 cleanup 2023-01-06 00:26:56 -05:00
saml33 665cf9742d round account value in accounts modal list 2023-01-06 15:51:27 +11:00
saml33 a47a3a0e54 sort swap token list 2023-01-06 15:46:36 +11:00
tjs 04cda31516 fix issue with swap chart labels 2023-01-05 23:38:25 -05:00
saml33 4e350ff8ad fix borrow interest display 2023-01-06 15:19:36 +11:00
saml33 085aceb3eb round max amount buttons 2023-01-06 15:10:25 +11:00
tjs 9865e85116 add mango account pk and address to hook 2023-01-05 23:01:03 -05:00
tjs e8cd0b4a7b fix max swap amount displays 2023-01-05 22:40:23 -05:00
saml33 e8d4d8e5d0 show sidenav account summary on page load 2023-01-06 14:17:37 +11:00
saml33 65e6afc363 show correct borrow fee unit and remove unnecessary class 2023-01-06 13:03:58 +11:00
saml33 c5c0a6f493 only show swap history loader on initial load 2023-01-06 12:56:03 +11:00
saml33 d19cea05e5 format other token list values 2023-01-06 12:30:03 +11:00
saml33 0aa9b1cb5b format balance in token list 2023-01-06 12:23:49 +11:00
saml33 a5e06517d3 give balances more space in action modals 2023-01-06 12:19:39 +11:00
tjs 8a04998374 show slippage msg in notifications 2023-01-05 19:44:37 -05:00
tjs e6f41e17ab don't close websocket connection 2023-01-05 17:06:18 -05:00
tjs 564c4bdee8 max token withdraw shouldnt use maxborrow if its a trustless token 2023-01-05 15:35:45 -05:00
tjs 4a35ab5470 bonk and dai fixes 2023-01-05 15:10:24 -05:00
tjs a76a3f93ba Merge branch 'main' into alpha 2023-01-05 14:32:15 -05:00
tjs 8e77c37468 use latest client 2023-01-05 14:16:00 -05:00
saml33 0a22dc4791 adjust text tracking 2023-01-05 22:32:18 +11:00
saml33 2e736ebaf2 prevent user setup modal from closing when dismissing a notification 2023-01-05 22:21:30 +11:00
saml33 96da71a4c7 add wallet name label to connected menu 2023-01-05 21:07:51 +11:00
saml33 8ddb4e52c1 add buy/sell ratio to recent trades 2023-01-05 20:38:34 +11:00
saml33 ddde48a2dd add actionslinkbutton component 2023-01-05 20:04:09 +11:00
saml33 a27dc08b75 hide action buttons and add message when viewing unowned account 2023-01-05 19:52:16 +11:00
saml33 9e3b49108b disable account buttons for unowned account 2023-01-05 15:44:48 +11:00
saml33 8473ca9be4 add trade to token list actions 2023-01-05 15:06:19 +11:00
saml33 9e45571b51 add swap to token list actions 2023-01-05 13:50:36 +11:00
saml33 dbe1e4c6f4 pass step to spot slider 2023-01-05 12:09:43 +11:00
tjs 66003d57ad refetch open orders on 30 sec interval 2023-01-04 16:30:28 -05:00
tjs d279ddfd05 fix trade history side 2023-01-04 14:36:48 -05:00
saml33 fb7f4a7cf0 add openbook to activity filters 2023-01-04 23:10:36 +11:00
saml33 13c5d48ae7 use active color for checkbox 2023-01-04 20:20:53 +11:00
saml33 a4ad80e287 fix activity filters button 2023-01-04 20:12:52 +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 3cfa294cde hide settle funds button for unowned account 2023-01-04 13:38:17 +11:00
saml33 d4fb1f24a6 load unowned open orders 2023-01-04 13:32:42 +11:00
saml33 46e77374ee check for mangoaccount in activity feed 2023-01-04 13:11:29 +11:00
saml33 c08acf292c check for mangoaccount instead of connected 2023-01-04 13:06:00 +11:00
tjs 7a324c68cd Merge branch 'main' into alpha 2023-01-03 20:58:53 -05:00
saml33 bf3631aab4 handle low sol balance in deposit modal 2023-01-04 12:17:16 +11:00
saml33 94ac53ebf5 fix low sol balance in fund account 2023-01-04 10:58:31 +11:00
tylersssss 9e4877792d
Merge pull request #49 from blockworks-foundation/connect-buttons
add active connect buttons
2023-01-03 18:25:55 -05:00
tjs ce794da5b3 use thin-scroll if sidenav has scrollbars 2023-01-03 17:30:44 -05:00
tjs a045b90c70 fix notional label 2023-01-03 17:27:49 -05:00
tjs 5e0492d0a6 use getState for actions 2023-01-03 17:20:00 -05:00
tjs 4ec7f74466 fewer onboarding steps, hide profile name until use exists for them 2023-01-03 16:40:36 -05:00
saml33 b2257d2ca1 add active connect buttons 2023-01-03 22:06:37 +11:00
saml33 e419752d49 improve account page balance table sort 2023-01-03 20:20:34 +11:00
saml33 d4fc0ceb86 sort token stats table mobile 2023-01-03 19:33:30 +11:00
saml33 917cf6a8c0 sort token stats table 2023-01-03 19:31:24 +11:00
saml33 52744145b4 fix recent trades sounds 2023-01-03 14:14:23 +11:00
saml33 63ae4a09cf use select for notification position settings 2023-01-03 12:35:54 +11:00
saml33 d4a58191a2 add smaller user setup image size 2023-01-03 12:18:50 +11:00
saml33 f3bc81f95b new user setup image 2023-01-03 11:30:19 +11:00
tjs 9345224054 move tooltip placement 2023-01-02 17:48:05 -05:00
tjs 8c40443579 add reset button to orderbook 2023-01-02 17:41:16 -05:00
tjs 6e5eb6b4fe type fix 2023-01-02 17:21:56 -05:00
tjs 9a573028f7 Merge branch 'alpha' into main 2023-01-02 16:05:34 -05:00
tjs 1ac090c8e8 add a spinner when switching mango accounts 2023-01-02 16:04:58 -05:00
tjs 1ff61d3318 check for unsettled and inorders in balances 2023-01-02 15:43:31 -05:00
Adrian Brzeziński d29c641058
Merge pull request #48 from blockworks-foundation/feature/datafeed-v2
Feature/datafeed v2
2023-01-02 21:36:23 +01:00
tjs 09c4d817e7 improve slippage calc for spot trades 2023-01-02 14:51:09 -05:00
tjs fc161c1906 add alpha limit to repay form 2023-01-02 14:51:09 -05:00
Adrian Brzeziński ef78b8eb3b common data feed for bars 2023-01-02 20:50:03 +01: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
tjs f5473bfe07 add leverage back to account page 2022-12-30 15:39:05 -05:00
tjs fcbca6fc2e less intense check 2022-12-30 15:00:22 -05:00
tjs 740adad921 disable trade form button if size field is empty 2022-12-30 14:50:59 -05:00
tjs a0705c89b7 update swap settings modal 2022-12-30 14:44:48 -05:00
tjs 822554f287 show empty state for order value 2022-12-30 13:26:45 -05: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 aa9c017287 tweak account page top section 2022-12-30 11:31:13 +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
Adrian Brzeziński d19e5658ba Revert "move close delegate and edit account to top bar"
This reverts commit c101fce1ce.
2022-12-30 00:29:44 +01:00
Adrian Brzeziński c101fce1ce move close delegate and edit account to top bar 2022-12-29 20:04:19 +01:00
Adrian Brzeziński 2b6ee4e70c fix kline defaults 2022-12-29 19:43:14 +01:00
saml33 9f57d84349 address feedback 2022-12-29 21:59:56 +11:00
tjs a4f9fa8846 Merge branch 'alpha' into main 2022-12-29 03:24:06 -05:00
tjs a0ff12aede fix label on swap form; dont show health impact twice 2022-12-29 03:23:58 -05:00
tjs 0ed86e659f use correct label on swap form 2022-12-29 03:19:02 -05: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 75d394db48 remove console.log 2022-12-29 13:36:12 +11:00
saml33 86edad44c7 accounts list item layout 2022-12-29 13:19:38 +11:00
saml33 99f190d576 use amount and value in account action modals 2022-12-29 13:01:37 +11:00
saml33 d1b2bf5c87 add withdraw context to borrow 2022-12-29 11:45:09 +11:00
tjs 3664a30462 handle trading view errors when changing markets 2022-12-27 19:24:55 -05:00
tjs ab1ba7ca05 fix perp positions count 2022-12-27 18:34:40 -05:00
tjs d603d6e973 show the count next to perp positions; use latest client 2022-12-27 18:15:57 -05:00
tjs 8f336dcdc5 add publickey to acct list 2022-12-27 17:44:27 -05:00
tjs 5806803e16 don't crop the review info 2022-12-27 17:24:58 -05:00
tjs 49ac250a9a remove genesys go 2022-12-27 16:35:26 -05:00
tjs b945b62a7a more custom rpc fixes 2022-12-27 16:34:05 -05:00
tjs ad79ce2695 Merge branch 'main' into alpha 2022-12-27 16:13:28 -05:00
tjs 0bc6593aa3 fix rpc custom connection 2022-12-27 16:13:15 -05:00
tylersssss 30153160ae
Merge branch 'main' into rpc-settings 2022-12-27 13:58:22 -05:00
tjs 9f62761711 Merge branch 'main' into alpha 2022-12-27 12:28:57 -05:00
tjs c2560372a7 fix withdraw form warning 2022-12-27 12:28:16 -05:00
saml33 48e8b2ecb9 fix modal heights and align inline notification position 2022-12-27 23:07:02 +11:00
saml33 0d2d597c9e align activity/swap history loaders 2022-12-27 21:10:42 +11:00
saml33 be35e23dbe show perp trade value as a neutral color in activity feed 2022-12-27 20:57:23 +11:00
tjs 3bf6ace4bf fetch open orders after mango account websocket update 2022-12-26 16:04:15 -05:00
tjs ae02e59dee Merge branch 'alpha' into main 2022-12-26 12:16:21 -05:00
tjs d21c5ac383 fix swap on opposite side 2022-12-26 12:14:34 -05:00
saml33 ea2ef43b41 move leverage calculation to components 2022-12-26 22:58:17 +11:00
saml33 743a96f88c Merge branch 'main' into trade-chart-styling 2022-12-26 21:13:46 +11:00
saml33 359ddc19b4 style kline chart 2022-12-26 21:13:07 +11:00
saml33 00003266ad show inline error when profile update is unavailable 2022-12-25 21:40:45 +11:00
saml33 50da86ab2a display pk from wallet not profile 2022-12-25 21:27:53 +11:00
tjs 1f1d3a0e20 Merge branch 'alpha' into main 2022-12-24 11:39:11 -05:00
tjs 5d53090a1c fix stats page issues 2022-12-24 11:38:25 -05:00
saml33 f49d4dd56a fix edit profile pic 2022-12-24 11:12:32 +11:00
saml33 5c8c8d64fd handle no profile details 2022-12-24 11:04:21 +11:00
tjs a1e35cec70 handle if profile details api returns null 2022-12-23 13:53:57 -05: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 28101143be default trading view 2022-12-21 18:48:39 +01:00
Adrian Brzeziński ca1bbefafc fix 2022-12-21 18:31:25 +01:00
Adrian Brzeziński b63ed6ba4c Merge branch 'main' into feature/kline-charts-spot 2022-12-21 17:55:02 +01:00
Adrian Brzeziński e98c67b769 api migrate 2022-12-21 12:21:04 +01:00
saml33 39cf4b9411 improve account page on mobile 2022-12-21 22:07:17 +11:00
Adrian Brzeziński 96031df4dc fix transalate 2022-12-21 11:52:35 +01:00
saml33 812af394a8 update rates tooltip copy 2022-12-21 20:31:38 +11:00
saml33 209776cf4a fix token rates chart gradients 2022-12-21 20:23:04 +11:00
saml33 6882a520ac trade history mobile 2022-12-21 15:48:41 +11:00
saml33 b2bb1b685b horizontal scroll trade tabs on overflow 2022-12-21 15:04:08 +11:00
saml33 dff0df6c8b remove unwanted border 2022-12-21 14:48:06 +11:00
saml33 3cc5b759d3 add edit order form to mobile 2022-12-21 14:36:40 +11:00
saml33 da1ea7c5ce give open orders more horizontal space on mobile 2022-12-21 14:11:38 +11:00
saml33 18cd8d7bc1 fix edit order button on mobile 2022-12-21 13:56:16 +11:00
saml33 20502bcd14 improve user setup on mobile 2022-12-21 12:14:35 +11:00
saml33 4cbe60671b show create account for account actions when no account 2022-12-21 10:38:56 +11:00
saml33 57e8128c45 allow viewing account action modals when not connected 2022-12-21 10:30:00 +11:00
saml33 3df2f06fd6 full screen modals on mobile 2022-12-21 10:14:01 +11:00
saml33 d1cdd5affe smaller deposit/withdraw buttons on mobile 2022-12-21 10:06:50 +11:00
Adrian Brzeziński b60c61f181 Merge branch 'main' into feature/kline-charts-spot 2022-12-20 21:31:57 +01:00
tjs c6a8806c26 hide perps correctly 2022-12-20 13:05:53 -05:00
tjs 00b368eb24 remove account value check in user setup 2022-12-20 11:29:39 -05:00
tjs dc8889c2e0 fix alpha deposit limit 2022-12-20 09:50:20 -05:00
tjs 4780469cd4 use env vars to hide perps 2022-12-20 09:48:45 -05:00
saml33 1b3cae06aa make swap button always visible 2022-12-20 23:04:08 +11:00
saml33 79f9538067 add missing $ sign 2022-12-20 22:41:41 +11:00
saml33 079ca67e4c fix deposit max in user setup 2022-12-20 22:07:12 +11:00
saml33 2c76ed268a update swap activity feed value 2022-12-20 21:01:49 +11:00
saml33 0e64de2993 hide onboarding tours 2022-12-20 20:13:24 +11:00
saml33 a61f1b76d6 add mango stats 2022-12-20 19:16:05 +11:00
tjs 1f0e5c2ad5 hide more scrollbars 2022-12-20 02:00:54 -05:00
tjs 71b962826e more horizontal overflow fixes 2022-12-20 00:58:55 -05:00
tjs 9efd48f12f try to make this clearer 2022-12-20 00:27:05 -05:00
tjs 216164b47c remove scrollbar on trade page 2022-12-20 00:20:06 -05:00
tjs 835af357d6 fix overflow in topbar 2022-12-19 23:48:29 -05:00
tjs 11a7611e50 hide perp stats 2022-12-19 20:54:42 -05:00
tjs dec8009263 only show spot markets 2022-12-19 20:12:01 -05:00
saml33 b0ccf4d2a1 fix wallet disconnect flash 2022-12-20 12:02:55 +11:00
tjs 2f8bff16ef Merge branch 'birdeye' into main 2022-12-19 19:57:40 -05:00
Adrian Brzeziński 134dae05d9 fixes 2022-12-20 01:45:04 +01:00