Commit Graph

49 Commits

Author SHA1 Message Date
tjs 41450faf55 safe check stats api length 2022-09-06 13:39:36 -04:00
tjs df1591ea14 handle when stats api doesn't load 2022-09-06 13:28:22 -04:00
saml33 d3e16e2855
hide lmi for invalid assets (#392) 2022-08-18 08:12:07 +02:00
saml33 bc2539ef51
fix undefined error (#337)
* fix undefined error

* git status
2022-07-02 14:35:16 +02:00
saml33 a563733b99 fix stats loading 2022-06-30 07:58:28 +10:00
saml33 eb97d94964 handle missing key 2022-06-29 12:00:15 +10:00
tjshipe 7a1d6077fe
Merge branch 'main' into side-nav 2022-06-27 12:12:17 -04:00
saml33 c02ef0ff48 fix undefined error 2022-06-23 22:37:37 +10:00
saml33 5bdfcc48df welcome emoji states 2022-06-23 10:24:48 +10:00
saml33 602e302f9f merge main 2022-06-22 21:59:01 +10:00
saml33 0ba4dd2985 align secondary stats tabs 2022-06-22 11:31:30 +10:00
saml33 14cf369d20 handle stats loading 2022-06-22 10:38:24 +10:00
saml33 ef107546fc bg and border colors 2022-06-18 16:44:26 +10:00
tjs f38402bd3b useMemo to reduce unnecessary recalculations 2022-05-02 14:56:01 -04:00
tjs b79f156ece pass in wallet to store actions when needed 2022-04-04 16:28:32 -04:00
Kieran Gillen 5d92b4fe6f Merge branch 'main' of github.com:blockworks-foundation/mango-ui-v3 into mango-group-config 2022-04-01 15:00:12 +02:00
Kieran Gillen f10a1dbce0 Deletes useMangoGroupConfig hook 2022-03-31 16:58:01 +02:00
Kieran Gillen 8736900401 Adds more null checks 2022-03-28 17:42:18 +02:00
Kieran Gillen 8c276acfe2 Adds more null checks 2022-03-28 17:13:54 +02:00
Kieran Gillen 140c26542a Updates TS version 2022-03-28 16:17:54 +02:00
tjs f517b1ea43 handle when stats aren't loaded 2022-03-25 00:00:29 -04:00
tjs 0aa9b625e2 handle when no selectedMarket on stats page 2022-03-22 10:25:01 -04:00
saml33 0ac4bd1b70 other-pages 2022-03-22 11:20:41 +11:00
saml33 8fdcabfe79 trade page and account overview 2022-03-21 22:56:37 +11:00
saml33 398f8af80e increase y axis width 2022-03-17 10:04:54 +11:00
tjs db8a0324aa add tailwind prettier plugin; run yarn format 2022-03-09 15:53:11 -05:00
tjs c41af04f8e fix type issue with new ExpandableRow props 2022-03-01 14:28:20 -05:00
saml33 cfe1462790 fix mobile only selects 2022-02-22 11:59:41 +11:00
saml33 2ae323ee1c semantic headings and styles 2022-02-21 14:55:13 +11:00
saml33 839efc730c page content and styling 2022-02-14 12:17:21 -05:00
Tyler Shipe 81e81981c5 type fixes 2022-01-31 11:34:43 -05:00
Tyler Shipe 7e6a3aca49 fix stats page on mobile 2022-01-23 14:46:58 -05:00
Tyler Shipe a0f6f3da0b useMemo on stats perp page 2022-01-16 11:13:55 -06:00
Tyler Shipe c98dd9a9e3 handle loading all markets on perp stats page 2022-01-15 12:48:38 -06:00
Tyler Shipe 7ece053b04 update charts, use y axis domain 2022-01-06 21:35:48 -05:00
saml33 ee4b5f3b2d update sub-tab bg color 2021-12-08 22:40:41 +11:00
saml33 0ea93d142e fix: deposit value chart loading state 2021-12-08 22:29:54 +11:00
saml33 03c9710103 improve sub-tabs layout 2021-12-08 15:00:02 +11:00
Tyler Shipe a8fd63c3e2 clean up stats page 2021-12-02 23:56:57 -05:00
rjpeterson 6b223e62e1 rebase & add statsperps + account history translation 2021-11-23 22:17:17 -10:00
dd dc102338e2 fixed ugly open interest display in perps stats; added perpContractPrecision in index.ts 2021-11-23 12:52:27 -05:00
dd 14eacec547 updated liquidity mining info to be more meaningful 2021-11-23 11:37:05 -05:00
Tyler Shipe ce5345b588 add liq mining info to stats 2021-11-18 18:13:37 +00:00
saml33 30f971cfac fix: mobile styling to accomodate new markets 2021-11-03 22:43:34 +11:00
Tyler Shipe 5f869716ce fix: fix asset icons on stats pages 2021-11-01 21:13:10 -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 eb8210b0c7 Merge branch 'max/stoploss' into main 2021-10-11 14:04:16 -04:00
Maximilian Schneider 93abdab9f6 Merge remote-tracking branch 'origin/main' into max/stoploss 2021-10-05 23:02:01 +02:00
saml33 659e48c99f mobile styles for new features 2021-09-26 23:20:51 +10:00