Commit Graph

3104 Commits

Author SHA1 Message Date
Adrian Brzeziński 4ed29e1620 Merge branch 'main' of github.com:blockworks-foundation/mango-v4-ui 2024-02-08 18:18:26 +04:00
Adrian Brzeziński ff61f95e5b listing clear oracle if its nonlocked for tier above c 2024-02-08 18:17:33 +04:00
saml33 86afcc15cf merge main 2024-02-08 13:26:50 +11:00
saml33 e2e64deeb2 fix bad trade page link 2024-02-08 12:40:02 +11:00
saml33 7b787ed48b merge main 2024-02-08 12:23:33 +11:00
saml33 a9124d5148 update token page layout 2024-02-08 11:24:17 +11:00
Adrian Brzeziński 045cc2480d Merge branch 'main' of github.com:blockworks-foundation/mango-v4-ui 2024-02-08 01:37:45 +04:00
Adrian Brzeziński 324a65ba7e query oracle on tier change in listing 2024-02-08 01:27:44 +04:00
microwavedcola1 5849f8b4e5
Remove jup ref ui fees, charge via program. (#383)
* Remove jup ref ui fees, charge via program.

Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>

* yarn dedupe

---------

Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
Co-authored-by: Adrian Brzeziński <a.brzezinski94@gmail.com>
2024-02-07 21:24:28 +04:00
Adrian Brzeziński 8ad6770d6f Merge branch 'main' of github.com:blockworks-foundation/mango-v4-ui 2024-02-07 17:29:12 +04:00
Adrian Brzeziński e3800cb283 fix deposit limits warning for maring market 2024-02-07 17:28:14 +04:00
saml33 239b0f99b6 sort markets in drop down by notional volume 2024-02-07 12:39:36 +11:00
Adrian Brzeziński 72457a419b add blue text for common reward 2024-02-06 14:34:42 +04:00
saml33 44e9d5b710 fix order filter on account page 2024-02-05 23:13:02 +11:00
Adrian Brzeziński 0da2a3dc8e fix deposit limit proposal 2024-02-05 12:23:07 +01:00
Adrian Brzeziński 4a16b1ab57 fallback for broken price imapcts 2024-02-04 23:35:08 +01:00
Adrian Brzeziński d0389aae27 Merge branch 'main' of github.com:blockworks-foundation/mango-v4-ui 2024-02-03 13:18:02 +01:00
Adrian Brzeziński c40737de52 markdown for in app notifiactions 2024-02-03 13:17:30 +01:00
Adrian Brzeziński 37b3ef4daa
allow use of reversed pol (#382)
* allow use of reversed pol

* reversed pool
2024-02-03 00:05:35 +01:00
Adrian Brzeziński ae5741f86f remove console log 2024-02-02 01:30:27 +01:00
Adrian Brzeziński 76c86711a6
listing changes (#381)
* fix

* allow sol pools for oracle

* fix
2024-02-02 00:38:26 +01:00
saml33 3786891c5e restore new listing banner to most recent 2024-02-01 21:41:23 +11:00
Adrian Brzeziński 24edf453cb allow to change oracle on dashboard 2024-01-31 20:55:57 +01:00
saml33 492e5495ac reshow jup listing banner 2024-01-31 23:59:47 +11:00
saml33 9bbd1258bc fix margin 2024-01-30 20:40:21 +11:00
saml33 6ce6d09324
Merge pull request #379 from blockworks-foundation/saml33/token-charts-options
add toggle options on deposits and borrows charts
2024-01-30 09:47:07 +11:00
Adrian Brzeziński c4155b42e0 fast listing form adjustment 2024-01-29 22:00:10 +01:00
Adrian Brzeziński 768cc7b588 bring back fast listing as option 2024-01-29 21:40:47 +01:00
saml33 33646500fb show accounts created via boost 2024-01-29 22:48:15 +11:00
Finn Casey Fierro 151b1781c0
new (#368)
Co-authored-by: Finn <finn@Finns-MacBook-Pro.local>
2024-01-28 14:42:56 +01:00
saml33 4648f56b87 add toggle options on deposits and borrows charts 2024-01-28 23:08:25 +11:00
saml33 a597238beb fix stats fees chart bug 2024-01-27 21:31:06 +11:00
Adrian Brzeziński 1d1d600d1b fix oracle provider info 2024-01-26 15:41:34 +01:00
Adrian Brzeziński bd27f72809
use multi rpc everywhere (#378)
* use multi rpc everywhere

* fix
2024-01-26 14:39:18 +01:00
saml33 d4c037c6c3 fix leaderboard crash 2024-01-26 09:52:56 +11:00
Adrian Brzeziński 9725a1b0a3 rate params fix 2024-01-25 17:09:17 +01:00
Adrian Brzeziński 103a3c4759
better warnings for deposit limits (#377) 2024-01-24 17:54:41 +01:00
saml33 11b57d8548 add pyth logos 2024-01-23 15:22:03 +11:00
Adrian Brzeziński 60fe8d2029
deposits limits (#375)
* spot limits

* deposits + lib mock

* fix

* styling and copy

* fix

* fix

---------

Co-authored-by: saml33 <slam.uke@gmail.com>
2024-01-22 19:21:24 +01:00
saml33 95197fbe69
Merge pull request #371 from FinnCastro/finn/dashboard-ui-improvements
UI Readability Improvements For Dashboard
2024-01-22 23:45:13 +11:00
saml33 83fb519be2
Merge pull request #376 from blockworks-foundation/free-collateral-warning
add warning when free collateral <= 0
2024-01-22 23:20:16 +11:00
Adrian Brzeziński 5ca560f000 upgrade dist prefix 2024-01-22 13:27:02 +02:00
Adrian Brzeziński 55cf8b0d78 upgrade mango settings lib 2024-01-21 17:20:01 +02:00
saml33 993a441071 add warning when free collateral <= 0 2024-01-21 23:21:34 +11:00
Finn 106b74b18d Fixes 2024-01-20 15:00:34 +00:00
saml33 2c03880c5f only filter orders on trade page 2024-01-20 22:45:02 +11:00
Adrian Brzeziński 418aa51ae6 dont update rate params 2024-01-19 14:08:27 +02:00
Adrian Brzeziński bc73b7da1c fix price band 2024-01-19 13:30:48 +02:00
saml33 6cdf0a91a7
Merge pull request #373 from blockworks-foundation/saml33/uninsured-trade-warning
add uninsured warning notification to trade
2024-01-19 08:35:09 +11:00
Alexandru Stefan 12be50a9cc chore: update blog post url 2024-01-18 14:19:46 +00:00
saml33 250e1b832a do not disable trade button when too much size 2024-01-19 00:13:19 +11:00
saml33 f8bac40412 add uninsured warning notification to trade 2024-01-18 23:58:18 +11:00
saml33 a2d1cb83cd add insurance info to swap 2024-01-18 22:11:01 +11:00
Adrian Brzeziński 23bfea953f adjust netborrows with settings lib 2024-01-18 02:01:15 +01:00
saml33 53de7de9fa fix modal flash 2024-01-17 14:59:40 +11:00
saml33 0e2e8f2772 move trash favorites button 2024-01-17 14:06:43 +11:00
saml33 f5f2bbf7f5 fix button group width 2024-01-17 13:45:57 +11:00
Finn Casey Fierro f459b5e012
portuguese (#370)
Co-authored-by: Finn <finn@Finns-MacBook-Pro.local>
2024-01-17 00:58:27 +01:00
Adrian Brzeziński 2d2f43d3ab fix preset match 2024-01-17 00:45:00 +01:00
saml33 0ff7c21ab3 smaller screen fixes 2024-01-15 13:09:34 +11:00
saml33 7f7b4f20df align token table charts on mobile 2024-01-15 12:18:25 +11:00
Adrian Brzeziński eb25e7c1e8
allow to select tier other the suggested (#367) 2024-01-14 16:11:49 +01:00
saml33 e9f9496fea use unicode characters instead of quote symbol 2024-01-13 22:05:22 +11:00
saml33 02ad0765df add link to docs in uninsured warning 2024-01-11 21:22:23 +11:00
saml33 4557eff7c2 fix deposit/withdraw color in activity feed and update outdated tailwind classes 2024-01-11 20:19:31 +11:00
saml33 8cfdf9ce2b add insurance deposit warning 2024-01-11 19:44:13 +11:00
Lou-Kamades 954f7e330d
Merge pull request #366 from blockworks-foundation/lou/confirmation-stats-callback
record txn confirmation data
2024-01-10 17:45:39 -06:00
Lou-Kamades d5242335a5 use TxCallbackOptions type 2024-01-09 23:35:25 -06:00
Adrian Brzeziński 6a23bb3aed fix reduceonly edit 2024-01-09 19:42:08 +01:00
Adrian Brzeziński 71352cedf1
fix jup call on every type (#364) 2024-01-09 11:36:44 +01:00
Lou-Kamades 7502379020
give loan fees a clearer name in the activity feed 2024-01-08 22:58:55 -06:00
Adrian Brzeziński 2f578217ed fix flas loan swap fee rate in dashboard 2024-01-08 18:52:18 +01:00
Adrian Brzeziński c58a02b2e0 fix suggested dashboard modal 2024-01-08 18:11:01 +01:00
saml33 6456b41196 fix order filtering for market 2024-01-08 14:00:05 +11:00
Adrian Brzeziński 5c9953fa0d fix depth chart 2024-01-08 03:35:32 +01:00
Adrian Brzeziński b8c28b81d2 warning fix 2024-01-07 13:56:26 +01:00
Adrian Brzeziński be0ad0f92a retry to close position 2024-01-07 13:55:19 +01:00
Adrian Brzeziński d3eb967665 push to crank ix 2024-01-06 21:44:22 +01:00
Adrian Brzeziński 753e9bd38f improve perp quering fix 2024-01-06 16:02:51 +01:00
Adrian Brzeziński 074bf76f6d improve perp quering 2024-01-06 15:47:49 +01:00
saml33 7610af5287
update market close price and add more info to warning (#362)
* update market close price and add more info to warning

* remove redundant dependency

* fix liquidity check calc

* use max slippage const

* show slippage limit and update warning text

* add $ sign

* fix

---------

Co-authored-by: Adrian Brzeziński <a.brzezinski94@gmail.com>
2024-01-06 14:11:37 +01:00
saml33 4678d056ee remove console.log 2024-01-06 23:25:10 +11:00
Adrian Brzeziński ec730a8537 Merge branch 'main' of github.com:blockworks-foundation/mango-v4-ui 2024-01-06 13:00:25 +01:00
Adrian Brzeziński 22682e85eb fix geo modal 2024-01-06 12:56:55 +01:00
Adrian Brzeziński 74295be8a1 fix geolocking modal 2024-01-06 12:54:46 +01:00
saml33 a662126cd0 fix country modal show 2024-01-06 22:52:31 +11:00
saml33 7de1ce9611 remove collateral warning from withdraw form 2024-01-06 22:24:28 +11:00
saml33 355c263fc8 fix restricted country modal flicker 2024-01-06 21:54:56 +11:00
saml33 08c3c8e7b4 update withdraw button disabled state 2024-01-06 21:16:30 +11:00
saml33 60fe8e9ffb fix sanctioned trade button check 2024-01-05 10:37:00 +11:00
saml33 d72f2e3f30 temp fix for trade button 2024-01-05 10:23:49 +11:00
saml33 1b69697deb
Merge pull request #300 from blockworks-foundation/pan/granular-geoblock
Granular Geoblocking
2024-01-05 09:51:07 +11:00
Adrian Brzeziński c5a2f925ce add current tier to dashboard 2024-01-04 13:47:46 +01:00
saml33 68ad7b7f12 fix bridge modal close 2024-01-04 22:10:32 +11:00
saml33 5df57021b8 add comment 2024-01-04 21:29:20 +11:00
saml33 1fababa7a4 add modal if ip api fails and finish reduce only if sanctioned 2024-01-04 12:15:32 +11:00
saml33 dc28778bf4 add missing dependencies 2024-01-03 22:47:25 +11:00
saml33 bd82c12d40 merge main and move disclaimer 2024-01-03 13:28:26 +11:00
Adrian Brzeziński 86f17afd72 fallback for perps update 2024-01-02 23:52:40 +01:00
Adrian Brzeziński 45c1680bd7 fix name pass in create account 2024-01-02 17:44:38 +01:00
Adrian Brzeziński 4ae8ae9b03 Revert "fix flicker when loading claim or season (#353)"
This reverts commit f876e48aac.
2024-01-02 01:52:07 +01:00
saml33 27b1bfbb84 fix modal scroll bug 2024-01-02 11:04:39 +11:00
Lou-Kamades 34b875d702
Merge pull request #354 from blockworks-foundation/lou/activity-settle-funds
Add settle funds fees to activity feed
2024-01-01 16:03:45 -06:00
Lou-Kamades 9a97d1f073
add settle funds to activity feed filter 2024-01-01 15:46:49 -06:00
Adrian Brzeziński 359a7a281a
jest testing init (#360)
* tests init

* setup.ts

* write generic test for all routes

* all pages render test

* formmat bank values test

* deduplicate

* deduplicate

* test command
2024-01-01 20:51:06 +01:00
saml33 f876e48aac
fix flicker when loading claim or season (#353) 2024-01-01 20:38:33 +01:00
saml33 fbb3862906
fix reduce only max amounts (#361) 2024-01-01 13:46:08 +01:00
Adrian Brzeziński aedf82c798 improve tier matching 2023-12-31 15:04:28 +01:00
Adrian Brzeziński a1447378f5 throw switchboard errors 2023-12-31 13:47:32 +01:00
Adrian Brzeziński 399c0c9d98 adjust fund oracle amount 2023-12-31 13:03:03 +01:00
saml33 10aaa71dd6 show gainers/losers when db is down 2023-12-30 23:47:09 +11:00
Adrian Brzeziński d1fbf855a8 adjust slippage page 2023-12-29 22:26:20 +01:00
Adrian Brzeziński 0a49ac56f8 fix suggested values create proposal 2023-12-29 21:21:09 +01:00
Adrian Brzeziński 532ed61400 dashboard fixes 2023-12-29 21:16:42 +01:00
Adrian Brzeziński 61dc94011a more resilent openbook decode 2023-12-28 22:47:02 +01:00
Adrian Brzeziński 562395dfee fix orderbook render 2023-12-28 22:32:27 +01:00
Adrian Brzeziński 7f9d47cbf3 fix orderbook init 2023-12-28 22:30:17 +01:00
Adrian Brzeziński 76dba0dac6 fix 2023-12-28 19:41:19 +01:00
Adrian Brzeziński 6fb99db6ce
token tiers adjustments + refactor (#356)
* fix

* fix

* add simulation

* fix

* improve decode logic for oderbook
2023-12-28 19:39:46 +01:00
saml33 60f2815569 fix trade form connect button 2023-12-28 22:14:08 +11:00
saml33 b540fc7afc
Merge pull request #355 from blockworks-foundation/saml33/orace-price-bands
validate limit price within oracle price band
2023-12-26 08:47:35 +11:00
saml33 dc483d9fcb fix rpc settings 2023-12-25 21:39:35 +11:00
saml33 c1d284ec6b fix formula 2023-12-25 21:00:23 +11:00
saml33 22a40a822e validate limit price within oracle price band 2023-12-24 22:15:31 +11:00
saml33 ebacc4bb8f fix explore tokens filters 2023-12-24 11:20:57 +11:00
Lou-Kamades fcabe49589
add settle funds fees to activity feed 2023-12-22 17:24:43 -06:00
Maximilian Schneider 8f20fe5a98 re-enable shared pool 2023-12-22 19:17:52 +01:00
Adrian Brzeziński 35715084ba add fee estimation to governance instructions 2023-12-22 19:16:04 +01:00
saml33 99c7d20bea fix top border on mobile 2023-12-22 15:05:10 +11:00
saml33 09d47aee22 add perp markets table to stats 2023-12-22 15:02:35 +11:00
Adrian Brzeziński 61ec3c850d Merge branch 'main' of github.com:blockworks-foundation/mango-v4-ui 2023-12-21 23:42:20 +01:00
Adrian Brzeziński 348873da3d fix min tick size openbook creation 2023-12-21 23:41:50 +01:00
saml33 1ec4053062 only show trade link if there is a market 2023-12-22 09:38:27 +11:00
Adrian Brzeziński 5fca2bd738 update price band for trustless token 2023-12-21 22:01:13 +01:00
saml33 f62803a2c4 filter and sort orders 2023-12-21 12:40:37 +11:00
saml33 a732d51943 re-arrange positions table 2023-12-21 09:38:52 +11:00
Tyler 43f014a17f fixes 2023-12-20 13:14:59 -05:00
Adrian Brzeziński 695b6762d6 bring back trustless listing 2023-12-20 14:55:27 +01:00
saml33 8d4e5fd79b fix swap token select 2023-12-20 12:37:16 +11:00
saml33 300c8fcc00
Merge pull request #352 from blockworks-foundation/saml33/birdeye-change
use birdeye for change values
2023-12-20 08:29:31 +11:00
saml33 92e5f0022b fix display when no price 2023-12-19 15:10:21 +11:00
saml33 d111d8c1e7 fix account chart buttons 2023-12-18 20:42:42 +11:00
saml33 93df4d9421 only fetch required quote data once 2023-12-18 20:08:58 +11:00
saml33 fb2286f04b fix horizontal overflow on mobile account page 2023-12-18 16:11:58 +11:00
saml33 75c2b06d2b use birdeye for change values 2023-12-18 15:39:47 +11:00
Lou-Kamades 7148fa0db4
add withdraw fees to activity table 2023-12-16 13:20:11 -06:00
Tyler c2a4ad41d7
fix firefox bug with order form 2023-12-16 12:31:48 -05:00
saml33 c80f2203e8 fix rate curve chart values 2023-12-15 10:05:26 +11:00
Adrian Brzeziński a24f7d5dae
update suggested values (#350) 2023-12-14 23:25:07 +01:00
saml33 d36c0ba360 fix health contributions charts 2023-12-15 08:27:29 +11:00
microwavedcola1 b5b54412ce
v0.21.0 ts client (#347)
* --wip-- [skip ci]

* adjust instructions to new lib

* update settings lib

* fixes

* fix dedupes

* update settings lib

* fix

* fix

---------

Co-authored-by: Adrian Brzeziński <a.brzezinski94@gmail.com>
Co-authored-by: saml33 <slam.uke@gmail.com>
2023-12-14 01:58:36 +01:00
saml33 30f05cd18e make projected rewards tier easier to understand 2023-12-14 10:39:38 +11:00
saml33 26adfc4bad shortcut tbtc on swap 2023-12-14 10:36:13 +11:00
saml33 23770e32f9
fix max errors for new listings with no price (#348) 2023-12-13 19:45:31 +01:00
saml33 90f934d8bf move bridge button to top bar 2023-12-13 15:37:34 +11:00
saml33 0a50016f2c make new listing banner dynamic 2023-12-13 14:59:06 +11:00
saml33 f4627de0eb add bridge to side nav 2023-12-12 15:14:59 +11:00
saml33 02989862d9 use wallet icon on connect buttons 2023-12-12 14:53:57 +11:00
Adrian Brzeziński 34311a713b
Feature/add telemetry to fees (#346)
* add telemetry to fees

* fix

* fix

* remove txid

* fix
2023-12-11 22:40:23 +01:00
Adrian Brzeziński 718848cfce add option to choose tier in suggested modal 2023-12-11 15:47:28 +01:00
saml33 e05b41627f fix spot max 2023-12-11 23:34:59 +11:00
saml33 cc0ddd8cde merge main and tidy up 2023-12-09 22:01:19 +11:00
saml33 daf62c952b Merge branch 'main' into saml33/spot-market-trade-fixes 2023-12-09 21:04:56 +11:00
Tyler ae4294073d
oops 2023-12-08 20:18:14 -05:00
saml33 63ae9d3810 Merge branch 'main' into saml33/spot-market-trade-fixes 2023-12-09 09:11:21 +11:00
Tyler 723f32727f
uncomment 2023-12-08 16:59:33 -05:00
Tyler 51f9a324e5
add hook dependency 2023-12-08 16:58:17 -05:00
saml33 6bee92a523 comment out trade form validation 2023-12-09 08:14:58 +11:00
saml33 78cdbb78ed fix spot market trade form 2023-12-08 23:26:20 +11:00
Adrian Brzeziński 72478c2923 upgrade mango lib 2023-12-08 12:39:39 +01:00
saml33 d204b980d7 add more trade form validation 2023-12-08 14:52:18 +11:00
saml33 dfcc9a5a30 fix spot slider decimals 2023-12-08 13:53:49 +11:00
saml33 9b66b018f5
Merge pull request #343 from blockworks-foundation/saml33/custom-account-slots
add customizable slots for new accounts
2023-12-08 10:12:05 +11:00
saml33 786ea69636
Merge pull request #344 from blockworks-foundation/saml33/new-listing-banner
add new listing banner
2023-12-08 08:08:44 +11:00
Adrian Brzeziński 49950f83f2 xl open book market option 2023-12-07 22:05:07 +01:00
saml33 dd934bfb11 add new listing banner 2023-12-08 08:00:56 +11:00
saml33 1d07a03b95 add warning when perp slots are full 2023-12-07 21:39:46 +11:00
Lou-Kamades 3b643c1690
Merge pull request #342 from blockworks-foundation/lou/client-multi-connect
use lite rpc when sending transactions
2023-12-07 00:41:30 -06:00
saml33 30427a2c66 add customizable slots for new accounts 2023-12-07 14:54:53 +11:00
saml33 0566345311 make onboarding transitions smoother 2023-12-07 10:26:30 +11:00
tlrsssss 814d76430a
Merge pull request #340 from blockworks-foundation/wormhole
add wormhole modal
2023-12-06 14:35:40 -05:00
saml33 e8b6d9f81d add some styling and move to deposit modal 2023-12-06 22:28:13 +11:00
saml33 7cab1f3a33 more onboarding fixes 2023-12-06 14:41:54 +11:00
Lou-Kamades 8f08e5709b
use lite rpc when sending transactions 2023-12-05 20:53:52 -06:00
saml33 72eb0b9e3d
Merge pull request #337 from blockworks-foundation/saml33/spot-and-perp-nav
link to spot and perp from side nav
2023-12-06 13:35:33 +11:00
saml33 dd9f213e4f hide banner and fix progress 2023-12-06 13:25:00 +11:00
saml33 72e175891f Merge branch 'main' into saml33/rewards-onboarding-banner 2023-12-06 10:37:10 +11:00
tjs 0563123f3d add wormhole modal 2023-12-05 18:21:40 -05:00
saml33 fb0e6571ee fix trade link from token page 2023-12-06 09:56:59 +11:00
saml33 c7fb525aba remove deposit button on trade form 2023-12-06 08:58:25 +11:00
saml33 f38bfb5db2 add stub oracle tooltip 2023-12-05 20:52:31 +11:00
Adrian Brzeziński b4b7b3901b fix claim of nfts 2023-12-05 01:24:50 +01:00
saml33 4f3d2ea2e9 fix withdraw decimal scale 2023-12-05 10:36:02 +11:00
saml33 3b3344039e fix rewards banner display and show prev season points before claim 2023-12-05 10:09:05 +11:00
saml33 9bd361de08 switch menu order to alphabetical 2023-12-05 09:23:40 +11:00
saml33 554dae1e7b switch to spot tab on spot markets 2023-12-05 08:17:13 +11:00
Lou-Kamades 8a755535aa
enable spot trading on stub oracle markets 2023-12-04 11:45:27 -06:00
Adrian Brzeziński 5ac3b00a50
fix (#338) 2023-12-04 13:18:53 +01:00
saml33 65cad9ac33 fix alignment 2023-12-04 22:47:48 +11:00
saml33 0836aadb76 add tooltip 2023-12-04 22:42:00 +11:00