Commit Graph

321 Commits

Author SHA1 Message Date
saml33 adb7674f95 fix icon button 2023-01-12 10:17:41 +11: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
Adrian Brzeziński 53572e8824 wip 2023-01-11 18:38:51 +01:00
tjs 3019a1d555 add perp trade history 2023-01-10 12:36:29 -05:00
tjs 59b724e431 add openbook history 2023-01-06 19:26:06 -05:00
saml33 da78529b2e more rounding fixes 2023-01-06 21:32:54 +11:00
saml33 209de8a666 repay and withdraw formatting and sol balance warning spacing 2023-01-06 20:14:54 +11:00
saml33 665cf9742d round account value in accounts modal list 2023-01-06 15:51:27 +11:00
saml33 65e6afc363 show correct borrow fee unit and remove unnecessary class 2023-01-06 13:03:58 +11:00
saml33 a5e06517d3 give balances more space in action modals 2023-01-06 12:19:39 +11:00
saml33 2e736ebaf2 prevent user setup modal from closing when dismissing a notification 2023-01-05 22:21:30 +11:00
saml33 94ac53ebf5 fix low sol balance in fund account 2023-01-04 10:58:31 +11:00
tjs 4ec7f74466 fewer onboarding steps, hide profile name until use exists for them 2023-01-03 16:40:36 -05: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 1ac090c8e8 add a spinner when switching mango accounts 2023-01-02 16:04:58 -05: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
tjs 8f336dcdc5 add publickey to acct list 2022-12-27 17:44:27 -05:00
saml33 48e8b2ecb9 fix modal heights and align inline notification position 2022-12-27 23:07:02 +11:00
saml33 3cc5b759d3 add edit order form to mobile 2022-12-21 14:36:40 +11:00
saml33 20502bcd14 improve user setup on mobile 2022-12-21 12:14:35 +11:00
saml33 409d47d735 remove sub-account copy 2022-12-19 12:03:04 +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
tjs 40a29467dc update subaccount modal copy 2022-12-16 12:39:55 -05:00
saml33 84b7e622ab add icon when account is delegated 2022-12-16 15:04:26 +11:00
saml33 4fd02a4014 finish delegate modal 2022-12-16 14:16:05 +11:00
saml33 0510b26935 add collateral value tooltip 2022-12-12 22:14:21 +11:00
tjs fdb94c21a4 fix modals; add eslintrc for useEffect 2022-12-08 13:24:28 -05:00
tjs a353be17ff fix bug in repay modal 2022-12-08 13:24:28 -05:00
saml33 300f481ecf add input theme colors 2022-12-08 13:34:24 +11:00
tjs 23d406ec47 remove unnecessary group refetching; faster sub account switching 2022-12-03 16:56:22 -05: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 44022ae602 token vault balance warnings 2022-11-27 23:36:12 +11:00
saml33 17b2a695e8 fix borrow max rounding 2022-11-22 16:00:26 +11:00
saml33 ba35bc0ee8 improve repay modal 2022-11-21 13:22:45 +11:00
saml33 39fbe3fa73 fix alignment 2022-11-21 12:02:35 +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
tjs 6b4c1d9f7e improve advanced trade sliders 2022-11-19 20:40:06 -05:00
tjs 561eba493b fix all eslint errors 2022-11-19 14:20:36 -05: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 1de0ef5333 add character limits to size restricted inputs 2022-11-18 20:53:45 +11:00
saml33 777e020648 add low sol balance warnings 2022-11-18 15:43:23 +11:00
saml33 46994b4957 fix deposit modal 2022-11-18 10:20:20 +11:00
tylersssss 95df906a76
Merge branch 'main' into repay-modal 2022-11-17 16:47:27 -05:00
saml33 c4e55e2a7e fix low sol balance warning 2022-11-17 14:51:08 +11:00
saml33 29eb59e332 add loan fee to borrow modal 2022-11-17 14:18:22 +11:00
saml33 c9b94f4e55 fix modals 2022-11-17 13:18:50 +11: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
tjs 59b5570e35 fix new subaccount 2022-11-15 23:12:57 -05:00
saml33 82e02b2570 fix account list modal height 2022-11-14 14:52:32 +11:00
saml33 0abd454cf6 fix deposit restriction for sol wallet transactions 2022-11-14 13:10:21 +11:00
saml33 fca7d81dda merge main 2022-11-14 09:57:19 +11:00
tylersssss 33695f047a
Merge pull request #26 from blockworks-foundation/trade-health-impact
add health impact to trade form
2022-11-13 17:26:09 -05:00
tylersssss 451eef3543
Merge pull request #25 from blockworks-foundation/feature/fix-mango-accounts-after-reconnection
mango accounts reaload on wallet change
2022-11-13 17:24:59 -05:00
saml33 782168283d more background 2022-11-11 22:24:24 +11:00
saml33 49667afdc1 add warning when not enough sol to create account 2022-11-10 16:22:01 +11:00
saml33 c1254c9186 add health impact to trade form 2022-11-04 18:55:21 +00:00
Adrian Brzeziński 8613fa5bb4 mango accounts reaload on wallet change 2022-11-03 16:59:21 +00:00
saml33 7ba9aa6665 nft list styling fixes 2022-11-02 16:16:25 +00:00
saml33 f3dc836b0a redirect to account page on new account 2022-11-02 12:58:40 +04:00
tjs 7f1461123d show perp open orders 2022-10-31 18:26:17 +00:00
tjs 7d15e8e798 better is number check 2022-10-31 16:39:43 +00:00
saml33 5a572129d0 move create account link button 2022-10-30 23:02:59 +11:00
tjs 1c4eddb48e more perp order stuff 2022-10-29 21:46:56 -04:00
tjs 7c34ed0bcb use last slot when updating mango account 2022-10-29 21:17:14 -04:00
tjs 818bbc0252 fix zustand nextjs 13 issues 2022-10-28 17:46:38 -04:00
tjs 9269b4e18f fix yarn.lock, undo next upgrade 2022-10-28 15:24:05 -04:00
tylersssss 8ce855dc65
Merge branch 'main' into token-details 2022-10-28 12:46:57 -04:00
saml33 147121363c fix modal rounded corners 2022-10-28 21:01:49 +11:00
tjs a118d18564 use legacy next/image 2022-10-26 16:01:31 -04:00
saml33 598cddaa83 back arrow mobile 2022-10-25 22:09:36 +11:00
saml33 a0a020f7aa mango account list modal errors 2022-10-25 20:53:50 +11:00
saml33 08505b09bc add back arrow 2022-10-25 20:42:51 +11:00
tylersssss bb3c9b2b54
Merge branch 'main' into mango-accounts-modal 2022-10-24 17:34:13 -04:00
tjs 7ad023653f fix bug with modals 2022-10-07 18:27:36 -04:00
tjs 7d975b6407 fix deposit input issue 2022-10-07 16:02:11 -04:00
microwavedcola1 72e4808141 match mango-v4 dev branch
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2022-10-07 14:27:42 +02:00
saml33 40bf21992f add mango accounts list modal 2022-10-07 22:47:15 +11:00
tjshipe 0b3594f036
Merge branch 'main' into activity-feed 2022-10-06 17:54:31 -04:00
saml33 1fbd948e30 add missing font-mono classes 2022-10-06 10:14:11 +11:00
saml33 706de963af add max amount button component 2022-10-06 10:03:10 +11:00
saml33 1cf389a2c3 add value to borrow/withdraw modal 2022-10-05 22:01:03 +11:00
saml33 cff49ded6f merge main 2022-09-30 22:55:28 +10:00
saml33 41b7af6cc2 add advanced filters 2022-09-30 13:22:55 +10:00
tjs a0e51c3a96 ignore test wallet 2022-09-25 22:03:03 -04:00
saml33 e39cb5ff6c add orderbook loader 2022-09-24 22:07:10 +10:00
saml33 45893804e6 merge main 2022-09-24 20:20:49 +10:00
saml33 90d78b76da add profile setup to onboarding 2022-09-23 23:37:44 +10:00
saml33 f5d83a4d9a add edit profile form component 2022-09-23 20:57:19 +10:00
saml33 8986660b55 merge main 2022-09-23 14:08:56 +10:00
saml33 9750b82e9c save hasSeen tour to db 2022-09-23 14:00:42 +10:00
tjs 661fed8ce9 refactor useTokenMax to fix regressions 2022-09-22 17:35:07 -04:00
saml33 f5abb4d381 add tours and copy 2022-09-22 14:25:24 +10:00
saml33 169944c239 add edit profile 2022-09-21 15:31:54 +10:00
saml33 17b52d242d change copy on swap page to be swap oriented and rename files 2022-09-15 11:06:00 +10:00
tjshipe 83dc98ad25
Merge branch 'main' into onboarding-tour 2022-09-14 10:11:13 -04:00
tjs 007c3c2fa2 Merge branch 'serum' into main 2022-09-14 02:25:15 -04:00
saml33 0ccaf19e40 leave 0.05 sol in wallet when max deposit sol 2022-09-14 11:05:42 +10:00
saml33 8cdddf4288 re-add deposit size buttons to fund account 2022-09-13 21:58:00 +10:00
saml33 bd6a0e8ced use thin scroll on fund account 2022-09-13 16:21:19 +10:00
tjs c2f1f02829 use alias imports 2022-09-12 12:04:20 -04:00
saml33 e066e1d3d2 use thin scroll on fund account 2022-09-12 10:22:37 +10:00
saml33 8e3cca0ba9 add icons to onboarding buttons 2022-09-11 22:05:21 +10:00
saml33 89704f18d5 add icons to buttons 2022-09-08 10:47:59 +10:00
saml33 c9e06fd00c add more icons to background 2022-09-08 09:31:20 +10:00
tjshipe 1bd163cca6
Merge branch 'main' into onboarding-bg 2022-09-07 14:23:35 -04:00
saml33 9e858968b2 update heroicons to latest version 2022-09-07 14:36:35 +10:00
saml33 35f5eba3c2 add amount buttons to onboarding fund account 2022-09-07 13:47:36 +10:00
saml33 e938b002d1 add close 2022-09-07 10:18:49 +10:00
saml33 6bafbf3b70 add logo 2022-09-07 07:45:57 +10:00
saml33 1e28e1d498 align heading font size 2022-09-06 23:38:43 +10:00
saml33 31f0b48b1d add particle background 2022-09-06 23:15:54 +10:00
tjs 12277bfa13 check that input amount is a number 2022-09-03 18:38:49 -04:00
tjs 712e7d7176 oops 2022-09-03 18:25:51 -04:00
tjs 51e1ba37a0 better mango account reloading; use latest client 2022-09-02 19:51:35 -04:00
tjs 6c714816a2 use Decimal class; use NumberFormat for input components 2022-09-02 14:37:18 -04:00
tjs 48670290e8 fix account value updating 2022-09-01 13:33:29 -04:00
tjs 43b1febc1a update client and handle undefined health values 2022-08-31 16:17:17 -04:00
tjs 9bc1b423af show all banks when funding account 2022-08-30 11:27:17 -04:00
saml33 7435bc4ad2 align onboarding skip buttons 2022-08-27 20:09:57 +10:00
saml33 93a3990625 edit table comlumn labels 2022-08-27 19:49:32 +10:00
tjs cb3cc9b169 fix vault balance in withdraw modal 2022-08-27 01:28:52 -04:00
tjs f4d155af10 add useMangoAccount hook to fix updating account page 2022-08-26 15:15:50 -04:00
saml33 1d41d4ef7f add init health zero errors 2022-08-26 13:46:23 +10:00
tjs fdb6ae16ea Reload mango account on interval 2022-08-25 23:31:39 -04:00
saml33 b70394263c move error messages into buttons 2022-08-26 10:27:05 +10:00
tjs 8f39fb2272 smoother onboarding 2022-08-25 17:30:32 -04:00
tjs 8109dd2f9c allow skipping creating an account
leverage slider will work after disconnecting
2022-08-25 14:22:54 -04:00
saml33 eeda961a9f reset borrow/withdraw amount on token change 2022-08-25 20:35:56 +10:00
saml33 f412b8bee8 reset deposit amount on token change 2022-08-25 20:32:06 +10:00
saml33 969d747a8d set button group to 100 when hitting max 2022-08-25 20:29:49 +10:00
tjs 624997dcaf reload new selected acct after closing an acct 2022-08-24 23:28:01 -04:00
saml33 643e3287ed add missing $ sign 2022-08-25 12:59:38 +10:00
saml33 8950504e56 show error when deposit amount > wallet balance 2022-08-25 12:58:31 +10:00
tjs c6237e587f add temp deposit limit warning 2022-08-24 22:47:02 -04:00
saml33 1babb59be0 add more info to deposit modal 2022-08-25 10:53:31 +10:00
saml33 49957c70e3 change withdraw amount button text 2022-08-24 22:39:15 +10:00
saml33 d56dc3a06a show error when withdraw amount > account balance 2022-08-24 22:29:20 +10:00
tjs c48b9f8a95 fix withdraw modal max amount to limit to vault amount 2022-08-23 20:44:43 -04:00
tjs 7506ee34fe show maint health and init health everywhere 2022-08-23 15:32:51 -04:00