Commit Graph

103 Commits

Author SHA1 Message Date
tjs 3457b0cc92 reduce rerenders on tvchartcontainer 2022-09-07 23:27:55 -04:00
saml33 ba4d6d75fa fix margin-y on mobile 2022-06-28 21:38:14 +10:00
saml33 be74fce6fa orderbook panel height sm 2022-06-18 16:18:36 +10:00
saml33 363b595260 re-order hover css 2022-06-08 10:55:46 +10:00
saml33 187a40dfe3 remove fastclick, remove button hover on mobile 2022-06-08 09:30:07 +10:00
saml33 d75e716fc1 add price charts to markets page 2022-05-17 22:03:20 +10:00
tjs d9b162bd5d Fix orderbook spread decimals 2022-04-05 13:25:09 -04:00
tjshipe a75c3238f5
Merge pull request #236 from blockworks-foundation/orderbook-tradeform-population
fix decimals on orderbook size/price click
2022-03-31 22:58:26 -04:00
Kieran Gillen dd6349d15d Merge branch 'main' of github.com:blockworks-foundation/mango-ui-v3 into kieran/strict-nullcheck 2022-03-31 12:33:10 +02:00
saml33 61876a8aad fix decimals on orderbook size/price click 2022-03-31 13:52:03 +11:00
Kieran Gillen 764ea28cb4 Adds more null checking 2022-03-30 19:10:15 +02:00
Kieran Gillen 39e4a6def5 Adds more null checks 2022-03-30 13:08:05 +02:00
tjs b66f990104 only use lodash that's needed 2022-03-29 22:46:21 -04:00
Kieran Gillen 2deb4ec75f Adds more null checks 2022-03-28 16:18:35 +02:00
tjs ddd1560dc5 use toFixed instead of toLocaleString in orderbook 2022-03-20 04:07:25 -04:00
saml33 0ff620ef0c match spread precision to price precision 2022-03-19 09:48:05 +11:00
tjs db8a0324aa add tailwind prettier plugin; run yarn format 2022-03-09 15:53:11 -05:00
tjs 150e59454e condense top nav bar items 2022-02-09 22:36:32 -05:00
Tyler Shipe 0ddcf8c2c2 update order book on trade history change 2022-02-05 16:09:18 -05:00
Tyler Shipe 181d326f3a add emphasis when hovering on order book line 2022-02-01 20:02:47 -05:00
Tyler Shipe 47d0ac6887 reset default market to use new urls 2022-02-01 00:06:13 -05:00
Tyler Shipe 9d26689e40 remove unused mobile menu 2022-01-31 19:21:17 -05:00
Tyler Shipe ea1cd60d7a increase info density in user info table 2022-01-31 16:14:08 -05:00
Tyler Shipe 5d99f914dc orderbook decimals should match minOrderSize 2022-01-31 15:22:08 -05:00
Tyler Shipe 4a0c77a3d9 increase information density 2022-01-31 10:52:28 -05:00
Tyler Shipe 09272d4266 add check to orderbook highlighting so it only shows selected market 2022-01-30 16:48:36 -05:00
Tyler Shipe 2355dfcaa6 store openOrders in zustand 2022-01-27 11:57:36 -05:00
Tyler Shipe 855a6e6d58 add ws watching for mangoAccount 2021-12-05 20:13:23 -05:00
Tyler Shipe 120955463b remove filter from orderbook 2021-12-01 15:45:18 -05:00
Tyler Shipe 6488eb6802 fix console errors 2021-12-01 00:38:05 -05:00
Tyler Shipe 2d824c2213 add lastUpdatedAt to improve useMangoAccount rerendering trigger 2021-11-30 16:04:55 -05:00
saml33 d2b6dab361 add setting to stop orderbook flash 2021-11-21 19:57:13 +11:00
Tyler Shipe 45c4f20bd7 use latest client; error msg when depositing all sol; pointer cursor on orderbook 2021-11-18 16:49:48 +00: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
Maximilian Schneider 93abdab9f6 Merge remote-tracking branch 'origin/main' into max/stoploss 2021-10-05 23:02:01 +02:00
saml33 0469b17847 add flip card to tradeform 2021-09-24 22:24:17 +10:00
Maximilian Schneider d310e0b66f [wip] visualize & cancel trigger order and fuck up order reloading 😭 2021-09-23 13:50:34 +02:00
saml33 6c443936a3 fix mobile orderbook asks order 2021-09-22 19:26:59 +10:00
Tyler Shipe 745ce39647 add padding between prices on orderbook for md+ screens 2021-09-20 15:39:20 -04:00
saml33 07ad9cf4b3 fix orderbook padding 2021-09-20 19:56:50 +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
Tyler Shipe 445aabd506 fix z-index 2021-09-12 12:11:58 -04:00
Tyler Shipe e080ff8120 fix clickable size in orderbook 2021-09-10 13:28:18 -04:00
Tyler Shipe 0034344577 fix order highlighting when grouping orderbook 2021-09-07 21:39:12 -04:00
rjpeterson 4fe35a4417 fix inconsistent decimal count upon grouping change 2021-09-07 15:42:07 +08:00
Tyler Shipe df8b65d9a9 add usePrevious to trigger immediate rerender on group size change 2021-09-06 16:43:08 -04:00
rjpeterson 2317b9aeb6 adjust styling & fix build error 2021-09-06 22:30:55 +08:00
rjpeterson a179790b0e set default grouping to 1 cent 2021-09-06 21:56:34 +08:00
rjpeterson 90a0117d0d prevent grouping from resetting to default on market refresh 2021-09-06 21:56:04 +08:00