Commit Graph

96 Commits

Author SHA1 Message Date
saml33 920a901a66 fix trade form logos 2023-07-10 11:33:09 +10:00
tjs cea9a8908e refactor data fetching out of account page into hooks 2023-07-08 19:50:40 -04:00
saml33 1de717f74c update perp logos 2023-07-03 11:52:51 +10:00
saml33 2c4a1cf772 fix ROE and update client 2023-06-28 20:50:27 +10:00
saml33 febb6a7ad3 calc liq price outside of the positions table 2023-06-28 12:10:47 +10:00
Riordan Panayides fee6d002d4 Prevent empty birdeye response breaking all price changes 2023-06-23 13:02:06 +01:00
saml33 a33fdcea62 add buffer when withdrawing with open positions 2023-06-22 12:58:47 +10:00
saml33 337f11ad3d fix dust borrows display 2023-05-22 20:19:23 +10:00
saml33 e6e86bcf96 add/update copy 2023-05-01 20:55:22 +10:00
saml33 5167ac1768 add oracle provider to token/perp stats settings tables 2023-05-01 15:24:21 +10:00
saml33 cf0a5e7e59 add oracle provider to market details modals 2023-05-01 14:42:29 +10:00
saml33 53369f741f merge main 2023-04-29 13:21:54 +10:00
Adrian Brzeziński 06bda068f7 left over commit from notifications pr 2023-04-29 00:01:06 +02:00
Adrian Brzeziński 1f2e90bdf8
notifications settings + websockets (#139)
* notification settings

* fix

* websockets

* fix url

* websockets

* fix

* fix

* fix api url

* fix hook

* reconnect sockets

* fix url

* fix double connection move back hooks to btn

* fix

* fix dependncy array
2023-04-28 23:36:24 +02:00
saml33 2c2544dbb0 fix bonk/sol ui issues 2023-04-25 22:41:23 +10:00
saml33 5b8d3eb90b merge main 2023-04-24 21:35:55 +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 a8b1acc502 export account history to csv 2023-04-20 20:55:52 +10:00
saml33 57bcfb42b8 fix trade history type 2023-04-18 09:45:27 +10:00
saml33 51aed56b88 merge main and update tooltip 2023-04-17 12:13:50 +10:00
saml33 e141233d79 show trade executions on tv charts 2023-04-13 21:25:58 +10:00
tlrsssss 938b3d70c3
Merge pull request #90 from blockworks-foundation/share-positions
add share positions to twitter
2023-04-10 20:58:38 -04:00
tlrsssss 3d2b485cf7
Merge pull request #114 from blockworks-foundation/use-birdeye-prices
Use birdeye prices
2023-04-07 16:41:32 -04:00
saml33 a67dccd3bd implement pr feedback 2023-04-06 10:22:20 +10:00
saml33 b0a4162d95 merge main 2023-04-06 09:19:58 +10: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
saml33 fdf10af082 use birdeye for token stats price chart 2023-04-04 11:37:03 +10:00
saml33 a5f310c07c use birdeye for spot market change 2023-04-04 09:20:59 +10:00
saml33 3aa5b46e8d use birdeye for spot markets table 2023-04-03 21:01:17 +10:00
saml33 d2e50e51ec fix roi and merge main 2023-03-29 21:38:26 +11:00
tjs 505e8150a3 use react query for trade history 2023-03-25 17:16:42 -04:00
tjs 3f0044ebd7 prompt for refresh on new build 2023-03-05 15:33:57 -05:00
tjs fd061dcdbf move delegate checks into useUnownedAccount hook 2023-03-04 14:17:34 -05:00
tjs 917080ac09 add warning for delegate accounts 2023-03-04 13:42:46 -05:00
saml33 49c0d5517c merge main 2023-03-03 22:29:34 +11:00
tjs 8d28ab1cb6 restore last viewed acct functionality 2023-03-02 20:19:08 -05:00
saml33 6220907b0c remove unused icon 2023-03-01 09:45:39 +11:00
saml33 5770720b5f add share positions to twitter 2023-03-01 09:45:39 +11:00
tjs 3bed60af56 turn on lint errors for typescript any 2023-02-28 02:20:11 -05:00
tjs 1a763c8c9d fix stable price line updates 2023-02-26 20:04:02 -05:00
tjs abb408678e replace any type with more defined types 2023-02-25 19:22:39 -05:00
tjs ebb0d546b7 useCallback to reduce trading view rerenders and memory leaks 2023-02-25 14:59:35 -05:00
tjs d8f6153eab more improvements to open orders displayed in orderbook 2023-02-21 23:29:25 -05:00
tjs 02775cab56 fix unsettled perp positions rerender 2023-02-16 14:17:03 -05:00
tjs 142aac7d9c revert commit 2023-02-15 17:23:58 -05:00
Adrian Brzeziński d9fc7f11ac
Feature/kline perp stats (#88)
* kline perp wip

* fix

* make data more common with trading view

* datafeeds

* fixes

* fixes

* fix

* fix error

* better logging
2023-02-15 23:17:58 +01:00
tjs 2c8da6f1a7 improve trade history typing and trading view order lines colors 2023-02-15 16:49:56 -05:00
saml33 c9735cf548 use selectedmarket to update stable price 2023-02-15 16:09:11 +11:00
saml33 066fd9b364 merge main 2023-02-15 10:41:47 +11:00
saml33 6a05e60376 hide action buttons for unowned accounts 2023-02-13 13:46:41 +11:00