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
tjs
df2ed148b8
maintain chart resolution
2022-04-02 19:32:51 -04:00
Kieran Gillen
991e3930ca
Updates show quote img logic
2022-04-02 20:31:03 +02:00
Kieran Gillen
8527a18515
Shows post and slide only on limit
2022-04-02 20:26:00 +02:00
rjpeterson
aa4ae86cbf
yarn format
2022-04-02 10:03:06 -07:00
rjpeterson
78c87dc821
translate new keys, translate account history headers
2022-04-02 09:31:57 -07:00
tjshipe
efecfb5bc3
Merge pull request #239 from blockworks-foundation/qa-testing-1
...
Small QA changes
2022-04-02 12:27:45 -04:00
tjs
7f2c553f1f
only show pnl once it is loaded
2022-04-01 22:20:19 -04:00
Kieran Gillen
84ac501bc2
Hides buttons on mobile
2022-04-01 21:58:54 +02:00
tjshipe
19dd1fe42e
Merge pull request #238 from blockworks-foundation/mango-group-config
...
Deletes useMangoGroupConfig hook
2022-04-01 14:06:38 -04:00
Kieran Gillen
5d92b4fe6f
Merge branch 'main' of github.com:blockworks-foundation/mango-ui-v3 into mango-group-config
2022-04-01 15:00:12 +02:00
Kieran Gillen
da52fb5983
Adds devnet tag in nav
2022-04-01 14:53:55 +02:00
Kieran Gillen
0c72cf85f7
Updates price placeholder when post only slide
2022-04-01 14:37:59 +02:00
tjshipe
a75c3238f5
Merge pull request #236 from blockworks-foundation/orderbook-tradeform-population
...
fix decimals on orderbook size/price click
2022-03-31 22:58:26 -04:00
tjshipe
05a2a3c1f6
Merge pull request #231 from blockworks-foundation/sentry
...
Sets up Sentry & custom ErrorBoundary
2022-03-31 22:56:15 -04:00
Luc Succes
82c348c1da
Merges main
2022-03-31 09:24:25 -07:00
Kieran Gillen
d9f9c50d5c
Merge branch 'main' of github.com:blockworks-foundation/mango-ui-v3 into kieran/strict-nullcheck
2022-03-31 17:24:47 +02:00
tjs
5a2b0e54c9
hide trade history actions on trade page
2022-03-31 11:15:05 -04:00
Kieran Gillen
f10a1dbce0
Deletes useMangoGroupConfig hook
2022-03-31 16:58:01 +02:00
Kieran Gillen
9ee5d54f53
Adds transaction failed error
2022-03-31 13:45:19 +02:00
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
cbad410e61
Fixes disabledTradeButton if post only slide
2022-03-31 12:06:10 +02:00
saml33
61876a8aad
fix decimals on orderbook size/price click
2022-03-31 13:52:03 +11:00
tjshipe
6c7952e72e
Merge pull request #230 from blockworks-foundation/mobile-open-orders
...
rounded order size on mobile
2022-03-30 22:22:31 -04:00
tjshipe
b6b7c61505
Merge pull request #235 from blockworks-foundation/add-governance-link
...
add governance link to more menu
2022-03-30 22:22:08 -04:00
tjshipe
7644f23931
Merge pull request #232 from blockworks-foundation/trade-history-filters
...
change date picker
2022-03-30 22:21:46 -04:00
saml33
b90a71d369
update governance url
2022-03-31 10:21:15 +11:00
saml33
ba17dd4d99
add governance link
2022-03-31 10:00:04 +11:00
tjs
910641c815
fix more types in advanced trade form
2022-03-30 16:06:55 -04:00
Kieran Gillen
764ea28cb4
Adds more null checking
2022-03-30 19:10:15 +02:00
Kieran Gillen
b9b4541ed6
Adds more null checks
2022-03-30 14:42:33 +02:00
Kieran Gillen
39e4a6def5
Adds more null checks
2022-03-30 13:08:05 +02:00
tjshipe
899dfff097
Merge pull request #234 from blockworks-foundation/favorite-markets-key
...
increment favorite markets key
2022-03-30 00:10:28 -04:00
saml33
9d509cda8b
fix dateto timestamp
2022-03-30 14:54:50 +11:00
tjs
962b827869
fix redeem all mngo notifications
2022-03-29 23:51:03 -04:00
saml33
5a2b00b5eb
increment favorite markets key
2022-03-30 14:22:50 +11:00
tjs
b66f990104
only use lodash that's needed
2022-03-29 22:46:21 -04:00
saml33
7ede39e0fc
change date picker
2022-03-30 13:37:39 +11:00
tjshipe
2f8338b3f1
Merge pull request #228 from blockworks-foundation/kieran/lookup-fix
...
Fixes key validation on /account account lookup
2022-03-29 13:28:29 -04:00
tjshipe
041812ccbe
Merge pull request #225 from blockworks-foundation/favorites-change-percentage
...
fix favorites change percentage
2022-03-29 13:27:01 -04:00
Luc Succes
9718bf5d38
Merges main
2022-03-29 12:11:23 -04:00
Kieran Gillen
60cb08a5a5
Adds more null checks
2022-03-29 15:02:29 +02:00
Luc Succes
294cc10e8c
Merges main
2022-03-29 08:28:08 -04:00
Luc Succes
8dc166d94d
Remove comment
2022-03-29 08:23:18 -04:00
Luc Succes
1196cde40a
Sets up Sentry & custom ErrorBoundary
2022-03-29 08:21:54 -04:00
saml33
cb8a24e29a
rounded order size on mobile
2022-03-29 22:36:28 +11:00
Kieran Gillen
a6aaf551dd
Merge branch 'main' of github.com:blockworks-foundation/mango-ui-v3 into kieran/strict-nullcheck
2022-03-29 12:02:37 +02:00
Kieran Gillen
285976e005
Fixes validatePubKey for MangoAccountLookup
2022-03-29 11:41:02 +02:00
saml33
b6b89a69ac
fix favorites change percentage
2022-03-29 14:27:05 +11:00
saml33
2f03f6bdc0
convert open interest to usd
2022-03-29 12:58:13 +11:00
saml33
3448ed4ae4
datepicker stylesheet
2022-03-29 11:21:03 +11:00
saml33
202276b396
fix multi select styling
2022-03-29 11:11:45 +11:00
saml33
010f6a24b3
fix translations
2022-03-29 10:55:36 +11:00
saml33
36bd258c15
filter trade history
2022-03-29 10:43:42 +11:00
tjs
948ec28c91
yarn lint and yarn type-check
2022-03-28 14:00:36 -04:00
tjshipe
f771e3bb7b
Merge branch 'main' into kierangillen/wallet-updates
2022-03-28 13:55:44 -04:00
tjshipe
4e87fe0227
Merge pull request #191 from blockworks-foundation/add-post-and-slide
...
Adds post only slide input
2022-03-28 13:33:50 -04:00
tjshipe
9a8c9aa6c2
Merge pull request #219 from blockworks-foundation/kierangillen/fewer-large-bal-decimals
...
Show fewer decimals for large balances
2022-03-28 13:32:48 -04:00
tjshipe
001df1942a
Merge pull request #217 from blockworks-foundation/theme-language-settings
...
move theme and language switch to settings
2022-03-28 13:24:58 -04:00
tjshipe
76f3d5fdbb
Merge pull request #221 from blockworks-foundation/mobile-more-menu
...
add mobile more menu
2022-03-28 13:23:29 -04:00
tjshipe
c0da683cce
Merge pull request #222 from rjpeterson/update-translations
...
Update translations
2022-03-28 13:20:39 -04:00
Kieran Gillen
6da4d5f76f
Merge branch 'main' of github.com:blockworks-foundation/mango-ui-v3 into kierangillen/wallet-updates
2022-03-28 18:22:13 +02:00
Kieran Gillen
8736900401
Adds more null checks
2022-03-28 17:42:18 +02:00
Kieran Gillen
8c276acfe2
Adds more null checks
2022-03-28 17:13:54 +02:00
Kieran Gillen
2deb4ec75f
Adds more null checks
2022-03-28 16:18:35 +02:00
Kieran Gillen
140c26542a
Updates TS version
2022-03-28 16:17:54 +02:00
tjs
df2a6a6750
use rpc pool url
2022-03-28 01:07:21 -04:00
rjpeterson
041ce5ed76
reuse invalid-address i18n key
2022-03-27 21:40:04 -07:00
tjs
44bcc940c3
use temp rpc url
2022-03-27 23:14:50 -04:00
saml33
7c33b93aff
fix referral path
2022-03-28 13:42:45 +11:00
tjs
9f7ca1f437
Revert "Remove serums rpc node as an option from settings"
...
This reverts commit 7882039959
.
2022-03-27 22:38:06 -04:00
saml33
73231c28bc
add mobile more menu
2022-03-28 13:32:22 +11:00
tjs
5ea856e2b2
fix error page footer
2022-03-26 20:41:52 -04:00
tjs
573c6dac1e
only show 4 decimal places in funding rate
2022-03-26 18:09:22 -04:00
tjs
a0e2c49b92
Fixed issue with price when moving trading bar lines
2022-03-25 15:35:56 -04:00
Kieran Gillen
8734f7e181
WIP: Null checking
2022-03-25 17:00:48 +01:00
Kieran Gillen
967aaae925
Fix for trimDecimals
2022-03-25 14:14:54 +01:00
Kieran Gillen
ab36053d82
Adds trimDecimals to BalanceTable
2022-03-25 14:11:48 +01:00
saml33
9f17395b6e
move theme and language switch to settings
2022-03-25 21:36:53 +11:00
Kieran Gillen
b333f16514
Updates copy and uses translation
2022-03-25 10:48:51 +01:00
Kieran Gillen
ff000de775
Merge branch 'main' of github.com:blockworks-foundation/mango-ui-v3 into add-post-and-slide
2022-03-25 10:27:13 +01:00
Kieran Gillen
be8fb52e93
Switches back to ternaries
2022-03-25 10:26:49 +01:00
Kieran Gillen
794861e3ba
Merge branch 'main' of github.com:blockworks-foundation/mango-ui-v3 into kierangillen/wallet-updates
2022-03-25 10:21:25 +01:00
tjs
3e807499b8
Revert "update jup pkg"
...
This reverts commit e850387628
.
2022-03-25 01:59:00 -04:00
tjs
f517b1ea43
handle when stats aren't loaded
2022-03-25 00:00:29 -04:00
tjshipe
df67f16a6b
Merge pull request #213 from blockworks-foundation/fees-page
...
add fees page
2022-03-24 23:39:35 -04:00
tjs
d9c89945b2
yarn format
2022-03-24 22:05:57 -04:00
saml33
140c80f90d
add fees page
2022-03-25 10:56:32 +11:00
Nicholas Clarke
d1a44dcc69
sort performance data explicitly
2022-03-24 15:13:38 -07:00
Luc Succes
29c29b874b
Merge branch 'main' of https://github.com/blockworks-foundation/mango-ui-v3 into five-oh-five
2022-03-24 16:10:28 -04:00
tjs
1960553ecf
fix date table element types
2022-03-24 16:06:59 -04:00
Luc Succes
a93e31bb70
Remove unused social buttons
2022-03-24 16:02:18 -04:00
Luc Succes
10f7deec35
Adds discord button
2022-03-24 15:59:38 -04:00
tjs
43fa225645
fix date component
2022-03-24 15:52:42 -04:00
tjshipe
d5fbd5c428
Merge pull request #208 from blockworks-foundation/public-key-lookup
...
Adds MangoAccountSearch to /account
2022-03-24 15:40:11 -04:00
Kieran Gillen
ab21545c97
Removes z-index on Jupiter form
2022-03-24 19:49:27 +01:00
Kieran Gillen
0feebb7fd1
Fixes missing Wallet params
2022-03-24 18:53:00 +01:00
Kieran Gillen
c1507c234f
Merge branch 'main' of github.com:blockworks-foundation/mango-ui-v3 into kierangillen/wallet-updates
2022-03-24 18:41:25 +01:00
Luc Succes
a9656b635c
Adds 505 error page
2022-03-24 13:25:22 -04:00
Kieran Gillen
1316061853
Updates spacing on MangoAccountSearch
2022-03-24 18:09:18 +01:00
Kieran Gillen
541abac2f9
Adds MangoAccountSearch
2022-03-24 18:03:12 +01:00
Kieran Gillen
d7f96bde8b
Updates to wallets in ConnectButton
2022-03-24 15:39:24 +01:00
tjshipe
3d517c319f
Merge pull request #206 from blockworks-foundation/fix-invalid-date
...
fix invalid date
2022-03-24 01:59:30 -04:00
tjshipe
2f9e9f8e1d
Merge pull request #207 from blockworks-foundation/centre-fav-button
...
centre fav button
2022-03-24 01:59:03 -04:00
tjshipe
9372c1bdb2
Merge pull request #202 from blockworks-foundation/settle-all-positive-perp
...
Adds RedeemDropdown for Redeem Positive button
2022-03-24 01:58:34 -04:00
tjs
af2965098b
fix notifications, use accountsdb to fetch mango accts
2022-03-24 01:50:33 -04:00
saml33
db4a6666e5
centre fav button
2022-03-24 15:12:57 +11:00
saml33
45d923c636
fix invalid date
2022-03-24 14:20:19 +11:00
Kieran Gillen
577b917b48
Remove timeout
2022-03-23 19:14:27 +01:00
Kieran Gillen
7c143a7181
Updates RedeemDropdown
2022-03-23 18:51:01 +01:00
Luc Succes
313e1b1ec8
Fix ShareModal
2022-03-23 12:31:30 -04:00
Luc Succes
3c464d5452
Merges main
2022-03-23 12:09:10 -04:00
tjs
d6cf870402
only show 4 decimals places in funding rate on markets page
2022-03-23 11:43:20 -04:00
Kieran Gillen
81c83273fe
Merge branch 'main' of github.com:blockworks-foundation/mango-ui-v3 into add-post-and-slide
2022-03-23 15:16:30 +01:00
Kieran Gillen
17c6dd784c
Refactors wallet in store
2022-03-23 13:18:34 +01:00
Kieran Gillen
a827bb71d2
Merge branch 'main' of github.com:blockworks-foundation/mango-ui-v3 into kierangillen/wallet-updates
2022-03-23 11:50:02 +01:00
Kieran Gillen
1a40a98af0
Removes calls to Wallet and Connected through MangoStore hook
2022-03-23 11:42:04 +01:00
tjs
6ddfdbd003
add market percent change to navigation
2022-03-22 22:38:49 -04:00
tjshipe
a23687d415
Merge pull request #194 from blockworks-foundation/clarkeni/export_trades
...
Add full trade history export trades history tab.
2022-03-22 21:51:52 -04:00
tjs
53bca492a7
open download in new tab so wallet is not disconnected
2022-03-22 21:51:20 -04:00
tjshipe
e5fc6c5b91
Merge pull request #204 from rjpeterson/update-translations
...
Update translations
2022-03-22 18:52:52 -04:00
tjshipe
58b53a81b9
Merge pull request #200 from blockworks-foundation/insufficient-sol-message
...
only show insufficient sol message if connected
2022-03-22 18:50:48 -04:00
saml33
17cdf48c73
remove duplicate component
2022-03-23 09:30:22 +11:00
saml33
57b3331760
Merge branch 'main' into date-format-component
2022-03-23 09:26:25 +11:00
tjs
0aa9b625e2
handle when no selectedMarket on stats page
2022-03-22 10:25:01 -04: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
Kieran Gillen
8f40cce851
WIP adds RedeemDropdown
2022-03-22 09:57:52 +01:00
rjpeterson
630f76b3ba
translate apr headers
2022-03-21 22:01:17 -07:00
rjpeterson
6d4aee6cab
translate trade types (again?)
2022-03-21 22:00:55 -07:00
rjpeterson
8ea0c6b401
translate funding tooltip
2022-03-21 21:59:48 -07:00
rjpeterson
1b819bf552
translate tps warning
2022-03-21 21:59:26 -07:00
saml33
5dffceba35
fix useeffect dependency
2022-03-22 15:40:38 +11:00
saml33
57c9e34860
fix NaN in closeBorrowString
2022-03-22 15:37:07 +11:00
tjs
a0ec3fa0ff
show tps warning when tps drops below 1900
2022-03-21 22:03:41 -04:00
saml33
3ec735f2e9
only show insufficient sol message if connected
2022-03-22 12:39:37 +11:00
saml33
0ac4bd1b70
other-pages
2022-03-22 11:20:41 +11:00
Luc Succes
7316a16e46
Merges main
2022-03-21 14:07:25 -04:00
saml33
8fdcabfe79
trade page and account overview
2022-03-21 22:56:37 +11:00
tjshipe
2dcc9a952a
Merge pull request #196 from blockworks-foundation/small-nav-updates
...
update perp in nav to futures
2022-03-21 00:06:46 -04:00
saml33
36d8d8bbe0
button styling
2022-03-21 15:03:31 +11:00
tjshipe
9ebb0ed849
Merge branch 'main' into clarkeni/export_trades
2022-03-20 22:04:38 -04:00
tjshipe
e841d7e0b9
Merge pull request #197 from blockworks-foundation/ts/performance-refactor
...
Ts/performance refactor
2022-03-20 21:53:30 -04:00
tjs
fa7edcc119
switch away from toLocaleString
...
toLocaleString is quite slow
2022-03-20 21:30:12 -04:00
saml33
45eb9d3ef3
update perp in nav to futures
2022-03-21 11:54:09 +11:00
tjshipe
d3d8ab85f4
Merge pull request #190 from blockworks-foundation/show-referral-balance-history
...
Show referral fees history and total
2022-03-20 20:27:59 -04:00
saml33
c0ddb68ba2
add table date format component
2022-03-21 11:06:13 +11:00
tjs
32fc5052e9
store order lines in mango store and show preferences in local storage
2022-03-20 18:50:05 -04:00
tjs
ddd1560dc5
use toFixed instead of toLocaleString in orderbook
2022-03-20 04:07:25 -04:00
tjs
2fd1e8676c
more type checks
2022-03-20 04:07:03 -04:00
tjs
c4f02153b7
refactor trading view component
2022-03-20 04:06:30 -04:00
tjs
4c0eb2114e
refactor trade history to use the mango store
...
reduces rerenders
update usePerpPosition with tradeHistory
2022-03-20 04:06:30 -04:00
tjs
4548fd0cb9
move oracle price into its own component
...
reduce rerenders by moving oracle price updates to separate components
2022-03-20 00:04:52 -04:00
tjs
08a2ab531f
update headless/ui to improve open close logic of market switcher
2022-03-19 15:39:34 -04:00
tjs
1fce595ef3
Cleanup new navigation elements
2022-03-19 14:34:51 -04:00
tjs
930b68befa
remove unused tailwind classes
2022-03-19 14:06:13 -04:00
tjs
4b1653f076
remove market change percent from dropdown nav item
2022-03-19 14:06:02 -04:00
tjs
90efe32714
remove market change percent from favorites
2022-03-19 13:51:56 -04:00
saml33
e9550fddda
Markets Page ( #182 )
...
* update api endpoint
* update to new api
2022-03-19 17:57:54 +01:00
saml33
0ff620ef0c
match spread precision to price precision
2022-03-19 09:48:05 +11:00
Nicholas Clarke
bc4b3e5f7e
Add full trade history export trades history tab.
2022-03-18 12:57:17 -07:00
Luc Succes
37b2cc0c02
Merges main
2022-03-18 14:43:14 -04:00
tjs
9ce177ca3d
Revert solana wallet adapter
2022-03-18 14:41:23 -04:00
Luc Succes
c15969482d
Add DateDisplay component
2022-03-18 14:41:19 -04:00
tjs
15fd691526
handle when publicKey is not loaded
2022-03-18 14:32:27 -04:00
saml33
af9505ac22
format numbers
2022-03-18 08:01:16 +11:00
tjs
abece0e8b9
update node url key
2022-03-17 16:12:46 -04:00
tjs
7882039959
Remove serums rpc node as an option from settings
...
It's slow
2022-03-17 16:11:10 -04:00
Kieran Gillen
765fb772a9
Adds flexwrap
2022-03-17 19:16:19 +01:00
Kieran Gillen
6df13a4d85
Fixes dev fetch crash
2022-03-17 17:36:34 +01:00
Kieran Gillen
c6dc8777b9
Adds post only slide input
2022-03-17 17:18:48 +01:00
Kieran Gillen
88cb8f2439
Removes log
2022-03-17 15:26:33 +01:00
Kieran Gillen
23b1feb941
Merge branch 'main' of github.com:blockworks-foundation/mango-ui-v3 into add-wallet-adapter
2022-03-17 13:06:28 +01:00
Kieran Gillen
e4ded40c98
Removes WalletSuggestionModal
2022-03-17 12:44:03 +01:00
Kieran Gillen
8d7a7705d4
Updates onConnect call and adds featured wallets
2022-03-17 12:43:09 +01:00
saml33
398f8af80e
increase y axis width
2022-03-17 10:04:54 +11:00
tjs
f8a0849c40
update zustand store types to work with zustand 3.7
2022-03-16 17:27:26 -04:00
Kieran Gillen
71ce5a2bde
Fixes build
2022-03-16 17:00:13 +01:00
Kieran Gillen
63aa1c2556
Adds catch to connect buttons
2022-03-16 15:12:39 +01:00
Kieran Gillen
fefabfebf9
Adds WalletSuggestionModal
2022-03-16 13:54:57 +01:00
Kieran Gillen
6b7c9b3ce1
Updates WalletSelect
2022-03-16 13:54:36 +01:00
Kieran Gillen
1a49be860e
Updates connect to use wallet adapter directly
2022-03-16 13:54:00 +01:00
saml33
edaa723872
use getprecisiondigits instead of getdecimalscount
2022-03-16 10:16:14 +11:00
Kieran Gillen
db5bdd1488
Removes typing on handleConnect
2022-03-15 15:25:14 +01:00
Kieran Gillen
0a033e50d8
Merge branch 'main' of github.com:blockworks-foundation/mango-ui-v3 into add-wallet-adapter
2022-03-15 15:14:52 +01:00
saml33
a25570c384
misc number formatting
2022-03-16 01:12:46 +11:00
Kieran Gillen
95e94f5cb0
Refactor EmptyState component
2022-03-15 15:00:14 +01:00
Kieran Gillen
d2b4a878bb
Updates componets with useWalletModal
2022-03-15 14:59:32 +01:00
Kieran Gillen
259b0bb1b0
Updates ConnectWalletButton with new wallet adapter
2022-03-15 14:56:38 +01:00
Kieran Gillen
b83655a015
Adds WalletProvider
2022-03-15 14:54:26 +01:00
Kieran Gillen
d46376649c
Updates WalletAdapter type
2022-03-15 14:52:28 +01:00
Kieran Gillen
4fc35db429
Adds component index file
2022-03-15 14:40:54 +01:00
tjshipe
3c5a0d220c
Merge pull request #184 from rjpeterson/update-translations
...
Update translations
2022-03-14 11:51:19 -04:00
tjs
597c930b98
use blockhash that expires with timeout
2022-03-13 19:26:30 -04:00
rjpeterson
d8636f3848
update translations
2022-03-13 18:25:15 -05:00
tjs
0a234a94f5
extract getMarketLeverage from component
2022-03-13 14:14:08 -04:00
saml33
0759a47cd2
fix undefined getWeights arg
2022-03-12 20:14:27 +11:00
saml33
d4d3cb1eea
move size rounding to hook
2022-03-11 13:02:36 +11:00
saml33
fdf824dc37
round perp size and fix sort
2022-03-11 11:23:30 +11:00
tjs
748690d029
show tps in warning
2022-03-10 10:19:52 -05:00
tjs
b4da6110fc
warn users when tps is low
2022-03-10 10:04:31 -05:00