claudiaHash
986fd37d3e
Sample file validation in edit form fix ( #1351 )
...
* fix missing asset provider
* comment removed
Co-authored-by: ClaudiaHolhos <claudia@oceanprotocol.com>
2022-04-18 14:39:23 +03:00
967b869b02
Move auto-changing providerUrl ( #1256 )
...
* move auto-changing providerUrl
* remove comments
* new custom provider → change network interaction
* more interaction tweaks for custom provider → change network case
* fix adding custom provider
* add provider chainId check
* initialValues from form context
* user chainId fallback
2022-04-15 14:28:45 +01:00
claudiaHash
cc0da26740
max param for description length ( #1349 )
...
Co-authored-by: ClaudiaHolhos <claudia@oceanprotocol.com>
2022-04-15 15:33:51 +03:00
mihaisc
e4a8c0df64
update ocean ( #1348 )
...
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
2022-04-14 18:49:12 +03:00
mihaisc
2985e1a45a
update ocean.js ( #1346 )
...
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
2022-04-14 15:31:37 +01:00
Norbi
36a75e6736
Dynamic price publish input fields fixes ( #1302 )
...
* update ocean amount on price change
* add min ocean amount requirement
* add min ocean value when price is not grater than 0
* review fixes
* use min ocean and dataToken amounts from initialValues
* removed weightOnDataToken from useEffect and updated comments
* fix amountOcean bug
* remove min attribute from Coin, move logic to yup validation
* remove unused imports and change min amountOcean test name
* default amountDataToken from 50 → 100
* ref #1340
* change min datatoken and ocean amount to 100
* update ocean amount min validation and validation message
* replace data tokens with datatokens in min ocean amount message
Co-authored-by: Matthias Kretschmann <m@kretschmann.io>
2022-04-14 13:48:56 +01:00
claudiaHash
1256c20904
Trade input accepts decimals with leading 0 ( #1294 )
...
* input accepts number with leading 0 decimals
* input fields changes
* value type fix
Co-authored-by: ClaudiaHolhos <claudia@oceanprotocol.com>
2022-04-13 18:24:19 +03:00
Jamie Hewitt
9ebddd814d
Improve footer links ( #1338 )
...
* Opening external links in a new tab
* Main site links opens in a new tab + adding external link arrow
2022-04-11 16:13:52 +03:00
Jamie Hewitt
274d0d3809
Showing connect wallet button on submit page when no wallet is connected ( #1329 )
...
* Showing connect wallet button on submit page when no wallet is connected
* Fixing connect button when form hasn't been filled out
2022-04-08 13:05:06 +01:00
EnzoVezzaro
4bd9dddf3b
show proper errors on submit publish ( #1105 )
...
* exit when user rejects the transaction
* if the message is too long, return generic label
* in the case (should not happen) the message is longer than one row, then show ellipsis
2022-04-07 11:10:36 +01:00
EnzoVezzaro
ed15952a85
added key prop to Fragment to clear warning ( #1333 )
2022-04-06 17:18:52 +01:00
ced16eecc9
Ocean Asset NFT → Ocean Data NFT ( #1328 )
2022-04-06 16:38:43 +03:00
Jamie Hewitt
cd5ff7cf73
Revert "Adding connect wallet button to submit page"
...
This reverts commit e24de81b65
.
2022-04-06 16:35:20 +03:00
Jamie Hewitt
d65161ef41
Revert "Removing unneccessary conditions"
...
This reverts commit ea3f91f79b
.
2022-04-06 16:34:44 +03:00
Jamie Hewitt
00961c47c0
Merge branch 'v4' of github.com:oceanprotocol/market into v4
2022-04-06 16:20:59 +03:00
Jamie Hewitt
ea3f91f79b
Removing unneccessary conditions
2022-04-06 16:13:46 +03:00
claudiaHash
483bc90dec
Content width changes ( #1325 )
...
* width changes
* revert change for @media
Co-authored-by: ClaudiaHolhos <claudia@oceanprotocol.com>
2022-04-06 14:02:01 +01:00
Jamie Hewitt
d61f9c7940
Merge branch 'v4' of github.com:oceanprotocol/market into v4
2022-04-06 15:53:26 +03:00
Jamie Hewitt
e24de81b65
Adding connect wallet button to submit page
2022-04-06 15:52:55 +03:00
Jamie Hewitt
9b19aed5ad
Removing dashes from timeout field ( #1326 )
2022-04-06 13:31:31 +01:00
f2e7db0260
Pool components UI refactor ( #1295 )
...
* reorder UI
* refactor with new PoolSection component
* move all the things
* layout tweaks
* fix pool data without wallet
* fix undefined user pool share
* fix max remove calculation
* make conversion use our decimals definition
2022-04-06 11:47:41 +03:00
Jamie Hewitt
d64fe4e32c
Adding space to ConnectWallet ( #1323 )
...
* Adding space to ConnectWallet
* Adding <span> back in, keeping the space
2022-04-05 21:21:11 +03:00
EnzoVezzaro
3b023054dd
restore fetchAllData for any user ( #1318 )
2022-04-05 10:09:28 -07:00
a9e1776499
More footer links ( #1322 )
...
* tweaked footer layout
* add more links
* source links from content file
2022-04-05 10:08:12 -07:00
fc2681231b
fix transferable NFTs ( #1309 )
...
- send along `transferable` param when creating NFT
- new optional `transferable` param in our `generateNftCreateData()` helper, default to `true`. So we don't need to bother adding this to the publish tx fee component
- capture new key in form data, `metadata.transferable`, set to `true` by default. This prepares this to be added as a UI option later on
2022-04-04 20:13:39 +01:00
mihaisc
3dd21bd20d
update publish params for new contracts ( #1308 )
...
* fix params
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* fix params
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
2022-04-04 18:16:04 +03:00
mihaisc
dfc8af0d6c
update ocean.js ( #1307 )
...
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
2022-04-04 17:56:18 +03:00
EnzoVezzaro
4ded93afed
fix missing chain id on preview ( #1305 )
...
* fix missing chain id when user is not connected
* remove log
2022-04-04 17:56:05 +03:00
48c3190fed
Warn about publishing html files, unified file error states ( #1279 )
...
* cleanup
* warn about html files
* kick out toast error
* unify and simplify all file error states
* remove unused CSS
* same principles for provider check
* copy
* copy & comments
* fix files reset with correct initialValues, shorter optional chaining
* messaging change
* fix error message placement for provider field
2022-04-04 15:34:48 +01:00
EnzoVezzaro
b574daee30
fix wrong TVL on pool tab ( #1281 )
...
* remove multiplier from totalLiquidityInOcean
* Revert "remove multiplier from totalLiquidityInOcean"
This reverts commit e6b5cc15d6
.
* restore totalLiquidityInOcean calculation
* getting user / owner liquidity from calcSingleOutGivenPoolIn + some clean up
* removed web3 hook in favor of dummyWeb3 connection
* remove calc on user liquidity (YVL)
2022-04-04 14:29:31 +01:00
EnzoVezzaro
0ade87c971
fix "owned by" label on preview ( #1303 )
...
* fix "owner by" label on preview
* cleanup - remove unused code
* restore 3box
2022-04-04 14:16:22 +01:00
claudiaHash
65f0c5c675
Price length and decimals number validation ( #1225 )
...
* price length and decimals number validation
* undefined parameter fix
* fixes
* use the decimals constant in regex
* validation added for moire fields
* cleanup
* swap fee decimals fixes
* constant fix
* use max 6 decimals for swap fee
* remove unused code
Co-authored-by: ClaudiaHolhos <claudia@oceanprotocol.com>
2022-04-01 11:38:32 +03:00
EnzoVezzaro
47144d80b5
fix remove liquidity issues ( #1258 )
...
* reset slider after transaction
* fix issue on remove button hover
* restore transform on Button.module.css
* added check on accountId to avoid failing calls
* disable remove button on amountPercent = 0
2022-04-01 11:22:38 +03:00
mihaisc
45dad876e2
fix pool tx ( #1288 )
...
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
2022-03-31 12:50:32 +01:00
claudiaHash
eb3ddcee90
Undefined graph labels fix ( #1283 )
...
* get format price
* added price format fix, removed logs
* remove all commas from the price string
* space fixes
* fix
* fix locale in graph, undo price fix
Co-authored-by: ClaudiaHolhos <claudia@oceanprotocol.com>
Co-authored-by: mihaisc <mihai@oceanprotocol.com>
2022-03-31 12:49:15 +01:00
Bogdan Fazakas
8c0f22fc35
Merge pull request #1287 from oceanprotocol/fix/error-form-no-sample
...
Fix error when sample on edit is empty
2022-03-31 14:09:05 +03:00
Bogdan Fazakas
cd2565d5e7
fix error when sample on edit is empty
2022-03-31 11:51:21 +03:00
Bogdan Fazakas
8f93d9bc2f
bump oceanlib to 1.0.0-next.32 ( #1282 )
2022-03-30 14:06:40 +01:00
Norbi
aa4bdda207
display token approval message on loading ( #1280 )
2022-03-30 11:30:41 +01:00
Norbi
905be83a00
check if config is null ( #1276 )
2022-03-29 16:18:13 +01:00
Norbi
f4a0376f99
set transactions to an empty list if dtList lengths is 0 ( #1274 )
2022-03-29 15:15:30 +01:00
claudiaHash
90f841bb13
No error shown for invalid file url ( #1221 )
...
* check file url
* logic fix
* display error message
* use x mark sign
* change border and background color for wrong input
* invalid input red border
* make error visible only for touched field
Co-authored-by: ClaudiaHolhos <claudia@oceanprotocol.com>
2022-03-29 15:14:46 +01:00
6e2e46d8ea
Disable pool fetching interval ( #1265 )
...
* disable pool fetching interval
* change requestPolicy
* trigger refetch on back button click for add/remove
* fix memory leak error
* refetch on refocus
* add manual refresh button
2022-03-29 14:32:45 +01:00
EnzoVezzaro
90a8bc00bb
fix preview nft on step preview in publish ( #1226 )
...
* fix preview nft on step preview in publish
* remove image data from asset interface
* change dataImage implementation
- remove FormPublishData hook
- get NFT image from asset
* improved documentation
* restore formikContext and add warnings
2022-03-29 13:47:21 +01:00
Norbi
4a102722b7
query pool transactions only by pool address ( #1251 )
2022-03-29 10:19:00 +03:00
claudiaHash
b9ee145aed
Get valid pool transaction link ( #1268 )
...
* get transactions link
* cleanup
Co-authored-by: ClaudiaHolhos <claudia@oceanprotocol.com>
2022-03-28 17:57:16 +03:00
claudiaHash
2e74d42edb
Get correct transaction label ( #1270 )
...
* get correct transaction label
* remove log
Co-authored-by: ClaudiaHolhos <claudia@oceanprotocol.com>
2022-03-28 17:48:51 +03:00
9df8ed49a3
disable all actions on publish preview ( #1257 )
...
* disable all actions on publish preview
* remove asset actions disabled mechanism
2022-03-25 17:16:52 +02:00
Norbi
63f0b41006
added slippage to trade approval ( #1252 )
2022-03-25 12:51:56 +00:00
Luca Milanese
300b5b9ef3
fix: assign viewBox property to svg waves ( #1247 )
2022-03-24 12:11:41 +00:00