* 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
- 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
* 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)
* 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>
* 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>
* 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>
* 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
* feat: add decodeTokenUri helper
* refactor: restructure of MetaMain component
* feat: add nft tooltip
* feat: add opensea link for nfts
* style: adjust nft image size in tooltip
* feat: add nft data to publish preview
* fix: readd owner to nft metadata
* refactor: conditional display of nft tooltip
* style: fix link styles in nft tooltip
* feat: add placeholder graphic as fallback if nft data does not contain one
* fix: display openSea link only on supported networks
* fix: rename ddo props to asset in metamain related components
* feat: add original publisher to asset details
* chore: remove unused imports
* fix: remove unused prop
* feat: convert publisher address to checksum address
* chore: remove console.error when decoding tokenURI
* Revert "chore: remove console.error when decoding tokenURI"
This reverts commit f387175970.
* feat: shorten nft address in tooltip preview
* fix: use Web3.utils instead of the actual web3 instance to convert wei in ether
Co-authored-by: Luca Milanese <luca.milanese90@gmail.com>
Co-authored-by: Matthias Kretschmann <m@kretschmann.io>
* feat: set NFT metadata and tokenURI in a single transaction
* feat: move token uri encoding in second publish transaction
* feat: add final asset did in tokenURI
* fix: edit metadata and computeDataset submit functions
* feat: extract decodeTokenURI function
* fix: revert to previous metadata edit flow
* fix: revert to generateNftCreateData
* feat: add final asset link in tokenURI description
* fix set access inside publish form
* added initial value for service access to fix continue button disabled
* removed compute environment options field
* removed compute options from form.json
* update access and algorithmPrivacy fields based on asset type
Co-authored-by: Matthias Kretschmann <m@kretschmann.io>