Commit Graph

614 Commits

Author SHA1 Message Date
saml33 95c5ef6bdf extract logos in marketlogos component 2022-10-03 14:14:26 +11:00
saml33 00aef2de4e merge main 2022-10-03 12:42:59 +11:00
saml33 da69b3c47b fix tooltip triggering 2022-10-03 11:55:01 +11:00
saml33 90dc83e0e9 only show reset button when active params 2022-10-03 10:47:21 +11:00
saml33 34ebab181e improve reset filters and missing translation keys 2022-10-02 22:21:09 +11:00
saml33 0faaa07bf3 add disclosure panel for small breakpoints 2022-10-01 22:36:39 +10:00
saml33 cff49ded6f merge main 2022-09-30 22:55:28 +10:00
saml33 bc55ef9204 mrege main 2022-09-30 22:39:38 +10:00
saml33 502b643d53 update date filter format 2022-09-30 22:31:22 +10:00
tjs 32578711b2 general refinements 2022-09-30 00:21:23 -04:00
saml33 363d7f116a update activity on account change 2022-09-30 13:51:22 +10:00
saml33 41b7af6cc2 add advanced filters 2022-09-30 13:22:55 +10:00
tjs fc933758dc slightly more room for balances 2022-09-29 16:27:11 -04:00
tjs 5d07a1d9b4 add minimum for cumulative size percent 2022-09-29 16:06:04 -04:00
tjs 511d5c9dbd add cummulative size percent 2022-09-29 16:00:36 -04:00
saml33 a04b7cc630 add basic filters 2022-09-29 13:35:34 +10:00
tjs 0b07ded8a5 add settle funds 2022-09-28 21:50:02 -04:00
tjs 9afe04bde7 add open orders count 2022-09-28 16:45:08 -04:00
tjs 6b737f03c7 support passing in a count to tabbuttons 2022-09-28 16:45:08 -04:00
tjs 255ace6c00 log breakpoint changes 2022-09-28 16:45:08 -04:00
tjs f68cbbc4d2 add try catch for recent trades 2022-09-28 16:45:08 -04:00
saml33 50aa9afc0c add mobile table 2022-09-28 23:04:58 +10:00
saml33 b6513b70d1 add activity details view 2022-09-28 16:17:06 +10:00
saml33 e81d048bee merge main 2022-09-28 13:55:22 +10:00
saml33 173e77bcb1 align explorer logo to column end 2022-09-28 13:13:49 +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
tjs d3468628be spot slider should return number 2022-09-27 14:47:56 -04:00
saml33 ab2749cea0 add basic table 2022-09-27 16:22:51 +10:00
saml33 ac812b6e1b change orderbook depth on mobile 2022-09-27 13:51:31 +10:00
saml33 330c734eb2 merge main 2022-09-27 12:22:45 +10:00
saml33 85fbd0593d vertically align open orders row 2022-09-27 11:31:16 +10:00
saml33 feb84dabe6 deconstruct marketinfo 2022-09-27 11:27:44 +10:00
saml33 311f1d56bd fix inlinePosition warning 2022-09-27 11:21:00 +10:00
saml33 512ba74009 add function to get logos from market 2022-09-27 11:19:27 +10:00
tjs bb50f35806 finish up spot slider 2022-09-26 15:56:06 -04:00
saml33 cd75f5c3f5 add logos to open orders 2022-09-26 21:53:49 +10:00
saml33 daf3d97dc1 open orders table 2022-09-26 21:33:07 +10:00
saml33 d25d088e09 add padding to market select menu 2022-09-26 16:18:33 +10:00
saml33 2a348b3f8c replace hex codes with color vars 2022-09-26 16:13:25 +10:00
saml33 feaf36e92d Revert "add save tradingview charts"
This reverts commit 6c4ad1ffb8.
2022-09-26 16:05:40 +10:00
tjs b44105f586 fix vertical centering orderbook 2022-09-26 16:03:41 +10:00
saml33 b6d0e9c9f5 Revert "fix vertical centering orderbook"
This reverts commit dc649f543c.
2022-09-26 15:59:40 +10:00
saml33 6c4ad1ffb8 add save tradingview charts 2022-09-26 15:35:55 +10:00
tjs dc649f543c fix vertical centering orderbook 2022-09-26 01:32:48 -04:00
tjs eb25465122 add market select logos 2022-09-25 23:12:37 -04:00
tjs a51ba82cd1 setup up market order calculation 2022-09-25 22:03:30 -04:00
tjs 109b312558 set fixed orderbook depth to max 40 2022-09-25 22:03:30 -04:00
tjs 029bc99c0a update open orders and balances on account change 2022-09-25 22:03:03 -04:00
tjs d57aa19533 remove publickey from trading view to prevent rerenders on connection 2022-09-25 22:03:03 -04:00
tjs a0e51c3a96 ignore test wallet 2022-09-25 22:03:03 -04:00
saml33 faf78be5df tooltip positioning 2022-09-26 10:37:04 +10:00
saml33 82ea8e6e56 align stats tooltip style 2022-09-24 22:28:11 +10: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 5bb3c3e6e9 misc styling 2022-09-23 15:09:38 +10:00
saml33 22d6827702 add loading to close function 2022-09-23 14:43:55 +10:00
saml33 527a18930a fix trade page merge issue 2022-09-23 14:38:17 +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 22806d31a5 fix recent trade scrolling 2022-09-22 17:47:18 -04:00
tjs 661fed8ce9 refactor useTokenMax to fix regressions 2022-09-22 17:35:07 -04:00
saml33 545470cf1f add consistent tracking to font-mono class 2022-09-22 20:46:51 +10:00
saml33 e062db81b7 fix wallet connect crash 2022-09-22 20:23:34 +10:00
saml33 bd687aa952 add bottom border to trade form tabs 2022-09-22 15:32:48 +10:00
saml33 f62955bf76 use tab component orderbook and trade form 2022-09-22 15:28:53 +10:00
saml33 611399b2f5 style recent trades 2022-09-22 14:46:30 +10:00
saml33 f5abb4d381 add tours and copy 2022-09-22 14:25:24 +10:00
tjs 3ba6ce77dc wip: spot slider 2022-09-21 21:52:36 -04:00
tjs 5e997820eb resize layout after collapsing sidebar 2022-09-21 21:23:29 -04:00
saml33 03f07cef50 fix down triangle 2022-09-21 16:13:14 +10:00
saml33 169944c239 add edit profile 2022-09-21 15:31:54 +10:00
tjs cf7c06d9d2 fix vertical center 2022-09-21 01:22:50 -04:00
tjs 876270be28 cleanup 2022-09-20 21:20:26 -04:00
tjs 98bc6b8fce improve orderbook vertical centering 2022-09-20 21:20:26 -04:00
saml33 b5adfae658 add profile details to connected menu 2022-09-21 11:03:59 +10:00
tjs 3ad513c874 add recent trades 2022-09-20 16:05:50 -04:00
tjs da13e3a0b5 vertically center orderbook as window is resized 2022-09-20 14:31:17 -04:00
saml33 2b9ada9ebc remove double borders 2022-09-20 20:36:33 +10:00
saml33 7f697894e6 add health impact tooltip 2022-09-20 16:31:07 +10:00
saml33 59e08c09b5 add token list tooltips 2022-09-20 16:16:03 +10:00
saml33 1d86e19158 fire getTokenMax on connection 2022-09-20 15:33:59 +10:00
tjs 08ba8abd67 full height orderbook 2022-09-20 01:03:01 -04:00
saml33 d17874f87f merge main 2022-09-20 14:55:04 +10:00
saml33 dcd26ac1b6 update tab copy 2022-09-20 14:39:17 +10:00
saml33 da6c09aca2 account page tooltips 2022-09-20 13:12:34 +10:00
saml33 2806f0b940 improve swap mobile layout 2022-09-20 11:09:34 +10:00
tjs ff36519fe7 dont show limit input on market orders 2022-09-19 20:30:29 -04:00
tjs 2d59e2a448 anchor orderbook column headers 2022-09-19 20:27:06 -04:00
saml33 a49d28437b use percentagechange component in trade page header 2022-09-20 10:12:30 +10:00
saml33 56a24c0a8d add padding to account charts 2022-09-20 09:57:58 +10:00
tjs 9c592c53b3 add recent trades tab 2022-09-19 19:29:17 -04:00
tjs 219f80c34e memoize orderbook row 2022-09-19 19:26:30 -04:00
tjs 0950cbbbb8 add pnl back to account page 2022-09-19 19:14:58 -04:00
saml33 f15de620ee open orders empty states 2022-09-19 21:32:59 +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 a2f83b527d orderbook layout 2022-09-19 15:36:09 +10:00
saml33 2b4f3410d2 align account page layout to swap/trade 2022-09-19 13:53:52 +10:00
saml33 953e2d2312 left-align orderbook size column 2022-09-19 12:25:31 +10:00
tjs 14f99ff0d6 font without slashed zero 2022-09-18 19:02:52 -04:00
saml33 2fea0ed266 add orderbook grouping ui 2022-09-18 22:53:28 +10:00
saml33 9d146f7b02 more trade layout 2022-09-17 23:03:46 +10:00
saml33 dd7dd9a00e inset expand nav button 2022-09-16 22:26:30 +10:00
saml33 fa08f0e819 align swap form elements 2022-09-16 21:37:24 +10:00
saml33 3c55bf5b59 mobile trade page 2022-09-16 20:49:10 +10:00
saml33 a2400638aa trade grid layout for lg, md 2022-09-16 13:40:30 +10:00
saml33 fd5b6ba60d trade grid layout for xl, xxl, xxl 2022-09-16 11:58:35 +10:00
saml33 9ed74880b2 align tabs to trade page 2022-09-15 16:06:23 +10:00
saml33 0ae2912cb9 misc styling 2022-09-15 14:51:19 +10:00
saml33 e42e4db58a style trade form 2022-09-15 14:12:00 +10:00
saml33 859169fd98 remove double borders from trade 2022-09-15 13:08:42 +10:00
saml33 9ab19e13cd align horizontal baseline 2022-09-15 12:41:55 +10:00
saml33 6e0d02c757 align connect button to edge 2022-09-15 11:17:15 +10:00
saml33 17b52d242d change copy on swap page to be swap oriented and rename files 2022-09-15 11:06:00 +10:00
saml33 6d901dd847 remove double borders from swap 2022-09-15 10:33:34 +10:00
saml33 94b4dfe9a0 add function for token max 2022-09-15 10:02:16 +10:00
tjs f6304e2910 undo some changes from my swap page refresh 2022-09-14 17:57:12 -04:00
tjs 2c69636a8a refactor swap token chart 2022-09-14 15:38:43 -04:00
tjs 9780a94ce1 Test matching swap page with advanced trade page 2022-09-14 15:38:25 -04:00
tjs 86d79a7541 allow maxwidth in tooltip props; add health tooltip to acct page 2022-09-14 11:30:02 -04:00
tjs b2e274938b fix ui tour routing 2022-09-14 11:02:10 -04:00
tjs 4270ad8d3b use latest client; fix merge conflicts 2022-09-14 10:52:18 -04:00
tjshipe 83dc98ad25
Merge branch 'main' into onboarding-tour 2022-09-14 10:11:13 -04:00
saml33 6dab2b74cf sort sell token list by max amount 2022-09-14 20:37:45 +10:00
tjs 007c3c2fa2 Merge branch 'serum' into main 2022-09-14 02:25:15 -04:00
tjs 84728b580b serum spot trade page 2022-09-14 02:24:44 -04:00
saml33 0ccaf19e40 leave 0.05 sol in wallet when max deposit sol 2022-09-14 11:05:42 +10:00
saml33 32af136ff8 fix toggle margin bug 2022-09-14 10:19:56 +10:00
saml33 d088d0b746 remove mangoAccount 2022-09-14 09:48:57 +10:00
saml33 8cdddf4288 re-add deposit size buttons to fund account 2022-09-13 21:58:00 +10:00
saml33 3d832bc300 improve mask positions 2022-09-13 21:27:04 +10:00
saml33 45358922d3 edit health check description 2022-09-13 21:11:52 +10:00
saml33 71d6d94278 stop tour from closing when clicking overlay 2022-09-13 20:58:07 +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
tjs d4cc454824 move mangoAccount state dep from sidenav into account summary component 2022-09-12 11:30:47 -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 63b361bcb8 pass health to heart animation 2022-09-11 21:48:23 +10:00
saml33 6cfc397dd2 fix loaders 2022-09-09 11:00:47 +10:00
saml33 a1f01b7866 add chart time range component 2022-09-08 16:25:32 +10:00
saml33 c04e3909ca adjust particle emitter 2022-09-08 14:23:49 +10:00
saml33 99b6d79808 add icon for 0% change 2022-09-08 12:49:12 +10:00
saml33 c90802d729 fix token list on mobile 2022-09-08 12:36:39 +10:00
saml33 dd8f188a34 add percentage change component 2022-09-08 11:52:47 +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
tjshipe b826bd74ed
Merge pull request #9 from blockworks-foundation/update-heroicons
update heroicons to latest version
2022-09-07 14:19:51 -04:00
saml33 3ccde1bd02 fix account summary layout 2022-09-07 22:00:21 +10: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 6f6ee459a8 add borrow fee to trade review 2022-09-05 18:38:47 -04:00
saml33 de76d68f18 change tab title to balances 2022-09-05 16:32:10 +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 5e879c1c69 prevent leverage slider from converting swap input to string
use Decimal in more places
2022-09-02 19:52:07 -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
saml33 810a81e61d only show tooltip for collapsed nav 2022-09-02 20:22:32 +10:00
tjs f98ed3fc6d upgrade to zustand 4.1.1 2022-09-01 15:06:21 -04:00
tjs 4f299f186f remember sidenav collapse state in localstorage 2022-09-01 14:51:15 -04:00
tjs b655f6176c use latest account equity for change percent 2022-09-01 13:53:57 -04:00
tjs 80435d8e60 fix side nav collapse transition 2022-09-01 13:53:34 -04:00
tjs 48670290e8 fix account value updating 2022-09-01 13:33:29 -04:00
tjs 8168a497f6 fix account summary animation 2022-09-01 12:57:20 -04:00
tjs 43b1febc1a update client and handle undefined health values 2022-08-31 16:17:17 -04:00
tjs a4cfafb484 fix handling small decimals in swap form input 2022-08-31 11:54:43 -04:00
tjs 5832b69902 only set amountIn when swapping if amountOut is gt 0 2022-08-31 11:10:34 -04:00
tjs 9d7f8e5158 always show popular tokens in token select 2022-08-31 11:06:49 -04:00
tjs 44ae5bc6df add retryFn to ensure health simulation runs 2022-08-31 10:54:37 -04:00
tjs 9bc1b423af show all banks when funding account 2022-08-30 11:27:17 -04:00
saml33 b18d3c9049 show chart empty state on data error 2022-08-30 15:03:08 +10:00
saml33 130d5c2a50 format chart high/low decimals 2022-08-30 14:54:16 +10:00
saml33 c3fa10f26f show high/low on trade chart 2022-08-30 13:44:27 +10:00
saml33 dd4a6d4aed remove decimals from health impact 2022-08-28 21:03:15 +10: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 c54fcd96ca add spinner to wallet connect 2022-08-27 04:33:21 -04:00
tjs 9c5ce70aa9 better handle error when simulating acct data 2022-08-27 03:56:59 -04:00
tjs bb9263ed0a test2 2022-08-27 01:51:14 -04:00
tjs ae0647bec2 test tokenmax issue 2022-08-27 01:48:18 -04:00
tjs cb3cc9b169 fix vault balance in withdraw modal 2022-08-27 01:28:52 -04:00
tjs d0875ba345 fix tokenbalance for max calc 2022-08-27 01:23:08 -04:00
tjs f4d155af10 add useMangoAccount hook to fix updating account page 2022-08-26 15:15:50 -04:00
tjs 6d60274fe2 fix coingecko % comparison 2022-08-26 15:14:57 -04:00
tjs 2ac137a05c use token vault balance for max amount 2022-08-26 14:19:20 -04:00
microwavedcola1 30b7226fb5 Fix display of loan origination fee
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2022-08-26 19:47:00 +02:00
tjs 0775176122 handle when vault balance is below 0 2022-08-26 13:17:31 -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
tjs f19d02e992 fix max swap decimals 2022-08-25 20:39:17 -04:00
saml33 b70394263c move error messages into buttons 2022-08-26 10:27:05 +10:00