Commit Graph

49 Commits

Author SHA1 Message Date
Maximilian Schneider 8fcdbf991b
clean repo from tradingview code (#398)
* clean repo from tradingview code

* fix import errors

* update styling

* disable drawing last volume value

Co-authored-by: saml33 <slam.uke@gmail.com>
2022-08-17 12:26:31 +02:00
saml33 b52375921e align icons to side nav 2022-06-30 20:54:01 +10:00
saml33 2261c93e23 move interest/funding to history tab and align secondary tab styles 2022-06-20 14:29:32 +10:00
saml33 e394f7523c merge main 2022-06-19 21:07:06 +10:00
saml33 ef107546fc bg and border colors 2022-06-18 16:44:26 +10:00
rjpeterson 488f2ab964 localize swipeable tabs 2022-06-11 18:32:42 -07:00
tjshipe bf51cd79ef
Merge pull request #304 from blockworks-foundation/leaderboard-mobile-link
add leaderboard link to mobile menu
2022-06-09 15:33:23 -04:00
saml33 cf31cebdd5
relative long/short chart (#299)
* relative long/short chart

* eth icon bug

* simplify language and chart styling

* fix sol icon bug

* sort segments and include unsettled positions

* make chart angle relative to value

* sol, msol color

* simplify math

* change language

* re-work account overview layout

* increase tabs margin-b

* correctly net unsettled perps and add dust treshold

* layout

* xl breakpoint

* add spot balances to store

* add missing file

* update long / short exposure values and charts

Co-authored-by: Maximilian Schneider <mail@maximilianschneider.net>
2022-06-08 17:01:15 +03:00
saml33 363b595260 re-order hover css 2022-06-08 10:55:46 +10:00
saml33 092d276ea1 add leaderboard link to mobile menu 2022-06-06 11:43:06 +10:00
saml33 d0d1b9345a add <a> and remove hover 2022-06-06 10:42:44 +10:00
saml33 5a07210de4 pass an optional width 2022-05-29 11:52:04 +10:00
saml33 adb83d2aa6 styling 2022-05-29 08:12:04 +10:00
saml33 f8205ea52b scrolling mobile tabs 2022-05-27 21:38:49 +10:00
saml33 924b9b279d add swipeable tabs 2022-05-18 14:53:48 +10:00
saml33 d75e716fc1 add price charts to markets page 2022-05-17 22:03:20 +10:00
saml33 db991c4509 market selection on mobile 2022-05-16 21:56:28 +10:00
Kieran Gillen a6aaf551dd Merge branch 'main' of github.com:blockworks-foundation/mango-ui-v3 into kieran/strict-nullcheck 2022-03-29 12:02:37 +02:00
tjshipe f771e3bb7b
Merge branch 'main' into kierangillen/wallet-updates 2022-03-28 13:55:44 -04:00
Kieran Gillen 140c26542a Updates TS version 2022-03-28 16:17:54 +02:00
saml33 7c33b93aff fix referral path 2022-03-28 13:42:45 +11:00
saml33 73231c28bc add mobile more menu 2022-03-28 13:32:22 +11:00
Kieran Gillen a827bb71d2 Merge branch 'main' of github.com:blockworks-foundation/mango-ui-v3 into kierangillen/wallet-updates 2022-03-23 11:50:02 +01:00
Kieran Gillen 1a40a98af0 Removes calls to Wallet and Connected through MangoStore hook 2022-03-23 11:42:04 +01:00
saml33 3ec735f2e9 only show insufficient sol message if connected 2022-03-22 12:39:37 +11:00
saml33 8fdcabfe79 trade page and account overview 2022-03-21 22:56:37 +11:00
tjs db8a0324aa add tailwind prettier plugin; run yarn format 2022-03-09 15:53:11 -05:00
saml33 cbf7047bb7 align expandable panels 2022-02-24 12:37:31 +11:00
saml33 0feb640c5f address team feedback 2022-02-11 16:16:44 +11:00
Tyler Shipe 715c8fd26f show deposit and borrow rates even when not connected 2022-02-04 12:57:18 -05:00
Tyler Shipe 9d26689e40 remove unused mobile menu 2022-01-31 19:21:17 -05:00
Tyler Shipe 3ff9471fa1 move market.txs page to index.tsx 2022-01-31 12:48:48 -05:00
Maximilian Schneider 007393ae5b remove risk calculator from mobile menu 2022-01-08 21:06:53 -08:00
Maximilian Schneider 44488342e4 Merge remote-tracking branch 'origin/main' into max/switch-market-mobile 2022-01-08 21:04:14 -08:00
Maximilian Schneider 2393b2426a make market selectable on mobile when clicking market name 2022-01-08 21:00:35 -08:00
ImpossiblePairs 0a587edc26
Risk calculator v3 (#79)
* Push risk calculator to branch

* Fixed Enclosing on updatePriceValues

Fixed incorrect enclosing of updatePriceValues

* Clean up and commenting

* Update USDT slider response and asset/liability tabulation

* Update value assignment encapsulation error

* Risk Calculator feedback and bug fixes

* Slider Range updated to 0 - 350%

* Add icons, feedback, open orders toggle

* Remove unnecessary console log

* Update precision and short scenario summary

* Push risk calculator to branch

* Fixed Enclosing on updatePriceValues

Fixed incorrect enclosing of updatePriceValues

* Clean up and commenting

* Update USDT slider response and asset/liability tabulation

* Update value assignment encapsulation error

* Risk Calculator feedback and bug fixes

* Slider Range updated to 0 - 350%

* Add icons, feedback, open orders toggle

* Remove unnecessary console log

* Update precision and short scenario summary

* Add mangoCache check

* use getStaticProps in calculator

* allow loading unowned accounts w/ risk-calculator

* add risk calculator new bubble

* Percent move liquidation no longer relative to slider

Co-authored-by: Tyler Shipe <tjshipe@gmail.com>
Co-authored-by: Maximilian Schneider <mail@maximilianschneider.net>
2022-01-03 16:20:45 -08:00
Tyler Shipe 92b3ac2ce7 more improvement to load time when switching pages/markets 2021-11-14 18:37:02 +00:00
Tyler Shipe db4aa785fc speed up time between page loads 2021-11-14 14:48:09 +00:00
saml33 30f971cfac fix: mobile styling to accomodate new markets 2021-11-03 22:43:34 +11:00
Tyler Shipe fc1665444f upgrade to next12, remove babel, remove emotionjs, convert emotion styles to inline 2021-10-27 16:46:31 -04:00
rjpeterson 0733e8cda7 add missing translations, add spanish option, fix dropmenu z-index 2021-10-20 08:48:02 -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
saml33 659e48c99f mobile styles for new features 2021-09-26 23:20:51 +10:00
saml33 782157b5be fix mobile chart display 2021-09-21 07:49:26 +10:00
saml33 3e1b872e42 align mobile tab headings 2021-09-20 22:24:42 +10: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
tjshipe c135c871bf Merge pull request #18 from blockworks-foundation/perp-stats
Add funding rate and open interest graphs
2021-09-07 23:46:45 +10:00
saml33 50380107cf improve balances table 2021-09-05 16:50:16 -04:00