Commit Graph

85 Commits

Author SHA1 Message Date
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
rjpeterson bb0a4594cc prevent grouping from resetting to default on market refresh 2021-09-06 21:50:11 +08:00
rjpeterson cc517d1508 revert unnecessary changes 2021-09-06 21:44:32 +08:00
rjpeterson c6c54f27bf make select box width consistent 2021-09-06 21:38:36 +08:00
rjpeterson f6dddddd53 make grouping function more clear 2021-09-06 21:38:33 +08:00
rjpeterson acf91fa3d2 fix orders not grouping properly due to js floats 2021-09-06 21:38:31 +08:00
rjpeterson 206cd98b46 change group sizes, increase orderbook entries to 40, fix bids display bug 2021-09-06 21:38:28 +08:00
rjpeterson c3c1eb3651 adjust decimal count when grouping is changed 2021-09-06 21:38:25 +08:00
rjpeterson 3d962d7707 adjust dropdown styling 2021-09-06 21:38:23 +08:00
rjpeterson d16395eb9a reset groupSize on new market, make sure all array entries are numbers 2021-09-06 21:38:20 +08:00
rjpeterson e4b70ae4ae add GroupSize select component 2021-09-06 21:38:17 +08:00
rjpeterson 6fb724de11 initial rough grouping solution 2021-09-06 21:38:14 +08:00
Tyler Shipe bb2d4ffc10 fix orderbook row bar width 2021-09-06 01:36:27 -04:00
Tyler Shipe 221b6f06f5 Show negative balance when borrowing 2021-09-03 16:25:09 -04:00
Tyler Shipe 8e4e818e49 fix orderbook display 2021-09-03 01:45:58 -04:00
Tyler Shipe 50c9fc07c1 add open order to orderbook 2021-09-03 01:32:27 -04:00
Tyler Shipe 3b59771145 immediately resize orderbook on depth change 2021-09-02 18:29:03 -04:00
tjshipe b2228d446a
Merge pull request #17 from blockworks-foundation/dynamic-orderbook-depth
Dynamic orderbook depth
2021-08-30 17:18:21 -04:00
rjpeterson de7fc9c15a prevent scrollbar from appearing 2021-08-30 12:24:10 +08:00