Commit Graph

92 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 a1dd88528f Replace LUNA checks with MarketMode 2022-07-12 14:02:48 +01:00
saml33 aa626af649
replace leverage with health and fix max amount bug (#332)
* replace leverage with health and fix max amount bug

* change account projection position

* use >100 when health is > 100
2022-07-05 13:23:16 +02:00
saml33 b52375921e align icons to side nav 2022-06-30 20:54:01 +10:00
saml33 2942b7ad7d allow withdraw from accounts other than selected account 2022-06-22 15:42:20 +10:00
Adrian Brzeziński 3bee514052
upgrade mango client (#271)
* upgrade mango client

* fix prettier
2022-05-16 17:51:17 +02:00
tjs bd3a8fcf47 Merge branch 'main' into production 2022-05-13 18:20:09 -04:00
tjs 9a83a22239 Disable luna borrow on withdraw 2022-05-12 10:31:50 -04:00
tjs a3fc5b2a57 remove disable on next btn to allow user to see simulated withdraw 2022-05-02 16:27:00 -04:00
tjs b79f156ece pass in wallet to store actions when needed 2022-04-04 16:28:32 -04:00
Kieran Gillen 764ea28cb4 Adds more null checking 2022-03-30 19:10:15 +02:00
Kieran Gillen 39e4a6def5 Adds more null checks 2022-03-30 13:08:05 +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 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 db8a0324aa add tailwind prettier plugin; run yarn format 2022-03-09 15:53:11 -05:00
saml33 cbf7047bb7 align expandable panels 2022-02-24 12:37:31 +11:00
saml33 0872a970df change select.option spacing 2022-02-23 12:33:48 +11:00
saml33 b5efc88d30 use label component on form elements 2022-02-23 10:30:54 +11:00
saml33 2ae323ee1c semantic headings and styles 2022-02-21 14:55:13 +11:00
saml33 0be93958c7 align input styles 2022-02-20 22:38:40 +11:00
Tyler Shipe 4a0c77a3d9 increase information density 2022-01-31 10:52:28 -05:00
Tyler Shipe 3f33264e57 use latest mango client 2022-01-29 13:56:58 -05:00
saml33 5d3e7d4032 swap buttongroup for max button 2021-11-09 12:49:45 +11:00
saml33 ce2e32ee1a
add buttongroup and interest info to deposit/withdraw (#59) 2021-10-26 15:25:36 +01:00
rjpeterson 25bb4413bf add missing translations to withdrawModal 2021-10-21 21:57:16 -10:00
rjpeterson bf679598bb
Add next-i18next translation framework & Traditional and Simplified Chinese UI Translations (#54)
* start english localization

* fix typo

* add to english localization

* add some zh translations, fix discrepencies in en

* add more chinese translations

* finish trad chinese translations

* add simplified folder, add locales.json with meta info, add latest ui updates in english

* add latest ui changes for chinese-trad and sort

* fix typo

* convert trad to simp

* Update common.json

* add review changes by @HZ2078

* fix typos

* add latest ui changes

* new ui change & trad-simp convert

* delete monospace from locales.json

* add next-i18next translation framework. Add translations up to #103

* replace more html with traslate tags

* lint & add more phrases

* add missing translations

* add language select dropdown

* add new update transltations

* add latest gui update translations

* add useTranslation to lang switch

* sort common.json, add lang descriptions

* update netlify config to support i18n

* make translations more consistent

Co-authored-by: Hz2078 <92381714+HZ2078@users.noreply.github.com>
Co-authored-by: Tyler Shipe <tjshipe@gmail.com>
2021-10-20 13:42:40 +01:00
Tyler Shipe 4f20fc6542 use client reloadMangoAccount 2021-08-31 13:47:03 -04:00
Tyler Shipe c6e09c1ba1 fix alpha modal issue 2021-08-30 16:40:32 -04:00
Tyler Shipe 7dd454c23c handle rounding issues when withdrawing max with borrows 2021-08-29 20:25:36 -04:00
Tyler Shipe 7aa7feadb0 Use latest client to fix rounding issues 2021-08-29 15:15:37 -04:00
dd 471b07396d now applying .floor() to getAvailBalance 2021-08-28 16:33:41 -04:00
Tyler Shipe 66bf66fc7c remove unused utils fns 2021-08-25 10:23:30 -04:00
Tyler Shipe f08e323e6c remove console logs 2021-08-24 16:01:43 -04:00
Tyler Shipe 325b6c2424 fix the max withdraw modal to use client fn 2021-08-24 10:15:12 -04:00
Tyler Shipe 1e45e2cc03 use maxWithBorrows amount if maxWithoutBorrows is greater 2021-08-23 14:36:02 -04:00
Tyler Shipe 5e51ac46c3 add leverage to acct modal; fix rounding in withdraw modal 2021-08-23 14:18:34 -04:00
Tyler Shipe dd074685e3 fix max withdraw with no borrows 2021-08-17 15:52:33 -04:00
Tyler Shipe 7cf80b566c remove blur from modals 2021-08-16 13:59:44 -04:00
Tyler Shipe 5d8bf9969e Finish max withdrawal simulation 2021-08-15 18:36:06 -04:00
saml33 3c64b9f059 remove blur on success action 2021-08-02 15:14:24 +10:00
saml33 1f82731a85 add unsettled balances ui 2021-08-01 22:48:15 +10:00
Tyler Shipe f5e97aa7dc use liab weight in max borrow 2021-07-27 13:05:05 -04:00
Tyler Shipe be031cc0fe consistency with user info tabs 2021-07-24 16:15:27 -04:00
Tyler Shipe dda50c8aee update to latest client; use toFixed for I80F48 2021-07-12 12:55:16 -04:00
Tyler Shipe 53163e07a8 add more account values 2021-07-07 00:34:21 -04:00
Tyler Shipe 54b6230314 fill in account asset values 2021-07-06 20:13:17 -04:00
Tyler Shipe a0ba6f44e8 update notifications, wire up account change modal 2021-07-06 18:04:20 -04:00
Tyler Shipe c5ce8e965f render the accounts page 2021-07-05 14:21:57 -04:00
Tyler Shipe c355f7132e add Borrows page and health ratio 2021-07-05 11:03:57 -04:00