* feat: add approved tokens list query to subgraph
* feat: add base token selector
* feat: add placeholder tooltip message for base token
* feat: use user selected base token for publish
* fix: publish constants
* feat: update base token query to include digits and symbol
* feat: display correct token name and symbol in publish pricing tab
* fix: publish preview token name
* fix: query type
* feat: add balance fetch for all approved tokens
* fix: balance check for dynamic price with alternative base tokens
* feat: update balance to show baseToken instead of ocean
* fix: default baseToken in publish form
* feat: update text content for pricing publish step
* chore: update ocean.js
* add decimals to token
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* fix dt decimals
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* update ocean.js
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* fix: show correct basetoken symbol under button buy
* refactor: move baseToken selector to input label [WIP]
* refactor: preserve baseToken value value when switching tabs
* remove basetoken tooltip from content json
* fix: price props
* refactor: remove BaseToken component
* fix: baseToken name on first load
* fix: baseToken display name in dynamic price
* fix: conversion tooltip text
* fix: error box overlapping in Coin component
* feat: add token logo component
* feat: add basetoken logo to asset actions pool
* fix: token images size
* fix: add default appproved token list when disconnected or chainId not supported
* fix: datatoken logo on asset details meta
* refactor: balance fetch + move approved base tokens list in web3 provider
* feat: update all datatokens to display ocean logo in violet
* fix: show correct logos on polygon
* fix wallet, remove dynamic
* fix build
* fix: reset baseToken on chainId change during publish
* fix: price tabs selection indicator
* feat: set the ocean token as default in pricing
* add baseToken
* fix price
* remove firstPrice
* cleanup, more affordance for token dropdown
Co-authored-by: mihaisc <mihai.scarlat@smartcontrol.ro>
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
* update contracts
* add version selector
* show banner on all pages
* show banner on all pages
* Announcement/warning messages cleanup
* new main announcement message
* contextual compute-to-data warnings in publish form & asset action
* copy update
* change hardcoded URLs
* change localStorage key
* to prevent user preferences clashes when switching between v3 & v4
* footer stats note changes
* move copy into content file
* mention external markets
* footer stats note copy changes
* modified pool widget footer
* take out pool reserve display
* style & spacing updates for fees
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>
* added step route to publish
* moved hooks to navigation
* handle back history and load on refresh
* clean up
* changed to nested routes in publish
* fix warning code climate (similar blocks)
* fix header publish link
* moved scrollIntoView() after routing change
* fix `Type 'string[]' is not assignable to type 'string'.` error
* Revert "fix header publish link"
This reverts commit 82e00398c0.
* serverside redirect from `/publish`
* client side redirect from `/publish`
* fix issue with redirect on publish
- remove index publish (redirect taken care server side)
- change link in menu to step 1
- refactor router push on navigation
* simplify handleStepClick function
* 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>
* added confirm checkbox and connect logic to wizard
* add 'accessDetails' to displayed asset
* restore initial state
* adding 'freeAgreement' option to constants
* moved checkbox for free item aggreament
* improvement on amountDataToken validation
* change Field component with Input and improve UI
* change `onChange` property with `useField` hook
* switch back to Formik Field
Co-authored-by: Matthias Kretschmann <m@kretschmann.io>
* remove datatokens from liquidity stats, multiply base token
* naming: Pool Creator Statistics → Owner Liquidity
* remove all the noise
* more pool stats data
* simplify user liquidity data structure, remove datatoken calculations
* chart tweaks, new calculation for liquidity
* tweaks
* todo
* frontpage error fixes
* account switch fixes
* comment out fees
* pool context provider
* double pool share
* move subgraph-related methods into context provider
* typing fix
* 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>