Commit Graph

66 Commits

Author SHA1 Message Date
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
tjs b66f990104 only use lodash that's needed 2022-03-29 22:46:21 -04:00
saml33 36bd258c15 filter trade history 2022-03-29 10:43:42 +11:00
Kieran Gillen d7f96bde8b Updates to wallets in ConnectButton 2022-03-24 15:39:24 +01:00
Kieran Gillen 17c6dd784c Refactors wallet in store 2022-03-23 13:18:34 +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 9ce177ca3d Revert solana wallet adapter 2022-03-18 14:41:23 -04:00
Kieran Gillen 88cb8f2439 Removes log 2022-03-17 15:26:33 +01:00
Kieran Gillen 8d7a7705d4 Updates onConnect call and adds featured wallets 2022-03-17 12:43:09 +01:00
Kieran Gillen 1a49be860e Updates connect to use wallet adapter directly 2022-03-16 13:54:00 +01:00
Kieran Gillen db5bdd1488 Removes typing on handleConnect 2022-03-15 15:25:14 +01:00
Kieran Gillen 259b0bb1b0 Updates ConnectWalletButton with new wallet adapter 2022-03-15 14:56:38 +01:00
tjs db8a0324aa add tailwind prettier plugin; run yarn format 2022-03-09 15:53:11 -05:00
saml33 6442dc853e make menus consistent 2022-02-23 14:36:05 +11:00
saml33 f367b47829 fix hover style 2022-02-21 21:21:16 +11:00
saml33 2539d6f10a button colors 2022-02-20 14:16:57 +11:00
saml33 95d73df500 add markets page 2022-02-17 20:44:28 +11:00
saml33 0feb640c5f address team feedback 2022-02-11 16:16:44 +11:00
saml33 5d28deeb57 add favorites bar and change % 2022-02-09 21:55:54 +11:00
saml33 3a1848faf2 flyout menu 2022-02-05 12:06:20 +11:00
Tyler Shipe 351bc5d11d ensure mango account is loaded before connecting wallet 2022-01-26 13:37:02 -05:00
Vidor Gencel b59abf5f80
Profile Picture Support (#134)
* render profile picture

* update profile picture package

* Include PFP only if set

* no need to wait pfp to load

Co-authored-by: Maximilian Schneider <mail@maximilianschneider.net>
2022-01-18 10:26:13 -08:00
tjshipe 8f380933bb
Revert "Mango Heroes NFT Integration" 2021-12-03 11:03:51 -05:00
Yandre 43776f6f03 Pulled latest code from main 2021-12-02 17:14:14 -05:00
Yandre a0cae7d5da Allowed all NFTs to be used as profile picture 2021-11-26 14:17:24 -05:00
saml33 d102a1d3d7 add spanish translations 2021-11-24 10:08:14 +11:00
Yandre e7b517bf6e Swapped Mango Heroes URLs to use IPFS dedicated gateway 2021-11-19 19:32:45 -05:00
Yandre 4956e28e9a Refactored the code 2021-11-11 11:51:54 -05:00
Yandre f5e0c63af1 Fixed merge conflicts 2021-11-11 09:45:10 -05:00
Yandre 9f66df9bf1 Completed code for Mango Heroes integration 2021-11-10 21:54:23 -05:00
saml33 d216ec1f1a add solflare 2021-11-10 22:46:54 +11:00
saml33 05d8bdd64a add translation keys 2021-11-04 23:25:11 +11:00
saml33 f3ea08c1c1 merge main 2021-11-04 20:17:39 +11:00
saml33 b8d34934d9 setup introjs tour 2021-10-29 23:05:55 +11:00
Tyler Shipe f2c484de63 allow changing settings before wallet is connected 2021-10-27 17:43:10 -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
Yandre b15b7dded9 Added code to select multiple Mango Heroes as your profile picture (using images for now) 2021-10-16 19:42:50 -04:00
Yandre 8aa176a32b Added modal for changing avatar 2021-10-16 10:26:22 -04:00
Yandre 209b2c47df Added code to retrieve Metaplex metadata for NFTs 2021-10-14 14:53:14 -04:00
Yandre c12d8ea20d Fixed merge conflictions 2021-10-12 11:51:36 -04:00
saml33 5132fb9f8d show accounts and settings options on mobile 2021-10-09 21:05:45 +11:00
saml33 dbbb415060
Default market settings (#45)
* add default market settings to settings modal

* redirect to default market
2021-10-01 12:05:42 +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
Tyler Shipe 9162ffbe3a use dropdown for node selection 2021-09-13 19:27:02 -04:00
Tyler Shipe c1269298b9 use custom endpoint url 2021-09-13 17:14:59 -04:00
Tyler Shipe 73fa197d5d remove unnecessary emotion styling; use asyncawait for sleeps 2021-09-03 15:02:51 -04:00
saml33 a47e678c2f improve mobile menu 2021-09-02 00:30:34 +10:00
Tyler Shipe c5866ee610 make health ratio red if init health is at or below zero 2021-08-04 17:47:05 -04:00