Commit Graph

137 Commits

Author SHA1 Message Date
Tyler Shipe 55d3909829 add null check for item address
null chell

moar

hide max button if not connected

fetch balances

fixes

improve swap perf
2021-12-19 01:25:33 -05:00
Tyler Shipe 0f13c748e4 add jupiter ag swap 2021-12-17 16:02:02 -05:00
saml33 b716c33feb remove unnecessary window scroll 2021-12-15 09:42:02 +11:00
Tyler Shipe ae58aa5712 remove scrollbar at full height 2021-12-14 16:57:58 -05:00
Tyler Shipe c0cdb050f4 fix redirect on url market param 2021-12-08 12:47:36 -05:00
Tyler Shipe f0edd15fef move state out of parent components that were causing additional renders 2021-12-07 23:14:00 -05:00
saml33 03c9710103 improve sub-tabs layout 2021-12-08 15:00:02 +11:00
Tyler Shipe babd4fe655 move page title into it's own component 2021-12-06 21:45:10 -05:00
Tyler Shipe 855a6e6d58 add ws watching for mangoAccount 2021-12-05 20:13:23 -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
Tyler Shipe 6ed230d900 add deposit and withdraw history to account page 2021-11-17 15:51:17 +00:00
Tyler Shipe cd7607a611 use getStaticProps for translations 2021-11-17 11:08:29 +00:00
Tyler Shipe 5935297513 ensure wallet is connected after changing markets 2021-11-16 01:34:28 +00:00
Tyler Shipe e25d62eaa5 add wallet reconnect logic to market page 2021-11-15 23:00:00 +00:00
Tyler Shipe 780ef281eb only try reconnect wallet logic if window.solana exists 2021-11-15 19:16:03 +00:00
Tyler Shipe a1e0e82990 reconnect to phantom on each page change 2021-11-15 18:27:57 +00:00
Tyler Shipe 010be224e0 remove console logs 2021-11-14 18:57:00 +00:00
Tyler Shipe 92b3ac2ce7 more improvement to load time when switching pages/markets 2021-11-14 18:37:02 +00:00
tjshipe 2067c981c8
Merge pull request #70 from dboures/view-other-mangoaccounts
View anyone's mangoAccount
2021-11-14 13:24:50 +00:00
tjshipe eb39e1cbb1
Merge branch 'main' into order-lines-translation 2021-11-13 17:32:52 +00:00
dboures 88f803bc04 view other accounts using pubkey in url 2021-11-09 18:17:03 +00:00
saml33 f3ea08c1c1 merge main 2021-11-04 20:17:39 +11:00
Tyler Shipe a2ba24e760 add apple-touch-icon link sizes to fix phantom 2021-11-03 22:04:06 -04:00
saml33 41538dcb01 history translation 2021-11-03 23:03:23 +11:00
saml33 30f971cfac fix: mobile styling to accomodate new markets 2021-11-03 22:43:34 +11:00
saml33 859432fdb2 fix: match oracle and markprice decimals to tick size 2021-11-02 20:43:28 +11:00
saml33 bccada65fe tip content 2021-10-31 22:21:22 +11:00
saml33 b8d34934d9 setup introjs tour 2021-10-29 23:05:55 +11:00
rjpeterson 0359b80e55 add translations for tradingview chart order lines 2021-10-25 11:03:00 -10: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 71bfa3f3a5 add total funding 2021-10-17 22:34:24 -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
Maximilian Schneider 93abdab9f6 Merge remote-tracking branch 'origin/main' into max/stoploss 2021-10-05 23:02:01 +02:00
Tyler Shipe 6925a46df8 Revert "Revert "add interest earned table to account page""
This reverts commit 03dc3cd001.
2021-10-01 11:42:42 -04: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
Tyler Shipe 03dc3cd001 Revert "add interest earned table to account page"
This reverts commit 0f6d39043f.
2021-09-28 11:58:15 -04:00
Tyler Shipe 0f6d39043f add interest earned table to account page 2021-09-28 00:13:40 -04:00
saml33 659e48c99f mobile styles for new features 2021-09-26 23:20:51 +10:00
Riordan Panayides 9891c8688b
Add market name and price in title (#20)
* Add market name and price in title

* Reorder title, ensure price always displays on market pages

Co-authored-by: Maximilian Schneider <mail@maximilianschneider.net>
2021-09-25 12:17:35 +02:00
saml33 1830986e40 remove swipeable tabs from desktop views 2021-09-20 13:21:55 +10: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
saml33 9b3faddc3d fix negative borrow amount 2021-09-14 11:32:36 +10:00
Tyler Shipe c91d65e933 only show 100 recent trades in history tab 2021-09-13 12:28:53 -04:00
saml33 00d02ccde1 stats table mobile 2021-09-09 23:14:20 +10:00
Riordan Panayides 5c752cca78 Add funding rate and open interest graphs 2021-09-06 12:59:13 -04:00
Tyler Shipe 494ea98e33 add default width; add show zero balances 2021-09-05 20:20:21 -04:00
saml33 50380107cf improve balances table 2021-09-05 16:50:16 -04:00