Commit Graph

26 Commits

Author SHA1 Message Date
Tyler Shipe f2c484de63 allow changing settings before wallet is connected 2021-10-27 17:43:10 -04: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
saml33 5132fb9f8d show accounts and settings options on mobile 2021-10-09 21:05:45 +11:00
saml33 dbbb415060
Default market settings (#45)
* add default market settings to settings modal

* redirect to default market
2021-10-01 12:05:42 +02:00
saml33 9123e63344
Trade page mobile (#35)
* mobile styles for chart, position, account

* mobile styles for trade form

* trade page mobile styles

* tab layout

* fix unknown property fill-rule

* test swipeable tabs

* fix container height

* fix orderbook mobile styles

* account page mobile styles

* fix swipeable container height

* stats page mobile styles
2021-09-20 02:36:02 +02:00
Tyler Shipe 9162ffbe3a use dropdown for node selection 2021-09-13 19:27:02 -04:00
Tyler Shipe c1269298b9 use custom endpoint url 2021-09-13 17:14:59 -04:00
Tyler Shipe 73fa197d5d remove unnecessary emotion styling; use asyncawait for sleeps 2021-09-03 15:02:51 -04:00
saml33 a47e678c2f improve mobile menu 2021-09-02 00:30:34 +10:00
Tyler Shipe c5866ee610 make health ratio red if init health is at or below zero 2021-08-04 17:47:05 -04:00
saml33 e810c5c215 improve theme and misc styling 2021-07-29 23:19:32 +10:00
saml33 7f53a44345 add name account ui 2021-07-24 21:49:18 +10:00
Tyler Shipe 53163e07a8 add more account values 2021-07-07 00:34:21 -04:00
Tyler Shipe 1b02a53314 update naming to match client 2021-06-23 11:32:33 -04:00
Tyler Shipe 370d25f7bd fix init and deposit; fix disconnect bug 2021-06-17 21:10:47 -04:00
Tyler Shipe cb331fb2c7 comment out stuff in the ui so it works 2021-06-16 21:50:16 -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
Ralfs a58a32e9a1 Lint fixes 2021-05-20 14:21:36 +03:00
saml33 8aa8c5929b
improve connect wallet button styles (#11) 2021-05-18 13:57:10 +03:00
saml33 a49f7e2fe9
add market data header to trade page (#9)
* add market data header to trade page
2021-05-18 08:33:04 +03:00
Tyler Shipe 02b2fed058 better handle latency from wallet providers 2021-05-04 19:19:48 -04:00
Tyler Shipe f95988c88b fix safari button styling 2021-04-25 17:22:14 -04:00
Tyler Shipe 526236e46f fix console error with localstorage hook 2021-04-25 13:08:11 -04:00
Tyler Shipe 767facf575 always show settle all button until show/hide logic is updated 2021-04-20 14:45:23 -04:00
Tyler Shipe 74d9f70dbf implement withdraw max with borrow 2021-04-20 10:09:25 -04:00
saml33 f6938720be connect wallet button to seperate componenet and secondary connect wallet button styling 2021-04-19 11:58:16 +10:00