1
0
mirror of https://github.com/oceanprotocol/market.git synced 2024-11-15 01:34:57 +01:00
market/tests/unit
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
..
__fixtures__ fix test 2020-10-27 14:03:10 +02:00
__mocks__ metadataStore → metadataCache, package updates 2020-10-13 17:06:40 +02:00
components Update metadata, the proper way (#292) 2020-12-10 14:30:40 +01:00
pages type check fixes 2020-09-02 11:43:15 +02:00
utils remove unused methods/hooks/components 2020-09-24 12:26:23 +02:00
AssetModel.test.ts case fix 2020-10-01 17:13:19 +02:00
babel.config.js refactor for Gatsby, update all the things 2020-06-30 11:28:49 +02:00
jest.config.js make Jest run 2020-06-30 14:19:27 +02:00
loadershim.js refactor for Gatsby, update all the things 2020-06-30 11:28:49 +02:00
setupTests.ts test & storybook fixes 2020-09-23 11:21:04 +02:00
storyshots.test.tsx trying to make sense of jest and mocking reach router, useWeb3, useOcean, squid 2020-06-30 19:38:02 +02:00
testRender.ts fix search test 2020-06-30 16:22:22 +02:00