Commit Graph

47 Commits

Author SHA1 Message Date
Tyler Shipe fa082d09bd change reload mango acct interval time 2021-09-08 13:52:52 -04:00
Tyler Shipe 33070aef91 reduce getProgramAccount calls 2021-09-07 19:31:02 -04:00
Tyler Shipe 58737a9783 fewer getProgramAccount calls 2021-09-07 15:56:25 -04:00
Tyler Shipe e5b67857af retry transaction more frequently; use tx callback for notifications 2021-09-04 17:59:53 -04:00
Tyler Shipe e306915a45 Increase frequency of background mangoAccount updates 2021-09-04 12:40:43 -04:00
Tyler Shipe 1798cfa3e0 increase interval 2021-09-03 10:18:49 -04:00
Tyler Shipe 5b8f4dd155 change interval time and add position market name 2021-09-03 02:39:37 -04:00
Tyler Shipe 4f20fc6542 use client reloadMangoAccount 2021-08-31 13:47:03 -04:00
Tyler Shipe 38ab3f9914 refresh mango acct more frequently; add error notification on failure 2021-08-25 11:50:39 -04:00
Tyler Shipe f92eb09ddb add account loading message 2021-08-24 15:45:59 -04:00
Tyler Shipe 1c0962031b add notification when sol balance is low and when connecting wallet; disable connect button until walletadapter is loaded 2021-08-24 12:28:25 -04:00
Tyler Shipe 99355dac38 use latest client to fix settle pnl 2021-08-23 11:21:26 -04:00
Maximilian Schneider aa999f1a0f correctly trigger connected state 2021-08-20 11:53:44 +02:00
Tyler Shipe 5ff5fb2914 use latest client 2021-08-16 20:05:57 -04:00
Tyler Shipe 17d73fc3cf more frequent mango acct updates 2021-08-16 18:10:06 -04:00
Tyler Shipe c5866ee610 make health ratio red if init health is at or below zero 2021-08-04 17:47:05 -04:00
Tyler Shipe 77716dc7ee fix account name 2021-08-04 14:51:17 -04:00
Tyler Shipe 65eea96aa8 add fetchTradeHistory fn 2021-08-03 13:59:16 -04:00
Tyler Shipe be031cc0fe consistency with user info tabs 2021-07-24 16:15:27 -04:00
Tyler Shipe f79bc1639f remove alerts from v3 2021-07-23 13:14:18 -04:00
Tyler Shipe a0ba6f44e8 update notifications, wire up account change modal 2021-07-06 18:04:20 -04:00
Tyler Shipe 1b02a53314 update naming to match client 2021-06-23 11:32:33 -04:00
Tyler Shipe 054cc5c82e remove console logs and fetch all markets 2021-06-18 18:38:09 -04:00
Tyler Shipe a16608c95d implement deposit 2021-06-17 18:39:16 -04:00
Maximilian Schneider 275fafa4c4 refactor deposit modal 2021-06-17 14:03:47 -04:00
Tyler Shipe cb331fb2c7 comment out stuff in the ui so it works 2021-06-16 21:50:16 -04:00
saml33 8e4bd926a7
improve alert modal buttons and fix alerts not loading on connect wallet (#8) 2021-05-10 23:32:21 +03:00
saml33 806b527502
Bring alert details and notifications into the UI (#5)
* hook to get alerts, add triggered alerts to alerts list
* alerts page, count unseen alerts, clear alerts from nav view
* consolidate components, add custom value to alert modal dropdown, sort margin accounts alphanumerically
* ring bell when count increments and ping animation on count
* create/fetch alerts from store, filter by account, populate modal state from triggered alert
* fix alert sorting
* enable MA selection also for re-activate
2021-05-07 22:41:26 +03:00
Tyler Shipe 4f7e1b4990 format srm balances correctly when multiple mango srm accounts exist 2021-05-04 20:00:37 -04:00
Tyler Shipe 02b2fed058 better handle latency from wallet providers 2021-05-04 19:19:48 -04:00
Tyler Shipe 9755aef1be load orderbook for market 2021-05-01 16:30:05 -04:00
Tyler Shipe 6fbd949b9f Use the vip-api endpoint 2021-04-29 13:42:53 -04:00
Tyler Shipe 3a5040f515 reduce call to rpc endpoint 2021-04-29 11:08:36 -04:00
Tyler Shipe d9eee98f5e increase refresh intervals 2021-04-21 11:21:00 -04:00
Tyler Shipe 404794575b fetch trade history after margin account is loaded 2021-04-20 17:52:13 -04:00
Tyler Shipe 74d9f70dbf implement withdraw max with borrow 2021-04-20 10:09:25 -04:00
Tyler Shipe a674ff74d3 texting fixes 2021-04-14 18:46:36 -04:00
Tyler Shipe 96ee9ce664 fix margin balance borrows typo 2021-04-14 14:40:28 -04:00
Tyler Shipe da3072b867 support multiple wallets 2021-04-14 01:23:50 -04:00
Tyler Shipe 062ac4105a all the fixes 2021-04-13 19:41:04 -04:00
Tyler Shipe 6605cbdd48 convert trade form inputs to tailwind and continue theming 2021-04-12 16:01:55 -04:00
Tyler Shipe 799b9d843c add notifications 2021-04-12 00:17:23 -04:00
Tyler Shipe 930273d1e7 fixes for husky commit hooks 2021-04-10 11:56:14 -04:00
Tyler Shipe 71db71b347 deposit modal 2021-04-09 21:26:34 -04:00
Tyler Shipe 82b091434e wip: wiring up global state to components 2021-04-05 10:40:58 -04:00
Tyler Shipe f03f1919a4 add trade form component 2021-04-02 14:26:21 -04:00
Tyler Shipe 37cf5bae14 create next app with trading view form and orderbook 2021-03-30 18:47:08 -04:00