Bogdan Fazakas
6e2e9875f1
Merge branch 'v4' into feature/v4-c2d
2022-04-04 22:26:13 +03:00
Bogdan Fazakas
fa47876fd3
added logs
2022-04-04 22:24:09 +03: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
Bogdan Fazakas
84afa42903
update computeStatus signature to fix build and CI
2022-04-04 15:56:36 +03:00
Bogdan Fazakas
2dc12a2542
Merge branch 'feature/v4-c2d' into 'fix/compute-jobs'
2022-04-04 15:22:18 +03:00
Bogdan Fazakas
0c87abe24d
Merge branch 'v4' into feature/v4-c2d
2022-04-04 15:19:31 +03:00
Bogdan Fazakas
10b66d3e0e
update get compute url and use oceanjs helper for download
2022-04-04 15:17:51 +03:00
Bogdan Fazakas
08790cae05
Merge pull request #1284 from oceanprotocol/feature/v4-c2d-data-algo-price-with-fee
...
c2d show price with fee, exclude provider fee
2022-04-04 15:14:09 +03: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
Soon Huat
31167856fc
include loading when calculating data + algo price, tooltip show order price
2022-03-31 23:55:22 +08: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
f36f3bcc14
wip get results
2022-03-31 11:49:42 +03:00
Soon Huat
795ba0c01b
c2d show price with fee, exclude provider fee
2022-03-30 22:44:10 +08:00
Bogdan Fazakas
8f93d9bc2f
bump oceanlib to 1.0.0-next.32 ( #1282 )
2022-03-30 14:06:40 +01:00
Bogdan Fazakas
6708b91400
bumo ocean lib to 1.0.0-next.32
2022-03-30 15:11:30 +03:00
Bogdan Fazakas
72c7cc9f00
merge v4-c2d into compute-jobs
2022-03-30 14:58:20 +03:00
Bogdan Fazakas
d244b9b394
merge v4 into v4-c2d
2022-03-30 14:40:53 +03:00
Norbi
aa4bdda207
display token approval message on loading ( #1280 )
2022-03-30 11:30:41 +01:00
Bogdan Fazakas
9171db8b6e
fix compute jobs section and your jobs
2022-03-30 09:12:14 +03: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
Bogdan Fazakas
70f181a595
removed to lowerCase on eth address
2022-03-28 18:36:52 +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
Bogdan Fazakas
cabd3c2105
fix display of compute datasets with free price
2022-03-28 16:23:38 +03:00
Bogdan Fazakas
c05fa7c7b2
Merge branch 'v4' into feature/v4-c2d and fix conflicts
2022-03-28 16:20:58 +03:00
Bogdan Fazakas
d42b0b6a2d
merge branch v4-c2d into fix/compute-jobs
2022-03-28 10:23:58 +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
Soon Huat
ba672e99ac
remove percentage fee from price sum, depends smart contract calculation ( #1249 )
...
Co-authored-by: Soon Huat <soon_huat.phan@daimler.com>
2022-03-24 16:56:09 +02:00
Luca Milanese
300b5b9ef3
fix: assign viewBox property to svg waves ( #1247 )
2022-03-24 12:11:41 +00:00
Bogdan Fazakas
61d60fd173
Fix edit asset issues ( #1190 )
...
* fix loading
* fix cancel acction and some cleanups
* style typo
Co-authored-by: Matthias Kretschmann <m@kretschmann.io>
* fix title and replace router with link
* add proper loading to edit components
* add page title
* add more top spacing to form description
Co-authored-by: Matthias Kretschmann <m@kretschmann.io>
2022-03-23 15:11:42 +00:00
EnzoVezzaro
aeb6f06f75
catch user signing rejection on download ( #1237 )
...
* catch user signing rejection on download
* change LoggerInstance.log to LoggerInstance.error
Co-authored-by: Matthias Kretschmann <m@kretschmann.io>
Co-authored-by: Matthias Kretschmann <m@kretschmann.io>
2022-03-23 14:59:57 +00:00
claudiaHash
5f174bca88
Remove collect tokens button ( #1235 )
...
Co-authored-by: ClaudiaHolhos <claudia@oceanprotocol.com>
2022-03-23 13:30:03 +00:00
EnzoVezzaro
926838862a
Fix No error message for swapping more than max tokens ( #1230 )
...
* moved Error (field) component in shared components
- moved Error.tsx from Pricing
- change paths to Error.tsx in publish
* added Error component with field validation
* change setTimeout with lodash.debounce
2022-03-22 15:50:51 +00:00
69c3db2caa
SEO & favicon fixes ( #1229 )
...
* fix URLs and title
* solve all favicon things
* image optimizations through ImageOptim
* typing fix
2022-03-22 14:57:33 +00:00