Commit Graph

27 Commits

Author SHA1 Message Date
saml33 ce2e32ee1a
add buttongroup and interest info to deposit/withdraw (#59) 2021-10-26 15:25:36 +01: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 7feb881bb3 rename fetchMangoAccounts to fetchAllMangoAccounts; prefer reloadMangoAccount over fetchAllMangoAccounts 2021-09-29 18:09:58 -04:00
Tyler Shipe e303c6927c add sol amount needed to create a mango account 2021-09-08 15:11:02 -04:00
Tyler Shipe 639f36bd99 revert new account modal on first deposit 2021-08-25 17:20:59 -04:00
Tyler Shipe f8c14d193d Merge remote-tracking branch 'origin/name-account-first-deposit' into main 2021-08-25 13:52:00 -04:00
Tyler Shipe 66bf66fc7c remove unused utils fns 2021-08-25 10:23:30 -04:00
saml33 383a82e2d0 use new account modal for first deposit 2021-08-25 23:56:52 +10:00
saml33 2a1b8f59ea disable withdraw button when no account 2021-08-25 20:54:39 +10:00
Tyler Shipe f46a7cec4b dont validate account name 2021-08-24 14:34:54 -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
saml33 afaa6b85ec consolidate new account flow to one step 2021-08-19 16:15:25 +10:00
Tyler Shipe b3424df63e fix account naming when new sub account 2021-08-17 17:52:53 -04:00
Tyler Shipe f7aa5b6bed fix lint errors 2021-08-17 16:48:42 -04:00
Tyler Shipe 5c44d1fd34 fix when creating new mango accoung 2021-08-17 16:09:27 -04:00
Tyler Shipe 65494917c1 add back account naming; await root bank loading 2021-08-17 13:47:52 -04:00
saml33 7f53a44345 add name account ui 2021-07-24 21:49:18 +10: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 c4ccc37110 more errors 2021-06-20 23:22:45 -04:00
Tyler Shipe 78ef4b4184 fix build errors 2021-06-20 21:21:37 -04:00
Maximilian Schneider e256ed4754 small fixes 2021-06-18 18:57:13 -04:00
Maximilian Schneider dcbb37fbb7 simple json stuff 2021-06-18 18:51:34 -04:00
Maximilian Schneider 275fafa4c4 refactor deposit modal 2021-06-17 14:03:47 -04:00
Maximilian Schneider 8aed0f0840 expose market config in store and switch between spot & perp 2021-06-17 01:38:49 -04:00
saml33 e14350e624
disable 0 bal assets for deposits and fix withdraw validations (#25) 2021-06-11 14:23:51 -04:00
saml33 3b5f22b815
User account page (#22)
* layout, overview, start on assets, borrows and open orders

* trade history, sortable data hook for tables, borrow page

* handle deposit and withdraw buttons

* borrow modal ui and integration + settle borrow for individual assets

* in orders balance to asset table and totals, responsive css, new connected wallet button + small tweaks

* account switch/creation flow

* accounts modal, update to usebalances hook

* handle settle, deposit before settle, save last account

* disable borrow/withdraw button when no account
2021-06-05 10:11:44 -04:00