Commit Graph

172 Commits

Author SHA1 Message Date
Vidor Gencel b59abf5f80
Profile Picture Support (#134)
* render profile picture

* update profile picture package

* Include PFP only if set

* no need to wait pfp to load

Co-authored-by: Maximilian Schneider <mail@maximilianschneider.net>
2022-01-18 10:26:13 -08:00
Tyler Shipe 679064d8a2 only update mango account at most once per sec and check last slot 2022-01-17 14:23:06 -06:00
Tyler Shipe 65d8cf78c2 remove duplicate fetch in manual refresh 2022-01-16 19:10:54 -06:00
Tyler Shipe 5afff3bd7e Merge branch 'v3.3' into main 2022-01-16 17:27:33 -06:00
Tyler Shipe cb266e3aa1 add pubkey url param to trade page 2022-01-16 17:16:47 -06:00
Tyler Shipe 5d550e58b3 remove cluster env var and link explorer txs to correct cluster 2022-01-15 20:00:34 -06:00
Tyler Shipe f41ffcc98d use latest client 2022-01-15 18:17:39 -06:00
Tyler Shipe b876aae1a7 retry loading mango group and account if errors 2022-01-15 12:48:38 -06:00
Tyler Shipe 981482414e Remove disabled trade button after submitting 2022-01-08 12:27:06 -05:00
Tyler Shipe cdd89c9de2 retry loading mango group and mango account if an error occurs 2022-01-06 16:42:58 -05:00
saml33 320cd06d76
Account health email alerts (#111)
* create alerts modal

* add translation variables

* translation variables

* handle error states

* add chinese

* limit number of active alerts

Co-authored-by: rjpeterson <r.james.peterson@gmail.com>
Co-authored-by: Maximilian Schneider <mail@maximilianschneider.net>
2022-01-02 20:42:59 -08:00
Tyler Shipe 698ea79d66 fix postSendTxCallback types 2021-12-29 14:10:24 -05:00
Tyler Shipe 41fa096294 use latest mango client to add confirming transaction notification 2021-12-29 13:39:17 -05:00
Tyler Shipe e8cfdabbde set mangoCache and mangoGroup at the same time 2021-12-28 11:13:18 -05:00
Tyler Shipe 0f13c748e4 add jupiter ag swap 2021-12-17 16:02:02 -05:00
Tyler Shipe ac818e5a5d add flag to show and hide notifications 2021-12-09 16:21:53 -05:00
Tyler Shipe 5a7a95842b always show liq price in account info 2021-12-06 15:14:29 -05:00
Tyler Shipe 855a6e6d58 add ws watching for mangoAccount 2021-12-05 20:13:23 -05:00
tjshipe 8f380933bb
Revert "Mango Heroes NFT Integration" 2021-12-03 11:03:51 -05:00
Yandre 43776f6f03 Pulled latest code from main 2021-12-02 17:14:14 -05:00
Tyler Shipe 84233b2a56 improve rerender when cancelling orders for a market other than the one selected 2021-11-30 18:35:49 -05:00
Tyler Shipe 2d824c2213 add lastUpdatedAt to improve useMangoAccount rerendering trigger 2021-11-30 16:04:55 -05:00
Tyler Shipe 4eb7cd3934 forceReload components when mango account is updated in store 2021-11-30 12:32:14 -05:00
Yandre a0cae7d5da Allowed all NFTs to be used as profile picture 2021-11-26 14:17:24 -05:00
Tyler Shipe 92b3ac2ce7 more improvement to load time when switching pages/markets 2021-11-14 18:37:02 +00:00
Tyler Shipe 1a159c5179 only fetch spot trade history if open order accounts exist 2021-11-14 13:49:53 +00:00
Yandre 4956e28e9a Refactored the code 2021-11-11 11:51:54 -05:00
Yandre f5e0c63af1 Fixed merge conflicts 2021-11-11 09:45:10 -05:00
Yandre 9f66df9bf1 Completed code for Mango Heroes integration 2021-11-10 21:54:23 -05:00
Tyler Shipe cb462eb47a fix: error when hourly interest is undefined 2021-11-01 11:14:43 -04:00
Tyler Shipe 9aa9d152c9 fixes for ada perp mkt 2021-10-29 14:57:50 -04:00
Yandre 9ddbb5b9b7 Added code to get list of NFTs from wallet in NFTDisplay 2021-10-20 19:21:46 -04:00
Tyler Shipe bdc65a18f0 set default cluster to mainnet 2021-10-19 15:29:53 -04:00
Tyler Shipe 50a08599da add token config for MSRM 2021-10-19 12:48:00 -04:00
Tyler Shipe e049456edd MSRM deposit and withdraw 2021-10-18 16:38:03 -04:00
Yandre b15b7dded9 Added code to select multiple Mango Heroes as your profile picture (using images for now) 2021-10-16 19:42:50 -04:00
Yandre 8aa176a32b Added modal for changing avatar 2021-10-16 10:26:22 -04:00
Yandre b3bec02141 Added documentation 2021-10-14 14:55:01 -04:00
Yandre 209b2c47df Added code to retrieve Metaplex metadata for NFTs 2021-10-14 14:53:14 -04:00
Maximilian Schneider 93abdab9f6 Merge remote-tracking branch 'origin/main' into max/stoploss 2021-10-05 23:02:01 +02:00
Tyler Shipe 2b9f26af4c only use local storage for node url if on mainnet 2021-10-05 14:24:24 -04:00
Maximilian Schneider 82dcd960c0 revert to buy/sell in trade button 2021-10-03 03:21:26 +02:00
saml33 dbbb415060
Default market settings (#45)
* add default market settings to settings modal

* redirect to default market
2021-10-01 12:05:42 +02:00
Tyler Shipe 7feb881bb3 rename fetchMangoAccounts to fetchAllMangoAccounts; prefer reloadMangoAccount over fetchAllMangoAccounts 2021-09-29 18:09:58 -04:00
Maximilian Schneider 9d82894c2d prevent flashing on order reloading 2021-09-29 21:09:51 +02:00
Tyler Shipe 7ba6cf2412 use the latest client 2021-09-29 12:24:09 -04:00
Maximilian Schneider 31b9737f59 allow selecting SL & TP directly 2021-09-24 20:38:05 +02:00
Maximilian Schneider 724bb77ef4 fetch open orders on wallet connect 2021-09-23 22:52:16 +02:00
Maximilian Schneider d310e0b66f [wip] visualize & cancel trigger order and fuck up order reloading 😭 2021-09-23 13:50:34 +02:00
Tyler Shipe 419f7d607c Merge branch 'ts/spot-order-2' into max/stoploss 2021-09-22 23:20:56 -04:00