Commit Graph

2854 Commits

Author SHA1 Message Date
saml33 0836aadb76 add tooltip 2023-12-04 22:42:00 +11:00
saml33 9d44766b8f remove mnde and blze logos in some spots 2023-12-04 21:02:04 +11:00
saml33 0bce439059 fix dust withdraw amount 2023-12-04 20:21:51 +11:00
saml33 7e761becf0 validate trade form size and fix slider percentages 2023-12-04 14:36:35 +11:00
saml33 0644206781 link to spot and perp from side nav 2023-12-04 11:02:46 +11:00
Adrian Brzeziński 03d748ec0f
fix oracle template (#336)
* fix

* fix
2023-12-03 23:33:50 +01:00
saml33 ca94ea07d0 better chart empty states 2023-12-03 23:27:49 +11:00
saml33 8e27126d63 round points up and show prev season points until claim 2023-12-03 21:40:16 +11:00
saml33 16ea7456c7 fix followed accounts flicker 2023-12-02 23:26:39 +11:00
saml33 0e6b11fe05 fix incorrect tab name 2023-12-02 22:59:37 +11:00
saml33 ee6576e3e7 move tradeform button to component 2023-12-02 22:43:22 +11:00
saml33 3995569774 handle account state buttons on trade form 2023-12-02 15:11:00 +11:00
saml33 aa8cc98dec center create account loader 2023-12-02 08:24:52 +11:00
saml33 7ce059ab55 fix slots error showing when no account 2023-12-02 08:18:19 +11:00
saml33 ec2384bbf6 settings styles and more delegate info 2023-11-30 12:37:14 +11:00
saml33 f26d586474 fix token slots warning when no account 2023-11-29 12:44:24 +11:00
Adrian Brzeziński 24f4e2569d swap only listing fix 2023-11-28 17:03:52 +01:00
saml33 d39a0de99a
Merge pull request #331 from blockworks-foundation/saml33/dust-display
display dust and allow dust withdrawal
2023-11-28 12:10:19 +11:00
Adrian Brzeziński 71c875c0dd
temp listing fix (#333)
* temp listing fix

* fix

* yarn dedupe
2023-11-27 22:14:35 +01:00
saml33 403f0bc15f display dust and allow dust withdrawl 2023-11-27 22:33:33 +11:00
saml33 06d487243b add rewards onboarding banner 2023-11-27 15:14:25 +11:00
saml33 b4e802a1b1 rewards copy updates 2023-11-27 14:42:48 +11:00
Adrian Brzeziński a1421c8b32 temp fix 2023-11-27 01:54:08 +01:00
saml33 2367f863cf
Merge pull request #327 from blockworks-foundation/saml33/mango-stats-layout
mango stats layout
2023-11-24 23:33:54 +11:00
saml33 8f57c37e92
Merge pull request #326 from blockworks-foundation/saml33/token-slots-message
show modal when token slots are nearly full and again when full
2023-11-24 23:05:25 +11:00
microwavedcola1 4a53a1006e Bump TS client
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2023-11-24 11:07:58 +01:00
saml33 09abc8a920 tidy up 2023-11-24 12:20:49 +11:00
saml33 1e46d26141 re-arrange layout 2023-11-23 22:26:46 +11:00
Adrian Brzeziński 0fd43fd39d
reverse pool check (#325)
* reverse pool check

* deduplicate packages
2023-11-23 12:13:47 +01:00
saml33 4c3f414b23 show modal when token slots are nearly full and again when full 2023-11-23 14:16:30 +11:00
saml33 7805d23135 add nft market link to side nav 2023-11-23 12:07:56 +11:00
saml33 11751990e6 add more info to slots dropdowns 2023-11-23 11:04:06 +11:00
Adrian Brzeziński 0c88638868
add create refereal account instruction to listing (#323)
* add create refereal account instruction to listing

* existing account check
2023-11-22 17:52:34 +01:00
saml33 d66abc1c67 add wait for slot to onboarding create account 2023-11-22 22:28:15 +11:00
saml33 0e7f732e19 add more info on account slots 2023-11-22 14:51:34 +11:00
saml33 ea302ffd0a add open new account as an option for slots error 2023-11-22 14:20:19 +11:00
saml33 49384d3510
Merge pull request #320 from blockworks-foundation/saml33/birdeye-swap-chart
use birdeye instead of coingecko for swap chart prices
2023-11-22 13:32:09 +11:00
saml33 14702a99c2 add slot errors to spot trade form 2023-11-22 11:30:19 +11:00
saml33 a5c06e4e3c fix spot trade slider 2023-11-22 10:16:30 +11:00
saml33 cbae98cdce add error when serum account slots are full 2023-11-22 09:46:27 +11:00
tjs a882365765 add waitForSlot to prevent stale rpc data 2023-11-21 17:36:47 -05:00
saml33 d2696329b2
Merge pull request #321 from blockworks-foundation/saml33/fix-orderbook-grouping
fix grouping and vertical center orderbook
2023-11-22 08:08:52 +11:00
Adrian Brzeziński e791f57828 fix listing page 2023-11-21 19:24:51 +01:00
saml33 ef201f0f83 close settings modal after account close 2023-11-21 22:22:29 +11:00
saml33 70e5794960 remove callback dependency 2023-11-21 21:49:39 +11:00
saml33 921f7ada61 center book on group size change 2023-11-21 13:50:42 +11:00
saml33 5ffc1949ae remove logo 2023-11-21 12:06:01 +11:00
saml33 3330583f3e fix grouping and vertical center book 2023-11-21 11:27:14 +11:00
Adrian Brzeziński d7f01687bb Merge branch 'main' of github.com:blockworks-foundation/mango-v4-ui 2023-11-20 16:05:32 +01:00
Adrian Brzeziński 381332d517 add option to list for swap only 2023-11-20 16:03:40 +01:00
microwavedcola1 87829fab0d swap: remove pyth whitelist
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2023-11-20 15:54:26 +01:00
Adrian Brzeziński d3dd3b6e1d Merge branch 'main' of github.com:blockworks-foundation/mango-v4-ui 2023-11-20 13:11:46 +01:00
saml33 5ceecfadac add birdeye logo 2023-11-20 14:50:41 +11:00
saml33 19b62a1794 fix chart mousedata crash 2023-11-20 14:06:49 +11:00
saml33 bfaf129c99 remove unused icon 2023-11-20 13:24:49 +11:00
saml33 85b370c9d3 show swapable tokens if not connected 2023-11-20 13:21:29 +11:00
saml33 a09c517792 fix pepe theme z-index bugs 2023-11-20 12:32:18 +11:00
saml33 06668a9b2f fix swap history points 2023-11-20 12:26:42 +11:00
saml33 7c72dc9f62 fix date 2023-11-20 11:31:56 +11:00
saml33 f4e3a08b03 use birdeye instead of coingecko for swap chart prices 2023-11-20 11:07:42 +11:00
Lou-Kamades 81fc0a8465 temporary: don't take fees on pyth swaps 2023-11-18 17:39:06 -06:00
Adrian Brzeziński e235d4992e add query client to mango client query in program 2023-11-17 18:41:07 +01:00
saml33 6a0e827087 fix swap form z-index 2023-11-17 23:37:17 +11:00
steven 2c8073d55c bg blur to claim cards 2023-11-16 22:08:44 -05:00
saml33 d9307ea16b
Merge pull request #314 from blockworks-foundation/saml33/follow-accounts
follow unowned accounts on account overview
2023-11-17 12:32:33 +11:00
tjs 805cb5fa38 add proper type check for price_history and handle when its undefined 2023-11-16 10:39:40 -05:00
Adrian Brzeziński a652abc328 claim refresh fix 2023-11-16 14:08:03 +01:00
saml33 788364735b fix price in market select dropdown 2023-11-16 23:35:44 +11:00
saml33 e61ef91398 show bar chart when not cumulative data 2023-11-16 10:19:10 +11:00
tjs 49a3a89201 don’t wrap and unwrap on jup swaps 2023-11-15 10:49:15 -05:00
saml33 a45bc1787c Merge branch 'main' into saml33/follow-accounts 2023-11-15 22:26:31 +11:00
saml33 316c08c77e add loan fee rate to rate curve chart 2023-11-15 22:15:42 +11:00
saml33 893aa219ef fix custom tv buttons on theme change 2023-11-15 15:56:25 +11:00
saml33 9dbfc28be6 update tooltip 2023-11-15 11:08:22 +11:00
saml33 740a55a679 mobile and tidy up 2023-11-15 10:53:34 +11:00
Adrian Brzeziński c3050a466b upgrade mango settings lib 2023-11-14 22:38:39 +01:00
saml33 68ac136b75 Merge branch 'main' into saml33/follow-accounts 2023-11-15 08:18:37 +11:00
Lou-Kamades d02060463d add jupiter swap fee estimate 2023-11-14 14:53:51 -06:00
tjs 4e99f12781 fix jupiter type for routePlan 2023-11-14 12:38:17 -05:00
saml33 e3020dc125 change rate curve to borrow 2023-11-14 22:18:53 +11:00
saml33 8d2ff5a994 dont show token positions warning for wallet swap 2023-11-14 21:55:08 +11:00
saml33 f07493f105 fix margin 2023-11-14 21:49:28 +11:00
saml33 65aebd08bc hook up api 2023-11-14 21:39:37 +11:00
saml33 349629bc55 add followed accounts ui 2023-11-14 15:41:16 +11:00
Lou-Kamades 6d935924bd
Merge pull request #312 from blockworks-foundation/lou/swap-exact-out
fix jupiter exactOut mint mismatches
2023-11-13 16:08:44 -06:00
Lou-Kamades e38689da74 fix jupiter exactOut mint mismatches 2023-11-13 15:54:51 -06:00
Lou-Kamades 296241b21d re-enable wallet swap 2023-11-13 11:51:42 -06:00
saml33 25726f76c7 make sidenav text smaller on small screens 2023-11-13 13:14:50 +11:00
saml33 06f9397ed3 hide wallet swap 2023-11-13 12:22:44 +11:00
saml33 80dcfceb2a add liquidation charts to mango stats 2023-11-13 11:20:13 +11:00
saml33 b1892fa6a3 add net deposits chart to stats 2023-11-12 23:20:20 +11:00
tjs dda48dee45 show sidebar expander at smaller resolutions 2023-11-11 13:30:57 -05:00
saml33 9d5d25c175 hide private accounts from rewards leaderboard 2023-11-11 22:58:21 +11:00
saml33 3080de4675 fix missing key 2023-11-10 22:49:12 +11:00
saml33 1813130134 update tab style for explore markets 2023-11-10 22:36:35 +11:00
saml33 ed1485d44a Merge branch 'main' into saml33/follow-accounts 2023-11-10 21:39:15 +11:00
saml33 761dbeccc1 add equity leaderboard 2023-11-10 13:54:04 +11:00
saml33 8cc4053fc0 fix accounts list font 2023-11-10 10:27:29 +11:00
saml33 8dba5f7850 fix status bar dot colors 2023-11-10 10:19:49 +11:00
saml33 7768a5e984 add tooltip to tokens with scaled collateral weight 2023-11-10 09:51:08 +11:00
saml33 fdf482dd90 hooks to get following/followers 2023-11-10 08:09:24 +11:00
saml33 923cbebcef use hook for profile details 2023-11-09 15:24:44 +11:00
saml33 8d45805136 show profile name in top bar if it exists 2023-11-09 14:39:54 +11:00
saml33 55753b4dbe add close borrow swap to borrow page 2023-11-09 10:47:05 +11:00
saml33 b814f492e7 hide boost accounts 2023-11-09 10:01:44 +11:00
saml33 22eb0d1291 show spot liq fee as value 2023-11-08 11:34:28 +11:00
saml33 debf420769 sort available by notional 2023-11-08 10:27:12 +11:00
saml33 68cb94889e fix callback dependency 2023-11-08 09:41:21 +11:00
Adrian Brzeziński a45dce8c42 fix skin flash 2023-11-07 23:33:43 +01:00
saml33 bed2836566 fix trade form 2023-11-08 08:29:01 +11:00
saml33 cc3c62a1b3 fix chart moving 2023-11-07 22:26:17 +11:00
saml33 e9d323e47d fix slider 2023-11-07 22:03:08 +11:00
saml33 74bfcf627f
Merge pull request #308 from blockworks-foundation/lou/position-funding
Add position funding to the perp positions table
2023-11-07 13:50:12 +11:00
saml33 d47f48d51b add to mobile view 2023-11-07 13:45:23 +11:00
saml33 25f6043d5f
Merge pull request #306 from blockworks-foundation/saml33/trade-trigger-orders
add trigger orders to trade form
2023-11-07 12:57:17 +11:00
saml33 2287106a52 set trigger orders to the correct side 2023-11-07 12:50:23 +11:00
saml33 44294a3e61 sticky headers on banks dashboard 2023-11-07 11:49:12 +11:00
Adrian Brzeziński 218e1c6923 fix stale state on claim ui 2023-11-06 23:11:36 +01:00
saml33 b7ca2a3710 show trigger order lines on chart 2023-11-06 15:00:41 +11:00
Lou-Kamades e1f82c51a7
add perp position funding 2023-11-06 00:03:24 +01:00
saml33 a04830d2c5 fix spot liquidation fee 2023-11-06 09:52:53 +11:00
saml33 3fe194c25f form validation 2023-11-05 22:22:05 +11:00
saml33 101d6efd5d add trigger orders to trade form 2023-11-04 23:24:17 +11:00
Adrian Brzeziński 79541608f8 fix jup price api 2023-11-03 10:40:04 +01:00
saml33 5a64e343e8 move animation settings 2023-11-03 12:42:43 +11:00
saml33 c96815afea fix privacy mode 2023-11-03 11:27:20 +11:00
saml33 dbe7a60c0c fix zero value number format 2023-11-03 09:52:17 +11:00
saml33 8897bd6cb2 fix very small prices on token page 2023-11-02 13:54:45 +11:00
saml33 906ee6740d improve mobile swap chart loading 2023-11-02 13:24:45 +11:00
saml33 a63db09bff remove auto-focus search inputs on mobile 2023-11-02 12:38:41 +11:00
saml33 23dc2bb0f8 add price to explore spot mobile table 2023-11-02 12:21:35 +11:00
saml33 a06e2057d9 horizontal scroll explore spot table 2023-11-02 11:58:52 +11:00
saml33 a6c83681a7 link to index from mobile logo 2023-11-02 11:55:30 +11:00
saml33 e697bbef8b scroll to top on route change 2023-11-02 11:11:21 +11:00
saml33 1439e6544b toggle cumulative values on stats charts 2023-11-01 14:48:12 +11:00
saml33 fb64d4de29 cover dust when repaying full borrow amount 2023-11-01 08:49:08 +11:00
saml33 37d4a32391 fix rate curve chart util nan 2023-10-31 22:10:53 +11:00
saml33 c7535a60f8 remove curve from chart 2023-10-31 21:10:51 +11:00
saml33 3d8f7aeb88 add rate curve chart 2023-10-31 14:33:18 +11:00
saml33 b621c458a3 fix chart change alignment 2023-10-31 11:51:10 +11:00
saml33 cf0c88e0b5
Merge pull request #302 from blockworks-foundation/saml33/swap-improvements
improve swap quote fetching and chart price
2023-10-31 11:09:53 +11:00
saml33 3fe91de2e9 toggle chart change type 2023-10-31 11:08:47 +11:00
saml33 fcd7830710 fix chart change percentage 2023-10-31 09:41:18 +11:00
Adrian Brzeziński 775e478efd bg change for rewards claim 2023-10-30 14:45:05 +01:00
saml33 9aa665fcf1 add max slippage and ioc to perp market orders 2023-10-30 22:19:04 +11:00
saml33 686c654c48 merge main 2023-10-30 16:11:41 +11:00
saml33 17aa59cf7d update swap intro modal 2023-10-30 15:53:18 +11:00
saml33 8f16ec7b7e toggle to show average funding as apr 2023-10-30 14:34:22 +11:00
saml33 bb77fbb0ce add popular swap tokens 2023-10-30 13:18:03 +11:00
saml33 b5941acf3e swap form button component 2023-10-30 11:01:35 +11:00