Commit Graph

1730 Commits

Author SHA1 Message Date
saml33 5bdfcc48df welcome emoji states 2022-06-23 10:24:48 +10:00
saml33 602e302f9f merge main 2022-06-22 21:59:01 +10:00
saml33 249cf3cfe1 Merge branch 'side-nav' of github.com:blockworks-foundation/mango-ui-v3 into side-nav 2022-06-22 21:46:18 +10:00
saml33 9ce2e1aa83 show create account message and hide tips 2022-06-22 21:45:43 +10:00
tjs f240fd4746 use theme colors for trading view charts 2022-06-22 13:27:30 +02:00
tjshipe 87428a7233
Merge pull request #317 from blockworks-foundation/fix-trade-size-filter
fix trade size filter
2022-06-22 07:08:50 -04:00
saml33 2942b7ad7d allow withdraw from accounts other than selected account 2022-06-22 15:42:20 +10:00
saml33 acaa6b431a allow deposit into accounts other than the selected account 2022-06-22 14:50:55 +10:00
saml33 0ba4dd2985 align secondary stats tabs 2022-06-22 11:31:30 +10:00
saml33 14cf369d20 handle stats loading 2022-06-22 10:38:24 +10:00
saml33 204cb6ac13 fix account summary overlap 2022-06-21 15:23:30 +10:00
saml33 057346ba5b fix trade size filter 2022-06-21 12:08:37 +10:00
saml33 cf1671ae47 center withdraw button text 2022-06-20 20:31:40 +10:00
saml33 d5523db43a deposit/withdraw buttons 2022-06-20 20:26:17 +10:00
saml33 3bff95a069 fix account loading 2022-06-20 15:51:31 +10:00
saml33 2261c93e23 move interest/funding to history tab and align secondary tab styles 2022-06-20 14:29:32 +10:00
saml33 21a0050e6c show loader when account pubkey 2022-06-20 11:56:51 +10:00
saml33 e394f7523c merge main 2022-06-19 21:07:06 +10:00
saml33 e79a0861f9 click nav when acc summary is open 2022-06-19 20:07:33 +10:00
saml33 6f07a9dd98 add fluid layout marketdetails 2022-06-18 17:34:24 +10:00
saml33 c01acfe282 leaderboard icon 2022-06-18 17:12:13 +10:00
saml33 ef107546fc bg and border colors 2022-06-18 16:44:26 +10:00
saml33 06f39e2c71 long/short chart tooltip position 2022-06-18 16:22:53 +10:00
saml33 be74fce6fa orderbook panel height sm 2022-06-18 16:18:36 +10:00
saml33 55f43a96e7 fix account overview layout 2022-06-18 16:14:01 +10:00
saml33 dfd5f08319 fix green market charts 2022-06-18 09:27:56 +10:00
tjs ab0fce91f5 remove extra divider lines on account summary page 2022-06-17 13:33:48 -04:00
saml33 8ce4002c0d increment GRID_LAYOUT_KEY 2022-06-17 13:45:24 +10:00
saml33 700f261160 add get started greeting 2022-06-17 13:43:21 +10:00
saml33 98a8a5a638 add redeem to perp table 2022-06-17 13:17:30 +10:00
saml33 7e3a0167a8 fix pages 2022-06-17 11:00:43 +10:00
tjs 5d08202417 yarn format 2022-06-16 17:52:54 -04:00
tjshipe 4e88ef68f0
Merge branch 'main' into update-translations 2022-06-16 17:52:09 -04:00
saml33 2ce54a7fba responsive and account summary 2022-06-16 20:57:11 +10:00
tjshipe 38dc4222f5
Merge branch 'main' into new-account-overview 2022-06-15 21:38:13 -04:00
tjshipe 45d7c9af5a
Merge pull request #311 from blockworks-foundation/pan/testnet
Upgrade mango-client, changes for testnet
2022-06-15 21:35:29 -04:00
tjshipe 434f4c10c1
Merge pull request #313 from blockworks-foundation/unsettled-close-account
add unsettled balances to close account
2022-06-15 21:33:57 -04:00
saml33 604ee92a90 side nav poc 2022-06-14 10:13:25 +10:00
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