Commit Graph

38 Commits

Author SHA1 Message Date
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 764ea28cb4 Adds more null checking 2022-03-30 19:10:15 +02:00
tjs db8a0324aa add tailwind prettier plugin; run yarn format 2022-03-09 15:53:11 -05:00
tjs e334948b77 remove transition from menu items for snappier feel 2022-02-09 22:55:57 -05:00
Tyler Shipe 35829735ef fix MarketSelect highlighting 2022-02-01 19:58:47 -05:00
Tyler Shipe ac0aa307be fix market list padding 2022-01-17 15:46:04 -06:00
saml33 b344769232 improve tablet breakpoint markets menu 2021-11-30 22:51:33 +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 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 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 71e55964fa responsive market header 2021-09-01 00:25:09 +10:00
saml33 abe87fba96 switch perp/spot order in menu 2021-08-18 22:55:04 +10:00
Tyler Shipe 4431da772b add price to market select 2021-08-16 14:00:04 -04:00
saml33 e810c5c215 improve theme and misc styling 2021-07-29 23:19:32 +10:00
Tyler Shipe e20506bd66 fix top bar links 2021-07-27 11:41:33 -04:00
saml33 7f53a44345 add name account ui 2021-07-24 21:49:18 +10:00
saml33 34a4e5ee19 fix broken icons on page load 2021-07-22 22:50:50 +10:00
saml33 038c7bb01b new icons and show custom markets 2021-07-19 00:39:27 +10:00
saml33 f06d14d8f6 switch markets via base asset drop menu 2021-07-17 23:49:52 +10:00
Tyler Shipe 671e50eba0 wip: max borrow calculations 2021-07-01 13:35:47 -04:00
saml33 af19cc7b23 toggle between spot and perp markets 2021-06-23 14:17:03 -04:00
Maximilian Schneider e256ed4754 small fixes 2021-06-18 18:57:13 -04:00
Maximilian Schneider ccad1015f3 base & quote symbol 2021-06-18 18:53:24 -04:00
Maximilian Schneider dcbb37fbb7 simple json stuff 2021-06-18 18:51:34 -04:00
Tyler Shipe 054cc5c82e remove console logs and fetch all markets 2021-06-18 18:38:09 -04:00
Maximilian Schneider 8aed0f0840 expose market config in store and switch between spot & perp 2021-06-17 01:38:49 -04:00
Tyler Shipe 15bb7c56d1 fix link 2021-06-08 11:04:56 -04:00
Tyler Shipe 1afe59e4e0 update modal with sol srm info 2021-06-08 10:59:39 -04:00
saml33 a49f7e2fe9
add market data header to trade page (#9)
* add market data header to trade page
2021-05-18 08:33:04 +03:00
saml33 806b527502
Bring alert details and notifications into the UI (#5)
* hook to get alerts, add triggered alerts to alerts list
* alerts page, count unseen alerts, clear alerts from nav view
* consolidate components, add custom value to alert modal dropdown, sort margin accounts alphanumerically
* ring bell when count increments and ping animation on count
* create/fetch alerts from store, filter by account, populate modal state from triggered alert
* fix alert sorting
* enable MA selection also for re-activate
2021-05-07 22:41:26 +03:00
Tyler Shipe 3a5040f515 reduce call to rpc endpoint 2021-04-29 11:08:36 -04:00
Tyler Shipe 3ff07f452e combine market state keys 2021-04-29 10:38:28 -04:00
saml33 fc751fe00c
More timeframes to charts and chart theming (#2)
* topbar action tooltips. flip refresh icon. max with borrow button
* more timeframes and chart theming
* fix asymmetric header button
2021-04-25 01:02:13 +03:00
Tyler Shipe a23eff8d9c better rounding in margin account panel 2021-04-22 13:04:42 -04:00
Tyler Shipe 3870d62f09 add temporary link to previous site design 2021-04-22 11:33:40 -04:00
saml33 e1dd3980b8 hide settle button and small styling updates 2021-04-21 22:45:03 +10:00
Tyler Shipe 61a920f017 hide some ui changes so we can deploy 2021-04-19 12:15:49 -04:00