* 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
* 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>
* Adding description of each fee
* updating text
* Adding info about liquidity pool
* Adding tool tips for fixed pricing
* Explaining the pool
* removing broken link
* Update marketplaceFee in content/price.json
Co-authored-by: Matthias Kretschmann <m@kretschmann.io>
* Update swapFee in content/price.json
Co-authored-by: Matthias Kretschmann <m@kretschmann.io>
* Update poolInfo in content/price.json
Co-authored-by: Matthias Kretschmann <m@kretschmann.io>
* Updating community fee tooltips
* Updating tooltip for marketplace fee
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>
* add custom network
* created announcement banner
* add custom network from banner
* show ADD CUSTOM NETWORK on MetaMask provider
* show add ocean to wallet action
* removed warningPolygon from alert
* removed customNetwork component
* remove Add custom network on asset details page
* Details use function from web3 to add token
* changed available on Polygon link, refactoring
* show Switch to Polygon when no wallet connected
* banner content for no provider and Polygon network
* change message when not provider and eth network
* changed warning and added announcement in site.json
* moved network logic inside Announcement, moved Announcement component
* added switch to ETH button, refactoring
* removed add mOcean action button
* moved location verification to App.tsx
* styling & copy updates
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>