Commit Graph

30 Commits

Author SHA1 Message Date
tjs db8a0324aa add tailwind prettier plugin; run yarn format 2022-03-09 15:53:11 -05:00
rjpeterson 221feede2c fix localization errors around the word "new" 2022-02-26 11:38:31 -06:00
saml33 2ae323ee1c semantic headings and styles 2022-02-21 14:55:13 +11:00
Riordan Panayides 0c3c5ada98 Add delegate functionality 2022-02-09 15:11:51 +00:00
Tyler Shipe 4a0c77a3d9 increase information density 2022-01-31 10:52:28 -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 f0edd15fef move state out of parent components that were causing additional renders 2021-12-07 23:14:00 -05:00
saml33 859432fdb2 fix: match oracle and markprice decimals to tick size 2021-11-02 20:43:28 +11: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 639f36bd99 revert new account modal on first deposit 2021-08-25 17:20:59 -04:00
Tyler Shipe 01796922c8 close accounts list after creating first account 2021-08-25 15:05:18 -04:00
Tyler Shipe 5e51ac46c3 add leverage to acct modal; fix rounding in withdraw modal 2021-08-23 14:18:34 -04:00
saml33 afaa6b85ec consolidate new account flow to one step 2021-08-19 16:15:25 +10:00
Tyler Shipe 56b590589e fix new sub account modal 2021-08-18 21:05:16 -04:00
Tyler Shipe 7cf80b566c remove blur from modals 2021-08-16 13:59:44 -04:00
saml33 dd38990721 handle account change on account page 2021-08-02 22:44:58 +10: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 5703cbdc82 only show account name if it exists 2021-07-30 16:37:00 -04:00
Tyler Shipe caa4a29b23 add account naming 2021-07-30 16:33:03 -04:00
Tyler Shipe bca4899e80 add market to trade history 2021-07-27 12:22:50 -04:00
Tyler Shipe c11890582d handle rounding errors 2021-07-07 16:38:04 -04:00
Tyler Shipe 53163e07a8 add more account values 2021-07-07 00:34:21 -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 9e16290300 fix NaN on account change modal 2021-06-07 19:33:59 -04:00
Tyler Shipe c44105e4cd fetch trade history when switching accounts 2021-06-07 13:00:00 -04:00
Tyler Shipe 448d6e0bc3 fix leverage colors 2021-06-05 18:10:34 -04:00
Tyler Shipe eac4adc18f add main action buttons below balances 2021-06-05 12:14:34 -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