Commit Graph

19 Commits

Author SHA1 Message Date
Kieran Gillen 1a40a98af0 Removes calls to Wallet and Connected through MangoStore hook 2022-03-23 11:42:04 +01: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
dd 9a17174094 integrate placePerpOrder2 2022-02-28 12:51:16 -05:00
tjs bd4c4145b5 uses referrerpk if it exists for modifyPerpOrder 2022-02-14 21:32:31 -05:00
dd c8e62cf926 removed subscribes in market close modal 2021-12-03 13:03:42 -05:00
dd 60b2c4b92d updated MarketClose to have maxSlippage at 2.5% 2021-12-03 00:15:03 -05:00
Tyler Shipe 4eb7cd3934 forceReload components when mango account is updated in store 2021-11-30 12:32:14 -05: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 3d274e64d7 use estimatedSize in fee estimation; use price of 1 for mkt close orders 2021-10-05 17:46:15 -07:00
Tyler Shipe 9cb4ccf519 use new placePerpOrder market order type when closing pos 2021-10-05 17:01:44 -07:00
Tyler Shipe c1269298b9 use custom endpoint url 2021-09-13 17:14:59 -04:00
Tyler Shipe b03db3b771 remove send transaction notification 2021-09-07 15:27:54 -04:00
Tyler Shipe e5b67857af retry transaction more frequently; use tx callback for notifications 2021-09-04 17:59:53 -04:00
Tyler Shipe e306915a45 Increase frequency of background mangoAccount updates 2021-09-04 12:40:43 -04:00
Tyler Shipe 73fa197d5d remove unnecessary emotion styling; use asyncawait for sleeps 2021-09-03 15:02:51 -04:00
Tyler Shipe 2ecd1b2122 perp market close position button 2021-08-26 11:58:13 -04:00
saml33 f6ad6fbc56 update close position modal button text 2021-08-26 11:08:21 -04:00
saml33 04904203b0 add market close 2021-08-26 11:08:21 -04:00