Commit Graph

38 Commits

Author SHA1 Message Date
Tyler Shipe 5604423709 add loading spinner when claiming mngo rewards 2021-12-03 18:33:28 -05:00
tjshipe 68e4f4d19d
Merge branch 'main' into update-translations 2021-12-01 01:12:59 -05:00
Tyler Shipe 2d824c2213 add lastUpdatedAt to improve useMangoAccount rerendering trigger 2021-11-30 16:04:55 -05:00
Tyler Shipe 4eb7cd3934 forceReload components when mango account is updated in store 2021-11-30 12:32:14 -05:00
rjpeterson 6b223e62e1 rebase & add statsperps + account history translation 2021-11-23 22:17:17 -10:00
saml33 d102a1d3d7 add spanish translations 2021-11-24 10:08:14 +11:00
Tyler Shipe ec633992fa fix translation issues; fix pubkey viewing 2021-11-18 13:56:11 +00:00
Riordan Panayides b5c7f88c66 Don't display liq price of zero 2021-11-14 22:02:30 +00:00
Riordan Panayides 27b2dfb0d7 Add simple liq price to accountinfo, add some height 2021-11-14 21:43:23 +00:00
saml33 05d8bdd64a add translation keys 2021-11-04 23:25:11 +11:00
saml33 f3ea08c1c1 merge main 2021-11-04 20:17:39 +11:00
saml33 bccada65fe tip content 2021-10-31 22:21:22 +11:00
Tyler Shipe 109f75a984 add mango account to trade page 2021-10-27 16:31:45 -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
Tyler Shipe dd0592feff add more info to tooltip 2021-10-11 17:46:52 -04:00
Maximilian Schneider 93abdab9f6 Merge remote-tracking branch 'origin/main' into max/stoploss 2021-10-05 23:02:01 +02:00
Riordan Panayides b3f2843bd2 Fix null mangoAccount 2021-10-05 03:14:07 +01:00
Tyler Shipe c503f81db5 display in the ui when beingLiquidated is true 2021-10-04 21:55:29 -04:00
Tyler Shipe 7feb881bb3 rename fetchMangoAccounts to fetchAllMangoAccounts; prefer reloadMangoAccount over fetchAllMangoAccounts 2021-09-29 18:09:58 -04: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 c1269298b9 use custom endpoint url 2021-09-13 17:14:59 -04:00
Tyler Shipe c5615254bf extract health variables in accountInfo component 2021-09-04 18:41:02 -04:00
Tyler Shipe 097d96def0 improve health ratio updates 2021-09-04 18:20:49 -04:00
Tyler Shipe 33959a0e74 fix sol collateral avail and add alpha banner 2021-08-31 21:27:13 -04:00
Tyler Shipe c6e09c1ba1 fix alpha modal issue 2021-08-30 16:40:32 -04:00
Tyler Shipe 7aa7feadb0 Use latest client to fix rounding issues 2021-08-29 15:15:37 -04:00
Tyler Shipe 639f36bd99 revert new account modal on first deposit 2021-08-25 17:20:59 -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 de052ace29 add collateral available and market margin available 2021-08-23 15:35:59 -04:00
Tyler Shipe 1bbdc2a12e remove total asset and total liabs vals 2021-08-23 14:21:23 -04:00
saml33 b8a5b06ef2 market header loaders 2021-08-21 23:02:51 +10:00
saml33 5cc4719ef8 fix panel layout 2021-08-21 11:42:59 +10:00
Maximilian Schneider e68d128d8f add available margin & leverage slider 2021-08-20 15:34:04 +02:00
saml33 51741bc9a3 loading states for connect wallet 2021-08-20 23:17:02 +10:00
Tyler Shipe deda8e58d6 position display tweaks 2021-08-17 17:01:00 -04:00
Tyler Shipe f44acbab27 handle large health ratio number 2021-08-16 17:35:40 -04:00
Tyler Shipe 00a85cded2 Merge in styling changes 2021-08-16 13:00:43 -04:00