tjs
|
d0875ba345
|
fix tokenbalance for max calc
|
2022-08-27 01:23:08 -04:00 |
tjs
|
6d60274fe2
|
fix coingecko % comparison
|
2022-08-26 15:14:57 -04:00 |
tjs
|
2ac137a05c
|
use token vault balance for max amount
|
2022-08-26 14:19:20 -04:00 |
tjs
|
0775176122
|
handle when vault balance is below 0
|
2022-08-26 13:17:31 -04:00 |
tjs
|
fdb6ae16ea
|
Reload mango account on interval
|
2022-08-25 23:31:39 -04:00 |
tjs
|
f19d02e992
|
fix max swap decimals
|
2022-08-25 20:39:17 -04:00 |
saml33
|
b70394263c
|
move error messages into buttons
|
2022-08-26 10:27:05 +10:00 |
tjs
|
297b945a23
|
truncate decimals on max swap
|
2022-08-25 18:03:28 -04:00 |
tjs
|
1d5e9416d1
|
0.0% coingecko difference should be green
|
2022-08-25 17:24:10 -04:00 |
tjs
|
5108dafdfb
|
add coingecko price comparison and borrow amount to route info
|
2022-08-25 16:24:37 -04:00 |
tjs
|
eefa1ad718
|
animate health impact
|
2022-08-25 15:44:02 -04:00 |
tjshipe
|
0aaaafeb6c
|
Merge pull request #6 from blockworks-foundation/swap-health-impact
move health impact to swap form
|
2022-08-25 14:34:18 -04:00 |
tjs
|
8109dd2f9c
|
allow skipping creating an account
leverage slider will work after disconnecting
|
2022-08-25 14:22:54 -04:00 |
saml33
|
9916747e0d
|
move health impact to swap form
|
2022-08-25 23:00:42 +10:00 |
saml33
|
6bc9b28c9e
|
fix review trade back button clickable area
|
2022-08-25 21:15:21 +10:00 |
saml33
|
6bbbb3c676
|
center review trade heading text
|
2022-08-25 20:52:44 +10:00 |
tjs
|
a4aba34ebb
|
cleanup swap max
|
2022-08-24 22:47:02 -04:00 |
microwavedcola1
|
2274596350
|
format
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
|
2022-08-24 17:40:21 +02:00 |
saml33
|
4836d21e46
|
show error when no margin and swap amount > token max
|
2022-08-24 20:51:06 +10:00 |
tjs
|
39be3f741d
|
add stats page
|
2022-08-23 18:33:09 -04:00 |
microwavedcola1
|
bc3101e90b
|
match latest changes to client
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
|
2022-08-23 16:24:47 +02:00 |
saml33
|
f888f0211f
|
set trade size button to 100 when clicking max
|
2022-08-23 22:41:37 +10:00 |
microwavedcola1
|
28f652a163
|
match client changes on mc/ts-client-fixes (#5)
* match client changes on mc/ts-client-fixes
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
* fix commit hash for dependency
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
|
2022-08-23 13:45:56 +02:00 |
saml33
|
83fe7c998b
|
fix buy input load height
|
2022-08-23 21:13:17 +10:00 |
tjs
|
2ec3bab9ea
|
remove leverage number from swap
|
2022-08-22 22:26:59 -04:00 |
tjs
|
501510eb43
|
fix max numbers shown in modals and swap form
|
2022-08-20 20:09:36 -04:00 |
tjs
|
52064b7627
|
disable swapping between the same tokens while using direct routes
|
2022-08-20 14:54:38 -04:00 |
tjs
|
bea7dee84c
|
move constants out of mangoStore.ts
|
2022-08-20 14:17:57 -04:00 |
tjs
|
5feb27c408
|
fix health after swap
|
2022-08-20 02:25:50 -04:00 |
tjs
|
1a0baab8e4
|
fix swap form
|
2022-08-20 00:03:26 -04:00 |
tjs
|
e36a88ddbd
|
allow leverage sliding while not connected
|
2022-08-19 17:25:31 -04:00 |
tjs
|
ae324a6da5
|
update to latest client and program version
|
2022-08-18 16:50:34 -04:00 |
tjs
|
32ca6ff2f5
|
add function to flip chart pair
|
2022-08-18 09:59:40 -04:00 |
saml33
|
a365bbbc04
|
disable review trade when amount in is 0
|
2022-08-18 16:14:15 +10:00 |
tjs
|
acc2a2cfdd
|
switch amounts after flipping the token
|
2022-08-18 00:35:35 -04:00 |
saml33
|
0f7a1b2ad4
|
update slider amount prop type
|
2022-08-18 14:25:30 +10:00 |
saml33
|
b82259d17f
|
remove onChange from effect dependencies
|
2022-08-18 13:17:22 +10:00 |
saml33
|
a74aaf4405
|
set swap input amount to 0 on token switch
|
2022-08-18 13:14:44 +10:00 |
tjs
|
bec94218b5
|
fix decimal handling
|
2022-08-17 21:50:08 -04:00 |
saml33
|
44b3981e48
|
update slider when amountIn changes
|
2022-08-18 11:21:16 +10:00 |
tjs
|
f64f73f2b7
|
fix for slider bg when changing account
|
2022-08-17 18:17:12 -04:00 |
tjs
|
e168add75c
|
give default background size to slider
|
2022-08-17 17:36:38 -04:00 |
tjs
|
78e79b0715
|
combine jupiter route info into one component
|
2022-08-17 16:06:45 -04:00 |
tjs
|
a7b915d071
|
add sheen loader for price on swap chart
|
2022-08-17 16:06:45 -04:00 |
saml33
|
040d942ed9
|
style slider
|
2022-08-17 13:42:16 +10:00 |
tjs
|
08b6da5d2f
|
remove tailwind deprecated transform class
and remove default-transitions that weren't paired with a class change
|
2022-08-16 18:58:03 -04:00 |
tjs
|
4631b70d15
|
again fix percent select on swap
|
2022-08-16 00:19:09 -04:00 |
tjs
|
49e340d1f6
|
fix for percent select on swap form
|
2022-08-15 23:16:20 -04:00 |
saml33
|
0d19b462b6
|
update token icons
|
2022-08-16 12:41:06 +10:00 |
tjs
|
6ead35fd8a
|
wire up borrow modal; use maint health
|
2022-08-15 18:18:23 -04:00 |
tjs
|
d3a05e01c6
|
fix max percentage when no margin
|
2022-08-15 12:02:46 -04:00 |
saml33
|
2039d4ce09
|
style swap setting margin switch
|
2022-08-15 21:52:17 +10:00 |
saml33
|
979f6aada8
|
load swap amount out
|
2022-08-15 21:28:36 +10:00 |
saml33
|
a1eb6b38d9
|
button hovers
|
2022-08-15 16:10:46 +10:00 |
saml33
|
e672dd4792
|
style review trade panel
|
2022-08-14 21:56:19 +10:00 |
tjs
|
d1acfc6d52
|
use new client to show pending transaction notifications
|
2022-08-12 17:18:12 -07:00 |
saml33
|
80ccba7b72
|
fix review trade back arrow
|
2022-08-12 22:40:26 +10:00 |
tjs
|
29da9b24f6
|
update decimal formatting
|
2022-08-11 19:27:36 -07:00 |
tjs
|
fdec02b730
|
add back swap route options
|
2022-08-11 18:26:36 -07:00 |
tjs
|
403161f578
|
show simulated health in swap
|
2022-08-11 17:52:57 -07:00 |
tjs
|
0800e9f30f
|
exclude Serum jup routes due to lg tx size
|
2022-08-11 17:52:57 -07:00 |
tjs
|
6630f554cc
|
leverage slider max shouldnt exceed available deposits
|
2022-08-11 17:52:57 -07:00 |
microwavedcola1
|
c148f5640a
|
Adapt to latest ts/client changes
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
|
2022-08-11 18:00:39 +02:00 |
tjs
|
643627708b
|
show tx id in error notifications
|
2022-08-10 13:42:15 -07:00 |
tjs
|
596d4713d7
|
exclude raydium routes due to tx size
|
2022-08-10 13:34:30 -07:00 |
tjs
|
af25ab651f
|
lookup swap symbol by mint address
|
2022-08-10 13:23:19 -07:00 |
tjs
|
ae58eecc65
|
use latest client to fix swap signature errors
|
2022-08-09 15:44:01 -07:00 |
tjs
|
a3a4275462
|
fix chart timeframe active class
|
2022-08-09 10:06:36 -07:00 |
tjs
|
730283d8c3
|
center loading icon after trade; reload account after editing
|
2022-08-08 14:45:56 -07:00 |
tjs
|
43089b195f
|
close review trade modal after successful tx
|
2022-08-08 11:44:25 -07:00 |
tjs
|
fab687ac87
|
swap settings modal
|
2022-08-08 10:42:18 -07:00 |
tjs
|
a417f12e8d
|
use latest client
|
2022-08-04 12:42:03 -04:00 |
tjs
|
8ec490c042
|
extract jupiter logic into hook
|
2022-08-03 22:25:38 -04:00 |
saml33
|
b6168b9089
|
review trade font size
|
2022-08-03 20:02:18 +10:00 |
saml33
|
0f46288df6
|
add simple area chart
|
2022-08-03 10:17:42 +10:00 |
tjs
|
ba39db5b9f
|
fix link buttons
|
2022-08-02 15:20:27 -04:00 |
tjs
|
d6d29e072b
|
filter swap list by tokens in group
|
2022-08-02 14:09:29 -04:00 |
tjs
|
b8ccb17206
|
add try/catch around jupiter loading
|
2022-08-01 13:14:44 -04:00 |
tjs
|
c59778252e
|
faster chart loading; temp set dark as default
|
2022-08-01 11:53:09 -04:00 |
tjs
|
0249efba5c
|
fix swap chart hover calculation
|
2022-07-29 13:57:12 -04:00 |
saml33
|
7c49882fcc
|
more onboarding and load mango account
|
2022-07-28 16:35:18 +10:00 |
saml33
|
1ba4e0156d
|
use popover for account summary
|
2022-07-26 21:15:07 +10:00 |
saml33
|
82e9925e6e
|
populate swap form from token list
|
2022-07-26 15:27:53 +10:00 |
tjs
|
41accab8e7
|
remove number animation delay
|
2022-07-25 15:03:17 -04:00 |
saml33
|
05ebd8b69a
|
add buttongroup/slider to action modals
|
2022-07-25 14:22:17 +10:00 |
saml33
|
4b5c607c0d
|
buttongroup large prop
|
2022-07-25 13:12:50 +10:00 |
saml33
|
636c79443a
|
position icon menu panel
|
2022-07-25 11:47:12 +10:00 |
saml33
|
31e5b13e2e
|
Merge branch 'main' of github.com:blockworks-foundation/mango-v4-ui
|
2022-07-25 11:46:15 +10:00 |
tjs
|
899767ea28
|
fix decimals on swap chart
|
2022-07-24 14:41:38 -04:00 |
saml33
|
286a4964a0
|
icon drop menu
|
2022-07-24 21:48:55 +10:00 |
saml33
|
69caf3eb00
|
withdraw modal ui
|
2022-07-24 15:45:11 +10:00 |
saml33
|
e5e691d9a4
|
add sheen loader/chart load state
|
2022-07-24 14:27:54 +10:00 |
saml33
|
f4d7c4fcb7
|
fix swap transition
|
2022-07-24 12:51:54 +10:00 |
saml33
|
42c8da0c36
|
add tooltip
|
2022-07-24 12:48:26 +10:00 |
saml33
|
89f1ca6fc1
|
animate account value numbers
|
2022-07-23 21:30:50 +10:00 |
tjs
|
5e3a710728
|
fix decimals on swap chart
|
2022-07-22 17:41:31 -04:00 |
tjs
|
27612f0a6a
|
fix slider performance
|
2022-07-22 16:46:33 -04:00 |
tjs
|
653168fb62
|
add husky and fix lint errors
add husky; lint fixes
add husky; lint fixes
add husky; lint fixes
add husky; lint fixes
add husky; lint fixes
add husky; lint fixes
|
2022-07-22 14:19:49 -04:00 |
tjs
|
04393806df
|
add flip numbers to chart
|
2022-07-22 13:07:55 -04:00 |
tjs
|
3785bebcb5
|
fixes
|
2022-07-22 11:41:21 -04:00 |
saml33
|
b304ea208f
|
start onboarding flow
|
2022-07-21 14:50:56 +10:00 |
saml33
|
c21463edd3
|
calculate mouse data chart change
|
2022-07-20 13:49:33 +10:00 |
saml33
|
ae0569ba49
|
responsive swap chart
|
2022-07-20 13:33:30 +10:00 |
saml33
|
82a54714a4
|
token list table columns
|
2022-07-19 15:27:11 +10:00 |
saml33
|
db1f52f452
|
add settings page
|
2022-07-19 13:58:21 +10:00 |
saml33
|
c4c8cb60f8
|
move routes loading to parent
|
2022-07-18 20:02:43 +10:00 |
saml33
|
40a9fd4c08
|
add review trade step
|
2022-07-18 12:49:14 +10:00 |
saml33
|
be77bf3a85
|
update copy
|
2022-07-17 21:51:51 +10:00 |
saml33
|
7b772c3e6e
|
add margin toggle ui
|
2022-07-17 21:48:33 +10:00 |
saml33
|
0dff51d17a
|
animate swap token switch arrow
|
2022-07-17 14:41:20 +10:00 |
saml33
|
b4c1b8631e
|
merge main
|
2022-07-16 21:29:47 +10:00 |
saml33
|
f3c99a1b09
|
swap token select styling
|
2022-07-16 21:22:59 +10:00 |
tjs
|
e7cfa4dd80
|
use % change to affect chart color
|
2022-07-15 16:26:29 -04:00 |
tjs
|
b4cddd1b19
|
move swap route under swap details
|
2022-07-15 16:17:12 -04:00 |
tjs
|
902741d8af
|
add padding and larger font to sidenav; fix animation
|
2022-07-15 15:02:01 -04:00 |
saml33
|
f6d2469e60
|
swap styling WIP
|
2022-07-15 22:50:29 +10:00 |
saml33
|
d12225c63a
|
crude responsive for swap
|
2022-07-15 11:46:34 +10:00 |
tjs
|
fc339abac5
|
get simulated values after reloading account
|
2022-07-14 15:33:11 -04:00 |
tjs
|
db239c0145
|
add mango account values
|
2022-07-12 23:58:13 -04:00 |
tjs
|
a74fd28ca6
|
leverage slider and mango account
|
2022-07-12 22:02:36 -04:00 |
tjs
|
375d369573
|
add token select modal; fix content widths;
|
2022-07-11 23:00:22 -04:00 |
tjs
|
771ee63ea5
|
wip
|
2022-07-10 22:01:16 -04:00 |
tjs
|
8f0dc1e3ef
|
more swap work
|
2022-07-05 23:37:49 -04:00 |