Commit Graph

189 Commits

Author SHA1 Message Date
tjs 0492e2fe6c load total and hourly account stats asynchronously 2022-03-02 00:53:25 -05:00
saml33 d2029ef5f5 use separate api call for export 2022-03-02 13:25:23 +11:00
saml33 c38e063ff4 add export pnl function 2022-03-02 12:47:06 +11:00
saml33 7a9dfc2b68 align styles 2022-03-02 11:08:18 +11:00
tjs 59144e727d show timestamps for pnl and account value on account page 2022-03-01 17:24:31 -05:00
tjs c41af04f8e fix type issue with new ExpandableRow props 2022-03-01 14:28:20 -05:00
tjs b6999cd220 add performance chart to account page 2022-03-01 14:06:39 -05:00
saml33 cbf7047bb7 align expandable panels 2022-02-24 12:37:31 +11:00
saml33 0501557b88 remove your borrows when not connected 2022-02-24 09:49:02 +11:00
saml33 b5efc88d30 use label component on form elements 2022-02-23 10:30:54 +11:00
saml33 2ae323ee1c semantic headings and styles 2022-02-21 14:55:13 +11:00
saml33 839efc730c page content and styling 2022-02-14 12:17:21 -05:00
Riordan Panayides a1009cb6d4 Fix null mangoAccount 2022-02-09 15:48:05 +00:00
Riordan Panayides 0c3c5ada98 Add delegate functionality 2022-02-09 15:11:51 +00:00
Tyler Shipe 715c8fd26f show deposit and borrow rates even when not connected 2022-02-04 12:57:18 -05:00
Tyler Shipe a0903522e9 support viewing pubkeys on account interest page 2022-01-24 16:35:58 -05:00
Tyler Shipe faf82d6ebc hide duplicate deposit withdraw on trade page 2022-01-21 14:42:23 -06:00
tjshipe a538e8aaad
Merge pull request #142 from blockworks-foundation/improve-account-charts
improve account charts
2022-01-21 00:21:29 -06:00
Tyler Shipe a1f3485687 fix pagination 2022-01-20 12:09:19 -06:00
saml33 33c8adf7c6 improve account charts 2022-01-20 13:45:47 +11:00
Tyler Shipe 6906d679dd Add view counterparty to trade history 2022-01-19 15:35:53 -06:00
Tyler Shipe c307571624 yarn format 2022-01-16 11:13:55 -06:00
Nicholas Clarke 9f2d789394 Minor refactoring. 2022-01-14 10:04:04 -08:00
Nicholas Clarke 8c1590f724 Merge remote-tracking branch 'origin/main' into account_equity 2022-01-11 15:47:18 -08:00
saml33 1db53e45f2 hide interest chart when no data 2022-01-11 21:23:57 +11:00
Nicholas Clarke 15302e3313 Add showAll prop to performance charts 2022-01-05 23:35:50 -08:00
Nicholas Clarke c9e5c9982e Merge remote-tracking branch 'origin/main' into account_equity 2022-01-05 23:24:44 -08:00
Nicholas Clarke 4ce7397738 Add PNL to performance tab 2022-01-05 15:58:10 -08:00
Tyler Shipe 05bd420fce restrict ui error body length and handle null values on account page 2021-12-29 01:39:32 -05:00
Nicholas Clarke 1e42f2aded Add account performance tab to the account page 2021-12-23 15:05:44 -08:00
saml33 7c857ca974 show hourly stats when only 1 day of data 2021-12-18 22:19:57 +11:00
saml33 677596f84d fix conflicts 2021-12-14 22:50:22 +11:00
saml33 ee4b5f3b2d update sub-tab bg color 2021-12-08 22:40:41 +11:00
saml33 03c9710103 improve sub-tabs layout 2021-12-08 15:00:02 +11:00
saml33 58113fa863 hide export button on trade history 2021-12-08 10:10:12 +11:00
saml33 8acb039630
Merge pull request #100 from Mango-Heroes/export-csv
Export History, Funding, and Interest data to CSV file
2021-12-08 10:01:09 +11:00
saml33 46d90744e4 fix conflicts 2021-12-07 22:22:05 +11:00
Yandre 9ab940673c changed timestamps and file names 2021-12-06 14:26:22 -05:00
Tyler Shipe 9b7f9e2e8a add currency symbol to total funding 2021-12-04 13:59:09 -05:00
Yandre 5c5d52c7c0 Refactored code per @saml33's suggestion 2021-12-03 16:39:36 -05:00
Yandre 0f2d073fb1 Fixed issue with Trading tab's filename 2021-12-02 19:39:56 -05:00
Yandre 40e7c2875c Added code to export data to CSV file 2021-12-02 19:37:20 -05:00
tjshipe 68e4f4d19d
Merge branch 'main' into update-translations 2021-12-01 01:12:59 -05:00
saml33 9852f26c40 fix translation conflicts 2021-11-26 15:24:14 +11:00
saml33 576f1ed432 add same features to funding tab 2021-11-26 15:17:48 +11:00
saml33 2398b9392b remove net interest value 2021-11-25 09:50:53 +11:00
Tyler Shipe 7eef75cfdd make liquidation history label for usd perp position clearer 2021-11-24 12:49:06 -05:00
saml33 0bf66f4e54 hide micro values 2021-11-24 21:53:03 +11:00
rjpeterson 6b223e62e1 rebase & add statsperps + account history translation 2021-11-23 22:17:17 -10:00
saml33 1b04570d21 add spanish translations 2021-11-24 12:00:25 +11:00
Tyler Shipe e481e842cd fix liquidation history asset values 2021-11-23 17:52:16 -05:00
Tyler Shipe 451922b015 fix liquidation history unit conversion 2021-11-23 17:39:47 -05:00
Tyler Shipe 93bd67c313 fix liquidation display decimals 2021-11-23 15:37:00 -05:00
Tyler Shipe 796cf35646 cleanup 2021-11-23 15:19:09 -05:00
Tyler Shipe f80cf5e6ed parse liq activity details by activity type 2021-11-23 15:15:55 -05:00
Tyler Shipe ae0cea7083 yarn format 2021-11-23 14:54:11 -05:00
Tyler Shipe 38b893c7ce add liquidation history to account page 2021-11-23 13:58:01 -05:00
saml33 9bc1d16dc4 fix: align positioning of account page radio buttons 2021-11-23 22:12:48 +11:00
Tyler Shipe 2f4518cf53 handle when no account history exists 2021-11-17 16:56:39 +00:00
Tyler Shipe 6ed230d900 add deposit and withdraw history to account page 2021-11-17 15:51:17 +00:00
Tyler Shipe 010be224e0 remove console logs 2021-11-14 18:57:00 +00:00
saml33 6fb6f6f46a hide charts when no interest 2021-11-14 20:53:34 +11:00
saml33 4bf6c410c7 convert time to local 2021-11-12 20:31:52 +11:00
saml33 77acf2d862 add translations 2021-11-12 11:08:58 +11:00
saml33 d8db2c13f3 add usd values 2021-11-11 23:08:19 +11:00
saml33 7bbcbec627 improve repay borrow ux 2021-11-10 11:37:40 +11:00
saml33 cca6d84feb fix: add padding-top to table wrapper 2021-11-09 20:24:43 +11:00
saml33 0a14c07d06 chart interest earned/paid over last 30 days 2021-11-08 22:02:30 +11:00
Tyler Shipe bc16c61cb4 add back hourly funding table 2021-11-06 17:00:10 +00:00
saml33 82af972f37 add commas to max borrow amount values 2021-11-04 19:56:06 +11:00
saml33 41538dcb01 history translation 2021-11-03 23:03:23 +11:00
saml33 30f971cfac fix: mobile styling to accomodate new markets 2021-11-03 22:43:34 +11:00
saml33 859432fdb2 fix: match oracle and markprice decimals to tick size 2021-11-02 20:43:28 +11:00
Tyler Shipe 61bd862aab fix: handle when no funding data is available 2021-11-01 21:02:04 -04:00
Tyler Shipe cb462eb47a fix: error when hourly interest is undefined 2021-11-01 11:14:43 -04:00
Tyler Shipe 44176247d7 temp: hide hourly funding table 2021-10-28 12:45:19 -04:00
Tyler Shipe fc1665444f upgrade to next12, remove babel, remove emotionjs, convert emotion styles to inline 2021-10-27 16:46:31 -04:00
Tyler Shipe 98a151d8a0 add quote symbol to funding table 2021-10-25 15:39:49 -04:00
Tyler Shipe 3da0b240f5 add paginated tables for account interest and funding 2021-10-25 15:21:54 -04:00
Tyler Shipe 77095e5049 temp: disable hourly funding to optimize queries and switch to table view 2021-10-22 11:29:15 -04:00
rjpeterson 0733e8cda7 add missing translations, add spanish option, fix dropmenu z-index 2021-10-20 08:48:02 -10: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 c53c35b2e4 fix: handle when no funding stats exist for acct 2021-10-18 18:00:47 -04:00
Tyler Shipe 76bf0a0320 hourly account interest chart 2021-10-18 02:50:39 -04:00
Tyler Shipe 5824d71db1 hourly funding chart 2021-10-18 01:17:07 -04:00
Tyler Shipe 71bfa3f3a5 add total funding 2021-10-17 22:34:24 -04:00
Maximilian Schneider 93abdab9f6 Merge remote-tracking branch 'origin/main' into max/stoploss 2021-10-05 23:02:01 +02:00
Maximilian Schneider 71945ff9ce Merge remote-tracking branch 'origin/max/stoploss' into max/stoploss 2021-09-30 12:00:45 +02:00
saml33 659e48c99f mobile styles for new features 2021-09-26 23:20:51 +10:00