Commit Graph

68 Commits

Author SHA1 Message Date
tjs b79f156ece pass in wallet to store actions when needed 2022-04-04 16:28:32 -04:00
tjs 2c08ab07b6 remove old connection logic 2022-04-03 18:47:16 -04:00
tjshipe 05a2a3c1f6
Merge pull request #231 from blockworks-foundation/sentry
Sets up Sentry & custom ErrorBoundary
2022-03-31 22:56:15 -04:00
Luc Succes ee446b2de5 use env var for sentry 2022-03-31 09:33:13 -07:00
Luc Succes 82c348c1da Merges main 2022-03-31 09:24:25 -07:00
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
saml33 7ede39e0fc change date picker 2022-03-30 13:37:39 +11:00
Kieran Gillen 60cb08a5a5 Adds more null checks 2022-03-29 15:02:29 +02:00
Luc Succes 294cc10e8c Merges main 2022-03-29 08:28:08 -04:00
Luc Succes 1196cde40a Sets up Sentry & custom ErrorBoundary 2022-03-29 08:21:54 -04:00
saml33 3448ed4ae4 datepicker stylesheet 2022-03-29 11:21:03 +11:00
Kieran Gillen d7f96bde8b Updates to wallets in ConnectButton 2022-03-24 15:39:24 +01:00
Kieran Gillen aee7a481a0 Empty commit 2022-03-23 19:40:24 +01:00
Kieran Gillen cc9bed9b4a Removes connection provider 2022-03-23 11:42:21 +01:00
Kieran Gillen 638db0ed5c Adds custom WalletProvider 2022-03-22 12:27:13 +01:00
Kieran Gillen cd8549b1dc Reverts revert wallet adapter 2022-03-22 10:18:58 +01: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
tjs 9ce177ca3d Revert solana wallet adapter 2022-03-18 14:41:23 -04:00
Kieran Gillen 0a033e50d8 Merge branch 'main' of github.com:blockworks-foundation/mango-ui-v3 into add-wallet-adapter 2022-03-15 15:14:52 +01:00
Kieran Gillen b83655a015 Adds WalletProvider 2022-03-15 14:54:26 +01:00
tjs 597c930b98 use blockhash that expires with timeout 2022-03-13 19:26:30 -04:00
tjs db8a0324aa add tailwind prettier plugin; run yarn format 2022-03-09 15:53:11 -05:00
tjs 6d029f4432 remove console.logs 2022-03-09 14:47:39 -05:00
tjs 80d876acc9 chore: fix warning from next js 12 upgrade 2022-03-02 00:17:16 -05:00
Riordan Panayides 04cf24ffd8 Fix title price 2022-02-28 18:22:14 +00:00
tjs 9df037032d decode and encode referral uri components 2022-02-22 10:47:09 -08:00
tjs d45e7facf1 better twitter image 2022-02-15 12:14:51 -05:00
tjs 7659fd487a set twitter card image 2022-02-15 11:33:30 -05:00
tjs f54af5c787 add ref links 2022-02-14 12:17:11 -05:00
tjs 55b7907bfd wip 2022-02-14 12:15:46 -05:00
Tyler Shipe 4a0c77a3d9 increase information density 2022-01-31 10:52:28 -05:00
Tyler Shipe a6d432f32d utilize zustand for perppositions 2022-01-27 22:57:18 -05:00
Tyler Shipe 2355dfcaa6 store openOrders in zustand 2022-01-27 11:57:36 -05:00
Tyler Shipe 67ce0c254c prevent google translate from interfering with localization 2022-01-25 13:57:54 -05:00
Tyler Shipe 5e7e8065f5 add global alert component 2022-01-07 17:52:16 -05:00
Tyler Shipe cd49edd0b6 add error boundaries to app.tsx 2021-12-28 17:22:50 -05:00
saml33 b716c33feb remove unnecessary window scroll 2021-12-15 09:42:02 +11:00
Tyler Shipe f0edd15fef move state out of parent components that were causing additional renders 2021-12-07 23:14:00 -05:00
Tyler Shipe babd4fe655 move page title into it's own component 2021-12-06 21:45:10 -05:00
Tyler Shipe 855a6e6d58 add ws watching for mangoAccount 2021-12-05 20:13:23 -05:00
saml33 f3ea08c1c1 merge main 2021-11-04 20:17:39 +11:00
Tyler Shipe a2ba24e760 add apple-touch-icon link sizes to fix phantom 2021-11-03 22:04:06 -04:00
saml33 859432fdb2 fix: match oracle and markprice decimals to tick size 2021-11-02 20:43:28 +11:00
saml33 b8d34934d9 setup introjs tour 2021-10-29 23:05:55 +11: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 dd0592feff add more info to tooltip 2021-10-11 17:46:52 -04:00
Tyler Shipe 1c64c70249 add open graph title 2021-10-11 16:47:38 -04:00
Riordan Panayides 9891c8688b
Add market name and price in title (#20)
* Add market name and price in title

* Reorder title, ensure price always displays on market pages

Co-authored-by: Maximilian Schneider <mail@maximilianschneider.net>
2021-09-25 12:17:35 +02: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
saml33 50380107cf improve balances table 2021-09-05 16:50:16 -04:00