Commit Graph

2323 Commits

Author SHA1 Message Date
tlrsssss 664cd5b9d7
Merge pull request #225 from blockworks-foundation/increase-account-size
add increase account size ui
2023-08-07 11:07:11 -04:00
tlrsssss e89cd94d0d
Merge pull request #227 from blockworks-foundation/ts/orderbook
scrollable orderbook
2023-08-07 10:59:48 -04:00
tjs f8d0b3e98e use offsetHeight 2023-08-07 10:41:14 -04:00
tjs 32c4734f21 add scrollable orderbook 2023-08-07 10:04:20 -04:00
saml33 c846faa445 merge main 2023-08-07 21:26:33 +10:00
saml33 f0923c9b3b fix trade history price rounding 2023-08-07 21:23:36 +10:00
saml33 b2a45b7b91 add program version and ui sha 2023-08-07 21:07:34 +10:00
saml33 89cf797ce5 add bottom status bar 2023-08-07 15:57:02 +10:00
saml33 72372ba2da add increase account size ui 2023-08-07 14:08:35 +10:00
tjs d3f5cd9045 update WS for trading view charts 2023-08-06 22:16:51 -04:00
tjs 94f823c91f Upgrade chart api endpoint 2023-08-06 21:54:41 -04:00
saml33 1cbdb75502 increase token accounts 2023-08-06 23:30:48 +10:00
saml33 6e2e3b5560
Merge pull request #160 from blockworks-foundation/bonk-theme
support nft activated themes (bonk theme)
2023-08-06 21:16:23 +10:00
tlrsssss 60536bd452
Merge pull request #213 from blockworks-foundation/lou/open-orders-search
feat: add open orders as a search option for accounts
2023-08-05 12:59:23 -04:00
saml33 381cd44626 fix mobile row padding 2023-08-05 22:44:07 +10:00
saml33 4d9e1b2bb7 fix token stats chart height on mobile 2023-08-05 22:40:07 +10:00
saml33 87c5b969e4 round token utilization on mobile 2023-08-05 22:32:18 +10:00
saml33 4432f1f812 hide daily price range if no change 2023-08-05 22:30:36 +10:00
saml33 d7657cbb5d merge main 2023-08-05 20:48:58 +10:00
saml33 5c207b8add attempt to fix chart flicker and less renders 2023-08-04 23:48:17 +10:00
saml33 f9c3e457ec rearrange trigger price elements 2023-08-04 22:03:19 +10:00
saml33 306e1f0fdf save chart and price direction on flip price 2023-08-04 21:32:42 +10:00
saml33 37d9b1ce0a fix default trigger price for flip prices 2023-08-04 20:25:43 +10:00
Lou-Kamades 95bc34eb72
add unrealized pnl to perp positions 2023-08-04 02:20:58 -05:00
saml33 07642c4d3b add form validation 2023-08-04 16:14:41 +10:00
tjs fd5614acf1 temp fix on withdraw button 2023-08-04 00:02:26 -04:00
saml33 3e4f5633c9 sort account volume chart 30d data by time 2023-08-04 13:36:47 +10:00
saml33 1c85169e3d fix chart change mouse data bug 2023-08-04 13:29:04 +10:00
saml33 78da92f453 various fixes 2023-08-04 12:06:09 +10:00
saml33 a2f2c0fe03 add order types back 2023-08-03 23:44:23 +10:00
saml33 ce1939b63c save chart direction 2023-08-03 20:37:40 +10:00
saml33 bb9354baa4 add est slippage/received 2023-08-03 10:45:40 +10:00
saml33 aaa5260083 add order info 2023-08-02 23:21:51 +10:00
saml33 9627ef2d87 revert trade form 2023-08-02 20:45:06 +10:00
saml33 934e55ec93 simplify form 2023-08-02 15:32:20 +10:00
saml33 02301bedcc Merge branch 'main' into stop-orders 2023-08-02 09:39:55 +10:00
Adrian Brzeziński 6af14734b1 turn on notifications 2023-08-01 23:38:08 +02:00
Adrian Brzeziński 666cdc35d6 temp disable notifications 2023-08-01 22:45:38 +02:00
Adrian Brzeziński 1fd23ae37a
notifications per mango account - wip (#221)
* mango account notifications wip

* wip

* fix

* fix

* adjustments

* fixes
2023-08-01 22:27:12 +02:00
saml33 f284f45afd set sizes from bal/max/repay buttons 2023-08-01 22:21:19 +10:00
saml33 83662a52eb remove validation for testing 2023-08-01 20:49:01 +10:00
saml33 9013cd8722 fix limit and trigger price decimals 2023-08-01 15:13:12 +10:00
saml33 d0505269b0 add search to spot market select dropdown 2023-08-01 14:49:11 +10:00
saml33 669a01e700 sort tables by value 2023-08-01 12:26:08 +10:00
saml33 c35ccd54ae form validation and copy 2023-08-01 10:57:53 +10:00
saml33 2e0076bd73 fixes 2023-07-31 22:25:46 +10:00
saml33 7e600cfd20 test placing orders and swap orders table 2023-07-31 16:05:26 +10:00
saml33 840991961f merge main 2023-07-31 09:56:42 +10:00
saml33 9f57fb0d97 fix orderbook tooltip side 2023-07-31 09:30:37 +10:00
Adrian Brzeziński 9c851f3dd9
new switchboard template - wip (#218)
* use direct routes

* fix

* fix

* switchboard fixes

* fix
2023-07-29 12:43:30 +02:00
microwavedcola1 77c81c5f07 update client
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2023-07-28 08:40:03 +02:00
saml33 f5b6544093 sort trade history 2023-07-28 15:04:38 +10:00
saml33 a545dd15ec sort balances table 2023-07-28 14:00:51 +10:00
saml33 846d1a7bfc sort spot markets table 2023-07-28 12:44:43 +10:00
saml33 5daf0173fc set spot market 24h change to 0 if no 24h volume 2023-07-28 10:21:26 +10:00
saml33 6f29cc58f9 sort token overview table 2023-07-27 21:24:04 +10:00
saml33 b2f504ac8f add table sorting components and use on tokenlist 2023-07-27 15:24:18 +10:00
saml33 e572dbc17f add refresh wallet balance to deposit form 2023-07-27 11:06:53 +10:00
saml33 9203be64a2 save swap margin to local storage 2023-07-27 10:37:35 +10:00
saml33 4eefede386 show interest rate charts as a bar chart 2023-07-26 16:21:23 +10:00
saml33 ce4c9389c0 merge main and more componenets 2023-07-26 12:48:13 +10:00
saml33 ed1f680409 merge main 2023-07-26 09:27:17 +10:00
saml33 256714b6b4
Merge pull request #219 from blockworks-foundation/orderbook-row-tooltip
add info on orderbook row hover
2023-07-26 09:08:39 +10:00
saml33 5b153c453b
Merge pull request #217 from blockworks-foundation/market-swap-trade-form
add missing elements to market swap trade form
2023-07-26 09:07:23 +10:00
Lou-Kamades 2fad084485
feat: add open orders as a search option for accounts 2023-07-25 10:53:30 -05:00
saml33 02857d0f2d add higher groupings to orderbook 2023-07-25 21:51:04 +10:00
saml33 c0683d9ea3 fix width 2023-07-25 20:51:46 +10:00
saml33 fe97719530 add info on orderbook row hover 2023-07-25 20:43:19 +10:00
saml33 20b9c1ba9e add loader 2023-07-25 13:15:00 +10:00
saml33 d5bf0268b4 add margin to slider 2023-07-25 13:08:43 +10:00
saml33 7587eb2e00 disable button when too much size 2023-07-25 12:56:28 +10:00
saml33 a151aa5190 add missing parts to market swap trade form 2023-07-25 12:35:27 +10:00
saml33 01f03022bf give depth chart its own tab 2023-07-25 08:52:09 +10:00
saml33 f1e0770106
Merge pull request #210 from blockworks-foundation/markets-api-data
use markets api data
2023-07-25 08:19:42 +10:00
Adrian Brzeziński fe1ca08cc8
nft market (#173)
* poc wip

* devnet temp setup

* fix

* list item modal

* fix

* bid asset

* my bids modal

* mybids

* bids

* asset bids accept

* fixes

* nft market

* transaltions

* pagination

* bids without lisings

* list of bids

* fix

* add desktop ui styling

* yarn setup

* bring back mainnet

* mainnet setup

* only for whitelisted users

* fix pr

---------

Co-authored-by: saml33 <slam.uke@gmail.com>
2023-07-24 20:17:07 +02:00
Adrian Brzeziński 7f8e8eaa14
fix oracle tools (#216)
* use direct routes

* fix
2023-07-24 20:16:10 +02:00
saml33 3c492c893e sort markets by volume 2023-07-24 22:14:45 +10:00
saml33 5b38739e1b use price_24h to calc change 2023-07-24 08:40:59 +10:00
saml33 84ecc51d87 merge main 2023-07-24 08:15:46 +10:00
saml33 8de30a0f1d use nft meta for sidebar image 2023-07-23 23:57:50 +10:00
saml33 051eb06a89 only show theme in list if nft in wallet 2023-07-23 21:55:15 +10:00
saml33 8cf2da402c merge main 2023-07-23 21:06:29 +10:00
tjs d885c19703 fix wallet connect for onboard 2023-07-22 21:28:50 -04:00
saml33 b761344a63 add in orders to token list mobile 2023-07-23 08:59:39 +10:00
saml33 02c1479511 fix token list 2023-07-23 08:53:59 +10:00
tjs 271cc03d78 prettier 2023-07-22 16:44:43 -04:00
tjs c595bfe8bd improve wallet connect 2023-07-22 16:43:36 -04:00
Adrian Brzeziński 2ee8b708ee
fix trustless registers + prettier fix (#215) 2023-07-22 14:36:22 +02:00
tjs 1856cd7ef6 fix auto connect when viewing other accounts 2023-07-22 00:00:55 -04:00
tjs 84844bd085 add autoconnect setting 2023-07-21 23:09:20 -04:00
tjs 647fbcfa50 update dashboard; toggle zero balances 2023-07-21 17:34:19 -04:00
tjs abc5984647 use latest next-themes 2023-07-21 14:50:06 -04:00
tjs 3d8588d434 use latest prettier 2023-07-21 14:47:53 -04:00
tjs e63c0f4252 add loading spinner 2023-07-21 09:06:57 -04:00
tjs a27df37f7f remove inner shadow 2023-07-21 09:06:57 -04:00
Adrian Brzeziński a037963335 fix token listing 2023-07-21 14:53:40 +02:00
saml33 1c5060d007 add 0 values when no change 2023-07-21 22:20:12 +10:00
saml33 eb8b06afcc use markets api data 2023-07-21 22:03:44 +10:00
saml33 226d610bbf
Merge pull request #193 from blockworks-foundation/depth-chart
orderbook depth chart
2023-07-21 20:01:41 +10:00
tjs b797f2816f fix i18n; tab value more visible; remove in orders from balance 2023-07-21 02:42:37 -04:00
tjs 8bdbd445dc tweak wallet switching 2023-07-21 00:30:43 -04:00
saml33 5929ebbbbf
Merge pull request #208 from blockworks-foundation/improve-swap-history-chart
improve swap history indicators on swap chart
2023-07-21 12:20:15 +10:00
saml33 f2cfb98fb4 use hook for health contributions 2023-07-21 12:08:34 +10:00
tjs eab9a0a587 new network hook 2023-07-20 21:40:37 -04:00
saml33 588433f19a add callbacks 2023-07-21 10:45:03 +10:00
tjs 4f4ef23ec3 update interval based on connection 2023-07-20 20:20:59 -04:00
saml33 f0bf8f2aa1 fixes and show on mobile 2023-07-21 10:09:34 +10:00
tjs 07b0c80e6a only show detected wallets in dropdown 2023-07-20 19:48:43 -04:00
tjs dfa08ab441 prevent rerenders from extending time to hide notifs 2023-07-20 19:46:23 -04:00
tjs 4bb2c0016e migrate to wallet-adapter only; use autoconnect 2023-07-20 19:08:04 -04:00
tjs 220c5ff37a better imports 2023-07-20 19:08:04 -04:00
tlrsssss 0605872a56
Merge pull request #204 from blockworks-foundation/balance-collateral-value
balance collateral value
2023-07-20 10:49:33 -04:00
tlrsssss cb9124b64c
Merge pull request #209 from blockworks-foundation/filter-swap-token-list
filter swap token list input
2023-07-20 10:48:55 -04:00
tlrsssss 93249bbdca
Merge pull request #203 from blockworks-foundation/ts/trade-pg-jup
Use jupiter on trade page
2023-07-20 10:48:00 -04:00
saml33 6954082b0b remaining fixes 2023-07-20 20:40:27 +10:00
saml33 35b5ba1f71 partially fix layout 2023-07-20 15:30:35 +10:00
saml33 8169aeef95 merge main 2023-07-20 13:52:07 +10:00
saml33 b271793f66 filter swap token list input 2023-07-20 13:19:03 +10:00
saml33 c5a0efa781 improve swap history indicators on swap chart 2023-07-20 11:26:13 +10:00
tlrsssss fa83167f58
Merge pull request #207 from blockworks-foundation/perp-volume-stats
add total perp volume to mango stats
2023-07-19 13:09:44 -04:00
saml33 960e90393b merge main 2023-07-19 13:53:28 +10:00
saml33 02cf848587 add link to risks doc 2023-07-19 13:04:22 +10:00
saml33 1c09280baf use quote for perp stats details open interest 2023-07-19 12:28:41 +10:00
saml33 27f03bfd66 add total perp volume to mango stats 2023-07-19 10:48:49 +10:00
tjs 848286d947 add trade page swap summary details 2023-07-18 14:55:13 -04:00
tjs e5945b60e2 Merge branch 'main' into ts/trade-pg-jup 2023-07-18 13:23:07 -04:00
tjs 31e1e3f597 useMemo in market close modal 2023-07-18 13:01:14 -04:00
tlrsssss dc9369e418
Merge pull request #205 from blockworks-foundation/repay-swap
add repay amount to swap output token
2023-07-18 12:59:48 -04:00
saml33 e8cdbd0437 checkout orderbook liquidity before market close 2023-07-18 22:13:08 +10:00
saml33 8cf597c63f merge main 2023-07-18 21:03:45 +10:00
saml33 432a9fc08d fix usdc 2023-07-18 20:53:43 +10:00
saml33 c38dcb5428 merge main 2023-07-18 20:32:00 +10:00
saml33 d1cbec6196 add repay amount to swap output token 2023-07-18 15:22:13 +10:00
saml33 48f8f93f4b fix swap form balance click 2023-07-18 14:40:24 +10:00
saml33 5505647524 use scaled weight and fix rounding 2023-07-18 13:09:57 +10:00
saml33 d22c659541 add collateral value to balance tables 2023-07-18 12:58:20 +10:00
saml33 d8be43ee7a merge main 2023-07-18 11:24:13 +10:00
saml33 a1fbe18bf1 remove orderbook subscription hook and other fixes 2023-07-18 11:18:01 +10:00
microwavedcola1 eecfd8c5e2 make consistent with other sim health ration function usages
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2023-07-17 15:25:46 +02:00
saml33 dc9e7a8e6b merge main 2023-07-17 20:08:52 +10:00
saml33 1efc4cab83 hide perp markets from charts 2023-07-17 20:05:23 +10:00
tjs 83f9f121fc increase intervals for buildid and loading fills 2023-07-17 01:18:33 -04:00
tjs e478d6405a use jupiter on trade page 2023-07-16 23:41:13 -04:00
saml33 2f92c0f3a5 hide feedback survey 2023-07-17 11:55:14 +10:00
saml33 3f6b1908a4
Merge pull request #157 from blockworks-foundation/feedback-survey
add link to feedback survey
2023-07-17 09:31:57 +10:00
saml33 3a97619935 move survey link to more menu 2023-07-17 08:49:16 +10:00
saml33 42e89eeb79 Merge branch 'main' into feedback-survey 2023-07-17 08:33:49 +10:00
saml33 ebde7f4402 merge main 2023-07-17 08:32:43 +10:00
saml33 2c3f6208fe
Merge pull request #202 from blockworks-foundation/fix-24h-change
fix 24h spot change
2023-07-17 08:28:58 +10:00
tjs d2a6b1e616 new accts support more token accts by default 2023-07-16 17:58:49 -04:00