* Adding option to retire asset
* Adding retireAsset to edit form validation
* CHanging to select box
* Updating assetState from edit form
* Adding asset state on the asset detail page
* Refactoring
* Adding a test for MetaFull component
* Increasing test coverage by also testing with an algorithm
* Adjusting example algorithm
* Adding additional tests
* Additional test for Bookmark component
* Allowing NFT owners to view their own assets
* Only showing asset state when it isn't Active
* Restricting options to just Active or unlisted
* Removing logs
* Removing logs
* Updating tests
* Updating tests
* Fixing form
* Updating asset state options
* Adding utils for converting asset state to and from string | number
* Using new functions to convert asset state from string to number
* Allowing people to order assets that are unlisted
* Changing condition for making the asset unavailable
* only showing the asset on the profile if it has state 1,4 or 5
* Renaming jest fixtures
* Avoiding getInitialPaymentCollector failure (#1816)
* early return is no web3 or ddo
* Creating test for MetaFull
* adding test: src/components/Asset/AssetContent/MetaSecondary.test.tsx
* Adding test for bookmarks
* Adding test for displaying payment collector
* Removing comments
* Renaming assetAquarius
* Renaming assetWithAccessDetails
* Ensuring that the payment collector is shown even without a wallet connected
* Removing broken test
* Using getDummyWeb3 for fetching the payment collector address
* fixing assetState import
* google validation (#1835)
* Updating validation to exclude any google link
* Updating Yup validation
* Checking if domain includes google.com
* Updating isGoogleUrl function
* Moving isGoogleUrl into @utils/url/index file
* isGoogleUrl function
* Updating tests
* Adding additional tests for other google domains
* Updating tests
* Updating isGoogleUrl file path
* Early return if no data available in getNetworkDisplayName
* Updating pricing message (#1842)
* Bump @storybook/addon-essentials from 6.5.13 to 6.5.15 (#1841)
Bumps [@storybook/addon-essentials](https://github.com/storybookjs/storybook/tree/HEAD/addons/essentials) from 6.5.13 to 6.5.15.
- [Release notes](https://github.com/storybookjs/storybook/releases)
- [Changelog](https://github.com/storybookjs/storybook/blob/v6.5.15/CHANGELOG.md)
- [Commits](https://github.com/storybookjs/storybook/commits/v6.5.15/addons/essentials)
---
updated-dependencies:
- dependency-name: "@storybook/addon-essentials"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump @types/jest from 29.2.3 to 29.2.5 (#1840)
Bumps [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest) from 29.2.3 to 29.2.5.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jest)
---
updated-dependencies:
- dependency-name: "@types/jest"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump prettier from 2.8.0 to 2.8.1 (#1837)
Bumps [prettier](https://github.com/prettier/prettier) from 2.8.0 to 2.8.1.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/2.8.0...2.8.1)
---
updated-dependencies:
- dependency-name: prettier
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump react-select from 5.6.1 to 5.7.0 (#1839)
Bumps [react-select](https://github.com/JedWatson/react-select) from 5.6.1 to 5.7.0.
- [Release notes](https://github.com/JedWatson/react-select/releases)
- [Changelog](https://github.com/JedWatson/react-select/blob/master/docs/CHANGELOG.md)
- [Commits](https://github.com/JedWatson/react-select/compare/react-select@5.6.1...react-select@5.7.0)
---
updated-dependencies:
- dependency-name: react-select
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump react-tabs from 5.1.0 to 6.0.0 (#1838)
Bumps [react-tabs](https://github.com/reactjs/react-tabs) from 5.1.0 to 6.0.0.
- [Release notes](https://github.com/reactjs/react-tabs/releases)
- [Commits](https://github.com/reactjs/react-tabs/compare/v5.1.0...v6.0.0)
---
updated-dependencies:
- dependency-name: react-tabs
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* fix asset route (#1836)
* updating the buy button message for free assets
* Updating pricing text for compute and algorithms
* Updating tests
* Adding a seperate sentence about paying gas fees for network charges with free assets
* Fixing tests
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* Showing hosting type in File Info (#1846)
* Bump @storybook/addon-essentials from 6.5.13 to 6.5.15 (#1841)
Bumps [@storybook/addon-essentials](https://github.com/storybookjs/storybook/tree/HEAD/addons/essentials) from 6.5.13 to 6.5.15.
- [Release notes](https://github.com/storybookjs/storybook/releases)
- [Changelog](https://github.com/storybookjs/storybook/blob/v6.5.15/CHANGELOG.md)
- [Commits](https://github.com/storybookjs/storybook/commits/v6.5.15/addons/essentials)
---
updated-dependencies:
- dependency-name: "@storybook/addon-essentials"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump @types/jest from 29.2.3 to 29.2.5 (#1840)
Bumps [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest) from 29.2.3 to 29.2.5.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jest)
---
updated-dependencies:
- dependency-name: "@types/jest"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump prettier from 2.8.0 to 2.8.1 (#1837)
Bumps [prettier](https://github.com/prettier/prettier) from 2.8.0 to 2.8.1.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/2.8.0...2.8.1)
---
updated-dependencies:
- dependency-name: prettier
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump react-select from 5.6.1 to 5.7.0 (#1839)
Bumps [react-select](https://github.com/JedWatson/react-select) from 5.6.1 to 5.7.0.
- [Release notes](https://github.com/JedWatson/react-select/releases)
- [Changelog](https://github.com/JedWatson/react-select/blob/master/docs/CHANGELOG.md)
- [Commits](https://github.com/JedWatson/react-select/compare/react-select@5.6.1...react-select@5.7.0)
---
updated-dependencies:
- dependency-name: react-select
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump react-tabs from 5.1.0 to 6.0.0 (#1838)
Bumps [react-tabs](https://github.com/reactjs/react-tabs) from 5.1.0 to 6.0.0.
- [Release notes](https://github.com/reactjs/react-tabs/releases)
- [Commits](https://github.com/reactjs/react-tabs/compare/v5.1.0...v6.0.0)
---
updated-dependencies:
- dependency-name: react-tabs
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* fix asset route (#1836)
* Adding hosting type to the file info component
* Writting smart contract hosting type across two lines
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* add initial price value for not supported price assets (#1851)
* Fix compute basetoken issue (#1829)
* fix lint
* add dynamic provider fees
* fixes
* cleanup and more fixes
* bump oceanlib to 2.6.0
* fix 404 styling (#1850)
* Fixing bug that was preventing assets from showing on the profile page
* fixing the overwritting transaction
* Setting error message if the asset state has been set to 1, 2 or 3
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mihaisc <mihai.scarlat@smartcontrol.ro>
Co-authored-by: Bogdan Fazakas <bogdan.fazakas@gmail.com>
Co-authored-by: EnzoVezzaro <enzo-vezzaro@live.it>
* support storage type publish
* adding storageType to edit form
* add IPFS type
* fix testst and rollback ipfs typing
* update oceanjs lib
* fix Ipfs type
* Update package-lock.json
* added graphql and smartcontract options UI (WIP)
* update package.json
* removed graphql and smartcontracts
* make various fixes for edit and publish with IPFS (missing Arweave)
* removed no-case-declarations lines
* moved ipfs utils
* renamed getFileUrlInfo to getFileInfo
* added is-ipfs to jest mock
* Update package-lock.json
* fix things
* npm is fun
* rename url to file in getFileInfo
* refactor publish form (storage type field)
* fix tab value when changing tabs
* refactoring edit form
* more refactor edit form
* fix edit validation
* fix validation when input is empty on edit form
* fix validation when loading asset in edit form
* change URL to file confirmed
* change messages based on service type
* Update form.json
* fix FileInput tests and added ipfs / arweave tests
* removed unnecessary comment
* Update index.tsx
* cleanup logic
* update @oceanprotocol/lib
* Update package-lock.json
* fix test error
* fix test assetsWithAccessDetails
Co-authored-by: Matthias Kretschmann <m@kretschmann.io>
* feat: add autocomplete tag component
* feat: pass tags aggregated list to autocomplete component
* feat: add initial styling to autocomplete tag component
* fix: autocomplete style types
* feat: move styling elements to module.css file
* feat: update placeholder text for tag input field
* feat: add default value to tags if present
* feat: add edit tags functionality
* fix: default tag value
* fix: style for automplete menu's keyboard navigation
* fix: tags aggregation query size
* feat: return sorted tags aggregated list suggestion in publish
* fix: set tags value touched state in edit mode
* add package back
* enhancement: autocomplete tag component config (#1679)
* fix publishing when connecting wallet on publish form
* fix reset pricing on tx execution
* removed changing steps
* cleanup
* Fix headers (#1663)
* test
* test
* test
* test
* test
* test
* test
* remove link
* enhancement: tag autocomplete settings
* feat: add cursor type text
* feat: tweak filter and sort for matched tags
* fix: tags input font color
* fix: tag autocomplete component input color
Co-authored-by: EnzoVezzaro <enzo-vezzaro@live.it>
Co-authored-by: mihaisc <mihai.scarlat@smartcontrol.ro>
Co-authored-by: Ana <84312885+AnaLoznianu@users.noreply.github.com>
* fix lock
* test
* fix
* fix
* minor fixes
* fix cursor on remove item (x)
* style updates
* UX tweaks
* start suggestions upon first key stroke
* remove redundant help tooltip
* change placeholder copy
* remove input clear action
* edit updates
Co-authored-by: mihaisc <mihai.scarlat@smartcontrol.ro>
Co-authored-by: EnzoVezzaro <enzo-vezzaro@live.it>
Co-authored-by: Ana <84312885+AnaLoznianu@users.noreply.github.com>
Co-authored-by: Matthias Kretschmann <m@kretschmann.io>
* edit refactors
* fix logic around `publisherTrustedAlgorithms`
* typing fix
* copy & typos
* conditionally add compute tab to edit screen
* more logic fixes
* fix various app crashes because of Debug component
* semi-deal with publisherTrustedAlgorithmPublishers
* more fixes, bound submit button to touched state
* display generic message
* add helper message
* bold text in json, remove unused css file
* fixes
* different help message displayed as tooltip
* tooltip help not displayed for files/links fields on publish
* conditionally hide/show tooltip
* use same mechanism for edit form
* add prominentHelp file into content pages
* type fix
* remove unused code
* error message position fix
* error doesn't overlap help message
* show validation error message fix
Co-authored-by: ClaudiaHolhos <claudia@oceanprotocol.com>
* update right to data portability
* update right to data portability
* update right to data portability
* update right to data portability
Co-authored-by: MeikeMolitor <88214332+MeikeMolitor@users.noreply.github.com>
* get all neded data for the header from 3box, aqua and subgraph
* fix tvl display error
* WIP metadata header styling
* added more styling for the header
* make page title optional so we can remove it on account page
* stroke change for svg images and default values
* more styling added to the header
* fixed linter
* added ocean balance to tvl
* update styling for statistcs
* fixed eror for go to my account from another account page
* updated styling for mobile use
* wip show more on explorer links and description
* properly display read more for explorer links and description
* replaced show more with 3box redirect on description
* change accounts default picture and check links length before display element
* use optional on links
* grid cleanup, new number unit, split up stats
* rename all the things, more profile header styling
* visual hierarchy, improve image loading experience
* layout flow & visual tweaks
* more description
* replaced account route with profile when accesing a profile by the eth address
* use account id from url if exists when fetching data
* bump @oceanprotocol/art to v3.2.0
* styling, fallbacks, edge case fixes
* clean up Publisher atom, link to profile page
* fixed issue when switching to my profile from another profile
* output accountId, make it copyable, remove stats icons
* render tweaks, markup cleanup
* add 3box reference
* mobile tabs spacing tweaks
* text flow and spacing tweaks
Co-authored-by: Matthias Kretschmann <m@kretschmann.io>
* add BSC to default chains
* searchbar visual tweaks
* race condition fix
* network name tweaks
* beta → v3
* use publish form titles to inform about network
* form actions refactor
* simplify network name on asset details
* visual indicator for selected chains on button
* lint fix
* more layout flow tinkering, collapsed search by default
* search field layout tweaks
* unknown network/gaia-x name fixes
* put back search cancel button in webkit
* space fixes
* cross browser visual fixes
* created BoxSelection component
* wip
* design changes
* integrate with form
* refactoring
* used inside appearance component
* WIP, added space between options
* adde new fields to BoxSelection used for chain selection
* fixed errors
* removed access type option from publish.json
* updated component for chain selection
* updated for compute type on publish dataset
* added component to dockerImageOpions
* removed Dotdotdot component from options
* remove space
* styling updates, fix React warning for terms checkbox
Co-authored-by: Norbi <katunanorbert@gmai.com>
Co-authored-by: Matthias Kretschmann <m@kretschmann.io>
* changing the info text for dataset input
* Updating error message for invalid dataset input
* chaning button styling to make it look more like a button
* fixing package-lock.json issue
* removing changes from package-lock.json
* adding onBlur event to validate the data input
* Removing autoclose on error message
* adding success message when the dataset is valid
* Wip start compute job
* Wip select algorithm design
* Asset selection form component, for start compute job (#442)
* prototype AssetSelection
* assetselection styling
* typing "fix"
* put back file info icon
* AssetSelection styling in context
* update start job method, fixed algo select, and fixed option typing
* compute logic update
* add has previous orders for algo asset
* fixed search algorithm assets in start compute form
* fixed lint errors
* updated previous order for algo logic and compute flow
* update use price hook and added buy DT for algo
* display only alg of type exchange and sort by value
* display only trusted algo for asset if field is set
* added logic for allow all published algorithms or no algorithms allowed
* asset selection style & spacing tweaks
* refactor get algorithms for compute and edit compute
* fixed form options and more refactoring
* new ButtonBuy component
* shared component between consume/compute
* dealing with various states: loading, previous orders, help text output
* effect dependencies
* move error output into toast
* formik data flow refactor
* ditch custom field change handler
* fix initialValues
* typed form data & validation
* fixes multiple form validation issues along the way
* isInitialValid → validateOnMount
* metadata display tweaks
* error feedback tweaks
* oler assets checks, confeti on succes job, market fee on order, removed algo compute logic
* more startJob logging
* feedback & messaging changes
* metadata display
* return all algos, fixed & dynamic priced ones
* fix DOM nesting
* messaging updates
* copy tweaks
* check algorithm previous history for both acces and compute sercive types
* handle start compute error
* extra checks on start compute response
* styling tweaks, fix toast UI errors
* AssetSelection: empty screen, tweak min/max height
* fix FRE issues on start compute
* check is ordarable before start compute job
* logging tweaks
* disable eslint no-unused-vars rule for some Apollo code blocks
* fix metadata editing for compute assets
* consider dataset timeout for compute too
Co-authored-by: Matthias Kretschmann <m@kretschmann.io>
* WIP
* created form for editing compute privacy
* used editComputePrivacy method
* select and update trusted algorithm
* display and select multiple trusted algorithms
* fixed update when trusted algorithm list not changed
* code refactoring
* moved separator inside condition
* moved functions and interface from EditComputeDataset component
* moved algorithmOptions to parent component
* used AssetSelection to display algorithms
* use AssetSelection to select trusted algorithms
* getAlgorithmsOptions function review
* review fixes
* removed unused imports
* merge fixes
* AssetSelection style & usability tweaks
* use custom radio & checkbox styles
* add simple search for name & DID
* spacing adjustments
* copy updates, remove raw algo input, hardcode allowRawAlgorithm
* copy
* AssetSelection usability tweaks
* make rows clickable
* tweak layout, style and markup
* use formik set function to update values
* sorted algorithm list, added checked field
* sort assetSelection list on user select
* fix getAlgorithmsForAssetSelection breaking on empty responses
* form debug output
* another empty publisherTrustedAlgorithms fix
* created separate algorithms state for the form, sort list on edit
* refactor
* use Formik functionality wherever possible
* unify transforming form data to final data
* fix form debug transformation
* fix form submit, fix defaultChecked
* refactor
* use Formik functionality wherever possible
* unify transforming form data to final data
* fix form debug transformation
* fix form submit, fix defaultChecked
* disable assetSelection when allowAllAlgorithms is true
* added loader to AssetSelection
* changed allowAllAlgorithms to allowAllPublishedAlgorithms
* fixed lint error
* updated transformComputeFormToServiceComputePrivacy
* lint fix
* modify publish defaults
Co-authored-by: Matthias Kretschmann <m@kretschmann.io>
* prototype view switching
* refactor, more UI
* formik form setup & data flow
* debug output, fixes, refactor
* description preview refactor
* publish/update date changes
* output created & updated date at top of asset
* use ddo.created & ddo.updated everywhere
* stop pushing metadata.main.datePublished
* owner check for edit link
* all the feedback states and switching between them: loading, error, success
* refactor feedback, one component for publish & edit
* action & date output fixes
* move all content, iterate form fields from it
* UI updates
* styling tweaks
* ddo dataflow refactor, more useAsset usage
* more useAsset usage
* form actions styling
* prepare edit history component
* metadata output tweaks
* copy
* safeguard against profile urls without protocol defined
* refetch ddo after edit
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* switch author for dataTokenOptions in metadata preview
* refactor
* copy
* showPricing fix
* validation: minimum characters for title & description
* disable submit button when validation fails
* form validation fixes
* manually trigger onChange validation in publish & edit forms
Co-authored-by: mihaisc <mihai.scarlat@smartcontrol.ro>