Commit Graph

374 Commits

Author SHA1 Message Date
microwavedcola1 c12acfae11 Fixed decimals for leverage in dashboard
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2023-03-21 16:55:21 +01:00
microwavedcola1 6fe4eb342f add leverage to dashboard
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2023-03-21 16:48:40 +01:00
microwavedcola1 596ffecaf3 updates to dashboard for perp markets
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2023-03-21 12:53:23 +01:00
microwavedcola1 7adea54f31 render pubkey and not entire obj
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2023-03-20 19:35:08 +01:00
tjs 522a4232f7 add more dashboard 2023-03-19 16:00:31 -04:00
saml33 eff36ce362 tidy up and add nav links 2023-03-15 21:35:29 +13:00
microwavedcola1 414616f314 add mint info to dashboard for banks
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2023-03-13 11:06:29 +01:00
tjs 89364cb76d improve open orders display 2023-03-08 19:34:13 -05:00
Christian Kamm b2e0218b19 Dashboard: More perp position info 2023-03-07 14:05:15 +01:00
Christian Kamm 92320f1440 Dashboard: Add mint decimals / base decimals 2023-03-07 12:45:01 +01:00
tjs f0f605cd51 add fields to dashboard 2023-03-06 16:41:38 -05:00
saml33 7b0cce7c66 preload heading font 2023-03-06 20:09:46 +11:00
saml33 004254b720 add leaderboard layout 2023-03-06 19:59:14 +11:00
tjs 3f0044ebd7 prompt for refresh on new build 2023-03-05 15:33:57 -05:00
microwavedcola1 369a9e8405 Fix
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2023-03-02 07:58:49 +01:00
microwavedcola1 7b4715df21 extend dashboard
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2023-03-01 14:16:07 +01:00
tjs 3bed60af56 turn on lint errors for typescript any 2023-02-28 02:20:11 -05:00
saml33 d51897a144 prefix $ signs 2023-02-25 20:03:40 +11:00
microwavedcola1 cded90d80c Fixes from review
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2023-02-20 12:53:57 +01:00
microwavedcola1 92981f4dae Fixes from review
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2023-02-20 12:36:58 +01:00
microwavedcola1 a1c617c9a7 extend dashboard for bank and perp markets
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2023-02-20 11:52:18 +01:00
tjs d7b3827e66 use latest client 2023-02-14 10:49:07 -05:00
tjs 57f927fc15 improve speed of updating open orders after websocket change 2023-02-13 22:38:57 -05:00
saml33 93956ca44f merge main 2023-02-12 20:33:50 +11:00
tjs 6277984325 use latest client 2023-02-09 16:23:44 -05:00
saml33 21896ca2c3 add order lines to tv chart 2023-02-08 20:58:03 +11:00
saml33 240556291b combine account tabs for history 2023-02-03 19:58:15 +11:00
tylersssss 70aea14f5f
Merge pull request #73 from blockworks-foundation/silas/supplychain-sec
Supply chain hardening
2023-01-28 13:37:38 -05:00
saml33 c1c795cb40 add borrow page 2023-01-26 23:12:03 +11:00
silas-x 14562f70c4 prettier 2023-01-26 09:56:32 +00:00
tjs 139ba30675 dashboard tweaks 2023-01-24 13:08:35 -05:00
saml33 9f3d10d4ae merge main 2023-01-19 15:33:51 +11:00
tylersssss f0db2495fe
Merge branch 'main' into daily-pnl-history 2023-01-18 19:05:21 -05: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
Adrian Brzeziński be7aa47a09 Merge branch 'main' into feature/close-account-modal 2023-01-18 02:12:16 +01: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 a728a7dff9 fix sorting of banks 2023-01-16 17:43:20 -05:00
tjs 848c052239 add expand all collapse all to dashboard 2023-01-16 17:33:44 -05:00
Adrian Brzeziński d4e8372969 merge 2023-01-12 22:31:47 +01:00
Adrian Brzeziński 509e486a55 transalations 2023-01-12 14:23:16 +01:00
saml33 9a975d58a7 fix missing translation 2023-01-12 14:52:56 +11: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 a759b0fe6f tidy up 2023-01-11 13:49:05 +11:00
saml33 74447f8482 show search results 2023-01-10 23:56:48 +11:00
saml33 021857e189 merge main 2023-01-10 20:55:39 +11:00
saml33 929a190f73 make account charts full height on detail view 2023-01-09 15:58:01 +11:00
tjs 73ca3a92eb add glow wallet 2022-12-30 15:07:32 -05:00
saml33 d4dde2fb44 fix msol token page 404 2022-12-27 21:43:36 +11:00
tjs 1f0e5c2ad5 hide more scrollbars 2022-12-20 02:00:54 -05:00
tjs 6e84168b2e add logos 2022-12-19 22:53:00 -05:00
tjs 899617091a add translations to dashboard 2022-12-19 20:47:15 -05:00
tjs 955d8bc659 use custom key for theme 2022-12-19 19:38:07 -05:00
Christian Kamm b77f22560a dashboard: perp position improvements 2022-12-19 13:32:22 +01:00
saml33 82cefb7137 add theme switcher 2022-12-16 22:26:42 +11:00
saml33 3f203ef14d round initial limit price to ticksize 2022-12-16 16:12:10 +11:00
tjs f65abb8cb7 prettier 2022-12-14 15:54:51 -05:00
tjs 49001d5ae8 handle updating price for tradeForm when on limit vs market order 2022-12-14 15:54:30 -05:00
Christian Kamm 14999b4a68 account dashboard additions 2022-12-14 21:07:59 +01:00
saml33 c87f8b19b8 fix perp stats funding rate 2022-12-14 22:01:15 +11:00
saml33 d6747c88ed tt commons font poc 2022-12-13 12:51:26 +11:00
tjs 64d852497a show more perp position info on dashboard 2022-12-12 01:01:37 -05:00
tjs fce0f5a3f6 add dashboard page for mango account 2022-12-12 00:01:55 -05:00
saml33 b124dff2eb add dynamic page title to trade 2022-12-12 14:46:03 +11:00
saml33 712f42e6ec use disclosures on dashboard 2022-12-12 12:11:31 +11:00
Christian Kamm 910e506da3 Dashboard: more perp market fields 2022-12-11 17:40:34 +01:00
Christian Kamm ffc1cfacab Add PerpMarkets to dashboard 2022-12-11 11:30:29 +01:00
Christian Kamm c747e041a2 Extend bank dashboard 2022-12-11 11:30:29 +01:00
saml33 fda8dac2b2 handle empty token/stats api data 2022-12-11 21:10:11 +11:00
tjs 5d3c45739d dashboard tweaks for xl screen 2022-12-09 01:49:01 -05:00
saml33 536939df1c style dashboard 2022-12-09 14:07:28 +11:00
tjs 8a2cb80585 more dashboard 2022-12-08 17:27:12 -05:00
tjs 6696594cdb add dashboard 2022-12-08 17:13:06 -05:00
tjs 986c6ce57a better handle clearing swap form 2022-12-07 20:04:48 -05:00
saml33 60a0d42d1a componentize token page 2022-12-07 11:22:32 +11:00
saml33 7b58e9ce6d add token stats charts 2022-12-06 22:58:22 +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 b0ed3d26bd add search form 2022-11-27 20:21:38 +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 147b3c77bd toggle all settings category switch 2022-11-24 10:51:53 +11:00
saml33 0447fc5d61 better sound support and fix settings 2022-11-23 23:40:38 +11:00
saml33 f52cb54008 sound support and settings 2022-11-23 16:38:31 +11:00
saml33 37df58f959 use settings for slider or buttons to swap 2022-11-23 14:31:50 +11:00
tjs 0808c900bc enable linking to market pages 2022-11-21 22:57:00 -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
tjs 185ab4748b revert to coingecko for swap and prices.
we'll use birdeye only for candles
2022-11-18 11:29:37 -05:00
tjs 07847b971b support versioned txs 2022-11-15 23:12:57 -05:00
saml33 4a368e2514 add buttongroup to trade form 2022-11-16 12:32:55 +11:00
tylersssss f78ebae5c8
Merge branch 'main' into use-birdeye-api 2022-11-14 19:59:21 -05:00
saml33 7041b3b4d1 fix trade page responsive 2022-11-14 21:18:38 +11:00
saml33 4ca4946430 add translation keys 2022-11-12 21:26:43 +11:00
saml33 28c0fed1c7 use birdeye for serum market price history 2022-11-05 18:13:24 +00:00
saml33 426ccaf41c handle no coingecko data 2022-10-29 21:51:22 +11: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
tjs f702cdac69 use legacy next images 2022-10-26 15:57:52 -04:00
saml33 08505b09bc add back arrow 2022-10-25 20:42:51 +11:00
saml33 514dd63efc Merge branch 'main' into token-details 2022-10-25 20:26:59 +11:00
saml33 085fef1b52 add 404 page 2022-10-24 14:58:14 +11:00
saml33 bb8b7a35bb update static paths 2022-10-24 14:34:47 +11:00
saml33 e15305aae6 fix errors 2022-10-24 12:43:07 +11:00
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