Commit Graph

236 Commits

Author SHA1 Message Date
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