Commit Graph

5 Commits

Author SHA1 Message Date
Dimo Dzhurenov c9a8345222
Removing showing updates on never updated assets (#438)
* removes showing updates on never updated assets

* package-lock fix
2021-03-16 19:23:11 +01:00
mihaisc a3e2c8ef3b
fix edit history (#435)
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
2021-03-11 14:51:43 +02:00
Matthias Kretschmann 7356981350
hotfix for asset details (#425)
* was broken in non-web3 browsers
* missed in https://github.com/oceanprotocol/market/pull/421
2021-03-05 00:40:13 +01:00
claudiaHash be82d9ef2e
Feature/edit history subgraph (#423)
* fetching Subgraph data

* updates ordered by timestamp

* comment removed

* comment removed

* apollo generated  typing used

* date converted to string

Co-authored-by: claudia.holhos <claudia.holhos@hpm.ro>
2021-03-04 19:31:10 +02:00
Matthias Kretschmann 960c5b3234
Update metadata, the proper way (#292)
* 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>
2020-12-10 14:30:40 +01:00