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
tjs
db8a0324aa
add tailwind prettier plugin; run yarn format
2022-03-09 15:53:11 -05:00
tjs
163193274f
remove new badge from referrals
2022-03-09 14:47:56 -05:00
tjs
9ab8c0cc67
show loading state for values in performance chart
2022-03-06 20:01:58 -05:00
tjs
c1755aac1d
Move export pnl csv to the Account History page
2022-03-06 18:18:22 -05:00
saml33
f280baab23
fix position size on mobile
2022-03-06 14:03:42 +11:00
tjs
4f412f1d97
dont show alert when tps is above threshold
2022-03-04 19:44:58 -05:00
tjs
27bef7a17c
change tps threshold
2022-03-04 18:41:24 -05:00
tjs
a3cecc2345
increase tps threshold for warning
2022-03-04 18:26:53 -05:00
tjs
8ff0e677d0
fetch current tps and display warning if low
2022-03-04 18:24:22 -05:00
saml33
a9e3debc34
hide export pnl when not account owner
2022-03-04 11:38:58 +11:00
tjshipe
7460dbfdf3
Merge pull request #178 from blockworks-foundation/export-pnl
...
add export pnl function
2022-03-03 16:41:04 -05:00
tjs
482cf7138a
add commas to recent trades table
2022-03-03 11:59:21 -05:00
tjs
e0bc94898e
add commas to account history
2022-03-03 11:45:16 -05:00
tjs
d891102e5f
upgrade to tailwind 3
2022-03-02 18:04:32 -05:00
saml33
ceca09ff07
Merge pull request #165 from blockworks-foundation/redesign-unsettled-panels
...
redesign unsettled panels
2022-03-03 09:34:55 +11:00
tjs
5409596fd9
Ensure mangoAccount is loaded before computingValue
2022-03-02 01:02:49 -05:00
tjs
0492e2fe6c
load total and hourly account stats asynchronously
2022-03-02 00:53:25 -05:00
saml33
4ae986f583
fix merge conflicts
2022-03-02 14:56:59 +11:00
saml33
d2029ef5f5
use separate api call for export
2022-03-02 13:25:23 +11:00
tjs
5dc40a2078
fix issue with reading pubkey from non phantom wallets on account page
2022-03-01 21:17:47 -05:00
saml33
c38e063ff4
add export pnl function
2022-03-02 12:47:06 +11:00
saml33
7a9dfc2b68
align styles
2022-03-02 11:08:18 +11:00
saml33
6126dce773
hide options after copy image
2022-03-02 09:54:00 +11:00
tjs
59144e727d
show timestamps for pnl and account value on account page
2022-03-01 17:24:31 -05:00
tjs
c41af04f8e
fix type issue with new ExpandableRow props
2022-03-01 14:28:20 -05:00
tjs
b6999cd220
add performance chart to account page
2022-03-01 14:06:39 -05:00
tjshipe
46e90570ce
Merge pull request #171 from blockworks-foundation/expandable-panels
...
align expandable panels
2022-03-01 14:04:52 -05:00
Riordan Panayides
1eab48f26c
Allow off-curve addrs, validate on change
2022-03-01 18:49:24 +00:00
Riordan Panayides
2afa5e11dd
Fix public key validation
2022-03-01 11:36:43 +00:00
tjs
8a00c334a1
use prop to toggle clickable balance on trade page only
2022-02-28 12:51:31 -05:00
saml33
db548e312d
add asset symbol back to unsettled balances
2022-02-28 12:51:31 -05:00
dd
9a17174094
integrate placePerpOrder2
2022-02-28 12:51:16 -05:00
dd
22244b8989
Let user prefill spot trade form using negative balance; Add link to spot market from BalancesTable
2022-02-28 12:51:10 -05:00
dd
46236fa9e5
fix float rounding issues in market position, positions table and orders table
2022-02-28 12:51:10 -05:00
dd
e49025c9a2
Set proper decimals in BalancesTable;
2022-02-28 12:51:10 -05:00
dd
df2b2eb9ba
fix display of taker fee and maker fee decimals
2022-02-28 12:51:10 -05:00
dd
5d7599ef97
optimizations; Add more commas to large numbers; NO MERGE STILL UNFINISHED
2022-02-28 12:51:03 -05:00
tjshipe
046eda09f2
Merge pull request #173 from rjpeterson/add-keep-break
...
Add keep-break class to solve issues with CJK display
2022-02-28 11:46:10 -05:00
Haiyang Wang
d2796a6c45
fix typo in orders table
2022-02-27 19:56:12 +08:00
rjpeterson
221feede2c
fix localization errors around the word "new"
2022-02-26 11:38:31 -06:00
rjpeterson
9e028cbacf
add keep-break class to prevent CJK display issues
2022-02-26 11:37:32 -06:00
tjs
dbaa1d25e5
upgrade to latest jup ag client
2022-02-26 01:59:24 -08:00
Riordan Panayides
f4eef23528
Improve delegate modal ( #162 )
...
* Fix account page modal input styles
* Add disabled state to IconButton
* Update delegate modal copy, add clear input button
* Fix docs link
* Replace info lost in merge
2022-02-25 17:41:15 +01:00
saml33
5117617259
add size and referral qr
2022-02-24 15:50:52 +11:00
saml33
28d7de115c
show size and referral
2022-02-24 13:53:57 +11:00
saml33
cbf7047bb7
align expandable panels
2022-02-24 12:37:31 +11:00
saml33
0501557b88
remove your borrows when not connected
2022-02-24 09:49:02 +11:00
saml33
3a627d874e
add icons to more menu
2022-02-23 20:51:27 +11:00
saml33
6442dc853e
make menus consistent
2022-02-23 14:36:05 +11:00
saml33
8d5d80cb93
change grid columns
2022-02-23 13:13:57 +11:00
saml33
25c86cee72
Merge pull request #168 from blockworks-foundation/select-fixes
...
change select.option spacing
2022-02-23 12:47:02 +11:00
saml33
0872a970df
change select.option spacing
2022-02-23 12:33:48 +11:00
tjshipe
9717cff30c
Merge branch 'main' into missing-translations
2022-02-22 19:51:35 -05:00
saml33
8a556f63a8
merge main
2022-02-23 10:34:54 +11:00
saml33
b5efc88d30
use label component on form elements
2022-02-23 10:30:54 +11:00
rjpeterson
deb577e818
let new alerts button width expand, delete duplicate locale keys, move spanish into alerts.json
2022-02-22 17:03:27 -06:00
tjs
4f9d3b47c5
fix type error, remove unused translation
2022-02-22 11:53:05 -08:00
tjshipe
8f0fdd2bc1
Merge branch 'main' into missing-translations
2022-02-22 13:54:44 -05:00
saml33
28a3bd900e
tweak styling
2022-02-22 21:42:25 +11:00
saml33
b1108c43cb
Merge pull request #164 from blockworks-foundation/align-drop-menus
...
align styling of drop menus, selects
2022-02-22 20:02:40 +11:00
saml33
6dc240038b
redesign unsettled panels
2022-02-22 16:22:21 +11:00
saml33
21b4c54c77
bold chart value
2022-02-22 12:24:28 +11:00
saml33
cfe1462790
fix mobile only selects
2022-02-22 11:59:41 +11:00
saml33
1767d89845
align styling of drop menus, selects
2022-02-22 11:17:07 +11:00
saml33
f367b47829
fix hover style
2022-02-21 21:21:16 +11:00
saml33
0d6058d807
Merge pull request #163 from blockworks-foundation/semantic-headings
...
semantic headings
2022-02-21 16:33:32 +11:00
saml33
2ae323ee1c
semantic headings and styles
2022-02-21 14:55:13 +11:00
saml33
fccc48850d
fix z-index
2022-02-21 13:00:58 +11:00
saml33
b65b6cf4ba
fix broken input styles
2022-02-21 09:18:23 +11:00
saml33
b5298b5a28
Merge pull request #159 from blockworks-foundation/button-styles
...
Button styles
2022-02-21 09:11:23 +11:00
saml33
0be93958c7
align input styles
2022-02-20 22:38:40 +11:00
saml33
9702b0c393
button colors
2022-02-20 15:55:56 +11:00
saml33
9201be6213
Merge branch 'main' into button-styles
2022-02-20 15:55:32 +11:00
saml33
267b042b08
Merge branch 'main' into nav-styling-tweaks
2022-02-20 14:18:44 +11:00
saml33
2539d6f10a
button colors
2022-02-20 14:16:57 +11:00
rjpeterson
0e16c3cb7b
fix type that prev commint unfixed
2022-02-19 15:58:21 -06:00
rjpeterson
f9e22ae8de
make button wider so chinese text doesnt overflow, fixes #139
2022-02-19 15:53:56 -06:00
tjs
90c60294c4
disable 24hr change
2022-02-19 16:47:39 -05:00
rjpeterson
f84c753db7
compartmentalize alerts translations, add other overlooked translations
2022-02-19 15:35:43 -06:00
saml33
cb2c9c7a3e
nav styling tweaks
2022-02-19 20:30:27 +11:00
tjs
7ca2e6d31f
update navigation transitions and ordering
2022-02-18 17:24:06 -05:00
tjs
b233208b1d
increase z index on trade nav panel
2022-02-18 11:32:29 -05:00
tjshipe
732c44dd39
Merge pull request #148 from blockworks-foundation/trade-nav-concept
...
Trade page navigation concept
2022-02-18 10:48:53 -05:00
saml33
9ee9b52306
min-height and favorite hover
2022-02-18 15:09:01 +11:00
saml33
97d6a4f993
implement pr feedback
2022-02-18 14:32:48 +11:00
saml33
a8e4e3ba29
remove markets page
2022-02-18 12:04:56 +11:00
saml33
8209cee64a
style unavailable placeholder
2022-02-18 11:09:55 +11:00
saml33
c0b440996d
add favorite market
2022-02-18 09:54:37 +11:00
saml33
6580b27bfe
add missing % sign
2022-02-18 09:42:27 +11:00
saml33
95d73df500
add markets page
2022-02-17 20:44:28 +11:00
tjs
3e23633818
update wallet token decimals on swap page
2022-02-15 22:57:47 -05:00
tjs
b58efe147b
remove duplicate import
2022-02-15 11:36:07 -05:00
tjs
c11d5101df
only set position size on reduce only click if using percents
2022-02-15 11:20:53 -05:00
tjs
73c3d111cf
Merge branch 'main' into share-positions-2
2022-02-15 10:44:10 -05:00
tjs
bd4c4145b5
uses referrerpk if it exists for modifyPerpOrder
2022-02-14 21:32:31 -05:00
tjs
2824be1e8d
handle when no referrer
2022-02-14 17:47:19 -05:00
tjs
f1e26c9a17
better layout for always showing program details
2022-02-14 15:48:40 -05:00
tjs
f0e59a72b8
fix types
2022-02-14 13:33:09 -05:00
saml33
c525cce66f
responsive layout
2022-02-14 12:17:38 -05:00
saml33
839efc730c
page content and styling
2022-02-14 12:17:21 -05:00
tjs
f54af5c787
add ref links
2022-02-14 12:17:11 -05:00
tjs
11f9ef806d
create referral page
2022-02-14 12:15:28 -05:00
saml33
3ae91f479b
pass correct position to share modal
2022-02-14 14:41:40 +11:00
saml33
065371f8bc
new share card design
2022-02-14 13:53:10 +11:00
saml33
c21c3a78a9
default to perp in nav if no favorites
2022-02-14 10:30:25 +11:00
saml33
99948d18ba
unbold trade menu category description
2022-02-14 10:23:31 +11:00
saml33
f2c77c4494
fix 24h change in nav
2022-02-14 10:10:18 +11:00
tjs
e203a02c1c
disable social share if avg entry price is null
2022-02-13 13:26:57 -05:00
tjshipe
8490ef3bc8
Merge pull request #149 from blockworks-foundation/pan/delegate
...
Add delegate functionality
2022-02-13 12:40:58 -05:00
tjs
1ecd0c2906
fix funding title
2022-02-13 12:06:05 -05:00
saml33
0feb640c5f
address team feedback
2022-02-11 16:16:44 +11:00
tjs
3ad223f95b
add types to the store set function
2022-02-10 12:49:59 -05:00
tjs
e334948b77
remove transition from menu items for snappier feel
2022-02-09 22:55:57 -05:00
tjs
150e59454e
condense top nav bar items
2022-02-09 22:36:32 -05:00
Riordan Panayides
89e9a69ada
Fix infinite loop
2022-02-09 16:11:57 +00:00
Riordan Panayides
a1009cb6d4
Fix null mangoAccount
2022-02-09 15:48:05 +00:00
Riordan Panayides
0c3c5ada98
Add delegate functionality
2022-02-09 15:11:51 +00:00
saml33
5800f14226
make whole nav item row clickable
2022-02-09 22:42:00 +11:00
saml33
5d28deeb57
add favorites bar and change %
2022-02-09 21:55:54 +11:00
tjs
f4ba160686
share position modal
2022-02-08 13:50:44 -05:00
saml33
ba60623b86
add market leverage
2022-02-08 09:25:05 +11:00
saml33
89cd14b375
no results placeholder
2022-02-07 21:57:30 +11:00
saml33
681e188caa
fix conflicts
2022-02-07 21:33:22 +11:00
saml33
7f68e7a806
market switch dropdown
2022-02-07 21:28:36 +11:00
tjshipe
ff92514483
Merge branch 'main' into with_24h_change
2022-02-06 19:44:51 -05:00
tjshipe
3a3f41c637
Merge pull request #145 from rjpeterson/add-translations
...
update translations, add names arg to ButtonGroup
2022-02-06 19:37:55 -05:00
Tyler Shipe
0ddcf8c2c2
update order book on trade history change
2022-02-05 16:09:18 -05:00
rjpeterson
070cfd710c
update translations, add names arg to ButtonGroup
2022-02-05 14:38:46 -06:00
saml33
a1664d2a58
add/remove favorites
2022-02-05 17:04:07 +11:00
saml33
3a1848faf2
flyout menu
2022-02-05 12:06:20 +11:00
Tyler Shipe
715c8fd26f
show deposit and borrow rates even when not connected
2022-02-04 12:57:18 -05:00
Tyler Shipe
181d326f3a
add emphasis when hovering on order book line
2022-02-01 20:02:47 -05:00
Tyler Shipe
35829735ef
fix MarketSelect highlighting
2022-02-01 19:58:47 -05:00
Tyler Shipe
e681432990
tv measureBeforeMount to prevent grid animation
2022-02-01 13:38:05 -05:00
Tyler Shipe
47d0ac6887
reset default market to use new urls
2022-02-01 00:06:13 -05:00
Tyler Shipe
74110b510b
hide tv left toolbar; consistent table row heights
2022-01-31 22:51:54 -05:00
Tyler Shipe
9d26689e40
remove unused mobile menu
2022-01-31 19:21:17 -05:00
Tyler Shipe
ea1cd60d7a
increase info density in user info table
2022-01-31 16:14:08 -05:00
Tyler Shipe
5d99f914dc
orderbook decimals should match minOrderSize
2022-01-31 15:22:08 -05:00
Tyler Shipe
3ff9471fa1
move market.txs page to index.tsx
2022-01-31 12:48:48 -05:00
Tyler Shipe
81e81981c5
type fixes
2022-01-31 11:34:43 -05:00
Tyler Shipe
a521566873
patch type issue with jup-ag pkg
2022-01-31 11:12:55 -05:00
Tyler Shipe
4a0c77a3d9
increase information density
2022-01-31 10:52:28 -05:00
Tyler Shipe
09272d4266
add check to orderbook highlighting so it only shows selected market
2022-01-30 16:48:36 -05:00
Tyler Shipe
3734ae7062
use new settlePnl in perp positions table
2022-01-29 14:47:20 -05:00
Tyler Shipe
3f33264e57
use latest mango client
2022-01-29 13:56:58 -05:00
Tyler Shipe
a6d432f32d
utilize zustand for perppositions
2022-01-27 22:57:18 -05:00
Tyler Shipe
8f27393c22
reload open orders more frequently
2022-01-27 12:24:15 -05:00
Tyler Shipe
2355dfcaa6
store openOrders in zustand
2022-01-27 11:57:36 -05:00
Tyler Shipe
351bc5d11d
ensure mango account is loaded before connecting wallet
2022-01-26 13:37:02 -05:00
Tyler Shipe
60116512f6
update language for settling pnl
2022-01-24 18:02:43 -05:00
Tyler Shipe
a0903522e9
support viewing pubkeys on account interest page
2022-01-24 16:35:58 -05:00
Tyler Shipe
b5c924573a
handle when missing coingecko api info on swap page
2022-01-24 14:25:08 -05:00
Tyler Shipe
d012ccd6ce
hide global notification and render perp funding quicker
2022-01-24 12:04:20 -05:00
Tyler Shipe
c612cb1058
use regex instead of replaceAll for cross browser support
2022-01-24 10:58:28 -05:00
Brandon Bonipart
32fe8392e7
replaces daily change in MarketDetails with rolling 24hr change.
2022-01-24 07:46:06 -05:00
Tyler Shipe
bec1f6acb0
fix swap slippage settings
2022-01-23 17:11:28 -05:00
Tyler Shipe
f9d030113e
fix swap chart base and quote symbols
2022-01-23 15:03:59 -05:00
Tyler Shipe
7e6a3aca49
fix stats page on mobile
2022-01-23 14:46:58 -05:00
Tyler Shipe
609ba989b6
fix issue with unloaded swap token info
2022-01-22 21:52:39 -05:00
saml33
5736582956
update account bar chart colours
2022-01-22 16:18:51 +11:00
Maximilian Schneider
8388decf3b
longer timeouts and SPAM
2022-01-21 16:22:53 -08:00
Tyler Shipe
bdd8c3005d
add network alert
2022-01-21 16:55:16 -06:00
Tyler Shipe
faf82d6ebc
hide duplicate deposit withdraw on trade page
2022-01-21 14:42:23 -06:00
tjshipe
a538e8aaad
Merge pull request #142 from blockworks-foundation/improve-account-charts
...
improve account charts
2022-01-21 00:21:29 -06:00
Tyler Shipe
a1f3485687
fix pagination
2022-01-20 12:09:19 -06:00
Tyler Shipe
c9425df0de
wait until mounted before rendering trade page grid
2022-01-20 11:43:18 -06:00
saml33
33c8adf7c6
improve account charts
2022-01-20 13:45:47 +11:00
Tyler Shipe
e0a539382e
fix trade history pagination
2022-01-19 17:43:50 -06:00
Tyler Shipe
6906d679dd
Add view counterparty to trade history
2022-01-19 15:35:53 -06:00
tjshipe
4836191d1c
Merge branch 'main' into swap-top-holders
2022-01-18 17:27:32 -06:00
tjshipe
ccf803260b
Merge pull request #140 from rjpeterson/add-missing-translations
...
fill in missing zh & zt-tw translations
2022-01-18 17:25:41 -06:00
rjpeterson
029aecf869
remove TOTRANSLATE tags
2022-01-18 15:21:02 -06:00
rjpeterson
a7adc23466
update close account translations after changes
2022-01-18 15:14:14 -06:00
rjpeterson
68ce89dcd2
merge from upstream
2022-01-18 14:55:11 -06:00
rjpeterson
1116e7a901
add slippage translations
2022-01-18 14:48:46 -06:00
tjshipe
b3a5f5b4c2
Merge pull request #137 from blockworks-foundation/close-account-modal
...
Copy and styling tweaks (close account)
2022-01-18 13:40:59 -06:00
Vidor Gencel
b59abf5f80
Profile Picture Support ( #134 )
...
* render profile picture
* update profile picture package
* Include PFP only if set
* no need to wait pfp to load
Co-authored-by: Maximilian Schneider <mail@maximilianschneider.net>
2022-01-18 10:26:13 -08:00
rjpeterson
fe857554be
translate close account modal
2022-01-18 12:16:18 -06:00
rjpeterson
765352741d
add TOTRANSLATE tag
2022-01-18 11:22:21 -06:00
rjpeterson
cf55bebcf0
add TOTRANSLATE markers
2022-01-18 11:22:21 -06:00
Tyler Shipe
48252772f4
make lg and xl layouts match
2022-01-18 11:00:06 -06:00
saml33
bcae2a3d70
conflicts and translations
2022-01-18 12:54:21 +11:00
saml33
54c32ca964
copy and styling tweaks
2022-01-18 11:00:10 +11:00
Tyler Shipe
ac0aa307be
fix market list padding
2022-01-17 15:46:04 -06:00
Tyler Shipe
2a29b95033
update recent trades more frequently
2022-01-17 12:44:08 -06:00
tjshipe
4785d4986b
Merge pull request #135 from blockworks-foundation/max/disable-spot-margin
...
disable spot margin by default
2022-01-16 19:54:24 -06:00
Tyler Shipe
65d8cf78c2
remove duplicate fetch in manual refresh
2022-01-16 19:10:54 -06:00
Tyler Shipe
fe4130ca4b
v3.3 supports closing mango accounts
2022-01-16 18:35:47 -06:00
Tyler Shipe
5afff3bd7e
Merge branch 'v3.3' into main
2022-01-16 17:27:33 -06:00
Tyler Shipe
c307571624
yarn format
2022-01-16 11:13:55 -06:00
Tyler Shipe
a0f6f3da0b
useMemo on stats perp page
2022-01-16 11:13:55 -06:00
saml33
fa63b8edbe
fix typo
2022-01-16 20:05:17 +11:00
Tyler Shipe
eb503ff6a1
use latest client to add support for createOpenOrders
2022-01-15 21:32:31 -06:00
Tyler Shipe
5d550e58b3
remove cluster env var and link explorer txs to correct cluster
2022-01-15 20:00:34 -06:00
Tyler Shipe
8c674ec1fd
fix deposit notification when init new account
2022-01-15 19:08:42 -06:00
Tyler Shipe
babbcc3eb3
show proper notifications on account close
2022-01-15 18:51:45 -06:00
Tyler Shipe
9ba98b1e82
handle notifications when closing account
2022-01-15 18:14:20 -06:00
Tyler Shipe
cce1be382f
force reload orders when doing a manual refresh
2022-01-15 16:26:17 -06:00
Tyler Shipe
b7bf1cdda5
yarn format
2022-01-15 15:25:14 -06:00