Crusher
0c01c05fb8
updated health doc url
2022-06-13 09:18:02 +01:00
saml33
5d5856226c
add unsettled balances to close account
2022-06-12 12:01:35 +10:00
rjpeterson
488f2ab964
localize swipeable tabs
2022-06-11 18:32:42 -07:00
rjpeterson
865b6efaea
update day range localization
2022-06-11 18:15:22 -07:00
rjpeterson
9a65f5edc9
fix date localization on stats charts
2022-06-11 17:57:44 -07:00
saml33
f7afc8f7ce
remove circular progress package
2022-06-12 08:06:30 +10:00
Riordan Panayides
afb90bfed5
Upgrade mango-client, changes for testnet
2022-06-11 14:58:39 +01:00
saml33
b126b3d229
empty states
2022-06-11 21:59:36 +10:00
rjpeterson
7c80ae20b2
add recent translations
2022-06-10 22:43:47 -07:00
saml33
ebe63147c6
chart border
2022-06-11 07:52:26 +10:00
saml33
e511171b61
simplify content and layout
2022-06-10 22:00:26 +10:00
saml33
a6366e643e
Merge branch 'health-progress'
2022-06-10 10:48:17 +10:00
tjshipe
bf51cd79ef
Merge pull request #304 from blockworks-foundation/leaderboard-mobile-link
...
add leaderboard link to mobile menu
2022-06-09 15:33:23 -04:00
saml33
e8d924394c
fix progress direction
2022-06-09 20:33:39 +10:00
saml33
cb70a6963b
add circular health progress
2022-06-09 20:28:13 +10:00
saml33
cf31cebdd5
relative long/short chart ( #299 )
...
* relative long/short chart
* eth icon bug
* simplify language and chart styling
* fix sol icon bug
* sort segments and include unsettled positions
* make chart angle relative to value
* sol, msol color
* simplify math
* change language
* re-work account overview layout
* increase tabs margin-b
* correctly net unsettled perps and add dust treshold
* layout
* xl breakpoint
* add spot balances to store
* add missing file
* update long / short exposure values and charts
Co-authored-by: Maximilian Schneider <mail@maximilianschneider.net>
2022-06-08 17:01:15 +03:00
tjshipe
4897f73e01
Merge pull request #306 from blockworks-foundation/liquidations-table
...
improve liquidations table
2022-06-08 00:00:13 -04:00
saml33
c793660fa9
token decimals calc
2022-06-08 13:20:20 +10:00
tjshipe
65a82f948d
Merge pull request #303 from blockworks-foundation/fastclick
...
add fast click
2022-06-07 21:30:43 -04:00
saml33
363b595260
re-order hover css
2022-06-08 10:55:46 +10:00
saml33
9a38c445cb
button group width
2022-06-08 09:42:39 +10:00
saml33
187a40dfe3
remove fastclick, remove button hover on mobile
2022-06-08 09:30:07 +10:00
tjs
346424fd0b
Fix country not allowed text width on mobile
2022-06-07 18:00:28 -04:00
tjs
84adcf39d3
add genesys go rpc node
2022-06-07 17:54:38 -04:00
saml33
59ed2d19de
improve liquidations table
2022-06-06 13:49:00 +10:00
saml33
092d276ea1
add leaderboard link to mobile menu
2022-06-06 11:43:06 +10:00
tjs
6cca388915
yarn format
2022-06-05 21:37:42 -04:00
saml33
11de86280e
run prettier
2022-06-06 11:37:06 +10:00
tjs
6c1c084d05
only show redeem all button if more than 1 pos to redeem
2022-06-05 21:29:34 -04:00
tjs
25a4eef6da
show notification components when modals are open
2022-06-05 21:29:12 -04:00
tjs
dd3590284f
show country returned by ip check
2022-06-05 21:17:12 -04:00
saml33
d0d1b9345a
add <a> and remove hover
2022-06-06 10:42:44 +10:00
tjs
ec024dde42
change tps warning sample size
2022-06-05 17:17:47 -04:00
tjshipe
67804e7bb0
Merge pull request #301 from blockworks-foundation/redeem-buttons
...
redeem positive button logic
2022-06-05 15:23:22 -04:00
tjs
ab8278e992
use correct theme colors in market page charts
2022-06-05 14:12:11 -04:00
Maximilian Schneider
a467f3f94f
components/TradeHistoryTable.tsx
2022-06-05 15:12:29 +03:00
saml33
83a39c782b
add gmt chart color
2022-06-04 22:56:48 +10:00
saml33
d0626c139c
redeem positive button logic
2022-06-04 22:27:39 +10:00
tjs
d26ae5136d
fix price graph colors on markets page
2022-06-03 19:49:31 -04:00
tjshipe
18e8ba9434
Merge pull request #297 from blockworks-foundation/dd/settle-pnl-async
...
Make Redeem All and Redeem Positive have correct behavior
2022-06-03 19:26:34 -04:00
saml33
bd842df05b
add gmt logo svgs
2022-06-03 10:15:05 +10:00
tjshipe
e5e5d48df1
Merge pull request #296 from blockworks-foundation/style-account-select
...
re-style account select button
2022-06-02 16:28:50 -04:00
dafyddd
e0098f3733
Make Redeem All and Redeem Positive have correct behavior where you don't have to sit and wait for each transaction to go through and confirm; still has bug with Redeem All where the spinner doesn't stop
2022-06-02 16:27:46 -04:00
saml33
8cd721ac4f
re-style account select button
2022-06-02 09:55:06 +10:00
saml33
7f2fdee3ae
fix market chart colors
2022-06-02 09:35:32 +10:00
tjs
b168abc26a
update global message of network health
2022-06-01 13:14:51 -04:00
saml33
dbb0aaecbc
allow filter when >10k trades
2022-06-01 21:08:25 +10:00
tjs
11b8c96889
style pnl amount
2022-05-30 15:40:18 -04:00
tjs
bb57bca88a
add leaderboard to topbar
2022-05-30 15:40:18 -04:00
tjs
39a557109d
remove annoying flash from topbar menu items
2022-05-30 15:40:18 -04:00
tjshipe
1c1a6e7ef5
Merge pull request #291 from blockworks-foundation/mobile-tabs
...
scrolling mobile tabs
2022-05-30 14:24:23 -04:00
saml33
5a07210de4
pass an optional width
2022-05-29 11:52:04 +10:00
saml33
adb83d2aa6
styling
2022-05-29 08:12:04 +10:00
tjshipe
b28aed7984
Merge pull request #287 from blockworks-foundation/improve-no-account-flow
...
improve no account flow
2022-05-28 12:21:08 -04:00
ImpossiblePairs
21eb477e9a
Fix Risk Calculator PERP loading unreliably ( #289 )
...
* Fix Risk Calculator PERP loading unreliably
- Removed reliance on multiple variables for loading perp positions, notably making the MNGO-PERP fail to load correctly.
- Removed base position from Unsettled Funding calculation as it's displayed in quote token, not the perp token
- Fixed perps In Orders calculation so it was consistent in both places it's present
* Ran lint and prettier
2022-05-28 18:35:23 +03:00
saml33
f8205ea52b
scrolling mobile tabs
2022-05-27 21:38:49 +10:00
saml33
1739d04499
use mangoAccounts for number of accounts
2022-05-25 11:45:58 +10:00
tjshipe
95bc49a6bd
Merge pull request #288 from blockworks-foundation/trade-history-mobile-pagination
...
add pagination on mobile
2022-05-24 15:33:57 -04:00
tjshipe
ed4eb7867d
Merge pull request #284 from blockworks-foundation/show-health-account-switch
...
show health instead of leverage
2022-05-24 15:28:54 -04:00
tjshipe
77e2f5c9d8
Merge pull request #286 from blockworks-foundation/clarkeni/performance_per_token
...
Minor changes - normalize charts to start from 0 (except for account …
2022-05-24 15:28:01 -04:00
saml33
c34794d66c
add pagination on mobile
2022-05-24 20:42:46 +10:00
saml33
0a0b1f7f84
improve no account flow
2022-05-24 14:39:40 +10:00
Nicholas Clarke
6bc1cd369a
Minor changes - normalize charts to start from 0 (except for account value) and remove vs-time in chart legends.
2022-05-23 11:08:29 -07:00
saml33
43f14bf77a
show health instead of leverage
2022-05-20 21:08:07 +10:00
saml33
c3c50263cc
add advanced order warning
2022-05-19 11:13:04 +10:00
tjs
644aadb2c4
remove copy address
2022-05-18 16:49:41 -04:00
tjshipe
11e6911671
Merge pull request #274 from blockworks-foundation/mobile-tweaks
...
mobile market card (markets page)
2022-05-18 16:39:00 -04:00
tjshipe
979a3695bb
Merge pull request #277 from blockworks-foundation/global-notification
...
style solana performance notification
2022-05-18 16:36:38 -04:00
tjshipe
5284b4988e
Merge pull request #276 from blockworks-foundation/add-seconds-trade-history
...
add seconds to trade history
2022-05-18 16:36:13 -04:00
tjshipe
00c5361da7
Merge pull request #264 from blockworks-foundation/clarkeni/performance_per_token
...
Clarkeni/performance per token
2022-05-18 16:35:28 -04:00
tjshipe
58d0db057a
Merge pull request #278 from blockworks-foundation/nft-empty-state
...
add nft modal empty state
2022-05-18 16:33:27 -04:00
saml33
b4a5004da6
more consistent layout
2022-05-18 22:12:24 +10:00
saml33
b63b0cdc47
add nft modal empty state
2022-05-18 15:40:14 +10:00
saml33
924b9b279d
add swipeable tabs
2022-05-18 14:53:48 +10:00
saml33
472fba5297
style solana performance notification
2022-05-18 14:13:46 +10:00
saml33
a3e06cdee0
add chart gradient
2022-05-18 12:17:23 +10:00
saml33
341d4aa99a
change chart colors, add loading
2022-05-18 12:09:52 +10:00
saml33
d1abd846f0
add seconds to trade history
2022-05-18 11:45:51 +10:00
saml33
cf0fa5fbd0
Merge branch 'mobile-tweaks' of github.com:blockworks-foundation/mango-ui-v3 into mobile-tweaks
2022-05-18 10:09:36 +10:00
saml33
2fd67f8cb6
mobile market card styling
2022-05-18 10:08:48 +10:00
tjshipe
a0dbeef331
Merge pull request #266 from blockworks-foundation/leaderboard
...
Leaderboard
2022-05-17 13:38:04 -04:00
tjshipe
f31425582e
Merge branch 'main' into mobile-tweaks
2022-05-17 13:37:07 -04:00
tjshipe
0530bca8e2
Merge pull request #272 from blockworks-foundation/deposit-withdraw-mobile-tables
...
responsive tables for deposits and withdrawals
2022-05-17 13:36:03 -04:00
saml33
87a9abe9d3
fix conflicts
2022-05-17 22:11:04 +10:00
saml33
d75e716fc1
add price charts to markets page
2022-05-17 22:03:20 +10:00
tjs
a53753a706
share modal improvements
2022-05-16 21:47:09 -04:00
saml33
65d2cb0a07
responsive tables for deposits and withdrawals
2022-05-17 11:05:49 +10:00
saml33
5c2ab8303e
Merge branch 'main' into mobile-tweaks
2022-05-17 09:59:56 +10:00
saml33
8c68e11772
match leaderboard data with account performance
2022-05-17 09:58:26 +10:00
saml33
807ee38ddf
make funding apr smaller
2022-05-17 09:29:45 +10:00
saml33
0d78055d6e
fix conflicts
2022-05-17 08:05:09 +10:00
Nicholas Clarke
701faa2afe
Merge remote-tracking branch 'origin/main' into clarkeni/performance_per_token
2022-05-16 12:52:07 -07:00
Nicholas Clarke
cfd531433b
Temporarily remove interest graphs.
2022-05-16 12:49:48 -07:00
tjs
563ebe137f
support multiple candle types
2022-05-16 14:53:51 -04:00
Adrian Brzeziński
3bee514052
upgrade mango client ( #271 )
...
* upgrade mango client
* fix prettier
2022-05-16 17:51:17 +02:00
saml33
db991c4509
market selection on mobile
2022-05-16 21:56:28 +10:00
tjshipe
0571c2fa00
Merge pull request #259 from blockworks-foundation/round-unsettled-balances
...
unsettled/in order balance decimal precision
2022-05-15 22:27:13 -04:00
saml33
ff7ccca78e
implement feedback
2022-05-16 11:24:48 +10:00
saml33
050790d284
fix conflicts
2022-05-16 08:08:51 +10:00
tjs
34daabf4f7
disable max leverage
2022-05-15 18:06:58 -04:00
saml33
874b3f05ac
fix conflicts
2022-05-16 08:00:34 +10:00
tjs
ea8fbe4501
fix share modal calculation for shorts
2022-05-15 16:53:13 -04:00
tjs
bd3a8fcf47
Merge branch 'main' into production
2022-05-13 18:20:09 -04:00
tjshipe
5ae4195a79
Merge pull request #268 from rjpeterson/fix-performance-chart-localization
...
add "names" arg to account graph buttongroup
2022-05-13 18:04:48 -04:00
saml33
a6082b92a0
Revert "add tradingview chart attribution link ( #257 )"
...
This reverts commit be0995af25
.
2022-05-13 18:01:43 -04:00
tjs
b43f2e6232
Merge remote-tracking branch 'origin/revert-192-mango-notifi-integration' into main
2022-05-13 17:57:07 -04:00
tjs
3139c7ed95
unset is luna on marketConfig change
2022-05-12 13:52:50 -04:00
tjs
9a83a22239
Disable luna borrow on withdraw
2022-05-12 10:31:50 -04:00
Riordan Panayides
2b798ac216
Make luna reduce only
2022-05-12 10:30:30 -04:00
saml33
8850b55df3
add profile pics
2022-05-12 16:19:29 +10:00
tjs
11aaf85d3d
raise tps threshold for warning
2022-05-11 11:29:09 -04:00
saml33
06079103f6
profile thumbnail component
2022-05-11 13:55:18 +10:00
saml33
ad7591222f
responsive
2022-05-11 13:42:41 +10:00
saml33
2aeff1032e
support nfts as profile pics
2022-05-11 13:29:35 +10:00
rjpeterson
9bace7925d
add names values to account graph buttongroup
2022-05-09 21:15:40 -07:00
saml33
107dd521b5
pass colors to icon
2022-05-09 13:33:56 +10:00
saml33
e55a13a8c4
responsive
2022-05-09 11:03:56 +10:00
saml33
be73a39973
leaderboard layout
2022-05-07 21:29:59 +10:00
saml33
ad60cf825e
fix usdc button filter with performance range
2022-05-05 11:21:56 +10:00
saml33
47feaa2db0
add chart timeframe range
2022-05-05 11:01:47 +10:00
saml33
2e5546fbbd
filter usdc when not relevant
2022-05-04 22:46:35 +10:00
saml33
eb469a4b82
chart colors light theme
2022-05-04 15:37:49 +10:00
saml33
95eea47bea
asset button hover
2022-05-04 13:55:14 +10:00
saml33
8e3ec1c314
new layout
2022-05-04 13:45:39 +10:00
tjs
dab9d99b3a
fix so All is selected by default
2022-05-03 21:54:03 -04:00
saml33
f5ec22d090
missing translation key
2022-05-04 11:29:19 +10:00
saml33
840a128241
fix 0 selected error and select all button
2022-05-04 11:26:21 +10:00
saml33
5a86c6f973
chart horizontal margin
2022-05-03 21:57:26 +10:00
saml33
4f178c292f
page styling
2022-05-03 21:20:36 +10:00
tjs
bf4f845cb5
cleanup
2022-05-02 21:59:00 -04:00
tjs
a3fc5b2a57
remove disable on next btn to allow user to see simulated withdraw
2022-05-02 16:27:00 -04:00
tjs
f38402bd3b
useMemo to reduce unnecessary recalculations
2022-05-02 14:56:01 -04:00
tjs
f4ea5181e5
walletreadystate is unreliable, always try to connect
2022-05-01 12:59:19 -04:00
tjs
4958d4a40e
Fix swap input form for jup pkg v22
2022-04-29 14:57:32 -04:00
tjs
f4785f6d26
Fix swap input form for jup pkg v22
2022-04-29 14:57:13 -04:00
tjs
6b6c183eda
fix remove from favorites
2022-04-28 12:38:03 -04:00
tjshipe
8404e75df4
Merge pull request #262 from rjpeterson/update-translations
...
Translate ShareModal
2022-04-27 14:24:07 -04:00
saml33
2f91dc3705
fix remove from favorites
2022-04-27 21:15:04 +10:00
Nicholas Clarke
f196f45951
Run yarn format
2022-04-25 09:53:49 -07:00
Nicholas Clarke
6bd4373ee9
Fix type error
2022-04-25 09:43:34 -07:00
Maximilian Schneider
42c2f3a33b
Revert "Mango <> Notifi integration ( #192 )"
...
This reverts commit 2f189fb3e3
.
2022-04-25 12:36:42 -04:00
joshgolden-dev
2f189fb3e3
Mango <> Notifi integration ( #192 )
...
* Use notifi SDK and make UI edits for notifi flow
* Upgrade Notifi SDK
The new SDK includes a different usage pattern for Alerts.
Handle wallet signature rejection case
Refactor sollet adapter to use @solana/wallet-adapter-wallets
Fixed undefined signature
Use groupName to separate account notifications
Mango allows a single user to have multiple accounts, which all manage alerts separately.
We'll log in to Notifi with the program ID and the wallet ID, and then filter
alerts on the client-side with groupName on the alert
Bump to SDK 0.6.1
Save notifi alert id to mango db
require login before deleting alert
Update SDK
The SDK exposes a new option for filterFrequency.
One shot alerts will be marked inside FilterOptions with a
`delayProcessingUntil` field. When the client recognizes these, it
should feel comfortable deleting them, since they should have triggered
already.
Clients can use the `isAlertObsolete` utility function to identify
these.
Clean up notifi alerts when out of sync
Add phone number note
* Ignore signMessage type warning
* Use useWallet hook
* Clean up
* Add telegram support
* Support international phone number
Co-authored-by: juni-notifi <hyungjoon.kim@notifi.network>
2022-04-25 12:16:42 -04:00
Nicholas Clarke
f335395341
Merge remote-tracking branch 'origin/main' into clarkeni/performance_per_token
2022-04-25 09:04:24 -07:00
rjpeterson
1a4623240a
yarn format
2022-04-23 19:09:08 -07:00
rjpeterson
fe1d7f9e68
translate share modal to chinese
2022-04-23 19:08:18 -07:00
tjs
ca795132de
use avg entry price
2022-04-21 11:06:49 -04:00
tjs
91a7f8a633
enable share modal if avgEntryPrice is available
2022-04-20 17:33:44 -04:00
tjs
fffe302273
round position size in share modal
2022-04-20 17:22:07 -04:00
tjs
a13112e600
update share modal calculation
2022-04-20 17:19:34 -04:00
Nicholas Clarke
461ef097d8
Add account performance per token tab.
2022-04-20 14:05:55 -07:00
tjs
917ee7c7fc
upgrade to latest jup-ag pkg
2022-04-20 17:04:54 -04:00
tjs
5f90105276
upgrade to latest jup-ag pkg
2022-04-20 17:04:16 -04:00
tjshipe
13925d6eff
Merge pull request #261 from blockworks-foundation/ts/wallet-update
...
update to the latest wallet adapter pkgs
2022-04-20 15:33:00 -04:00
tjs
b9440dc7fd
use all wallets if none are installed
2022-04-20 15:20:10 -04:00
tjs
99a8ce7162
remove genesysgo until new auth is implemented
2022-04-20 11:29:18 -04:00
tjs
9287985d00
remove genesysgo until new auth is implemented
2022-04-20 11:27:12 -04:00
saml33
04aa01ba6a
round unsettled balance decimals
2022-04-19 22:13:40 +10:00
tjs
c1eda608a1
fix symbol in share modal
2022-04-18 22:49:26 -04:00
tjs
fca2e510ef
fix share modal calculation
2022-04-18 21:23:40 -04:00
tjs
ee05de86b4
remove useless market type check
2022-04-16 14:50:00 -04:00
tjshipe
6f0969a49a
Merge pull request #255 from blockworks-foundation/delete-alerts-close-account
...
delete active alerts when closing account
2022-04-15 18:15:38 -04:00
tjs
2cd4b11056
add check that url param exists
2022-04-15 17:05:51 -04:00
tjs
d03db04d72
add check that url param exists
2022-04-15 17:05:37 -04:00
saml33
be0995af25
add tradingview chart attribution link ( #257 )
2022-04-15 14:07:38 +02:00
tjs
3e5b8e6caf
fix share modal text positioning and calculation
2022-04-13 18:57:58 -04:00
tjs
73fe0f6655
Merge branch 'main' into share-positions-2
2022-04-13 15:55:54 -04:00
saml33
72f73957ea
delete active alerts when closing account
2022-04-13 13:33:03 +10:00
tjs
fa58e45888
allow setting price with slide limit orders
2022-04-12 13:24:58 -04:00
tjs
eba6d0e1ca
allow setting price with slide limit orders
2022-04-12 13:23:57 -04:00
tjs
ab828b8ba6
hide tx notification if no response after 90s
2022-04-12 11:27:29 -04:00
tjs
808f35ca72
notification timeout should match client timeout
2022-04-12 10:56:28 -04:00
tjs
94fbca60ee
notification timeout should match client timeout
2022-04-12 10:53:50 -04:00
tjs
b36b3c0e1a
show position details on trade page when viewing mngo accts
2022-04-09 20:13:28 -04:00
tjs
4b08912b47
show position details on trade page when viewing mngo accts
2022-04-09 20:13:12 -04:00
tjshipe
a0ec154f95
Merge pull request #247 from blockworks-foundation/filter-and-account-buttons
...
fix button positions on mobile
2022-04-09 13:15:00 -04:00
tjshipe
52c49aac66
Merge pull request #249 from blockworks-foundation/format-price
...
format price on trade type switch
2022-04-09 13:14:31 -04:00
tjshipe
27ba48c0ae
Merge pull request #250 from blockworks-foundation/fix-ref-warning
...
fix forwardref warning
2022-04-09 13:13:32 -04:00
tjs
8e2ffe53ed
lower threshold for tps warning bar
2022-04-07 15:04:28 -04:00
tjs
eb2cfff9b4
use latest mango client; longer max timeout
2022-04-06 15:14:30 -04:00
Luc Succes
020f637751
Remove border
2022-04-06 08:28:01 -06:00
Luc Succes
f7801941a5
Merges main
2022-04-06 07:24:51 -06:00
saml33
924fb0d509
fix forwardref warning
2022-04-06 16:18:02 +12:00
saml33
5faea97d9b
format price on trade type switch
2022-04-06 15:47:35 +12:00
saml33
c33b1dde15
fix button positions on mobile
2022-04-06 14:25:31 +12:00
tjs
d5c2c1e2ba
dont check postonlyslide when market ordering
2022-04-05 17:10:45 -04:00
tjs
d9b162bd5d
Fix orderbook spread decimals
2022-04-05 13:25:09 -04:00
tjs
819c47051e
fix deposit func type to support deposits when mango acct doesnt exist
2022-04-05 10:56:46 -04:00
tjs
aaa5491896
make sure token info is loaded on swap page
2022-04-05 02:20:17 -04:00
tjs
b79f156ece
pass in wallet to store actions when needed
2022-04-04 16:28:32 -04:00
tjs
811c56b0af
fixes for swap page
2022-04-04 11:48:35 -04:00
tjs
9f0a4a04ea
reduce clutter on markets page
2022-04-03 23:54:54 -04:00
tjs
ca7bd49ef0
show tps notification when it goes below 1800
2022-04-03 22:50:59 -04:00
tjs
9558917767
dont throw price error when doing post and slide order
2022-04-03 22:47:14 -04:00
tjs
bc3f638026
improve notification animations
2022-04-03 22:46:38 -04:00
tjs
2de08088e5
Reduce confirmation notification timeout interval
2022-04-03 22:05:58 -04:00
tjs
f92332c8b8
update post and slide text
2022-04-03 18:39:53 -04:00
tjs
f8fa59de1d
add hover interaction to markets page
2022-04-03 18:39:24 -04:00
tjs
19da795035
remove new badge from topbar
2022-04-03 12:16:11 -04:00
tjshipe
c4984524a7
Merge pull request #244 from rjpeterson/update-translations
...
Update translations
2022-04-02 19:46:13 -04:00
tjshipe
a9bfcfc750
Merge pull request #245 from blockworks-foundation/kierna/hide-post-slide
...
Shows post and slide only on limit
2022-04-02 19:45:41 -04:00