Tyler Shipe
5afff3bd7e
Merge branch 'v3.3' into main
2022-01-16 17:27:33 -06:00
Tyler Shipe
cb266e3aa1
add pubkey url param to trade page
2022-01-16 17:16:47 -06:00
Tyler Shipe
c307571624
yarn format
2022-01-16 11:13:55 -06:00
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
saml33
db2f507830
add more insight data and buy button
2022-01-11 11:54:50 +11: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
saml33
859432fdb2
fix: match oracle and markprice decimals to tick size
2021-11-02 20:43:28 +11:00
saml33
bccada65fe
tip content
2021-10-31 22:21:22 +11:00
saml33
b8d34934d9
setup introjs tour
2021-10-29 23:05:55 +11:00
rjpeterson
0359b80e55
add translations for tradingview chart order lines
2021-10-25 11:03:00 -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
71bfa3f3a5
add total funding
2021-10-17 22:34:24 -04: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
Maximilian Schneider
93abdab9f6
Merge remote-tracking branch 'origin/main' into max/stoploss
2021-10-05 23:02:01 +02:00
Tyler Shipe
6925a46df8
Revert "Revert "add interest earned table to account page""
...
This reverts commit 03dc3cd001
.
2021-10-01 11:42:42 -04: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
Tyler Shipe
03dc3cd001
Revert "add interest earned table to account page"
...
This reverts commit 0f6d39043f
.
2021-09-28 11:58:15 -04:00
Tyler Shipe
0f6d39043f
add interest earned table to account page
2021-09-28 00:13:40 -04:00
saml33
659e48c99f
mobile styles for new features
2021-09-26 23:20:51 +10: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
1830986e40
remove swipeable tabs from desktop views
2021-09-20 13:21:55 +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
saml33
9b3faddc3d
fix negative borrow amount
2021-09-14 11:32:36 +10:00
Tyler Shipe
c91d65e933
only show 100 recent trades in history tab
2021-09-13 12:28:53 -04:00
saml33
00d02ccde1
stats table mobile
2021-09-09 23:14:20 +10:00
Riordan Panayides
5c752cca78
Add funding rate and open interest graphs
2021-09-06 12:59:13 -04:00
Tyler Shipe
494ea98e33
add default width; add show zero balances
2021-09-05 20:20:21 -04:00
saml33
50380107cf
improve balances table
2021-09-05 16:50:16 -04:00
Tyler Shipe
0c95f263f5
remove v3 alert in top bar
2021-09-03 13:59:14 -04:00
dd
4b7aadd72f
fixed typo in top banner; updated mango client
2021-09-02 15:53:10 -04:00
Tyler Shipe
800e7e6049
add alert message to top of spot and perp pages
2021-09-01 10:15:43 -04:00
Tyler Shipe
b96c60a166
remove alert at top of page
2021-09-01 10:06:06 -04:00
Tyler Shipe
33959a0e74
fix sol collateral avail and add alpha banner
2021-08-31 21:27:13 -04:00
Tyler Shipe
5aaf079122
add navbar message
2021-08-31 18:21:30 -04:00
Tyler Shipe
c6e09c1ba1
fix alpha modal issue
2021-08-30 16:40:32 -04:00
Tyler Shipe
2c50835a21
update alpha message
2021-08-30 14:50:37 -04:00
Tyler Shipe
3ef85d773b
add individual spot asset stats
2021-08-30 14:41:42 -04:00
Tyler Shipe
6630e29707
upgrade nextjs
2021-08-30 00:56:27 -04:00
Tyler Shipe
3c47775de9
only clear current market if it's for a different market then whatsin the store
2021-08-23 14:04:18 -04:00
saml33
51741bc9a3
loading states for connect wallet
2021-08-20 23:17:02 +10:00
Tyler Shipe
0af7a8b8ee
more trade form improvements
2021-08-18 16:15:17 -04:00
Tyler Shipe
c598f79a4a
remove fee tab; set trade form price on page load
2021-08-18 10:24:29 -04:00
Tyler Shipe
7cf80b566c
remove blur from modals
2021-08-16 13:59:44 -04:00
Tyler Shipe
5f5c703c5d
wire up positions box
2021-08-14 16:05:31 -04:00
Tyler Shipe
654f9487c5
add trade history to account page
2021-08-13 16:02:12 -04:00
saml33
1f82731a85
add unsettled balances ui
2021-08-01 22:48:15 +10:00
Tyler Shipe
5703cbdc82
only show account name if it exists
2021-07-30 16:37:00 -04:00
Tyler Shipe
caa4a29b23
add account naming
2021-07-30 16:33:03 -04:00
saml33
e810c5c215
improve theme and misc styling
2021-07-29 23:19:32 +10:00
saml33
e278b9d07f
merge main
2021-07-29 12:30:25 +10:00
saml33
d95c2843c4
add portfolio view
2021-07-25 23:54:25 +10:00