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
Kieran Gillen
39e4a6def5
Adds more null checks
2022-03-30 13:08:05 +02:00
saml33
cb8a24e29a
rounded order size on mobile
2022-03-29 22:36:28 +11:00
Kieran Gillen
1a40a98af0
Removes calls to Wallet and Connected through MangoStore hook
2022-03-23 11:42:04 +01:00
saml33
8fdcabfe79
trade page and account overview
2022-03-21 22:56:37 +11:00
tjs
db8a0324aa
add tailwind prettier plugin; run yarn format
2022-03-09 15:53:11 -05:00
dd
46236fa9e5
fix float rounding issues in market position, positions table and orders table
2022-02-28 12:51:10 -05:00
Haiyang Wang
d2796a6c45
fix typo in orders table
2022-02-27 19:56:12 +08:00
saml33
b5efc88d30
use label component on form elements
2022-02-23 10:30:54 +11:00
tjs
bd4c4145b5
uses referrerpk if it exists for modifyPerpOrder
2022-02-14 21:32:31 -05:00
saml33
839efc730c
page content and styling
2022-02-14 12:17:21 -05:00
tjs
f54af5c787
add ref links
2022-02-14 12:17:11 -05:00
Tyler Shipe
74110b510b
hide tv left toolbar; consistent table row heights
2022-01-31 22:51:54 -05:00
Tyler Shipe
3ff9471fa1
move market.txs page to index.tsx
2022-01-31 12:48:48 -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
a08b1d7e8e
call updateOpenOrders after canceling an order
2021-12-14 19:56:02 -05:00
Tyler Shipe
cebb6f98a2
add error logging
2021-12-09 12:36:17 -05:00
saml33
03c9710103
improve sub-tabs layout
2021-12-08 15:00:02 +11:00
saml33
42b4dbe373
add updateopenorders after modify
2021-12-07 10:02:07 +11:00
saml33
05ac2e65ad
remove fetchmangogroup from cancel/modify functions
2021-12-01 20:21:02 +11:00
tjshipe
68e4f4d19d
Merge branch 'main' into update-translations
2021-12-01 01:12:59 -05:00
Tyler Shipe
84233b2a56
improve rerender when cancelling orders for a market other than the one selected
2021-11-30 18:35:49 -05:00
Tyler Shipe
4eb7cd3934
forceReload components when mango account is updated in store
2021-11-30 12:32:14 -05:00
saml33
d565ad5083
fix: add correct market url to open orders table
2021-11-29 22:20:57 +11:00
saml33
33fa3a2f71
add modify order to mobile table
2021-11-29 20:35:00 +11:00
saml33
8da167afa1
modify order from desktop open orders table
2021-11-28 22:19:44 +11:00
rjpeterson
6b223e62e1
rebase & add statsperps + account history translation
2021-11-23 22:17:17 -10:00
Tyler Shipe
db4aa785fc
speed up time between page loads
2021-11-14 14:48:09 +00:00
Michael Fenn
3c1d0f2458
link market from desktop open orders table
2021-11-09 21:16:03 -05:00
Tyler Shipe
b880220103
fix: show decimals based on tick size in open orders table
2021-11-01 22:13:25 -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
3b65fed87d
fix: format decimals for perp trigger orders
2021-10-12 16:59:21 -04:00
Maximilian Schneider
9d82894c2d
prevent flashing on order reloading
2021-09-29 21:09:51 +02:00
Maximilian Schneider
70dc7d816a
display conditional orders in order table
2021-09-27 17:45:39 +02:00
Maximilian Schneider
d310e0b66f
[wip] visualize & cancel trigger order and fuck up order reloading 😭
2021-09-23 13:50:34 +02:00
saml33
3e1b872e42
align mobile tab headings
2021-09-20 22:24:42 +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
c1269298b9
use custom endpoint url
2021-09-13 17:14:59 -04:00
Tyler Shipe
5bcec8dd69
change interval to refresh trade history
2021-09-08 14:08:54 -04:00
Tyler Shipe
33070aef91
reduce getProgramAccount calls
2021-09-07 19:31:02 -04:00
Tyler Shipe
b03db3b771
remove send transaction notification
2021-09-07 15:27:54 -04:00
tjshipe
c135c871bf
Merge pull request #18 from blockworks-foundation/perp-stats
...
Add funding rate and open interest graphs
2021-09-07 23:46:45 +10:00
Tyler Shipe
e5b67857af
retry transaction more frequently; use tx callback for notifications
2021-09-04 17:59:53 -04:00
Tyler Shipe
221b6f06f5
Show negative balance when borrowing
2021-09-03 16:25:09 -04:00
Tyler Shipe
bc447a5296
add value to open orders table, add color to perp pnl
2021-08-30 02:17:36 -04:00
Tyler Shipe
f08e323e6c
remove console logs
2021-08-24 16:01:43 -04:00
Tyler Shipe
a7b5c8a96a
more tweaks to improve orderbook websocket
2021-08-23 13:21:20 -04:00
Tyler Shipe
b3cc717c86
use context slot to sync orderbook updates
2021-08-23 13:12:48 -04:00
saml33
cbd0e0b934
fill trade size from position size
2021-08-20 21:51:29 +10:00