Commit Graph

430 Commits

Author SHA1 Message Date
tjs ce13f685a3 Merge branch 'main' into trade-hot-keys 2023-06-26 12:58:10 -04:00
tjs 789a38acb3 update rpc urls 2023-06-26 12:29:11 -04:00
Adrian Brzeziński b223bd0b04
propose token stats change depending on liqudity (#178)
* formmated values of bank on dashboard

* suggested values parse

* fix

* suggested values ui

* create proposal wip

* create proposal

* listing tools

* fix

* propose state change
2023-06-26 14:48:37 +02:00
saml33 a8fd16eb29 errors and translations 2023-06-24 22:44:15 +10:00
saml33 bdbc0725c4 fix meta title/description 2023-06-23 10:13:06 +10:00
saml33 82a10acb47 update meta title and description 2023-06-23 10:05:28 +10:00
microwavedcola1 dd7716d99a upgrade to latest mango-v4 client
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2023-06-21 15:30:45 +02:00
saml33 bba4c7208b add market name conventions to list form 2023-06-16 12:28:19 +10:00
saml33 68a3aad79a update share image 2023-06-16 10:58:19 +10:00
saml33 fc9b64bf66 add layout and some placeholders 2023-06-09 15:43:54 +10:00
saml33 444d03c10a
Merge pull request #167 from blockworks-foundation/use-next-font
use next font optimization
2023-06-08 15:06:10 +10:00
saml33 6540396c74 fix modals 2023-06-08 12:30:56 +10:00
saml33 b392ee6ac1 use next font optimization 2023-06-08 11:06:26 +10:00
tjs 93e3fca34a use latest mango client for risk dashboard 2023-06-07 20:49:10 -04:00
tlrsssss ae5b3f1c87
Merge pull request #156 from blockworks-foundation/feature/list-market
WIP: List market
2023-05-29 20:01:28 -04:00
saml33 a249080b7b update page url 2023-05-29 19:41:39 +10:00
saml33 1fb642c996 update nav and url 2023-05-29 16:02:16 +10:00
saml33 de8a2dae8b add ui 2023-05-29 15:43:01 +10:00
Adrian Brzeziński acdbbe29b0 merge list token page 2023-05-25 15:59:45 +02:00
tjs ff471e6283 fix nan on risk dashboard 2023-05-22 10:50:44 -04:00
tjs 83f60f6277 fewer risk dashboard requests 2023-05-22 10:29:20 -04:00
Adrian Brzeziński 58ee6f49e0 list market page wip 2023-05-22 14:41:27 +02:00
microwavedcola1 a82cec2def use higlight
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2023-05-16 11:47:02 +02:00
microwavedcola1 a22d02362e upgrade mango client
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2023-05-16 11:27:16 +02:00
microwavedcola1 c7afed738a add units
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2023-05-16 11:21:08 +02:00
microwavedcola1 798541a488 upgrade mango client
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2023-05-16 11:10:08 +02:00
microwavedcola1 bd355d268d add unit
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2023-05-16 10:22:17 +02:00
tjs d88ebb909b use latest client for risk stats 2023-05-14 13:15:22 -04:00
tjs 6df6c485aa increase breakpoint and fix table header alignment 2023-05-11 21:18:26 -04:00
tjs c56a303e10 add search to dashboard 2023-05-11 21:10:27 -04:00
tjs 98da6bc198 add hardcoded values for risks tables 2023-05-11 17:33:07 -04:00
tjs c2425a1637 add nav to mango account 2023-05-11 17:32:27 -04:00
tjs 4f11d52fa2 add dashboard nav 2023-05-11 17:32:09 -04:00
saml33 40f84f6e8d link to token/market stats page from details tables 2023-05-03 11:00:32 +10:00
saml33 4d261b61a7 add token settings table 2023-04-27 22:11:20 +10:00
saml33 f84a0c87c5 fix trade page title price 2023-04-26 12:29:37 +10:00
saml33 2c2544dbb0 fix bonk/sol ui issues 2023-04-25 22:41:23 +10:00
Adrian Brzeziński d390447659
ui notifications (#127)
* notifications modal

* fix

* refetch, notify, mark as seen

* fix

* fix

* set secure cookie

* add ui

* more ui details and translations

* fix errors handling

* add remove all function to button

* pr fixes

* rename notifications toast

* add catch

* rename notifications prop in mango store

---------

Co-authored-by: saml33 <slam.uke@gmail.com>
2023-04-21 16:23:27 +02:00
saml33 1750b865ca remove inline default-transition class 2023-04-20 11:12:45 +10:00
saml33 90ae89154d use url param for token page 2023-04-17 14:25:21 +10:00
microwavedcola1 b9ae7aa558 Fix net borrows in window in dashboard
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2023-04-16 09:05:08 +02:00
Adrian Brzeziński 453b62fdd7
governance active proposal voting (#117)
* governance wip

* governance store + helpers wip

* get voter weight

* on boarding realms component

* token list wip

* pyth oracle get

* adv fields

* hidden adv fields

* create proposal fcn + mangolana

* register market wip

* list market fixes wip

* translations

* register to register trustless + layout changes

* fix layout

* match switchboard oracle

* loaders

* validation

* style components

* change icon

* copy update

* translations keys

* fix translation

* fix warning create open book market

* fix

* fix transaltion

* fix

* fix

* fix pr

* fix onboarding translation

* fix token owner record error in console

* remove axios

* generic vsr idl

* fix pr

* remove mangolana

* small folder ref

* voting wip

* code fix

* menu

* fix

* additional prop in onboarding component

* fix translation

* fix transaltion

* voting fixes

* add basic styling

* fix merge

* fix files

* fix

* fix loaders

* fix

* fix loading voteRecord

* fix voter state without wallet

* fix

* translations

* fix translation

* dynamic imports

* copy updates, show vote weight and current vote

* fix

---------

Co-authored-by: saml33 <slam.uke@gmail.com>
2023-04-14 21:05:27 +02:00
saml33 86670e1b2f update share meta 2023-04-06 20:43:22 +10:00
Adrian Brzeziński 3976425d04
change listtoken url (#116) 2023-04-06 00:48:06 +02:00
Adrian Brzeziński 3bf2a7d470
list tokens from ui (#107)
* governance wip

* governance store + helpers wip

* get voter weight

* on boarding realms component

* token list wip

* pyth oracle get

* adv fields

* hidden adv fields

* create proposal fcn + mangolana

* register market wip

* list market fixes wip

* translations

* register to register trustless + layout changes

* fix layout

* match switchboard oracle

* loaders

* validation

* style components

* change icon

* copy update

* translations keys

* fix translation

* fix warning create open book market

* fix

* fix transaltion

* fix

* fix

* fix pr

* fix onboarding translation

* fix token owner record error in console

* remove axios

* generic vsr idl

* fix pr

* remove mangolana

* small folder ref

* additional prop in onboarding component

* fix translation

* fix navbar

* change order of governance in navbar

* fix proposal index

* fix pr

* remove link without href for mint

---------

Co-authored-by: saml33 <slam.uke@gmail.com>
2023-04-05 23:59:30 +02:00
microwavedcola1 dde5335146 remove dup
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2023-04-05 08:22:33 +02:00
tlrsssss 5135dba0e3
Merge pull request #97 from blockworks-foundation/pnl-leaderboard
PnL Leaderboard
2023-03-28 14:00:20 -04:00
microwavedcola1 0886cbd85f Fix dashboard change
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2023-03-28 18:14:11 +02:00
microwavedcola1 d34a72e7b7 $ value for fees
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2023-03-28 18:08:25 +02:00
saml33 f92edf39fe merge main 2023-03-26 20:32:39 +11:00
tjs 505e8150a3 use react query for trade history 2023-03-25 17:16:42 -04:00
microwavedcola1 f79fdeef49 dashboard: oi fix decimals
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2023-03-22 13:48:14 +01:00
microwavedcola1 e4a613d54d dashboard: time in secs
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2023-03-22 13:25:25 +01:00
microwavedcola1 81786eefbb dashboard: oi in $
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2023-03-22 13:23:42 +01:00
microwavedcola1 4ac85b6502 small dashboard improvements for perps
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2023-03-22 13:22:11 +01:00
microwavedcola1 616b0c40b1 Fix maint leverage on dashboard
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2023-03-21 18:39:18 +01:00
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