Commit Graph

160 Commits

Author SHA1 Message Date
Tyler Shipe b7bf1cdda5 yarn format 2022-01-15 15:25:14 -06:00
Riordan Panayides 02734eb1f5 Add close account modal 2022-01-15 14:51:16 -06:00
Nicholas Clarke 32baad4dd2 Merge remote-tracking branch 'origin/main' into account_equity 2022-01-13 12:31:24 -08:00
saml33 a58b49c507 add top nav and page wrapper 2022-01-12 21:21:59 +11:00
tjshipe 813ad801e0
Merge pull request #129 from blockworks-foundation/max/switch-market-mobile
make market selectable on mobile when clicking market name
2022-01-11 20:34:51 -05:00
Nicholas Clarke 8c1590f724 Merge remote-tracking branch 'origin/main' into account_equity 2022-01-11 15:47:18 -08:00
rjpeterson 0663c321e4 add missed translations. rename common:slippage key 2022-01-09 16:31:56 -06:00
Maximilian Schneider 04e332602b delete desktop specific code 2022-01-08 21:14:22 -08:00
Maximilian Schneider 44488342e4 Merge remote-tracking branch 'origin/main' into max/switch-market-mobile 2022-01-08 21:04:14 -08:00
Maximilian Schneider 2393b2426a make market selectable on mobile when clicking market name 2022-01-08 21:00:35 -08:00
Tyler Shipe 5e7e8065f5 add global alert component 2022-01-07 17:52:16 -05:00
Nicholas Clarke c9e5c9982e Merge remote-tracking branch 'origin/main' into account_equity 2022-01-05 23:24:44 -08:00
Tyler Shipe bb170ebcb3 flip swap chart when usdc and usdt inputs 2022-01-04 14:48:49 -05:00
ImpossiblePairs 0a587edc26
Risk calculator v3 (#79)
* Push risk calculator to branch

* Fixed Enclosing on updatePriceValues

Fixed incorrect enclosing of updatePriceValues

* Clean up and commenting

* Update USDT slider response and asset/liability tabulation

* Update value assignment encapsulation error

* Risk Calculator feedback and bug fixes

* Slider Range updated to 0 - 350%

* Add icons, feedback, open orders toggle

* Remove unnecessary console log

* Update precision and short scenario summary

* Push risk calculator to branch

* Fixed Enclosing on updatePriceValues

Fixed incorrect enclosing of updatePriceValues

* Clean up and commenting

* Update USDT slider response and asset/liability tabulation

* Update value assignment encapsulation error

* Risk Calculator feedback and bug fixes

* Slider Range updated to 0 - 350%

* Add icons, feedback, open orders toggle

* Remove unnecessary console log

* Update precision and short scenario summary

* Add mangoCache check

* use getStaticProps in calculator

* allow loading unowned accounts w/ risk-calculator

* add risk calculator new bubble

* Percent move liquidation no longer relative to slider

Co-authored-by: Tyler Shipe <tjshipe@gmail.com>
Co-authored-by: Maximilian Schneider <mail@maximilianschneider.net>
2022-01-03 16:20:45 -08:00
saml33 8b7fff5727 fix conflicts 2022-01-03 12:01:04 +11:00
saml33 f68da5a17b misc fixes 2022-01-01 23:34:46 +11:00
Tyler Shipe 63adaad55d remove phantom workaround for wallet connection issues in next.js 2021-12-31 11:51:50 -05:00
rjpeterson 7abb205502 translate swap page 2021-12-29 19:04:55 -06:00
tjshipe 64f820afb7
Merge pull request #115 from blockworks-foundation/show-deposit-after-intro
show deposit modal after intro tips
2021-12-28 17:52:37 -05:00
Tyler Shipe cd49edd0b6 add error boundaries to app.tsx 2021-12-28 17:22:50 -05:00
Maximilian Schneider ba5b5bb56c rename getServerSideProps to getStaticProps 2021-12-26 07:28:46 -07:00
Nicholas Clarke 1e42f2aded Add account performance tab to the account page 2021-12-23 15:05:44 -08:00
Tyler Shipe 55d3909829 add null check for item address
null chell

moar

hide max button if not connected

fetch balances

fixes

improve swap perf
2021-12-19 01:25:33 -05:00
saml33 23c5aeabc7 show deposit modal after intro tips 2021-12-18 10:28:09 +11:00
Tyler Shipe 0f13c748e4 add jupiter ag swap 2021-12-17 16:02:02 -05:00
saml33 b716c33feb remove unnecessary window scroll 2021-12-15 09:42:02 +11:00
Tyler Shipe ae58aa5712 remove scrollbar at full height 2021-12-14 16:57:58 -05:00
Tyler Shipe c0cdb050f4 fix redirect on url market param 2021-12-08 12:47:36 -05:00
Tyler Shipe f0edd15fef move state out of parent components that were causing additional renders 2021-12-07 23:14:00 -05:00
saml33 03c9710103 improve sub-tabs layout 2021-12-08 15:00:02 +11: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
rjpeterson 6b223e62e1 rebase & add statsperps + account history translation 2021-11-23 22:17:17 -10:00
saml33 d102a1d3d7 add spanish translations 2021-11-24 10:08:14 +11: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 cd7607a611 use getStaticProps for translations 2021-11-17 11:08:29 +00:00
Tyler Shipe 5935297513 ensure wallet is connected after changing markets 2021-11-16 01:34:28 +00:00
Tyler Shipe e25d62eaa5 add wallet reconnect logic to market page 2021-11-15 23:00:00 +00:00
Tyler Shipe 780ef281eb only try reconnect wallet logic if window.solana exists 2021-11-15 19:16:03 +00:00
Tyler Shipe a1e0e82990 reconnect to phantom on each page change 2021-11-15 18:27:57 +00:00
Tyler Shipe 010be224e0 remove console logs 2021-11-14 18:57:00 +00:00
Tyler Shipe 92b3ac2ce7 more improvement to load time when switching pages/markets 2021-11-14 18:37:02 +00:00
tjshipe 2067c981c8
Merge pull request #70 from dboures/view-other-mangoaccounts
View anyone's mangoAccount
2021-11-14 13:24:50 +00:00
tjshipe eb39e1cbb1
Merge branch 'main' into order-lines-translation 2021-11-13 17:32:52 +00:00
dboures 88f803bc04 view other accounts using pubkey in url 2021-11-09 18:17:03 +00: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 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