Commit Graph

59 Commits

Author SHA1 Message Date
tjs 150e59454e condense top nav bar items 2022-02-09 22:36:32 -05:00
rjpeterson 070cfd710c update translations, add names arg to ButtonGroup 2022-02-05 14:38:46 -06: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 e0a539382e fix trade history pagination 2022-01-19 17:43:50 -06:00
Tyler Shipe 6906d679dd Add view counterparty to trade history 2022-01-19 15:35:53 -06:00
saml33 03c9710103 improve sub-tabs layout 2021-12-08 15:00:02 +11:00
Tyler Shipe 35df138859 fix link to markets from trade history 2021-12-03 12:29:15 -05:00
Tyler Shipe 459c63daa2 expand trading view component by reducing padding 2021-12-01 11:49:28 -05:00
Tyler Shipe ec633992fa fix translation issues; fix pubkey viewing 2021-11-18 13:56:11 +00:00
Tyler Shipe 6ed230d900 add deposit and withdraw history to account page 2021-11-17 15:51:17 +00:00
Tyler Shipe db4aa785fc speed up time between page loads 2021-11-14 14:48:09 +00:00
saml33 f274fcae42 show date/time on mobile trade history 2021-11-05 20:55:16 +11:00
saml33 61a6a65830
Merge pull request #66 from blockworks-foundation/mobile-fixes
fix: mobile styling to accomodate new markets
2021-11-04 08:17:08 +11:00
saml33 30f971cfac fix: mobile styling to accomodate new markets 2021-11-03 22:43:34 +11:00
Tyler Shipe ef7bafe5cd show actual decimals used in trade history table 2021-11-02 12:09:27 -04:00
Michael Fenn ca30bf96b5 link to market from trade history table, like in perp position table 2021-10-29 21:00:53 -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 31b9737f59 allow selecting SL & TP directly 2021-09-24 20:38:05 +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 cc87df1c02 optional numTrades for tradehistory 2021-09-13 12:40:28 -04:00
Tyler Shipe c91d65e933 only show 100 recent trades in history tab 2021-09-13 12:28:53 -04:00
saml33 e5579b09bb format trade price 2021-09-08 14:34:52 +10:00
saml33 18d43bd837 trade history table mobile 2021-09-08 14:12:49 +10:00
Tyler Shipe 494ea98e33 add default width; add show zero balances 2021-09-05 20:20:21 -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 72eda925c1 use event-history-api for spot trades 2021-08-23 18:37:48 -04:00
saml33 945f8a1a90 add orders/position count 2021-08-22 22:45:10 +10:00
Tyler Shipe f7aa5b6bed fix lint errors 2021-08-17 16:48:42 -04:00
Tyler Shipe 9c1f8edf20 rename positions table; fix rounding issues 2021-08-15 13:06:52 -04:00
saml33 df6e97763a format usd values and small ui fixes 2021-08-15 23:31:59 +10:00
Tyler Shipe 935cd46345 exclude perp liqs from trade history table 2021-08-14 19:24:55 -04:00
Tyler Shipe 10a881a811 wire up init account and deposit 2021-08-13 11:31:00 -04:00
Tyler Shipe b2f6eece1c fetch perp trade history from db 2021-08-13 11:05:49 -04:00
Tyler Shipe 85ed076fe0 sort trade history for perps 2021-08-04 12:46:14 -04:00
Tyler Shipe bca4899e80 add market to trade history 2021-07-27 12:22:50 -04:00
Tyler Shipe 1f73cfbd7a merge 2021-07-26 09:44:21 -04:00
Tyler Shipe be031cc0fe consistency with user info tabs 2021-07-24 16:15:27 -04:00
Tyler Shipe d35304e84f hide perp positions table if none open 2021-07-24 14:29:24 -04:00
Tyler Shipe 267639dec5 update positions and history tables 2021-07-24 14:12:52 -04:00
Tyler Shipe 619295d2e0 parsed trade history for perps 2021-06-24 16:57:11 -04:00
Tyler Shipe 2a1e13a1b0 show current market event queue fills 2021-06-21 15:02:12 -04:00
saml33 3b5f22b815
User account page (#22)
* layout, overview, start on assets, borrows and open orders

* trade history, sortable data hook for tables, borrow page

* handle deposit and withdraw buttons

* borrow modal ui and integration + settle borrow for individual assets

* in orders balance to asset table and totals, responsive css, new connected wallet button + small tweaks

* account switch/creation flow

* accounts modal, update to usebalances hook

* handle settle, deposit before settle, save last account

* disable borrow/withdraw button when no account
2021-06-05 10:11:44 -04:00
Tyler Shipe 18a794e6b4 update table descriptions 2021-04-22 11:43:20 -04:00
saml33 e1186840b2 button to reset layout and added time to trade history 2021-04-22 22:33:35 +10:00
saml33 4285339e5a responsive tables and start on stats page 2021-04-21 00:19:08 +10:00
saml33 72e70ad488 market pair header concept 2021-04-19 23:45:59 +10:00
saml33 f66710f14a font styling 2021-04-16 21:50:56 +10:00
Tyler Shipe b2e35ecb28 remove trade history table loader for now 2021-04-15 13:52:25 -04:00