Commit Graph

86 Commits

Author SHA1 Message Date
saml33 b52375921e align icons to side nav 2022-06-30 20:54:01 +10:00
saml33 ef107546fc bg and border colors 2022-06-18 16:44:26 +10:00
saml33 98a8a5a638 add redeem to perp table 2022-06-17 13:17:30 +10:00
saml33 cf31cebdd5
relative long/short chart (#299)
* relative long/short chart

* eth icon bug

* simplify language and chart styling

* fix sol icon bug

* sort segments and include unsettled positions

* make chart angle relative to value

* sol, msol color

* simplify math

* change language

* re-work account overview layout

* increase tabs margin-b

* correctly net unsettled perps and add dust treshold

* layout

* xl breakpoint

* add spot balances to store

* add missing file

* update long / short exposure values and charts

Co-authored-by: Maximilian Schneider <mail@maximilianschneider.net>
2022-06-08 17:01:15 +03:00
Maximilian Schneider a467f3f94f components/TradeHistoryTable.tsx 2022-06-05 15:12:29 +03:00
saml33 dbb0aaecbc allow filter when >10k trades 2022-06-01 21:08:25 +10:00
saml33 c34794d66c add pagination on mobile 2022-05-24 20:42:46 +10:00
saml33 d1abd846f0 add seconds to trade history 2022-05-18 11:45:51 +10:00
saml33 c33b1dde15 fix button positions on mobile 2022-04-06 14:25:31 +12:00
rjpeterson aa4ae86cbf yarn format 2022-04-02 10:03:06 -07:00
rjpeterson 78c87dc821 translate new keys, translate account history headers 2022-04-02 09:31:57 -07:00
Kieran Gillen 84ac501bc2 Hides buttons on mobile 2022-04-01 21:58:54 +02:00
Kieran Gillen d9f9c50d5c Merge branch 'main' of github.com:blockworks-foundation/mango-ui-v3 into kieran/strict-nullcheck 2022-03-31 17:24:47 +02:00
tjs 5a2b0e54c9 hide trade history actions on trade page 2022-03-31 11:15:05 -04:00
Kieran Gillen 764ea28cb4 Adds more null checking 2022-03-30 19:10:15 +02:00
saml33 36bd258c15 filter trade history 2022-03-29 10:43:42 +11:00
tjs 43fa225645 fix date component 2022-03-24 15:52:42 -04:00
saml33 45d923c636 fix invalid date 2022-03-24 14:20:19 +11:00
saml33 57b3331760 Merge branch 'main' into date-format-component 2022-03-23 09:26:25 +11:00
saml33 c0ddb68ba2 add table date format component 2022-03-21 11:06:13 +11:00
tjs 4c0eb2114e refactor trade history to use the mango store
reduces rerenders
update usePerpPosition with tradeHistory
2022-03-20 04:06:30 -04:00
saml33 d4d3cb1eea move size rounding to hook 2022-03-11 13:02:36 +11:00
saml33 fdf824dc37 round perp size and fix sort 2022-03-11 11:23:30 +11:00
tjs db8a0324aa add tailwind prettier plugin; run yarn format 2022-03-09 15:53:11 -05:00
tjs c41af04f8e fix type issue with new ExpandableRow props 2022-03-01 14:28:20 -05:00
rjpeterson 9e028cbacf add keep-break class to prevent CJK display issues 2022-02-26 11:37:32 -06:00
saml33 839efc730c page content and styling 2022-02-14 12:17:21 -05:00
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