Commit Graph

1087 Commits

Author SHA1 Message Date
Steven Sarmiento e039b1527b
adding spanish translation 2021-10-20 10:14:45 -07: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 bdc65a18f0 set default cluster to mainnet 2021-10-19 15:29:53 -04:00
Tyler Shipe 50a08599da add token config for MSRM 2021-10-19 12:48:00 -04:00
Tyler Shipe c53c35b2e4 fix: handle when no funding stats exist for acct 2021-10-18 18:00:47 -04:00
Tyler Shipe 9344defc06 Merge branch 'alpha' into main 2021-10-18 17:27:53 -04:00
Tyler Shipe a63a02c9b8 disable msrm deposit if none in wallet 2021-10-18 17:21:37 -04:00
Tyler Shipe e049456edd MSRM deposit and withdraw 2021-10-18 16:38:03 -04:00
tjshipe 60948f339b
Merge pull request #53 from blockworks-foundation/dd/fundingdisplay
showing funding rate APR in UI
2021-10-18 13:19:33 -04:00
dd 0c9e3e71f6 showing funding rate APR in UI 2021-10-18 13:15:37 -04:00
saml33 3c2e5e161f link to perp market from positions table 2021-10-18 21:34:52 +11:00
Tyler Shipe 76bf0a0320 hourly account interest chart 2021-10-18 02:50:39 -04:00
Tyler Shipe 5824d71db1 hourly funding chart 2021-10-18 01:17:07 -04:00
Tyler Shipe 71bfa3f3a5 add total funding 2021-10-17 22:34:24 -04:00
Yandre b15b7dded9 Added code to select multiple Mango Heroes as your profile picture (using images for now) 2021-10-16 19:42:50 -04:00
ImpossiblePairs b5f1a5f05e
Fixed handleCancelOrder conditional statement
Fixed trigger conditional statement for cancelling order
2021-10-16 12:03:33 -07:00
impossiblepairs 504613aa07 Update Order Lines for Advanced Order Types
Added ability to visualize advanced order types in the trading view chart.

Also fixed the calculateMarketPrice bug that was not setting advanced limit orders to the limit price.
2021-10-16 11:49:57 -07:00
ImpossiblePairs 3b5c84bcc4 Merge branch 'main' into tradingview-order-lines 2021-10-16 11:34:54 -07:00
Yandre 8aa176a32b Added modal for changing avatar 2021-10-16 10:26:22 -04:00
Yandre b3bec02141 Added documentation 2021-10-14 14:55:01 -04:00
Yandre 209b2c47df Added code to retrieve Metaplex metadata for NFTs 2021-10-14 14:53:14 -04:00
ImpossiblePairs dabc7871ae
Fix calculateTradePrice function
Updated calculateTradePrice function used in the AdvancedOrderForm to incorporate the specified limit price of a Take Profit Limit or Stop Limit order.
2021-10-14 11:23:42 -07:00
Tyler Shipe 3b65fed87d fix: format decimals for perp trigger orders 2021-10-12 16:59:21 -04:00
Tyler Shipe 91427ee809 use latest client 2021-10-12 16:20:55 -04:00
Yandre c12d8ea20d Fixed merge conflictions 2021-10-12 11:51:36 -04:00
Tyler Shipe dd0592feff add more info to tooltip 2021-10-11 17:46:52 -04:00
Tyler Shipe 1c64c70249 add open graph title 2021-10-11 16:47:38 -04:00
Tyler Shipe 9afc697336 fix: remove taker fee from estimated price impact 2021-10-11 15:56:11 -04:00
Tyler Shipe eb8210b0c7 Merge branch 'max/stoploss' into main 2021-10-11 14:04:16 -04:00
Tyler Shipe 361268c751 fix: bugs when changing state with new order types 2021-10-11 14:02:20 -04:00
dd 5cda732cc0 upgraded mango client with more fixes 2021-10-10 11:30:06 -07:00
dd f3fbb1af6b changed mango client package to v3.1 after place spot order2 fix 2021-10-10 11:06:57 -07:00
saml33 5132fb9f8d show accounts and settings options on mobile 2021-10-09 21:05:45 +11:00
saml33 445bb11059
add time filters and ticks to stats charts (#47)
* add time filters and ticks

* mobile tweaks
2021-10-07 12:34:26 +01:00
Tyler Shipe b78e12d670 improve btc perp funding data for chart display 2021-10-06 15:38:30 -07:00
Maximilian Schneider 3e65e53101 display deposit & withdraw modal on mobile 2021-10-06 20:08:35 +02: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
Maximilian Schneider 1c04018f65 Merge remote-tracking branch 'origin/max/stoploss' into max/stoploss 2021-10-05 23:02:35 +02:00
Maximilian Schneider 93abdab9f6 Merge remote-tracking branch 'origin/main' into max/stoploss 2021-10-05 23:02:01 +02:00
Maximilian Schneider 97bb02e593
show unsettled pnl (#46)
* display unsettled pnl more dominantly (#43)

* display perp markets that have unsettled pnl

* fix dependencies to a working version

* add back unrealized pnl vs unsettled pnl

* add todo

* settle all

* cleanup

* catch error

* fix crash in market position & refactor

* bugfixes

* correct unrealized pnl
* remove unsetlled pnl from table
* only show unsettled balances after closing position
2021-10-05 22:22:47 +02:00
Tyler Shipe 5d658754a8 fix types in EstPriceImpact 2021-10-05 15:12:26 -04:00
Tyler Shipe 2b9f26af4c only use local storage for node url if on mainnet 2021-10-05 14:24:24 -04:00
Tyler Shipe b8c6a1bbf7 use avg oracle price to calculate funding rate 2021-10-05 11:46:01 -04: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
saml33 f5f243a9a8
pre-fill spot balance (#41)
* pre-fill spot balance

* fix undefined basePosition
2021-10-03 04:01:06 +02:00
Maximilian Schneider 82dcd960c0 revert to buy/sell in trade button 2021-10-03 03:21:26 +02:00
Tyler Shipe 7e2d6053fc use latest client to support reduceOnly flag in placePerpTriggerOrder 2021-10-01 16:51:24 -04:00
Tyler Shipe f43f4f2c1c fix invalid price bug when placing advanced orders 2021-10-01 14:51:19 -04:00