Moritz Kirstein
fefb42aa07
Feat: Consumer Parameters ( #1921 )
...
* feat: add consumer parameters to publish
* fix: publish form validation
* feat: update consumer parameters form
* feat: add consumer parameter types
* feat: update consumer parameter validation
* feat: add consumer parameters structure
* feat: add InputOptions error handling
* feat: update consumer parameters validation
* feat: update transformPublishFromToDdo
* feat: add default options to parameter options
* fix: value handling for select and mutliselect
* feat: update "add new parameter" button label
* feat: remove unused publish form sections
* chore: remove console.log
* chore: remove comments
* feat: remove multiselect
* feat: add consumer parameters section label
* feat: update types
* feat: update edit form fields
* feat: parse consumer parameters in edit form
* feat: add consumer parameters field to edit
* feat: transform consumer parameters values before edit
* feat: update "required" type to select
* feat: update "required" type to select on edit form
* fix: error object access
* fix: edit flow crash
* fix: validation when consumer parameters are not selected
* feat: update validation for default consumer parameters value
* fix: types
* feat: add service consumer parameters to publish form
* chore: remove console.log
* feat: add service consumer parameters edit
* chore: remove comments
* fix: form edit metadata types
* feat: add consume algo parameter structure
* feat: consumer parameter required default value condition
* feat: add consumer parameter groups to assetActions
* fix: consumer parameters grouping
* feat: update consumer parameters alignment
* feat: update types
* feat: allow service consumer parameters on dataset asset type
* feat: add consumer parameters to ddo updated values in edit form
* feat: add "data service" consumer parameters to consumption form
* feat: allow service parameters on all asset types
* feat: update parameter consume form design
* feat: update asset actions consume parameters location
* feat: add service parameters to download assets
* refactor: consumer parameters actions
* refactor: form action name
* refactor: consumer parameters default input
* refactor: consumer parameters select input
* refactor: consumer parameter input
* fix: props name
* refactor: variable naming
* refactor: consumer parameters form validation
* refactor: rename consumer parameters types
* refactor: extract consumer parameters form data to separate file
* refactor: rename type
* feat: controlled tabs for consumer params
* feat: restore default value as required
* refactor: parse values before edit
* feat: add form to handle consumer parameters consumption
* feat: send consumer params with download request
* feat: send consumer params with compute request
* feat: handle compute form initialization
* chore: remove unused dependency
* feat: handle download form data initialization
* chore: remove console.log
* feat: update types
* fix: consumer parameter value types
* feat: update ConsumerParameter type
* feat: update ConsumerParameter type
* chore: add comments
* refactor: consumer parameters inputs
* refactor: rename data and algo service params
* refactor: consumer parameters form
* refactor: consumer parameter form styling
* refactor: make headers input reusable as KeyValueInput
* refactor: refactorings, reduce duplication (WIP)
* refactor: usercustomparameters consumption form creation/validation
* refactor: return undefined consistently if property path not found on object
* refactor: reuse fieldType and fieldOptions in DefaultInput
* fix: parse ddo consumer parameters for edit form
* fix: asset view crash for assets w/o consumer params
* fix: publish preview for assets with no consumer params
* fix: revert accidential rename of algoService
* fix: revert publish navigation padding change
* feat: update consumer parameters' labels and helpers
* fix: consumer parameters validation
* feat: update consumer parameter helper wording
* chore: merge conflicts
* feat: update types
* fix: validate form on consumer parameter deletion
* feat: add key value input placeholder props
* fix: handle boolean type consumer parameters in consume form (#38 )
* Update src/components/Publish/_validation.ts
Co-authored-by: Jamie Hewitt <jamie.hewitt15@gmail.com>
* Update src/components/Asset/AssetActions/ConsumerParameters/FormConsumerParameters.module.css
Co-authored-by: Jamie Hewitt <jamie.hewitt15@gmail.com>
* Update src/components/Asset/Edit/_validation.ts
Co-authored-by: Jamie Hewitt <jamie.hewitt15@gmail.com>
* Update src/components/Asset/AssetActions/ConsumerParameters/index.tsx
Co-authored-by: Jamie Hewitt <jamie.hewitt15@gmail.com>
* Update src/components/Asset/AssetActions/ConsumerParameters/FormConsumerParameters.tsx
Co-authored-by: Jamie Hewitt <jamie.hewitt15@gmail.com>
* Update src/components/@shared/FormInput/index.tsx
Co-authored-by: Jamie Hewitt <jamie.hewitt15@gmail.com>
* Update src/components/@shared/FormInput/InputElement/ConsumerParameters/index.tsx
Co-authored-by: Jamie Hewitt <jamie.hewitt15@gmail.com>
* Update src/components/@shared/FormInput/InputElement/ConsumerParameters/index.tsx
Co-authored-by: Jamie Hewitt <jamie.hewitt15@gmail.com>
* Update src/components/@shared/FormInput/InputElement/ConsumerParameters/OptionsInput.tsx
Co-authored-by: Jamie Hewitt <jamie.hewitt15@gmail.com>
* Update src/components/@shared/FormInput/InputElement/ConsumerParameters/FormActions.tsx
Co-authored-by: Jamie Hewitt <jamie.hewitt15@gmail.com>
* Update src/@utils/provider.ts
Co-authored-by: Jamie Hewitt <jamie.hewitt15@gmail.com>
* fix: import paths
* refactor: add consumer parameters validation types
* feat: add string length min/max to consumer parameters validation
* feat: add cp description to consume form
* feat: reduce character limit in CP tab title
* feat: update CP fields' placeholders and helpers
* fix: show only relevant CPs in asset actions
---------
Co-authored-by: Luca Milanese <luca.milanese90@gmail.com>
Co-authored-by: Jamie Hewitt <jamie.hewitt15@gmail.com>
2023-09-07 17:14:27 +03:00
Bogdan Fazakas
81aa66c514
remove warning and update compute algo checkbox text ( #1910 )
2023-04-19 15:53:23 +03:00
EnzoVezzaro
b6f3bcbe68
graphql and onchain storage support ( #1794 )
...
* 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
* adding graphql / onchain to fieldInput
* merged main and fix storages (WIP)
* restore graphql / smart contract
* added headers to graphql and connect fields
* fix tests temp
* fix publish preview file object
* added codemirror component and change layout
* added codemirror to edit and normalizing ddo debug preview
* added codemirror to edit form
* fix typing issues
* style and logic changes to codemirror component
* fix test (temp fix)
* 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
* WIP
* update ocean lib
* parse abi obj on publish
* fix previewDebugPatch function
* Update package-lock.json
* remove logs
* fix build error
* fix stupid typo
* upgrade codemirror
* simplify checkJson function
* fix preview json display
* validate json on sm storage
* cleanup
* fix edit validation
* fix initial state tabs storage type
* remove logs
* fix text headers
* 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
* upgrade ocean lib
* cleanup
* edit mode fixes
* added tests for graphql and sm
* 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 )
* cleanup and remove logs
* fix smart contract check
* restore headers
* removed unnecessary message
* fix error SM with headers
* added headers as object to normalize file
* fix input error in url file
* adding methods to url storage type
* test pipeline (now it's stuck)
* cleanup
* fix MethodInput test
* fix arweave fileObj
* Update index.tsx
* fix provider url in form test
* fixing test errors
* fix test
* fix help labels
* cleanup leftovers
* cleanup dependencies codemirror
* remove any from normalizeFile
* edit comment
* remove any from oceanTheme
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: Matthias Kretschmann <m@kretschmann.io>
Co-authored-by: Jamie Hewitt <jamie@oceanprotocol.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mihaisc <mihai.scarlat@smartcontrol.ro>
Co-authored-by: Jamie Hewitt <jamie.hewitt15@gmail.com>
Co-authored-by: Bogdan Fazakas <bogdan.fazakas@gmail.com>
2023-03-06 12:32:32 +02:00
Jamie Hewitt
d86c45f6bd
Release candidate 09-01-2023 ( #1843 )
...
* 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
* 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
* 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 the z-index for the tippy component (#1858 )
* Removing infinite approval (#1857 )
* Removing infinite approvals
* Removing infinite approval content message
* Removing infinite approval from default user preferences
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>
2023-01-18 12:35:14 +02:00
EnzoVezzaro
f6d11e5e6f
adding ipfs / arweave support ( #1765 )
...
* 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>
2022-11-25 15:07:55 +01:00
Bogdan Fazakas
92aae397e6
requested changes
2022-10-10 15:59:32 +03:00
mihaisc
b505bddb4b
Merge branch 'main' into feature/enforce-docker-containers
2022-10-07 12:17:41 +03:00
Luca Milanese
52eaee0ad5
Feat: autocomplete tags functionality ( #1471 )
...
* 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>
2022-10-05 15:40:00 +01:00
Bogdan Fazakas
af89fbbd01
update placeholder
2022-09-27 17:09:53 +03:00
Bogdan Fazakas
4789259947
update text
2022-09-20 22:24:16 +03:00
Bogdan Fazakas
45eea31d66
WIP enforce docker container
2022-09-19 15:54:07 +03:00
EnzoVezzaro
f5514bbc1d
change label 'data set' with 'dataset'
2022-08-15 09:57:53 -04:00
EnzoVezzaro
eb29c4ce3b
Remove AMM Pools ( #1614 )
2022-08-02 10:53:22 +01:00
claudiaHash
97744820ac
Display generic info message for file inputs ( #1334 )
...
* 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>
2022-04-28 15:39:46 +02:00
Jamie Hewitt
97e0921e1e
Unsupported Network Tooltip ( #1331 )
...
* Moving isSupportedOceanNetwork to Web3 context
* Removing page title and replacing it with a warning message
* Creating Error state in title for the wrong network
* Creating UnsupportedNetwrok component
* Adding different networks into tooltip
* Adding button + styling
* Adding change netwrok function
* Adding Change Network tooltip to submit page
* Reducing code duplication
* Removing unnecessary changes
* Fixing logic for checking which chainIds are supported
* Simplifying isSupportedOceanNetwork check logic
* Default to not showing unsupported network message when no wallet is connected
* Always showing available networks in tooltip
* Adding info icon to action button
* adding padding to AvailableNetworks component
* Changing label to list components
* Changing brand-white to currentColor
* Revert "Changing brand-white to currentColor"
This reverts commit 278f0d4ab9
.
* CHanging --brand-white to currentColor
* Info Icon in currentColor
* Changing NetworkOptions component name to Network
* Simplifying tooltip logic in title
* Removing unused classname
* Fixing repeating <ul> issue
* Removing unused class
* Refactoring AvailableNetworks component into src/components/Publish
* Moving tooltip message into content/publish/index.json
* Reducing duplication in css
* Removing duplication of infoIcon css styles
* Tidying up logic in setIsSupportedOceanNetwork useEffect
* Updating setIsSupportedOceanNetwork effect dependancies
* merge fixes for new MarketMetadata context
Co-authored-by: Matthias Kretschmann <m@kretschmann.io>
2022-04-22 02:54:04 +02:00
Norbi
822cec3753
Keep algorithm private checkbox fixes ( #1174 )
...
* 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>
2022-03-16 12:52:05 +00:00
Moritz Kirstein
d688b81a80
Feature: SVG Generator ( #1032 )
...
* use smaller SVG for publishing test, siwtch to Buffer encoding/decoding
* shorter NFT name & symbol
* fix: fix small test svg
* feat: first draft random wave svg generation
* refactor: utilize join to remove unecessary ',' separator
* feature: add gas cost estimation for nft artwork
* refacotr: allow fillColor as array and adjust opacity
* refactor: adjust random wave generation
* refactor: change nft help text
* refactor: trying tooltip for nft image info
* feat: add custom algorithm to generate svg waves
* fix: use text colors for nft form field svgs
* refactor: code cleanup nft utils
* refactor: improve readability
* refactor: improve comment
* refactor: (re)move comments, cleanup
* refactor: remove console log
* refactor: adjust default svg wave values & remove logging
* refactor: tweak default SvgWave prop values
* fix: svg preview with disconnected wallet
* feat: show artwork gas fee estimation in user preferred currency
* refactor: extract gas fee estimation logic to new component
* cleanup: remove oceanWaves, remove d3
* icon visual weight tweak
Co-authored-by: Luca Milanese <luca.milanese90@gmail.com>
Co-authored-by: Matthias Kretschmann <m@kretschmann.io>
2022-02-14 12:16:29 +00:00
181dce9ba5
publish feedback tweaks, make content switching based on price type work
2022-01-12 19:24:49 +00:00
8a20552268
more styling, button disabling, hack in isContinueDisabled
...
* closes #978
2022-01-12 18:02:56 +00:00
mihaisc
c7d6616874
fixes & hacks
2021-12-21 22:26:08 +02:00
9bd9156553
integrate compute options into form data, expose default option
2021-11-29 16:49:38 +00:00
3aa739fce0
add Docker image presets, populate algo Docker field from them
2021-11-29 13:25:30 +00:00
0a9f9ec693
hack in terms link, copy change
2021-11-25 14:36:01 +00:00
8e9cb3acad
prepare submission screen, nav layout updates
2021-11-24 14:46:10 +00:00
a313f39494
file input validation fixes
2021-11-23 15:34:43 +00:00
fc1966aa4e
copy
2021-11-15 15:42:50 +00:00
94147026c0
prepare datatoken & NFT display
2021-11-15 15:04:26 +00:00
e79dcf2342
add in all conditional fields
...
* switch between dataset & algorithm fields
* switch between algo privacy & access type fields
* switch between docker image & custom docker image fields
2021-11-15 12:44:27 +00:00
3d4b30c00f
new DDO ( #941 )
...
* type out new DDO
* remove all DDO ocean.js imports
* move over as much as possible to new DDO structure
* DDO/Asset split-up
* use Asset typing instead of DDO almost everywhere
* more typings
* more DDO refactor
* ddo typings updates
* more DDO updates
* updates
* ddo updates
2021-11-11 07:51:13 +00:00
778abc8aeb
more fields, more custom onChange handler removals
2021-10-28 11:47:03 +01:00
66adc097b6
declarative metadata & services form setup, prepare transformPublishFormToDdo method
2021-10-28 10:38:40 +01:00
f2b1a33261
restructure form, dial back on overwriting native Formik functionality
2021-10-27 18:35:18 +01:00
99453623d2
new publish form data setup
2021-10-27 18:35:04 +01:00