* fetch pools from graph, fetch ddos for pools
* WIP on displaying highest liquidity assets
* loader added
* check ddo state for each asset
* data ordered by valueLocked, logger added
* filter ddos for purgatory
* verify ddo isConsumable price attribute
* moved query into subgraph.ts
* send did list, fix assets display
* fixes on assets display
* assets sorted by dids
* get assets on correct order
* get assets in correct order
* loading assets fixes
* correct order and loading, network overloaded
* fixes on loading
* fixed on network change, added loading
* fixed on network change when no wallet connected, improved loading
Co-authored-by: claudia.holhos <claudia.holhos@hpm.ro>
Co-authored-by: Matthias Kretschmann <m@kretschmann.io>
Co-authored-by: Norbi <katunanorbert@gmai.com>
* upgrading to ocean.js 0.14.6
* saving initial changes
* creating seperate component for adding tokens
* showing datatoken name
* adding button for metamask users
* using substring as datatoken symbol
* removing duplicated code
* removing empty div element
* removing unneccessary div element
* no longer sending the whole DDO
* refactoring add token functions
* updating function name
* no longer sending the whole ddo to the addDataToken component
* removing DDO import
* small refactor, get web3 provider info in useWeb3
* general AddToken component
* cleanup
* cleanup, remove symbol shortening
* copy, layout tweaks
Co-authored-by: Matthias Kretschmann <m@kretschmann.io>
* WIP
* query update
* quick fix
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* get blocks number when no provider, added threshold
* format code
* naming fix
* show graph out of sync message inside announcement banner
* added loader
* moved sync component
* refactor all the things
* new atoms/AnnouncementBanner : banner component reduced to presentation only, where its content is always passed as props
* revised molecules/NetworkBanner: the former AnnouncementBanner now holds all the specific network detection logic, in the end also returns the atoms/AnnouncementBanner
* new hook hooks/useGraphSyncStatus: move all the graph fetching logic in there so we can use its status in multiple places in the app without all this props passing. This also decouples the SyncStatus component in footer from its logic
* in App.tsx, add the graph sync warning banner in another atoms/AnnouncementBanner, getting its values from the hook
* data flow refactor
* .env.example tweak
* race condition fighting
* subgraph loading
* polygon fallback fix
* no interval fetching
* turn around logic for adding infura ID
* removed graphNotSynched
Co-authored-by: mihaisc <mihai.scarlat@smartcontrol.ro>
Co-authored-by: Norbi <katunanorbert@gmai.com>
Co-authored-by: Matthias Kretschmann <m@kretschmann.io>
* 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
* added button that allows to push custom token to metamask
* added image url
* use provider from ocean, add mOCEAN symbol to Matic
* use token symbol based on networkId
* removed customToken.json, used Logger to display message
* log error
* fixed log
* review fixes
* used oceanTokenSymbol from config
* getOceanConfig fix
* 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>