Commit Graph

496 Commits

Author SHA1 Message Date
saml33 689dbde0b7 add focus to more components 2023-03-28 15:30:04 +11:00
saml33 b312dca2e2 maintain activity feed scroll position 2023-03-28 13:46:22 +11:00
saml33 471f03ef7d add perp liquidations to activity filter 2023-03-28 11:59:56 +11:00
saml33 a10f105f72
Merge pull request #105 from blockworks-foundation/activity-liquidations
activity feed perp liquidations
2023-03-28 11:04:58 +11: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 d88f364b42 fix assets/liabilities for $0 accounts 2023-03-27 15:07:23 +11:00
saml33 5f4dee638b update funding data on account change 2023-03-27 14:58:55 +11:00
saml33 dd0ba043e6 update focus styles 2023-03-27 14:11:10 +11:00
saml33 0a63571d3f merge main 2023-03-27 11:34:25 +11:00
saml33 00941c087e add liquidation fee 2023-03-27 11:25:34 +11:00
saml33 f92edf39fe merge main 2023-03-26 20:32:39 +11:00
tjs 3cf868d2d3 default funding display to 30 days 2023-03-25 14:43:59 -04: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
saml33 6a1064ca5b add perp liqs to mobile 2023-03-24 11:51:03 +11:00
saml33 142999433d use side badge in activity mobile 2023-03-24 11:11:34 +11:00
saml33 c75291fc1a fix values 2023-03-23 23:08:59 +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
saml33 0001419c9c use bar chart 2023-03-21 23:01:48 +11:00
saml33 e5e096ebb4 add account funding total and hourly chart 2023-03-21 21:27:37 +11:00
saml33 253a5fbb87 add show more button 2023-03-20 14:19:53 +11:00
tjs 0713c3ffd7 reduce tooltip delay 2023-03-10 13:01:47 -05:00
tjs fd061dcdbf move delegate checks into useUnownedAccount hook 2023-03-04 14:17:34 -05:00
tjs 96f9945746 fix fee display in activity fee 2023-03-02 15:42:59 -05:00
tylersssss 912428bc04
Merge pull request #86 from blockworks-foundation/assets-and-liabilities
add assets and liabilities breakdown to account page
2023-03-01 18:02:04 -05:00
tjs 4c6401cdeb 10 perp open orders 2023-03-01 12:47:26 -05:00
saml33 0898318f23 merge main 2023-03-01 09:53:43 +11:00
tjs 3bed60af56 turn on lint errors for typescript any 2023-02-28 02:20:11 -05:00
tjs abb408678e replace any type with more defined types 2023-02-25 19:22:39 -05:00
tjs a437909af9 fix api call guards 2023-02-23 21:22:24 -05:00
tjs 09133bf7b2 more refactoring for type safety 2023-02-23 19:28:49 -05:00
tjs d2540c8be5 improved open order loading 2023-02-21 21:25:00 -05:00
tjs ccccb33843 fix trade fee display 2023-02-20 15:07:16 -05:00
saml33 e5f39c5b08 disable tooltips on mobile interactive elements 2023-02-14 15:39:30 +11:00
saml33 85bb4520cc merge main 2023-02-13 14:17:56 +11:00
saml33 6a05e60376 hide action buttons for unowned accounts 2023-02-13 13:46:41 +11:00
saml33 0b4da01ee1 reinstate pnl history modal 2023-02-13 13:03:48 +11:00
saml33 c2656cd9bf fix performance api call when no account 2023-02-13 10:40:21 +11:00
saml33 33d066f340 merge main and mobile 2023-02-13 10:30:33 +11:00
saml33 508c4213a1 fix account performance data 2023-02-11 23:40:23 +11:00
tjs f6042033e4 pnl and account value change improvements. UX was too confusing 2023-02-10 13:45:21 -05:00
saml33 97e93faf78 pulse health bar and heart when health < 10 2023-02-10 10:35:39 +11:00
tjs 6277984325 use latest client 2023-02-09 16:23:44 -05:00
saml33 d67648badd fix activity translation values 2023-02-08 21:47:31 +11:00
tjs a85d6cd559 yarn lint and format and setup 2023-02-07 14:03:59 -05:00
tylersssss 7d08b80b1e
Merge branch 'main' into combine-history-tabs 2023-02-07 13:57:30 -05:00
tylersssss 971533009d
Merge branch 'main' into update-tab-count 2023-02-07 13:54:47 -05:00
saml33 1b69fa81e6 align tab styles 2023-02-06 13:57:31 +11:00
saml33 d58ac010a2 add assets and liabilities 2023-02-06 13:37:31 +11:00
saml33 581a7a9cb1 merge main 2023-02-06 10:10:23 +11:00
saml33 7fe24b6a0b new account button and merge main 2023-02-06 10:08:04 +11:00
saml33 8ab5a122a0 add health progress bar 2023-02-05 23:17:51 +11:00
saml33 610af80619 add account actions bar 2023-02-04 23:31:36 +11:00
tjs d49c843375 faster transition for acct action button 2023-02-03 16:38:49 -05:00
saml33 240556291b combine account tabs for history 2023-02-03 19:58:15 +11:00
saml33 ad74809568 add orders to account tabs 2023-02-02 12:21:24 +11:00
saml33 abaaac72d6 fix account actions button on mobile 2023-02-02 10:15:01 +11:00
saml33 d956899781 fix total interest value 2023-02-02 10:04:35 +11:00
tylersssss a35dd6b583
Merge pull request #76 from blockworks-foundation/banks-hook
add hook for banks and balances
2023-02-01 15:36:15 -05:00
saml33 b5e9229d65 update tab count on disconnect 2023-02-01 15:49:37 +11:00
saml33 6dae134368 use formatcurrencyvalue 2023-01-30 15:47:09 +11:00
saml33 d8970b02c6 add hook for banks and balances 2023-01-30 15:13:38 +11:00
saml33 4f97064e46 fix console warning 2023-01-29 21:05:32 +11: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 da3bb18780 fix account performance loading 2023-01-27 09:52:40 +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
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 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 5385780c69 add to activity table 2023-01-24 15:14:37 +11:00
saml33 7f597681fd add to maxamountbuttons 2023-01-24 14:04:05 +11:00
saml33 aec60a1288 add format numeric value component 2023-01-24 12:26:14 +11:00
saml33 0f99619e2c remove show/hide account values 2023-01-24 09:52:59 +11:00
saml33 53e7610338 align fee column formatting 2023-01-23 20:59:43 +11:00
saml33 0128c8c29f add activity fee tooltip 2023-01-23 15:25:43 +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
tjs f94bd3c656 better handle display around very small balances 2023-01-20 18:21:57 -05:00
saml33 154e508944 update delegate icon 2023-01-20 14:48:14 +11:00
saml33 71b40fbaf5 fix table states for unowned account 2023-01-20 14:10:15 +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 53cb435393 add format y-axis function 2023-01-19 21:42:39 +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
tylersssss f0db2495fe
Merge branch 'main' into daily-pnl-history 2023-01-18 19:05:21 -05:00
saml33 46d9c54ef3 add translation vars 2023-01-17 15:59:51 +11:00
saml33 9716c5f775 add pnl for current week 2023-01-17 12:26:31 +11: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 bdd03b0e0c merge main 2023-01-15 20:58:07 +11:00
tjs 1ce76d3924 sync accounts list with selected mango account 2023-01-14 16:51:06 -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
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
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
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
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
saml33 ccd6e392c2 remove tolocalestring 2023-01-11 11:20:06 +11:00
saml33 fbc5f37cfe add fee to activity table 2023-01-10 13:02:51 +11:00
saml33 929a190f73 make account charts full height on detail view 2023-01-09 15:58:01 +11:00
saml33 93738b0dcc fix formatfixeddecimals rounding 2023-01-09 12:50:46 +11:00
tjs 5296cb8720 fix account actions console error 2023-01-07 15:52:22 -05: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
tjs 9865e85116 add mango account pk and address to hook 2023-01-05 23:01:03 -05: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 a5e06517d3 give balances more space in action modals 2023-01-06 12:19:39 +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 fb7f4a7cf0 add openbook to activity filters 2023-01-04 23:10:36 +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 46e77374ee check for mangoaccount in activity feed 2023-01-04 13:11:29 +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 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
tjs 6e5eb6b4fe type fix 2023-01-02 17:21:56 -05: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 a0705c89b7 update swap settings modal 2022-12-30 14:44:48 -05: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
tylersssss 49bf8a7a76
Merge pull request #43 from blockworks-foundation/trade-form-ux
trade form ux improvements
2022-12-29 00:49:16 -05:00
tjs d603d6e973 show the count next to perp positions; use latest client 2022-12-27 18:15:57 -05: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
saml33 201a8ad62a trade form ux improvements 2022-12-22 15:19:00 +11:00
saml33 39cf4b9411 improve account page on mobile 2022-12-21 22:07:17 +11:00
saml33 b2bb1b685b horizontal scroll trade tabs on overflow 2022-12-21 15:04:08 +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 79f9538067 add missing $ sign 2022-12-20 22:41:41 +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
tjs aae95b6b4a fix call to swap history api 2022-12-19 13:48:59 -05:00
saml33 a0ab23a596 account actions button component 2022-12-19 12:47:01 +11:00
saml33 28b148030d add copy address to accounts list modal 2022-12-19 11:54:30 +11:00
saml33 d7ccc7b4a6 combine borrow and repay modals 2022-12-18 23:30:49 +11:00
saml33 13cdf408ef combine deposit and withdraw to single modal 2022-12-17 23:37:00 +11:00
saml33 0bead4c97e algin link/button list styles 2022-12-16 22:44:21 +11:00
saml33 344f1958bd fix account page grid 2022-12-15 19:53:46 +11:00
saml33 30b86aaa23 merge main 2022-12-14 10:16:50 +11:00
saml33 de642675e5 Merge branch 'main' into new-font-expanded 2022-12-14 10:16:14 +11:00
tjs e55619237a remove acct leverage until we have a better calculation 2022-12-13 12:38:59 -05:00
saml33 e2e08fe829 use expanded font for large numbers 2022-12-13 22:05:01 +11:00
saml33 ece65c9b7d remove expanded font 2022-12-13 16:20:45 +11:00
saml33 d6747c88ed tt commons font poc 2022-12-13 12:51:26 +11:00
saml33 70ad72c0cc replace icon 2022-12-13 09:53:04 +11:00
tjs 06ccb7c3c2 only show in unsettled if perp position has pnl 2022-12-12 01:01:49 -05:00
tjs 41223e846c allow setting the amount out in jupiter swap 2022-12-07 16:33:38 -05:00
saml33 7b58e9ce6d add token stats charts 2022-12-06 22:58:22 +11:00
saml33 f006023ba4 improve activity filter form layout 2022-12-06 09:13:49 +11:00
saml33 9d0bdf4c1a fix calling activity feed when mango account changes 2022-12-05 14:46:31 +11:00
saml33 c4363a07d7 fix heading alignment 2022-12-05 10:34:17 +11:00
tjs 3b41277099 fix so error messages show txid 2022-12-02 18:47:08 -05:00
saml33 4af775a1c3 use new theme vars 2022-12-01 14:46:37 +11:00
saml33 209490752c better var names and hsl colors 2022-12-01 14:32:32 +11:00
saml33 02495833e5 filter by spot market base 2022-11-30 16:30:18 +11:00
saml33 f32b17c1c8 simplify filters ui 2022-11-30 13:06:09 +11:00
saml33 eb406e47df add perp trades to activity feed 2022-11-30 10:15:25 +11:00
saml33 b4b2198af6 full width account tabs on mobile 2022-11-29 21:58:50 +11:00
saml33 63e3d187b1 add swaps to activity feed 2022-11-29 21:33:15 +11:00
saml33 75f2fd720b componentize settings page 2022-11-25 13:39:14 +11:00
saml33 c355c3c13a add setting for number scroll 2022-11-24 13:30:20 +11:00
saml33 e74559bc42 add character limit to create account 2022-11-21 21:54:31 +11:00
tjs eb3d915916 wip: add unsettled perp 2022-11-20 21:29:54 -05:00
saml33 ba35bc0ee8 improve repay modal 2022-11-21 13:22:45 +11:00
saml33 a95afffadc use latest account value in charts 2022-11-21 11:50:25 +11:00
tjs 372fe381d1 fix trade form; more eslint refactor 2022-11-20 18:35:59 -05:00
tjs cb0b90dfb5 refactor to use mango group hook 2022-11-20 15:32:38 -05:00
saml33 d60360ccc5 fix alignment 2022-11-20 22:13:44 +11:00
saml33 7f57e59f44 use table components 2022-11-20 21:44:14 +11:00
saml33 281de2a024 use $ for account change values 2022-11-20 20:08:12 +11:00
tjs 561eba493b fix all eslint errors 2022-11-19 14:20:36 -05:00
saml33 982662c5f5 pnl and interest change 2022-11-19 22:28:06 +11:00
tjs 203c571bc5 use jupiter api and hooks 2022-11-18 18:19:04 -05:00
tjs 5727d0bc7f add a useMangoAccount hook 2022-11-18 12:09:39 -05:00
saml33 777e020648 add low sol balance warnings 2022-11-18 15:43:23 +11:00
tjs 7b48469827 patch merge issues 2022-11-17 17:08:45 -05:00
tylersssss 95df906a76
Merge branch 'main' into repay-modal 2022-11-17 16:47:27 -05:00
saml33 903884b732 add sol balance hook 2022-11-17 12:53:33 +11:00
tjs 57f009aa2e add delegate modal 2022-11-16 11:59:34 -05:00
saml33 41e1c16fea add repay borrow modal 2022-11-16 23:14:53 +11:00