Commit Graph

26 Commits

Author SHA1 Message Date
Riordan Panayides 20f54be2ad Merge branch 'main' into pan/prod-to-main 2022-07-17 16:41:08 +01:00
Riordan Panayides 30da6d351c Fix risk calculator 2022-07-13 01:19:52 +01:00
saml33 8d7d16355f
add delegated account icon label (#342) 2022-07-04 18:58:53 +02:00
saml33 b52375921e align icons to side nav 2022-06-30 20:54:01 +10:00
saml33 e394f7523c merge main 2022-06-19 21:07:06 +10:00
saml33 ef107546fc bg and border colors 2022-06-18 16:44:26 +10:00
saml33 7e3a0167a8 fix pages 2022-06-17 11:00:43 +10:00
ImpossiblePairs 21eb477e9a
Fix Risk Calculator PERP loading unreliably (#289)
* Fix Risk Calculator PERP loading unreliably

- Removed reliance on multiple variables for loading perp positions, notably making the MNGO-PERP fail to load correctly.
- Removed base position from Unsettled Funding calculation as it's displayed in quote token, not the perp token
- Fixed perps In Orders calculation so it was consistent in both places it's present

* Ran lint and prettier
2022-05-28 18:35:23 +03:00
saml33 2aeff1032e support nfts as profile pics 2022-05-11 13:29:35 +10:00
tjs 71fb7fc779 fix calculator types 2022-04-06 00:50:41 -04:00
Kieran Gillen 764ea28cb4 Adds more null checking 2022-03-30 19:10:15 +02:00
Kieran Gillen a6aaf551dd Merge branch 'main' of github.com:blockworks-foundation/mango-ui-v3 into kieran/strict-nullcheck 2022-03-29 12:02:37 +02:00
Kieran Gillen 140c26542a Updates TS version 2022-03-28 16:17:54 +02:00
Kieran Gillen 8734f7e181 WIP: Null checking 2022-03-25 17:00:48 +01:00
Kieran Gillen 1a40a98af0 Removes calls to Wallet and Connected through MangoStore hook 2022-03-23 11:42:04 +01:00
tjs 597c930b98 use blockhash that expires with timeout 2022-03-13 19:26:30 -04:00
tjs db8a0324aa add tailwind prettier plugin; run yarn format 2022-03-09 15:53:11 -05:00
saml33 2ae323ee1c semantic headings and styles 2022-02-21 14:55:13 +11:00
rjpeterson 57b6cb6b13 translation fixes, remove untranslated text 2022-02-13 12:01:59 -06:00
rjpeterson 448a73b387 translate risk calculator into chinese 2022-02-13 11:55:36 -06:00
rjpeterson ebddebaf81 add zh-tw calculator phrases 2022-02-13 11:55:36 -06:00
rjpeterson 7cab37ea70 add calculator locale boilerplate, add missing common translations 2022-02-13 11:55:36 -06:00
rjpeterson 9a741205e2 rebase to upstream/main 2022-02-13 11:55:36 -06:00
rjpeterson cf55bebcf0 add TOTRANSLATE markers 2022-01-18 11:22:21 -06:00
Tyler Shipe fe4130ca4b v3.3 supports closing mango accounts 2022-01-16 18:35:47 -06:00
ImpossiblePairs 0a587edc26
Risk calculator v3 (#79)
* Push risk calculator to branch

* Fixed Enclosing on updatePriceValues

Fixed incorrect enclosing of updatePriceValues

* Clean up and commenting

* Update USDT slider response and asset/liability tabulation

* Update value assignment encapsulation error

* Risk Calculator feedback and bug fixes

* Slider Range updated to 0 - 350%

* Add icons, feedback, open orders toggle

* Remove unnecessary console log

* Update precision and short scenario summary

* Push risk calculator to branch

* Fixed Enclosing on updatePriceValues

Fixed incorrect enclosing of updatePriceValues

* Clean up and commenting

* Update USDT slider response and asset/liability tabulation

* Update value assignment encapsulation error

* Risk Calculator feedback and bug fixes

* Slider Range updated to 0 - 350%

* Add icons, feedback, open orders toggle

* Remove unnecessary console log

* Update precision and short scenario summary

* Add mangoCache check

* use getStaticProps in calculator

* allow loading unowned accounts w/ risk-calculator

* add risk calculator new bubble

* Percent move liquidation no longer relative to slider

Co-authored-by: Tyler Shipe <tjshipe@gmail.com>
Co-authored-by: Maximilian Schneider <mail@maximilianschneider.net>
2022-01-03 16:20:45 -08:00