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
rjpeterson
43a01683e9
undo tailwind class reordering
2021-08-30 11:24:02 +08:00
rjpeterson
531720b290
inital conversion from v2
2021-08-30 11:24:01 +08:00
Tyler Shipe
e0f2398dab
remove old hooks
2021-08-29 20:37:31 -04:00
Tyler Shipe
d09b9a4283
add cummulative and step size orderbook toggle
2021-08-27 20:37:45 -04:00
saml33
12db262794
remove extra 0 from orderbook price/size
2021-08-22 14:03:43 +10:00
saml33
287b71a476
remove rounding from orderbook markprice
2021-08-22 13:56:48 +10:00
Tyler Shipe
e1cb67d9fb
fix decimals for markprice display
2021-08-12 15:39:10 -04:00
Tyler Shipe
46b2f7ea21
show orderbook even if only just bid or just ask exists
2021-08-04 17:54:44 -04:00
Tyler Shipe
619295d2e0
parsed trade history for perps
2021-06-24 16:57:11 -04:00
Tyler Shipe
d44e6476b4
add orderbook mid price for perp
2021-06-24 13:54:59 -04:00
Tyler Shipe
25d41f2f58
display unparsed perp history
2021-06-24 12:30:45 -04:00
Tyler Shipe
cb44650367
connect perp market to websocket for orderbook
2021-06-23 15:09:19 -04:00
Maximilian Schneider
bdbc9f2822
fix display issue in order book flip
2021-06-18 19:23:09 -04:00
Maximilian Schneider
ccad1015f3
base & quote symbol
2021-06-18 18:53:24 -04:00
Tyler Shipe
054cc5c82e
remove console logs and fetch all markets
2021-06-18 18:38:09 -04:00