* 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>
* 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>
* 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>
* 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>
* 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