1
0
mirror of https://github.com/oceanprotocol/market.git synced 2024-06-30 05:41:41 +02:00
Commit Graph

600 Commits

Author SHA1 Message Date
eeda0f85ee
swapFee calculation fix 2020-10-05 22:07:16 +02:00
01655c883a
menu tweaks 2020-10-05 20:40:41 +02:00
6eff6883af
fetch datatoken symbol in transaction history 2020-10-05 17:05:21 +02:00
55fad1ee92
metadata display tweaks 2020-10-05 16:18:54 +02:00
da0cafe5a0
asset teaser tweaks 2020-10-05 16:14:59 +02:00
2c2bf3cef1
move user's focus to top of screen upon publish 2020-10-05 15:42:19 +02:00
fb095460ab
loader fixes 2020-10-05 15:13:51 +02:00
22a45ec21e
new publish feedback UX 2020-10-05 15:03:21 +02:00
9e2baac34c
refactor, move feedback out of form 2020-10-05 12:29:50 +02:00
9a321e2500
another network change fix 2020-10-02 14:33:46 +02:00
a322c443ed
network change fix 2020-10-02 14:07:54 +02:00
68ed8fd348
chainId → networkId 2020-10-02 13:41:00 +02:00
c460904903
Merge pull request #68 from oceanprotocol/feature/history
History page
2020-10-01 17:34:15 +02:00
1aac244329
case fix 2020-10-01 17:13:19 +02:00
5a52d8fbe9
lib-js updates 2020-10-01 15:17:54 +02:00
feb29924c7
empty state tweaks 2020-10-01 15:12:14 +02:00
ea9ebdc23f
fix asset list empty fallback
* seems aquarius returns `total_results: 1` when there are no `results`
2020-10-01 13:13:33 +02:00
50a62ae696
cleanup 2020-09-30 19:26:47 +02:00
308200b018
asset title fetching 2020-09-30 19:14:37 +02:00
b76dc95f41
cleanup 2020-09-30 19:00:34 +02:00
62d210f89f
cleanup 2020-09-30 18:49:41 +02:00
9911c458a7
refactor 2020-09-30 18:39:09 +02:00
fcc8bc2896
table styling 2020-09-30 18:22:08 +02:00
69c329ceb6
first data output in table 2020-09-30 15:02:20 +02:00
f9735d689d
refactor for new data structure 2020-09-30 12:50:59 +02:00
d476259d7f
dummy data test 2020-09-29 21:25:17 +02:00
2276367566
remove custom table component 2020-09-29 21:25:05 +02:00
3447fc3479
parameter tweaks 2020-09-29 17:36:27 +02:00
f1f2123466
debug output 2020-09-29 17:19:50 +02:00
b6574dcbb3
test getAllPoolLogs 2020-09-29 17:19:50 +02:00
2b19aaa773
publish fix 2020-09-29 17:19:50 +02:00
ef00160f65
run type checking as part of linting 2020-09-29 17:19:50 +02:00
69ecfd71eb
remove compute job lists for now 2020-09-29 17:19:49 +02:00
46d7fa2ea1
populate PublishedList
* blocked by https://github.com/oceanprotocol/ocean-lib-js/pull/308
2020-09-29 17:19:49 +02:00
cde444ba8f
cleanup 2020-09-29 17:19:49 +02:00
f2cfa49c0e
refactor, unify published & consumed list 2020-09-29 17:19:49 +02:00
050b194373
simplify PublishedList 2020-09-29 17:19:49 +02:00
f80f93489b
publish fix 2020-09-29 17:18:46 +02:00
f440c1527d
lint fix 2020-09-29 13:54:42 +02:00
3c44eac707 copy 2020-09-28 15:55:33 +00:00
ad714dc8c9 liquidityProviderFee → swapFee 2020-09-28 15:49:51 +00:00
206ea2ebdc
fix search 2020-09-24 13:12:01 +02:00
3a72d670fd
remove unused methods/hooks/components 2020-09-24 12:26:23 +02:00
897bfb6e54
Merge pull request #86 from oceanprotocol/fix/search
Fix/search
2020-09-23 22:06:28 +02:00
b09c1dbc27
typing fixes 2020-09-23 14:54:56 +02:00
d7ff2694f7
consume fixes, tab fixes 2020-09-23 13:55:53 +02:00
b5356e6c42
test & storybook fixes 2020-09-23 11:21:04 +02:00
mihaisc
4fb14b7b70
remove search price filters 2020-09-23 12:04:17 +03:00
mihaisc
44433cdb12
fix pagination effect 2020-09-23 11:57:05 +03:00
88f9c47b8c use browser locale for number formatting 2020-09-22 17:31:33 +00:00
3260df17a9 add liquidity screen styling 2020-09-22 16:58:55 +00:00
b45c958ae8 fix feedback spacing in wallet details
* closes #50
2020-09-22 15:29:22 +00:00
7bae93f42d hack @coingecko/cryptoformat into what we want
* closes #70
* closes #53
2020-09-22 15:24:08 +00:00
a1ff86083c input tweaks 2020-09-22 11:04:28 +00:00
711dd38a9f output liquidity provider fee for given pool 2020-09-22 09:50:18 +00:00
0c3afad2cd datatoken info as part of validation schema 2020-09-21 21:26:07 +00:00
d85f6c0777 fix passing generated datatoken options 2020-09-21 19:16:33 +00:00
d1e1c75f86 typing fixes 2020-09-21 18:52:04 +00:00
66f9dace6f input fixes: filter out non-HTML props 2020-09-21 18:35:07 +00:00
fbef95a644
fix empty optional fields 2020-09-21 20:19:07 +02:00
eb8221d104
more fixes 2020-09-21 19:53:02 +02:00
83d791cf1b
price validation ui fixes 2020-09-21 19:52:59 +02:00
9008ad2018
validation fixes 2020-09-21 19:52:27 +02:00
2a13a760bd
refactor to make live validation work 2020-09-21 19:52:27 +02:00
041dfcee08
Data Token → Datatoken 2020-09-21 19:52:27 +02:00
053717ac95
refactoring 2020-09-21 19:52:27 +02:00
a1da02b8e4
output fees in dynamic price UI 2020-09-21 19:52:27 +02:00
865c4d7b9d
make liquidityProviderFee editable 2020-09-21 19:52:27 +02:00
mihaisc
bb43d8f8a3
various fixes 2020-09-21 17:36:11 +03:00
11a4acc3cd
fix insufficiant balance check 2020-09-17 17:59:45 +02:00
mihaisc
1caaf48c79
Merge branch 'main' into fix/publishFixedPrice 2020-09-16 15:01:49 +03:00
mihaisc
9f84f12502
fix 2020-09-16 15:01:15 +03:00
067c211258
add eslint-plugin-react-hooks 2020-09-16 11:08:35 +02:00
20acdf814a
rather use undefined title, which triggers fallback 2020-09-14 17:02:09 +02:00
2761a615b9
try getting title earlier 2020-09-14 16:56:27 +02:00
a37aff907a
data token display tweaks 2020-09-11 17:53:32 +02:00
b03955d618
pool badge for pool prices 2020-09-11 17:29:40 +02:00
b70fa86273
Merge pull request #73 from oceanprotocol/feature/dt-name-output
handle generated dt names during publish
2020-09-11 16:50:15 +02:00
3442c39bd6
dynamic price tweaks 2020-09-11 16:39:58 +02:00
74a2c182e9
make metadataStoreUri part of app config 2020-09-11 16:34:13 +02:00
32d637c203
put a beta badge on it 2020-09-11 16:18:36 +02:00
4749766cc2
name refresh button 2020-09-11 15:39:09 +02:00
09e68d44cd
styling & copy 2020-09-11 15:13:22 +02:00
bc6b9ec8b1
style name & symbol output 2020-09-11 13:33:33 +02:00
7bda8b7c13
handle generated dt names
* generate new name & symbol on mount
* output in fixed & dynamic
* pass through generated options into publish
2020-09-11 13:11:35 +02:00
acfa0b8d06
refactor to use optional chain expressions 2020-09-10 22:22:16 +02:00
a4510459f1
updates for new @oceanprotocol/react price model 2020-09-10 20:32:30 +02:00
cda52aef1c
safeguard against assets without attributes.additionalInformation 2020-09-10 19:54:32 +02:00
5b36da54d2
fixes 2020-09-10 19:33:11 +02:00
85b0643693
workaround for fiat decimals
* addresses #70
2020-09-10 17:23:10 +02:00
55137af876
custom radio & checkbox styles 2020-09-10 16:48:57 +02:00
b635fcbc7a
menu expanded trigger animation 2020-09-10 15:38:03 +02:00
f02467f83c
fix input props passthrough 2020-09-10 15:05:33 +02:00
1ea70be80c
set ocen-lib-js log levels based on debug value 2020-09-10 14:50:13 +02:00
a8d8c95acb
show BPT only in debug mode 2020-09-10 14:33:38 +02:00
69afec8511
undefined is hard 2020-09-10 14:27:48 +02:00
e421667941
configurable currencies 2020-09-10 14:21:10 +02:00
acf233a77b
copy, window check 2020-09-10 13:54:59 +02:00
466f04c86d
build fix 2020-09-10 13:50:16 +02:00
9ae58d45ec
ui tweaks 2020-09-10 13:49:28 +02:00
d5d9ce370b
persist user preferences through localStorage 2020-09-10 13:43:20 +02:00
c867253dd9
select empty value tweak 2020-09-10 13:28:03 +02:00
0f6d5ffe62
refactor 2020-09-10 13:20:54 +02:00
47e8de3bac
refactor price conversion based on user preferences 2020-09-10 13:13:53 +02:00
df567a514c
preferences UI 2020-09-10 12:59:30 +02:00
9d41a443bf
function preferences ui 2020-09-10 12:20:40 +02:00
91afd8ed39
make use of debug value 2020-09-09 16:07:37 +02:00
4d3c611189
create UserPreferencesProvider 2020-09-09 16:01:36 +02:00
5152165f89
config typing updates 2020-09-09 15:37:29 +02:00
f1812b389b
non-web3 fallback for data token output 2020-09-09 15:19:10 +02:00
6535e35e0b
metadata output tweaks 2020-09-09 15:15:47 +02:00
6c47b8e44e
fix publishing 2020-09-09 14:58:57 +02:00
b154cfc2ac
publish updates 2020-09-09 14:35:56 +02:00
b09e3acb12
lint fixes 2020-09-08 13:55:04 +02:00
209117ea1e
preview tweak 2020-09-02 13:31:43 +02:00
6f79e16e4d
validation fix 2020-09-02 13:22:35 +02:00
49ac2ba909
fileinfo API tweaks 2020-09-02 13:18:48 +02:00
681d59ca64
process links in transformPublishFormToMetadata 2020-09-02 12:32:32 +02:00
1972b1dca2
sample output on asset details 2020-09-02 12:31:20 +02:00
a3721502f5
add sample file during publish 2020-09-02 12:22:48 +02:00
16fc0aef03
type check fixes 2020-09-02 11:43:15 +02:00
d9a4b5697c
output liquidity provider fee from pool 2020-08-31 14:17:40 +02:00
56dc96a6c1
refactor 2020-08-31 11:34:56 +02:00
09edb9d42b
use totalPoolTokens as maximumPoolShares, removal UI 2020-08-31 10:55:12 +02:00
1d52702a87
remove todos 2020-08-28 18:57:46 +02:00
c16a7be099
output pool tokens for debugging 2020-08-28 18:14:27 +02:00
405a400a83
add todos 2020-08-28 17:39:41 +02:00
3170fb512c
Merge branch 'main' into feature/balancer 2020-08-28 17:34:15 +02:00
801d69d8f5
output tx id after adding liquidity 2020-08-28 17:24:59 +02:00
8fe4e2c77d
tweak balances, dt display 2020-08-28 17:18:57 +02:00
f9047f25d2
hide BPT 2020-08-28 10:04:02 +02:00
mihaisc
2daab8b175 format 2020-08-27 16:13:31 +03:00
mihaisc
dfccd101f7 added local persist 2020-08-27 13:30:36 +03:00
f54c461edf
adding todos 2020-08-26 20:59:11 +02:00
bd88f40d4d
input fixes 2020-08-26 20:46:34 +02:00
f8fd5bb76f
cleanup 2020-08-26 20:36:18 +02:00
ef8814b622
add cleanup 2020-08-26 10:43:17 +02:00
77d305ae2e
add/remove header visual tweaks 2020-08-26 10:12:43 +02:00
c6307c24bd
better number fallbacks 2020-08-26 09:42:11 +02:00
2a8f045efa
tweak all pool calculations, display on Add screen 2020-08-26 09:37:28 +02:00
5e61123669
add/remove inputs 2020-08-26 09:01:43 +02:00
63fe171dd7
hide pool for simple pricing 2020-08-26 08:50:09 +02:00
71e4afe42a
copy 2020-08-25 09:48:33 +02:00
2fd4b59adf
pool token updates 2020-08-20 18:37:12 +02:00
9e37127360
useMetadata fixes 2020-08-20 16:59:17 +02:00
e114c3f650
refactor for new useMetadata 2020-08-20 14:22:32 +02:00
0af06792e6
refactor 2020-08-20 12:54:54 +02:00
bfa0f3ba5c
etherscan link component, link up pool & data token 2020-08-20 11:51:50 +02:00
49bb90865b
add conversion 2020-08-20 10:55:17 +02:00
508e4f7165
place some tooltips 2020-08-19 22:12:28 +02:00
d80d6d7990
output pool share 2020-08-19 22:06:25 +02:00
8d51307852
refactor getting dtPrice 2020-08-19 18:17:18 +02:00
cd1c514ac0
basic error handling during add/remove 2020-08-19 17:38:14 +02:00
da23dd51da
restore user balance calculation 2020-08-19 17:37:50 +02:00
ab0996f168
change user balance calculation 2020-08-19 17:20:20 +02:00
7da13f314b
add interaction 2020-08-19 17:09:30 +02:00
069cf40202
action name change 2020-08-19 16:39:13 +02:00
db5783c356
add remove screen functionality 2020-08-19 15:59:50 +02:00
ef874fd837
prototype adding liquidity 2020-08-19 14:49:08 +02:00
0570d30596
lib updates 2020-08-19 14:39:33 +02:00
e0ca028fc1
price: do nothing when not properly connected 2020-08-19 11:01:59 +02:00
ff06d0c137
token value display tweaks 2020-08-19 00:48:26 +02:00
71e56e4344
prepare add/remove screens 2020-08-18 23:26:59 +02:00
2194b55753
add loading state 2020-08-18 19:20:25 +02:00
5a8c864d6c
refactor Price component to be more universal 2020-08-18 19:11:52 +02:00
ebdd46efe0
first cut at actual UI 2020-08-18 18:04:53 +02:00
297c6a1ab1
Trade → Pool 2020-08-18 17:14:54 +02:00
dd5a5995f7
more data output 2020-08-18 14:54:00 +02:00
e01b1c4fee
get pool reserve data 2020-08-18 14:25:27 +02:00
f82e98863e
use getBestPool 2020-08-18 13:29:47 +02:00
2d3e0e9681
make pool info work 2020-08-18 13:13:55 +02:00
7e10f2232c
get all the tokens 2020-08-18 12:56:37 +02:00
812322181f
start interacting with balancer 2020-08-18 12:56:37 +02:00
c65638592d
fix tab change error 2020-08-18 12:56:37 +02:00
882a5b67df
Merge pull request #57 from oceanprotocol/fix/36
reset form fix
2020-08-17 09:44:11 +02:00
mihaisc
f71eaa854e reset form fix 2020-08-13 16:02:26 +03:00
mihaisc
041a6c63b5 price update when connecting 2020-08-12 16:11:14 +03:00
a7dc94f219
get config dynamically from useOcean in all components 2020-08-11 15:56:13 +02:00
dce3b10f01
get app config the direct way 2020-08-11 15:47:31 +02:00
mihaisc
cb4b3d0bc9 test fix 2020-08-11 15:40:15 +03:00
mihaisc
3c1c6418d9 Merge branch 'main' into feature/config 2020-08-11 15:34:39 +03:00
mihaisc
881c4c4ae0 format 2020-08-11 15:32:24 +03:00
mihaisc
69d0b14903 fetching correct network config 2020-08-11 15:31:06 +03:00
mihaisc
30906e63b4 hooks update, network monitor 2020-08-11 14:13:27 +03:00
e3892143c5
more feedback fixes 2020-08-11 09:41:23 +02:00
1c38f30f8a
restore insufficient balance feedback 2020-08-11 09:37:02 +02:00
5ce00c9ddc
use decimal.js for price comparison 2020-08-11 09:30:17 +02:00
062530f523
refactor 2020-08-11 09:14:44 +02:00
148f11fc4f
fixes 2020-08-11 08:44:31 +02:00
e7b17a9d65
consolidate balance check 2020-08-11 08:20:40 +02:00
c8ab797e02
fix run order 2020-08-11 07:51:55 +02:00
8d8336d169
lift price up, handle balance check 2020-08-11 07:34:32 +02:00
fc7de43e16
refetch price on network change 2020-08-10 15:08:37 +02:00
ac156d0ea0
style empty state 2020-08-07 18:20:08 +02:00
76e14be730
refactor price component 2020-08-07 18:12:39 +02:00
8316a1ab8b
config refactor 2020-08-07 10:20:54 +02:00
65cd3d42b0
change default fees 2020-08-06 14:22:19 +02:00
0d4e0599ac
consolidate all copy for price widget 2020-08-06 14:07:01 +02:00
3811050fa6
source tooltip content for advanced price 2020-08-06 13:46:43 +02:00
a5cc84f8df
default tooltip trigger icon 2020-08-06 13:36:36 +02:00
a021fb3f13
refactor wallet popup into generic tooltip component 2020-08-06 13:00:41 +02:00
a3d98477ee
package updates, handle empty price 2020-08-06 13:00:22 +02:00
0b1505d5f3
output Liquidity Provider Fee 2020-08-06 11:41:18 +02:00
988c7bc89a
ownerFee → liquidityProviderFee 2020-08-06 11:03:44 +02:00
88496489c7
more precise parameter name 2020-08-05 16:22:51 +02:00
5d11416137
price data structure additions 2020-08-05 16:17:13 +02:00
f109a71a80
publish change 2020-08-05 15:57:42 +02:00
93f9432032
configurable market fee values 2020-08-05 15:34:12 +02:00
6271f46918
reset form after submit 2020-08-05 15:23:54 +02:00
9359396aa9
merge fix 2020-08-05 15:19:31 +02:00
2a1ebb0a7e
Merge pull request #44 from oceanprotocol/feature/price-type
save priceType to DDO
2020-08-05 15:15:21 +02:00
mihaisc
982170cedb condition or advanced flow 2020-08-05 16:04:54 +03:00
4850f10d8d
remove curation 2020-08-05 14:38:22 +02:00
541e495d71
save priceType to DDO 2020-08-05 14:36:26 +02:00
mihaisc
9cd441c483 Merge branch 'main' into feature/consume 2020-08-05 15:21:31 +03:00
mihaisc
48845734f3 format 2020-08-05 15:11:55 +03:00
086631d108
handle currency value display
* closes #42
2020-08-05 14:11:02 +02:00
mihaisc
92e6b2738b price change 2020-08-05 15:09:15 +03:00
7c0a1f9c39
handle balance refetching
* refresh balance when account popup is opened
* refresh balance periodically when advanced price widget is visible
2020-08-05 13:45:51 +02:00
991a646dd7
small price on asset teaser 2020-08-05 13:33:48 +02:00
9aa921c22c
restore asset teaser compute label 2020-08-05 13:32:37 +02:00
2e63b868d9
loader message fix 2020-08-05 13:24:01 +02:00
82049e9446
handle all price output 2020-08-05 13:21:14 +02:00
8b4363a866
remove price conversion 2020-08-05 13:11:39 +02:00
19ccb80a48
remove cost, capture price type 2020-08-05 11:54:10 +02:00
91802e7a51
fix debug code blocks wrapping 2020-08-05 11:33:40 +02:00
mihaisc
581e9d05d6 Merge branch 'main' into feature/consume 2020-08-05 12:24:00 +03:00
mihaisc
d85be21b87 update hooks and publish 2020-08-05 12:22:39 +03:00
3ab8ae198f
output price on asset teaser 2020-08-05 11:18:05 +02:00
1f64e9b5e9
form nesting fix 2020-08-05 11:16:10 +02:00
4bdc1a257d
input placeholder fix 2020-08-05 10:27:33 +02:00
15ba3de211
refactor 2020-08-03 19:25:21 +02:00
d72d798b06
data structure cleanup, initial values 2020-08-03 12:26:00 +02:00
24a7bdbd81
DDO debug output 2020-08-03 12:04:03 +02:00
74f9c2202b
debug output for collected and transformed values 2020-08-03 11:57:36 +02:00
925cbcf173
refactor price data collection 2020-08-03 11:37:31 +02:00
c1b3444ae1
fix input defocus on user input 2020-08-03 11:34:51 +02:00
e77832115c
menu account color fix 2020-08-03 10:22:23 +02:00
9fa7a7ad3c
rebase fix 2020-07-31 13:19:52 +02:00
a6d612a1b2
visual cleanup, make more use of space 2020-07-31 13:15:01 +02:00
011a87e6b8
nicer auto-layout for prefix/postfix input groups 2020-07-31 13:15:01 +02:00
a223ed603c
wording 2020-07-31 13:15:01 +02:00
5bc7b65265
feedback for wallet interaction within price widget 2020-07-31 13:15:01 +02:00
8efbe74e51
wallet & menu affordance tweaks 2020-07-31 13:15:01 +02:00
818404c5ef
more visual UI for advanced pricing 2020-07-31 13:15:01 +02:00
b36edb2414
output balance & error feedback 2020-07-31 13:15:01 +02:00
ef2e5ffad6
next UI iteration for advanced price 2020-07-31 13:15:01 +02:00
8e295034d3
wording 2020-07-31 13:15:00 +02:00
f8c12c0217
wording 2020-07-31 13:15:00 +02:00
88f7b717d3
add wallet to advanced price widget, UI tweaks 2020-07-31 13:15:00 +02:00