Commit Graph

59 Commits

Author SHA1 Message Date
saml33 b52375921e align icons to side nav 2022-06-30 20:54:01 +10:00
tjshipe 38dc4222f5
Merge branch 'main' into new-account-overview 2022-06-15 21:38:13 -04:00
Crusher 0c01c05fb8 updated health doc url 2022-06-13 09:18:02 +01:00
saml33 e511171b61 simplify content and layout 2022-06-10 22:00:26 +10:00
saml33 cb70a6963b add circular health progress 2022-06-09 20:28:13 +10:00
tjs b36b3c0e1a show position details on trade page when viewing mngo accts 2022-04-09 20:13:28 -04:00
rjpeterson 78c87dc821 translate new keys, translate account history headers 2022-04-02 09:31:57 -07:00
Kieran Gillen 9ee5d54f53 Adds transaction failed error 2022-03-31 13:45:19 +02:00
Kieran Gillen 39e4a6def5 Adds more null checks 2022-03-30 13:08:05 +02:00
Kieran Gillen 60cb08a5a5 Adds more null checks 2022-03-29 15:02:29 +02:00
Kieran Gillen 1a40a98af0 Removes calls to Wallet and Connected through MangoStore hook 2022-03-23 11:42:04 +01:00
tjs 15fd691526 handle when publicKey is not loaded 2022-03-18 14:32:27 -04:00
saml33 a25570c384 misc number formatting 2022-03-16 01:12:46 +11:00
tjs 597c930b98 use blockhash that expires with timeout 2022-03-13 19:26:30 -04:00
tjs db8a0324aa add tailwind prettier plugin; run yarn format 2022-03-09 15:53:11 -05:00
Riordan Panayides a1009cb6d4 Fix null mangoAccount 2022-02-09 15:48:05 +00: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
saml33 5db9359c4a fix broken docs links 2021-12-28 10:02:07 +11:00
Tyler Shipe 5a7a95842b always show liq price in account info 2021-12-06 15:14:29 -05:00
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