Commit Graph

316 Commits

Author SHA1 Message Date
saml33 93a3109f84 Merge branch 'main' into token-details 2022-10-24 11:47:05 +11:00
saml33 6d85da0ab5 misc styling 2022-10-22 23:14:25 +11:00
saml33 871f3e82d1 price chart component 2022-10-22 20:21:14 +11:00
saml33 d942a990fb add price chart 2022-10-21 23:54:18 +11:00
saml33 b9c0d96705 styling updates 2022-10-21 21:16:35 +11:00
saml33 292ba79b3c add token symbol to balance panel 2022-10-11 23:02:42 +11:00
saml33 db4317400d add token details page 2022-10-11 22:59:01 +11:00
saml33 6ca6eadbee add russian translation files 2022-10-10 14:59:23 +11:00
saml33 5f246b1454 add custom notification position 2022-10-10 14:07:35 +11:00
saml33 dc80b9d94b add spot markets to stats 2022-10-08 22:37:08 +11:00
tjs 040c1a0a67 use react-query for swap chart 2022-10-07 19:39:06 -04:00
saml33 1bcde660b3 account, swap and trade tabs 2022-10-07 14:16:11 +11:00
saml33 2c12e0bd57 remove market info from balances table 2022-10-07 12:57:47 +11:00
tjshipe 0b3594f036
Merge branch 'main' into activity-feed 2022-10-06 17:54:31 -04:00
saml33 d89328f2f4 add translation keys to onboarding tours 2022-10-05 14:35:54 +11:00
saml33 bc55ef9204 mrege main 2022-09-30 22:39:38 +10:00
saml33 41b7af6cc2 add advanced filters 2022-09-30 13:22:55 +10:00
tjs d3802e80ae update theme colors for orderbook 2022-09-29 16:01:30 -04:00
saml33 50aa9afc0c add mobile table 2022-09-28 23:04:58 +10:00
saml33 ac200c20b6 add preferred explorer 2022-09-28 13:07:26 +10:00
tjs a2ca52d09c create mangoprovider; add support for viewing other mangoaccounts 2022-09-27 14:47:56 -04:00
saml33 1c5bc07351 use usememo and usecallback 2022-09-27 09:53:12 +10:00
saml33 513280ee80 add orderbook flash to settings 2022-09-26 20:46:16 +10:00
saml33 169944c239 add edit profile 2022-09-21 15:31:54 +10:00
saml33 637f14a8a3 fix swap empty states 2022-09-19 20:43:38 +10:00
saml33 01b1c8b331 align stats page layout 2022-09-19 16:26:42 +10:00
saml33 2b4f3410d2 align account page layout to swap/trade 2022-09-19 13:53:52 +10:00
tjs 14f99ff0d6 font without slashed zero 2022-09-18 19:02:52 -04:00
saml33 fd5b6ba60d trade grid layout for xl, xxl, xxl 2022-09-16 11:58:35 +10:00
saml33 0ae2912cb9 misc styling 2022-09-15 14:51:19 +10:00
saml33 9ab19e13cd align horizontal baseline 2022-09-15 12:41:55 +10:00
saml33 17b52d242d change copy on swap page to be swap oriented and rename files 2022-09-15 11:06:00 +10:00
tjs f6304e2910 undo some changes from my swap page refresh 2022-09-14 17:57:12 -04:00
tjs 9780a94ce1 Test matching swap page with advanced trade page 2022-09-14 15:38:25 -04:00
tjs 84728b580b serum spot trade page 2022-09-14 02:24:44 -04:00
tjs c2f1f02829 use alias imports 2022-09-12 12:04:20 -04:00
tjs 48670290e8 fix account value updating 2022-09-01 13:33:29 -04:00
microwavedcola1 119539ab01 Fix usage
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2022-09-01 14:00:22 +02:00
tjs 43b1febc1a update client and handle undefined health values 2022-08-31 16:17:17 -04:00
saml33 68ae404bd4 hide account value chart when not connected 2022-08-27 20:40:31 +10:00
tjs bf929e556d hide pnl until api is fixed 2022-08-26 15:17:17 -04:00
tjs f4d155af10 add useMangoAccount hook to fix updating account page 2022-08-26 15:15:50 -04:00
tjs 98fe5bf521 remove mango account interval fetching; fix setting banks in fetchGroup 2022-08-26 12:01:28 -04:00
saml33 453a960b05 add account value change placeholder 2022-08-26 13:54:19 +10: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 9a84e0d722 add total deposit/borrow value to stats 2022-08-25 13:55:55 +10:00
saml33 9ca67ed52c trade history decimals 2022-08-25 10:14:27 +10:00
tjs 0d23ceaa7a remove withdraw health in favor of free collateral 2022-08-24 18:22:04 -04:00
tjs cd2ad18ade update health labels 2022-08-24 11:58:01 -04:00
saml33 bb8769617b fix chart load height 2022-08-24 22:32:01 +10:00
saml33 d56dc3a06a show error when withdraw amount > account balance 2022-08-24 22:29:20 +10:00
tjs 39be3f741d add stats page 2022-08-23 18:33:09 -04:00
tjs 7506ee34fe show maint health and init health everywhere 2022-08-23 15:32:51 -04:00
saml33 46d0d75826 format portfolio usd values 2022-08-23 21:03:15 +10:00
tjs 2ec3bab9ea remove leverage number from swap 2022-08-22 22:26:59 -04:00
tjs bea7dee84c move constants out of mangoStore.ts 2022-08-20 14:17:57 -04:00
tjs 605f49e702 fix wallet connect and disconnect 2022-08-20 02:06:00 -04:00
tjs 08b6da5d2f remove tailwind deprecated transform class
and remove default-transitions that weren't paired with a class change
2022-08-16 18:58:03 -04:00
tjs c035bc4655 remove animation from main lists 2022-08-16 18:29:24 -04:00
saml33 57120c17e0 portfolio responsive 2022-08-16 12:02:56 +10:00
saml33 9c67b18eff single component for account charts 2022-08-16 10:16:21 +10:00
tjshipe 8e3259b118
Merge pull request #4 from blockworks-foundation/fix-onboarding
fix account loading and onboarding
2022-08-15 19:10:35 -04:00
saml33 7b8867781f merge main 2022-08-16 08:19:24 +10:00
tjs 6ead35fd8a wire up borrow modal; use maint health 2022-08-15 18:18:23 -04:00
saml33 dfbed69bcf add pnl 2022-08-15 15:43:15 +10:00
saml33 e672dd4792 style review trade panel 2022-08-14 21:56:19 +10:00
saml33 7d3b16496d add interest value to token list 2022-08-14 15:11:02 +10:00
saml33 bf972eb9a9 add interest to token list 2022-08-13 21:29:48 +10:00
saml33 5ec3d74500 add cumulative interest chart 2022-08-13 20:44:13 +10:00
saml33 b419098e6c move trade history data to store 2022-08-13 16:06:09 +10:00
saml33 2124044fe4 remove start-date from interest totals api call 2022-08-13 08:29:31 +10:00
saml33 03c0436877 merge main 2022-08-12 22:21:23 +10:00
saml33 e7af834a2d move account stats fetching to store 2022-08-12 22:14:28 +10:00
saml33 94aa653817 fix account loading and onboarding 2022-08-12 14:20:17 +10:00
saml33 49823fdd5f update total interest api 2022-08-12 09:52:31 +10:00
tjs d17fb5dcd4 show max health ratio of 100 2022-08-11 12:29:07 -07:00
microwavedcola1 c148f5640a Adapt to latest ts/client changes
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2022-08-11 18:00:39 +02:00
saml33 e5ca9c4648 fix side nav alignment 2022-08-11 20:49:16 +10:00
saml33 284443204e update state variable names 2022-08-11 19:52:02 +10:00
saml33 51a00534f4 add total interest value 2022-08-11 16:23:18 +10:00
saml33 cc7ca4680f add account value api to portfolio 2022-08-11 14:09:58 +10:00
saml33 6cc89d7386 add trade history 2022-08-10 21:17:10 +10:00
saml33 4bcf4dee72 add other account details to portfolio 2022-08-03 22:13:40 +10:00
saml33 210e96237d add placeholder account value chart 2022-08-03 19:49:31 +10:00
tjs d6d29e072b filter swap list by tokens in group 2022-08-02 14:09:29 -04:00
tjs 449dce1e7a move fetchJupiterTokens to zustand actions 2022-08-02 14:09:29 -04:00
tjs c59778252e faster chart loading; temp set dark as default 2022-08-01 11:53:09 -04:00
saml33 7c49882fcc more onboarding and load mango account 2022-07-28 16:35:18 +10:00
saml33 c779be1422 connect wallet button styling 2022-07-27 12:45:27 +10:00
tjs 4b3ab3970e add in connectwalletbutton 2022-07-26 21:53:58 -04:00
tjs 6570fb683a use custom provider 2022-07-26 21:30:51 -04:00
tjs b7597dc976 remove solana wallet react ui 2022-07-26 21:21:17 -04:00
saml33 82e9925e6e populate swap form from token list 2022-07-26 15:27:53 +10:00
saml33 c329ed2d30 add actions menu to responsive token list 2022-07-25 13:28:10 +10:00
saml33 4b5c607c0d buttongroup large prop 2022-07-25 13:12:50 +10:00
saml33 69caf3eb00 withdraw modal ui 2022-07-24 15:45:11 +10:00
saml33 91a3837c0d only animate if mango account 2022-07-23 21:33:09 +10:00
saml33 89f1ca6fc1 animate account value numbers 2022-07-23 21:30:50 +10:00
saml33 3278a2d686 more onboarding flow 2022-07-22 15:09:04 +10:00
saml33 b304ea208f start onboarding flow 2022-07-21 14:50:56 +10:00
saml33 db1f52f452 add settings page 2022-07-19 13:58:21 +10:00
saml33 12cb4c3666 add mobile nav 2022-07-18 21:17:56 +10:00
saml33 c4c8cb60f8 move routes loading to parent 2022-07-18 20:02:43 +10:00
saml33 97300d9a92 misc styling, organizing components 2022-07-15 21:09:23 +10:00
saml33 12e7b48275 add portfolio header 2022-07-15 15:20:20 +10:00
saml33 58292c9505 add layout and nav pattern 2022-07-15 09:36:31 +10:00
tjs 771ee63ea5 wip 2022-07-10 22:01:16 -04:00
tjs 90e166ddcc fix type errors 2022-07-06 09:46:16 -04:00
tjs 8f0dc1e3ef more swap work 2022-07-05 23:37:49 -04:00
tjs 974da0d98d use flash loan 3 2022-06-29 23:37:25 -04:00
tjs b5f42d70ad show token balances and rates 2022-06-21 12:58:57 +02:00
tjs 68c194a43d more orca swap integration 2022-06-10 09:05:45 -04:00
tjs cd6637fd72 orca swap integration with margin trade 2022-05-31 21:41:18 -04:00
tjs c8898467db mango v4 sandbox 2022-05-04 00:25:54 -04:00
tjs 8a9a787f72 Initial commit from Create Next App 2022-05-04 00:25:32 -04:00