1
0
mirror of https://github.com/oceanprotocol/market.git synced 2024-07-01 06:11:43 +02:00
Commit Graph

17 Commits

Author SHA1 Message Date
Bogdan Fazakas
2f1bd399f8 refactor metadata types for publish forms 2021-02-19 17:51:40 +02:00
Bogdan Fazakas
5112a35524 fixed lint errors 2021-02-19 16:25:42 +02:00
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
ed57702ff3
refactor root components (#263)
* refactor layout

* refactor

* root components reordering

* type-check fix
2020-11-18 20:01:33 +01:00
07b086547f
refactor 2020-10-20 14:51:20 +02:00
5c9eb91371
lint fix 2020-10-05 12:29:50 +02:00
1aac244329
case fix 2020-10-01 17:13:19 +02:00
acfa0b8d06
refactor to use optional chain expressions 2020-09-10 22:22:16 +02:00
16fc0aef03
type check fixes 2020-09-02 11:43:15 +02:00
c19cdcd9da
fix most metadata typings 2020-07-16 13:39:02 +02:00
818a399a97
more fixes 2020-07-10 13:19:04 +02:00
482a307f80
kinda make file input work 2020-07-10 12:09:43 +02:00
cd88cb41e5
remove json-schema-form, replace with Formik 2020-07-09 15:31:47 +02:00
8a1af53150
trying to make sense of jest and mocking reach router, useWeb3, useOcean, squid 2020-06-30 19:38:02 +02:00
829ec502a2
make Jest run 2020-06-30 14:19:27 +02:00
mihaisc
5f14e431da transactions, job details 2020-06-02 12:15:21 +03:00
alexcos20
ebd5ba9495 first commit 2020-05-07 09:03:30 +03:00